Ideal Gases and pV = nRT
A gas is the simplest state of matter to describe mathematically: its particles are far apart and moving fast, and one equation, , links its pressure, volume, temperature and amount. This note explains where gas pressure comes from, what makes a gas "ideal" and why real gases fall short, and then drills the ideal gas equation, including the unit conversions that cost students the most marks and its classic use in finding the relative molecular mass of a volatile liquid. Expect a calculation in Paper 2 and possibly a practical question in Paper 3.
The kinetic model of a gas
The particles in a gas (molecules, or atoms for the noble gases) are:
- in rapid, random motion, travelling in straight lines until they collide;
- far apart compared with their own size, so most of a gas is empty space;
- colliding with each other and with the walls of their container.
Where pressure comes from
Gas pressure is caused by gas particles colliding with the walls of the container. Each collision exerts a tiny force on the wall as the particle's direction (and momentum) changes. Pressure is the total force from all these collisions per unit area of wall.
This explains the everyday gas laws:
- More particles in the same volume: more collisions with the walls per second, so higher pressure.
- Smaller volume for the same particles: the particles hit any given area of wall more often, so higher pressure.
- Higher temperature: the particles move faster, so they hit the walls more often and with more force, so higher pressure (or, if the pressure is held constant, the gas expands).
Ideal gases
An ideal gas is a model: a gas that obeys exactly under all conditions. For that to be true, two assumptions must hold.
An ideal gas has:
- zero particle volume: the particles themselves take up no space;
- no intermolecular forces of attraction between the particles.
(The model also assumes the particles are in random motion and that collisions are perfectly elastic: no kinetic energy is lost overall.)
Real gases
No real gas is ideal, but most gases are close to ideal at room temperature and atmospheric pressure, because the particles are far apart (so their volume is a tiny fraction of the total) and moving fast (so the weak attractions between them hardly matter).
Real gases deviate most from ideal behaviour at:
- high pressure: the particles are pushed close together, so the volume of the particles themselves becomes a significant fraction of the total volume, and intermolecular forces become significant because the particles are close;
- low temperature: the particles move more slowly, so intermolecular attractions have more effect during collisions and pull particles towards each other, reducing the force with which they strike the walls. Near the boiling point, the gas begins to condense.
The gases closest to ideal are those with the weakest intermolecular forces and smallest particles: helium and hydrogen. Gases with strong intermolecular forces, especially polar ones that hydrogen bond such as ammonia and steam, deviate most.
One way to see this is to plot against pressure. For an ideal gas this is always exactly 1 (the solid horizontal line). For a typical real gas such as nitrogen at room temperature, it dips slightly below 1 at moderate pressure, where attractions dominate, and then rises above 1 at high pressure, where the particles' own volume dominates (dashed curve).
(Horizontal axis: pressure in MPa; vertical axis: . A sketch of the shape, not data to read off.)
You only need to explain the deviations qualitatively. If asked "under what conditions does a gas behave most ideally?", the answer is high temperature and low pressure, with the reasons above.
The ideal gas equation
| symbol | quantity | SI unit |
|---|---|---|
| pressure | pascal, Pa () | |
| volume | ||
| amount of gas | mol | |
| molar gas constant, | ||
| temperature | kelvin, K |
The equation only works if every quantity is in SI units. Almost every lost mark in this topic is a unit error.
Unit conversions
- ; ; (101 325 Pa)
Linking to the molar volume
At () and , one mole of an ideal gas occupies:
which is very close to the for room conditions that you used in stoichiometry (at the same calculation gives ; the data booklet value is a convenient rounded figure). The ideal gas equation is the general version: use it whenever the conditions are not room conditions or s.t.p.
Rearrangements you will need
Substitute to bring in mass and molar mass:
If is in grams, comes out in , numerically equal to .
Dividing by gives the density form, :
For a fixed amount of gas ( constant) changing from one set of conditions to another, is constant, so:
Here the units of and only need to match on both sides, but must still be in kelvin.
Solving a pV = nRT problem
- List the given values with their units.
- Convert each to SI: Pa, , K. Write the converted values down.
- Rearrange the equation for the unknown before substituting.
- Substitute and calculate. Keep extra figures in intermediate steps.
- Convert the answer to the units asked for (often or ), and give it to the same number of significant figures as the least precise data, usually 3.
Worked examples
Calculate the volume, in , occupied by of an ideal gas at and .
Solution
Convert: ; .
Convert to : .
How many moles of gas are in a flask at and ?
Solution
; ; .
A sample of a volatile hydrocarbon liquid was injected into a gas syringe in an oven at . It vaporised completely, giving of vapour at . Calculate and suggest a molecular formula for the hydrocarbon.
Solution
Convert: ; ; .
. An alkane with gives : hexane, (), within experimental error.
of sodium hydrogencarbonate () is heated to and decomposes completely:
Calculate the total volume of gas produced, in , at and .
Solution
.
From the equation, 2 mol gives 1 mol and 1 mol : 2 mol of gas. So total gas . (At the water is a gas and counts.)
, :
A gaseous hydrocarbon contains carbon by mass. At and its density is . Determine its molecular formula.
Solution
Empirical formula. C: ; H: . Ratio , so the empirical formula is (empirical mass 14.0).
Molar mass. .
Molecular formula. , so the molecular formula is (ethene).
Method 1: gas syringe in an oven (volatile liquid).
- Fill a hypodermic syringe with the liquid and weigh it.
- Inject a small amount (about to ) through a self-sealing cap into a gas syringe kept in an oven at a known temperature well above the liquid's boiling point (for example for hexane).
- Reweigh the hypodermic syringe: the difference is the mass injected.
- When the plunger stops moving, record the volume of vapour, the oven temperature and the atmospheric pressure.
- Calculate .
Method 2: butane from a lighter refill (a gas).
- Weigh the canister. Fill a measuring cylinder with water and invert it in a trough of water.
- Release butane under the water into the cylinder until about to is collected; level the water inside and outside the cylinder so the gas is at atmospheric pressure.
- Dry the canister carefully and reweigh it. Record room temperature and pressure.
- Calculate ; for butane, expect about .
Variables and errors
| source of error | effect on calculated | improvement |
|---|---|---|
| liquid not fully vaporised (Method 1) | too small, too high | use a higher oven temperature |
| vapour condenses on cold parts of the syringe | too small | allow the syringe to reach oven temperature first |
| some butane dissolves in water (Method 2) | too small, too high | use water already saturated with the gas |
| canister wet when reweighed | mass loss too small, too low | dry thoroughly before reweighing |
| gas collected contains water vapour | includes water vapour | correct for the vapour pressure of water |
| real gas, not ideal (close to boiling point) | equation slightly inaccurate | work at higher temperature, lower pressure |
The largest percentage uncertainty is usually in the small mass (for example in is ), so use a balance reading to or a larger sample.
- Celsius in the equation. must be in kelvin. Using instead of gives an answer about twelve times too small.
- kPa and dm³ together. If you put in kPa and in , the factors of cancel and you get the right , but only by luck: as soon as or mass is involved, mixing units fails. Always convert to Pa and .
- to . The factor is , not .
- Density units. .
- Forgetting that water is a gas above when counting moles of gas in a reaction.
- "Explain the origin of gas pressure": particles collide with the walls of the container, exerting a force; pressure is force per unit area. Two marks: collisions, with the walls.
- "State the assumptions of an ideal gas": the syllabus pair is zero particle volume and no intermolecular forces. Give these two first.
- Show every conversion as a separate line. If the final answer is wrong, the conversions still earn method marks.
- Read the question for the units of the answer: , or . Quote 3 significant figures unless told otherwise.
- In Paper 3, an experiment question often asks why the result is higher or lower than expected: link each error to whether it makes or too big or small, then to .
- Gas pressure: particles colliding with the container walls; force per unit area.
- Ideal gas: zero particle volume, no intermolecular forces. Real gases are nearly ideal at high temperature and low pressure; deviate at high pressure and low temperature, especially polar molecules.
- with in Pa, in , in K, .
- and find relative molecular masses.
- For fixed : .
- Conversions: ; ; ; .
Practice
- Explain, in terms of particles, why the pressure of a gas in a sealed rigid container increases when it is heated.
- State the two assumptions about particles in an ideal gas, and explain why real gases deviate from ideal behaviour at high pressure.
- Calculate the pressure, in kPa, exerted by of gas in a container at .
- A steel cylinder contains oxygen at and . Calculate the mass of oxygen in the cylinder.
- of a gaseous oxide occupies at and . Calculate its and suggest its identity.
- Which gas would you expect to behave less ideally at room temperature, ammonia or helium? Explain.
- In a syringe experiment, of a volatile liquid gave of vapour at and . Calculate its and suggest the formula of an alkane that fits.
- of gas at and is heated to and compressed to . Calculate its new volume.
- Ammonium nitrate decomposes on strong heating: . Calculate the total volume of gas, in , formed from of ammonium nitrate at and . In a sealed container, explain why the pressure falls considerably when the products are cooled to room temperature.
- A compound contains C, H and Cl by mass. of the compound, completely vaporised at and , occupies . Determine the molecular formula and draw the structures of two possible isomers.
Answers
- Heating increases the average kinetic energy of the particles, so they move faster. They collide with the walls more frequently and with greater force per collision. The total force on the walls per unit area increases, so the pressure rises (the volume cannot change).
- Zero particle volume; no intermolecular forces of attraction. At high pressure the particles are close together, so their own volume is a significant fraction of the container's volume, and intermolecular attractions become significant because the particles are close; both assumptions fail.
- . .
- , , . . Mass .
- . : sulfur dioxide, ().
- Ammonia. Its molecules are polar and form hydrogen bonds, so there are significant intermolecular attractions; its molecules are also larger. Helium atoms are tiny and have only very weak id-id forces between them, so helium is close to ideal.
- . . An alkane with gives : pentane, ().
- .
- ; . Moles of gas . . On cooling to room temperature the steam condenses to liquid water, so two-thirds of the gas molecules are removed from the gas phase; the temperature is also lower. Both reduce the number and energy of collisions with the walls, so the pressure falls considerably.
- Empirical: C ; H ; Cl . Ratio : , empirical mass . . : molecular formula . Isomers: 1,1-dichloroethane, , and 1,2-dichloroethane, .