Physics › Section I · Temperature, gases, and heat › Topic I.2

The ideal gas law

A gas has no shape or volume of its own, yet almost every gas obeys the same simple rule linking its pressure, volume, temperature and number of particles. This topic builds that rule, the ideal gas law, in its molecule form and its mole form.

Why gases are simple

In a solid or liquid the particles touch, and their forces on one another decide how the material behaves. In a gas at ordinary conditions the density is roughly 1000 times lower, so the particles are spaced about ten times their own diameter apart. Between collisions they barely interact, and the kind of gas hardly matters. That is why, at constant pressure, every gas near 0 °C expands by about 1/273 of its volume per kelvin, far more than the solids and liquids of the previous topic, while those vary widely. A single equation of state, a rule linking pressure, volume, temperature and amount, therefore describes almost every gas.

The law in terms of molecules

For a gas of \(N\) particles,

PV = NkT

where \(P\) is the absolute pressure in pascals, \(V\) the volume in cubic metres and \(T\) the absolute temperature in kelvins. The Boltzmann constant is \(k = 1.381 \times 10^{-23}\) J/K; since 2019 its value has been fixed exactly, and it defines the kelvin. A gas that obeys this exactly is an ideal gas. The model assumes the particles take up a negligible share of the volume and exert no forces on each other except in brief, elastic collisions. Real gases come very close at low densities and at temperatures well above those at which they liquefy, but not at high pressures or near condensation.

Worked example: molecules in a litre

How many molecules are in 1.00 L of air at 20.0 °C and 101.3 kPa? 1. Convert to SI: \(V = 1.00 \times 10^{-3}\ \text{m}^3\), \(P = 1.013 \times 10^{5}\) Pa and \(T = 293.15\) K. 2. Rearrange: \(N = \frac{PV}{kT}\). 3. Substitute:

N = \frac{(1.013 \times 10^{5})(1.00 \times 10^{-3})}{(1.381 \times 10^{-23})(293.15)}

4. Evaluate: \(N = 2.50 \times 10^{22}\) molecules. 5. Check the units: \(\text{Pa}\cdot\text{m}^3\) is a joule, and joules divided by J/K times K leaves a pure number, as a count should be. The answer is the same whether the gas is air, helium or steam.

Moles and the gas constant

Counting particles one by one gives unwieldy numbers, so we often count in moles. One mole is exactly \(6.02214076 \times 10^{23}\) particles, the Avogadro constant, usually rounded to \(N_A = 6.022 \times 10^{23}\ \text{mol}^{-1}\). The amount is \(n = N/N_A\). Putting \(N = nN_A\) into \(PV = NkT\) gives

PV = nRT

with the gas constant \(R = N_A k = 8.314\ \text{J/(mol}\cdot\text{K)}\). Multiplying the rounded constants gives 8.316, so quote 8.314. Use the molecule form when you know \(N\) and the mole form when you know \(n\); a mass converts to moles by dividing by the molar mass, such as 0.0280 kg/mol for nitrogen, N₂.

Changing conditions

When a fixed amount of gas moves from one state to another, \(nR\) cancels, leaving

\frac{P_1 V_1}{T_1} = \frac{P_2 V_2}{T_2}

Hold one variable fixed and the older laws appear: Boyle's law, \(P_1V_1 = P_2V_2\) at constant temperature; Charles's law, \(V/T\) constant at constant pressure; and Amontons's law, also called Gay-Lussac's law, \(P/T\) constant at constant volume. Both \(P\) and \(T\) must be absolute. A tyre gauge reads gauge pressure, the excess above atmospheric, so add \(1.013 \times 10^{5}\) Pa before using the law and subtract it again at the end.

Worked example: a heated container

A rigid container of volume 0.0400 m³ holds 1.50 mol of gas at 20.0 °C. Find the pressure, then the pressure after heating to 120.0 °C. 1. Use \(P = \frac{nRT}{V}\) with \(T_1 = 293.15\) K:

P_1 = \frac{(1.50)(8.314)(293.15)}{0.0400} = 9.14 \times 10^{4}\ \text{Pa}

2. The volume and amount are fixed, so \(P_2 = P_1 \frac{T_2}{T_1}\), with \(T_2 = 393.15\) K. 3. Substitute:

P_2 = (9.14 \times 10^{4}) \times \frac{393.15}{293.15} = 1.23 \times 10^{5}\ \text{Pa}

4. Check: the kelvin temperature rose by 34%, and so did the pressure. Using Celsius would have multiplied the pressure by 6, an impossible jump for a modest heating.

Worked example: a rising bubble

A diver breathes out a 2.0 cm³ bubble where the absolute pressure is \(3.00 \times 10^{5}\) Pa and the water is at 8.0 °C. What is its volume at the surface, at \(1.013 \times 10^{5}\) Pa and 20.0 °C? Assume no gas dissolves and the bubble reaches the water's temperature. 1. Kelvins: \(T_1 = 281.15\) K and \(T_2 = 293.15\) K. 2. Rearrange: \(V_2 = V_1 \frac{P_1}{P_2} \frac{T_2}{T_1}\). 3. Substitute: \(V_2 = 2.0 \times 2.96 \times 1.043 = 6.2\ \text{cm}^3\). 4. Check: the pressure drop alone gives 5.9 cm³, and warming adds about 4%. The same expansion is why a scuba diver must never hold their breath while rising.

Molar volume and the density of air

One mole of any ideal gas at 0 °C and 1 atm occupies \(V = RT/P = 0.0224\ \text{m}^3\), or 22.4 L. At 0 °C and 1 bar it is 22.7 L, and at 25 °C and 1 atm, 24.5 L. Writing \(n = m/M\) turns the law into a density rule:

\rho = \frac{PM}{RT}

Dry air, with \(M = 0.02897\) kg/mol, has a density of 1.29 kg/m³ at 0 °C and 1.20 kg/m³ at 20 °C, both at 1 atm. So a classroom 8.0 m by 6.0 m by 3.0 m holds about 170 kg of air. Because density falls as temperature rises at fixed pressure, the hot air inside a balloon is lighter than the cooler air it displaces, and the balloon rises.

Common mistakes to avoid

First, using Celsius temperatures; every \(T\) in the ideal gas law must be in kelvins. Second, using gauge pressure instead of absolute pressure. Third, leaving volumes in litres or cubic centimetres with \(R = 8.314\) J/(mol·K) or with \(k\), which need cubic metres and pascals. Fourth, mixing up \(N\) and \(n\): \(k\) goes with the number of particles, \(R\) with the number of moles. Fifth, using 22.4 L for a gas that is not at 0 °C and 1 atm. Sixth, trusting the law at very high pressure or close to condensation, where real gases depart from it.

Key takeaways

An ideal gas obeys PV = NkT, with k = 1.381 × 10⁻²³ J/K, or PV = nRT, with R = 8.314 J/(mol·K) and n = N/N_A, N_A = 6.022 × 10²³ per mole. Use absolute pressure in pascals, volume in cubic metres and temperature in kelvins. For a fixed amount, P₁V₁/T₁ = P₂V₂/T₂, which contains Boyle's, Charles's and Amontons's laws. One mole occupies 22.4 L at 0 °C and 1 atm. Gas density is ρ = PM/(RT), so hot air is less dense than cold air at the same pressure.

Flashcards

Flashcard

PV = NkT

The ideal gas law in terms of the number of particles N

P absolute in Pa, V in m³, T in K.

Test your understanding

Question 1 of 5

A 10.0 L container holds gas at 2.00 × 10⁵ Pa and 300 K. What amount of gas does it hold?

Question 2 of 5

A sealed, rigid can of gas is heated from 27 °C to 127 °C. By what factor does the pressure inside change?

Question 3 of 5

A 2.00 L flask holds helium at 1.50 × 10⁵ Pa and 27 °C. How many helium atoms does it contain?

Question 4 of 5

A balloon holds 3.00 L of gas at 1.00 × 10⁵ Pa and 27 °C. It rises to where the pressure is 0.500 × 10⁵ Pa and the temperature is −23 °C. Assuming no gas escapes, what is its new volume?

Question 5 of 5

A car tyre gauge reads 2.40 × 10⁵ Pa at 10 °C. After a drive the air inside is at 40 °C. If the tyre's volume stays the same, what does the gauge now read? Take atmospheric pressure as 1.013 × 10⁵ Pa.

← Previous topicNext topic →