The Mole and the Ideal Gas Equation

A2 · 10 min

Every gas, whether it is air in a tyre, helium in a balloon or steam in an engine, behaves in roughly the same simple way when it is not too dense or too cold: its pressure, volume and temperature are linked by one equation, pV=nRTpV = nRT. This note introduces the mole (how physicists count particles), defines an ideal gas, and shows how to use the equation of state in both its forms. It is the starting point for kinetic theory and thermodynamics, and gas calculations appear in nearly every Paper 4.

Amount of substance and the mole

Gases are made of enormous numbers of molecules. Counting them one at a time is hopeless, so we count them in large bundles called moles.

Key result
  • Amount of substance is one of the seven SI base quantities. Its base unit is the mole (mol).
  • One mole of any substance is the amount containing a number of particles equal to the Avogadro constant NA=6.02×1023 mol−1N_A = 6.02 \times 10^{23}\ \text{mol}^{-1}.

So 1 mol1\ \text{mol} of helium contains 6.02×10236.02 \times 10^{23} helium atoms, and 1 mol1\ \text{mol} of nitrogen gas contains 6.02×10236.02 \times 10^{23} N2\text{N}_2 molecules. If a sample contains NN particles,

N=nNAN = nN_A

where nn is the amount of substance in moles.

The molar mass MM is the mass of one mole. Numerically it is the relative molecular mass in grams per mole: helium 4.0 g mol−14.0\ \text{g mol}^{-1}, nitrogen 28 g mol−128\ \text{g mol}^{-1}, oxygen 32 g mol−132\ \text{g mol}^{-1}. A sample of mass mm contains

n=mMn = \frac{m}{M}

and the mass of one molecule is M/NAM/N_A.

Watch out

Molar mass in kilograms. In SI calculations the molar mass must be in kg mol−1\text{kg mol}^{-1}: helium is 4.0×10−3 kg mol−14.0 \times 10^{-3}\ \text{kg mol}^{-1}, not 4.04.0. Forgetting this gives answers wrong by a factor of 10001000.

The gas laws and the ideal gas

Experiments on a fixed mass of gas show three simple relationships:

LawConstantRelationship
Boyle's lawtemperaturep∝1/Vp \propto 1/V, so pV=constantpV = \text{constant}
Charles's lawpressureV∝TV \propto T
Pressure lawvolumep∝Tp \propto T

In each case TT is the thermodynamic temperature in kelvin. Combining them, for a fixed amount of gas, pV∝TpV \propto T.

Definition

An ideal gas is a gas that obeys pV∝TpV \propto T at all pressures, volumes and temperatures, where TT is the thermodynamic temperature.

No real gas is exactly ideal, but real gases come very close at low pressure and at temperatures well above their boiling point, when the molecules are far apart and moving fast. Air at room temperature and atmospheric pressure is very nearly ideal.

The equation of state

The constant of proportionality in pV∝TpV \propto T is proportional to the amount of gas. Writing it per mole gives the equation of state.

Key result
pV=nRTpV = nRT
  • pp: pressure (Pa)
  • VV: volume (m3\text{m}^3)
  • nn: amount of substance (number of moles)
  • R=8.31 J mol−1 K−1R = 8.31\ \text{J mol}^{-1}\ \text{K}^{-1}: the molar gas constant
  • TT: thermodynamic temperature (K)

Writing it per molecule instead:

Key result
pV=NkTpV = NkT

where NN is the number of molecules and kk is the Boltzmann constant:

k=RNA=8.316.02×1023=1.38×10−23 J K−1k = \frac{R}{N_A} = \frac{8.31}{6.02 \times 10^{23}} = 1.38 \times 10^{-23}\ \text{J K}^{-1}

The two forms are the same equation, because nR=(N/NA)R=NknR = (N/N_A)R = Nk. Use pV=nRTpV = nRT when you are given moles or masses, and pV=NkTpV = NkT when you are dealing with numbers of molecules.

For a fixed amount of gas changing from one state to another, nRnR is constant, so

p1V1T1=p2V2T2\frac{p_1V_1}{T_1} = \frac{p_2V_2}{T_2}

This avoids needing nn at all.

Graphs of ideal gas behaviour

At constant temperature, p=nRT/Vp = nRT/V: a graph of pp against VV is a 1/V1/V curve called an isotherm. Higher temperatures give isotherms further from the origin.

y = 2/x y = 4/x y = 6/x

The three curves are isotherms for the same gas at three temperatures in the ratio 1:2:31:2:3 (inner curve coldest). For a fixed amount of gas:

  • pp against 1/V1/V at constant TT is a straight line through the origin.
  • pVpV against TT (in K) is a straight line through the origin, gradient nRnR.
  • VV against θ\theta (in ∘^\circC) at constant pressure is a straight line that, extrapolated, meets V=0V = 0 at θ=−273 ∘C\theta = -273\ ^\circ\text{C}.
Ideal gas calculations
  1. Convert every temperature to kelvin: T=θ+273T = \theta + 273.
  2. Convert volumes to m3\text{m}^3 (1 cm3=10−6 m31\ \text{cm}^3 = 10^{-6}\ \text{m}^3, 1 litre=10−3 m31\ \text{litre} = 10^{-3}\ \text{m}^3) and pressures to Pa.
  3. If the amount of gas is fixed and the state changes, use p1V1/T1=p2V2/T2p_1V_1/T_1 = p_2V_2/T_2.
  4. If you need the amount of gas, use pV=nRTpV = nRT (moles) or pV=NkTpV = NkT (molecules).
  5. Convert between mass, moles and molecules with n=m/Mn = m/M and N=nNAN = nN_A.

Worked examples

Moles and molecules in a box

A box of volume 1.0 m31.0\ \text{m}^3 contains air at 1.01×105 Pa1.01 \times 10^{5}\ \text{Pa} and 273 K273\ \text{K}. Calculate the amount of air in moles and the number of molecules.

Solutionn=pVRT=1.01×105×1.08.31×273=44.5 moln = \frac{pV}{RT} = \frac{1.01 \times 10^{5} \times 1.0}{8.31 \times 273} = 44.5\ \text{mol}N=nNA=44.5×6.02×1023=2.68×1025N = nN_A = 44.5 \times 6.02 \times 10^{23} = 2.68 \times 10^{25}
Tyre pressure on a hot day

A car tyre contains air at 2.40×105 Pa2.40 \times 10^{5}\ \text{Pa} at 15 ∘C15\ ^\circ\text{C}. After a long drive the air is at 40 ∘C40\ ^\circ\text{C}. Assuming the volume of the tyre is constant, calculate the new pressure.

Solution

Fixed amount and fixed volume, so p/Tp/T is constant. Temperatures in kelvin: 288 K288\ \text{K} and 313 K313\ \text{K}.

p2=p1T2T1=2.40×105×313288=2.61×105 Pap_2 = p_1\frac{T_2}{T_1} = 2.40 \times 10^{5} \times \frac{313}{288} = 2.61 \times 10^{5}\ \text{Pa}

Using 1515 and 4040 directly would give a pressure of 6.4×105 Pa6.4 \times 10^{5}\ \text{Pa}, wildly wrong.

Filling balloons from a cylinder

A cylinder of volume 0.050 m30.050\ \text{m}^3 contains helium at 2.0×107 Pa2.0 \times 10^{7}\ \text{Pa} and 300 K300\ \text{K}. (a) Calculate the mass of helium (M=4.0 g mol−1M = 4.0\ \text{g mol}^{-1}). (b) How many balloons, each of volume 0.010 m30.010\ \text{m}^3 at 1.05×105 Pa1.05 \times 10^{5}\ \text{Pa} and 300 K300\ \text{K}, can be filled?

Solution

(a)

n=pVRT=2.0×107×0.0508.31×300=401 mol,m=nM=401×4.0×10−3=1.6 kgn = \frac{pV}{RT} = \frac{2.0 \times 10^{7} \times 0.050}{8.31 \times 300} = 401\ \text{mol}, \qquad m = nM = 401 \times 4.0 \times 10^{-3} = 1.6\ \text{kg}

(b) At constant temperature pVpV is constant. At 1.05×105 Pa1.05 \times 10^{5}\ \text{Pa} the helium would occupy

V=2.0×107×0.0501.05×105=9.52 m3V = \frac{2.0 \times 10^{7} \times 0.050}{1.05 \times 10^{5}} = 9.52\ \text{m}^3

But the cylinder cannot empty below atmospheric pressure: 0.050 m30.050\ \text{m}^3 of helium at 1.05×105 Pa1.05 \times 10^{5}\ \text{Pa} stays inside. Available volume =9.52−0.05=9.47 m3= 9.52 - 0.05 = 9.47\ \text{m}^3, enough for 947947 complete balloons.

A rising bubble

An air bubble is released from the bottom of a lake 20 m20\ \text{m} deep, where the temperature is 7 ∘C7\ ^\circ\text{C}. At the surface the pressure is 1.0×105 Pa1.0 \times 10^{5}\ \text{Pa} and the temperature is 17 ∘C17\ ^\circ\text{C}. The density of water is 1000 kg m−31000\ \text{kg m}^{-3}. Calculate the ratio of the bubble's volume at the surface to its volume at the bottom.

Solution

Pressure at the bottom: p1=1.0×105+ρgh=1.0×105+1000×9.81×20=2.96×105 Pap_1 = 1.0 \times 10^{5} + \rho gh = 1.0 \times 10^{5} + 1000 \times 9.81 \times 20 = 2.96 \times 10^{5}\ \text{Pa}.

V2V1=p1p2×T2T1=2.96×1051.0×105×290280=3.1\frac{V_2}{V_1} = \frac{p_1}{p_2} \times \frac{T_2}{T_1} = \frac{2.96 \times 10^{5}}{1.0 \times 10^{5}} \times \frac{290}{280} = 3.1
Connecting two containers

Container A (2.0 litres2.0\ \text{litres}) holds gas at 3.0×105 Pa3.0 \times 10^{5}\ \text{Pa}; container B (3.0 litres3.0\ \text{litres}) holds the same gas at 1.0×105 Pa1.0 \times 10^{5}\ \text{Pa}. Both are at the same temperature. A tap between them is opened and the temperature stays constant. Calculate the final pressure.

Solution

At constant temperature, the amount of gas is proportional to pVpV, and the total amount is conserved:

pfinal(VA+VB)=pAVA+pBVBp_{\text{final}}(V_A + V_B) = p_AV_A + p_BV_Bpfinal=3.0×105×2.0+1.0×105×3.05.0=1.8×105 Pap_{\text{final}} = \frac{3.0 \times 10^{5} \times 2.0 + 1.0 \times 10^{5} \times 3.0}{5.0} = 1.8 \times 10^{5}\ \text{Pa}

Litres can be used here because the units cancel; with pV=nRTpV = nRT they would have to be in m3\text{m}^3.

Density of air

Show that the density of air (M=29 g mol−1M = 29\ \text{g mol}^{-1}) at 1.01×105 Pa1.01 \times 10^{5}\ \text{Pa} and 20 ∘C20\ ^\circ\text{C} is about 1.2 kg m−31.2\ \text{kg m}^{-3}.

Solution

Density ρ=m/V=nM/V\rho = m/V = nM/V and n/V=p/(RT)n/V = p/(RT):

ρ=pMRT=1.01×105×0.0298.31×293=1.20 kg m−3\rho = \frac{pM}{RT} = \frac{1.01 \times 10^{5} \times 0.029}{8.31 \times 293} = 1.20\ \text{kg m}^{-3}
Investigating Boyle's law

Apparatus: a column of air trapped in a thick-walled glass tube above oil; a Bourdon pressure gauge connected to the oil reservoir; a foot pump to increase the pressure; a scale beside the tube to read the length of the air column.

Method: increase the pressure in steps with the pump, wait each time for the temperature of the air to return to room temperature (compressing it warms it), then read the pressure pp and the length ll of the air column. Since the tube has uniform cross-section, V∝lV \propto l.

Analysis: plot pp against 1/l1/l. A straight line through the origin shows p∝1/Vp \propto 1/V at constant temperature.

Variables: independent: pressure; dependent: volume (length); controlled: temperature and mass of gas (no leaks).

Errors and improvements: parallax when reading the meniscus (read at eye level); temperature rising on compression (wait before reading); leaks (check that the reading is steady). Safety: high pressures in glass; use a safety screen and do not exceed the rated pressure.

A similar arrangement with a flask of air in a water bath, connected to a pressure gauge, investigates the pressure law: plot pp against θ\theta and extrapolate to p=0p = 0 to estimate absolute zero.

Watch out

Using ∘^\circC in the gas equation. pV=nRTpV = nRT only works with TT in kelvin. Any answer involving gas temperatures that does not add 273273 is almost certainly wrong.

Watch out

Confusing nn and NN. nn is the number of moles; NN is the number of molecules. They go with RR and kk respectively.

Exam tip
  • "What is meant by an ideal gas?" (1 mark): a gas that obeys pV∝TpV \propto T (where TT is thermodynamic temperature) at all values of pp, VV and TT. "A gas that obeys the gas laws" is often not enough; include the relationship.
  • "State what is meant by the Avogadro constant": the number of particles in one mole of a substance.
  • Many questions combine the gas equation with kinetic theory: for example find NN with pV=NkTpV = NkT, then use it to find the mean kinetic energy or rms speed.
  • Show unit conversions in your working (250 cm3=2.50×10−4 m3250\ \text{cm}^3 = 2.50 \times 10^{-4}\ \text{m}^3). A wrong final answer with a clear conversion can still earn method marks.
Summary
  • Amount of substance is an SI base quantity; unit mol; one mole contains NA=6.02×1023N_A = 6.02 \times 10^{23} particles.
  • N=nNAN = nN_A; n=m/Mn = m/M with MM in kg mol−1\text{kg mol}^{-1}.
  • An ideal gas obeys pV∝TpV \propto T, with TT in kelvin.
  • Equation of state: pV=nRTpV = nRT (moles) or pV=NkTpV = NkT (molecules); k=R/NAk = R/N_A.
  • For a fixed amount: p1V1/T1=p2V2/T2p_1V_1/T_1 = p_2V_2/T_2.
  • Real gases are close to ideal at low pressure and high temperature.

Practice questions

Question
  1. Calculate the number of molecules in 1.0 cm31.0\ \text{cm}^3 of gas at 1.0×10−8 Pa1.0 \times 10^{-8}\ \text{Pa} (a good laboratory vacuum) and 300 K300\ \text{K}.
  2. Calculate the volume of 1.0 mol1.0\ \text{mol} of an ideal gas at 1.01×105 Pa1.01 \times 10^{5}\ \text{Pa} and 0 ∘C0\ ^\circ\text{C}.
  3. A gas occupies 500 cm3500\ \text{cm}^3 at 27 ∘C27\ ^\circ\text{C} and 1.0×105 Pa1.0 \times 10^{5}\ \text{Pa}. It is compressed to 200 cm3200\ \text{cm}^3 and its temperature rises to 87 ∘C87\ ^\circ\text{C}. Calculate the new pressure.
  4. Calculate the mass of oxygen (M=32 g mol−1M = 32\ \text{g mol}^{-1}) in a 10 litre10\ \text{litre} cylinder at 1.5×107 Pa1.5 \times 10^{7}\ \text{Pa} and 290 K290\ \text{K}.
  5. Show that k=R/NAk = R/N_A by comparing the two forms of the equation of state.
  6. Explain why real gases deviate from ideal behaviour at high pressures.
  7. A sealed flask contains gas at 1.0×105 Pa1.0 \times 10^{5}\ \text{Pa} and 20 ∘C20\ ^\circ\text{C}. The flask can withstand a pressure of 1.8×105 Pa1.8 \times 10^{5}\ \text{Pa}. Calculate the maximum temperature in ∘^\circC to which it can be heated.
  8. A weather balloon contains 8.0 m38.0\ \text{m}^3 of helium at ground level, where the pressure is 1.0×105 Pa1.0 \times 10^{5}\ \text{Pa} and the temperature is 15 ∘C15\ ^\circ\text{C}. It rises to a height where the pressure is 2.5×104 Pa2.5 \times 10^{4}\ \text{Pa} and the temperature is −50 ∘C-50\ ^\circ\text{C}. (a) Calculate the new volume. (b) Calculate the number of helium atoms. (c) The balloon fabric can stretch to a maximum volume of 30 m330\ \text{m}^3. Determine whether the balloon bursts at this height.
Answers
  1. N=pV/kT=1.0×10−8×1.0×10−6/(1.38×10−23×300)=2.4×106N = pV/kT = 1.0 \times 10^{-8} \times 1.0 \times 10^{-6}/(1.38 \times 10^{-23} \times 300) = 2.4 \times 10^{6} molecules.
  2. V=nRT/p=1.0×8.31×273/1.01×105=2.25×10−2 m3V = nRT/p = 1.0 \times 8.31 \times 273/1.01 \times 10^{5} = 2.25 \times 10^{-2}\ \text{m}^3 (22.522.5 litres).
  3. p2=p1V1T2/(V2T1)=1.0×105×500×360/(200×300)=3.0×105 Pap_2 = p_1V_1T_2/(V_2T_1) = 1.0 \times 10^{5} \times 500 \times 360/(200 \times 300) = 3.0 \times 10^{5}\ \text{Pa}.
  4. n=pV/RT=1.5×107×0.010/(8.31×290)=62.2 moln = pV/RT = 1.5 \times 10^{7} \times 0.010/(8.31 \times 290) = 62.2\ \text{mol}; m=62.2×0.032=2.0 kgm = 62.2 \times 0.032 = 2.0\ \text{kg}.
  5. pV=nRTpV = nRT and pV=NkTpV = NkT, so nR=NknR = Nk. With N=nNAN = nN_A: nR=nNAknR = nN_Ak, so k=R/NAk = R/N_A.
  6. At high pressure the molecules are close together: their own volume is no longer negligible compared with the volume of the container, and intermolecular attractive forces become significant.
  7. T2=T1×p2/p1=293×1.8=527 K=254 ∘CT_2 = T_1 \times p_2/p_1 = 293 \times 1.8 = 527\ \text{K} = 254\ ^\circ\text{C}.
  8. (a) V2=V1×(p1/p2)×(T2/T1)=8.0×4.0×223/288=24.8 m3V_2 = V_1 \times (p_1/p_2) \times (T_2/T_1) = 8.0 \times 4.0 \times 223/288 = 24.8\ \text{m}^3. (b) N=pV/kT=1.0×105×8.0/(1.38×10−23×288)=2.0×1026N = pV/kT = 1.0 \times 10^{5} \times 8.0/(1.38 \times 10^{-23} \times 288) = 2.0 \times 10^{26}. (c) 24.8 m3<30 m324.8\ \text{m}^3 < 30\ \text{m}^3, so it does not burst at this height (assuming the helium is at the temperature of the surroundings and the pressure inside is the same as outside).

How well do you know this?

Builds on

Where this leads

Console

Search notes, courses and tools, or run an action