In a gas the particles are far apart and move freely. Heat it and the particles move faster and push harder on the walls; squeeze it into a smaller volume and they hit the walls more often.
PV=nRT
Definition: Ideal gas
A gas whose particles have no volume and no attractions. It obeys PV=nRT with R=0.08314L⋅bar⋅mol−1⋅K−1 and T in kelvin.
3D cylinder with a movable piston and gas particles bouncing off the walls; pressure follows PV = nRT.
Push the volume down or raise T and watch the particles: the displayed pressure is computed from PV=nRT, while the particles (which do not collide with each other) show why it changes.
Pressure–volume graph of a gas at a chosen temperature, with a movable point and an ideal-gas reference curve.
Slide V, T and n. Switch to COX2 or He (van der Waals) and compare with the dashed ideal curve.
SchoolSchool level: the special cases
At constant temperature P∝1/V (Boyle). At constant pressure V∝T (Charles), and at constant volume P∝T (Gay-Lussac), with T in kelvin. At the same T and P, equal volumes contain equal numbers of molecules (Avogadro).
Example: One mole in 10 L
What pressure does 1 mol of an ideal gas exert at 300 K in a 10 L container?
Solution
P=nRT/V=1×0.08314×300/10≈2.49 bar, the value shown by the graph.
UndergraduateUndergraduate: real gases
(P+V2an2)(V−nb)=nRT
The van der Waals equation adds two corrections: b for the volume of the particles and a for the attractions between them. For COX2, a=3.64L2⋅bar⋅mol−2 and b=0.0427L⋅mol−1; its curve departs from the ideal one at small volume and low temperature.