Skip to content

B.3 · Gas laws

IB Physics HL · Topic 8

Video lesson for this topic Open the video page
4:18

Gas laws

A sealed gas container changes pressure when heated. Celsius ratios cannot predict the pressure change because the gas model uses absolute temperature 绝对温度.

English narration · English + 中文 subtitles burned in

8.1

Scope and prerequisites

This handout teaches B.3 Gas laws in full, for the course first assessed in 2025. There is no additional higher level content in B.3, so SL and HL students study the same material.

Prerequisites: momentum and Newton's second law from A.2; kelvin temperature, $\overline{E}_k = \frac{3}{2}k_BT$ and internal energy from B.1. Use $R = 8.31\ \text{J K}^{-1}\ \text{mol}^{-1}$, $k_B = 1.38 \times 10^{-23}\ \text{J K}^{-1}$ and $N_A = 6.02 \times 10^{23}\ \text{mol}^{-1}$.

8.2

Pressure and amount of substance

Why does a bicycle tyre feel harder on a hot day?

Pump a tyre up in the cool morning and it feels firmer by the afternoon, though no air has been added. A sealed bag of crisps carried up a mountain swells; a plastic bottle closed at the top of the mountain is crushed by the time it reaches the bottom. The pressure, volume and temperature of a gas are linked, and the link comes from billions of molecules hitting the walls.

Pressure

Pressure 压强 is the force per unit area acting perpendicular to a surface:

$$P = \frac{F}{A}$$

in pascals, $1\ \text{Pa} = 1\ \text{N m}^{-2}$. A 600 N person standing on shoes of total area 0.030 m² exerts $600/0.030 = 2.0 \times 10^4\ \text{Pa}$ on the floor. Atmospheric pressure at sea level is about $1.0 \times 10^5\ \text{Pa}$ (100 kPa). Gas laws use absolute pressure; a gauge reads the difference from its reference pressure, often the atmosphere. Add that atmospheric pressure before forming a gas-law ratio.

Amount of substance

The amount of substance 物质的量 $n$ is measured in moles:

$$n = \frac{N}{N_A}$$

where $N$ is the number of molecules and $N_A$ is the Avogadro constant 阿伏伽德罗常数. One mole of any substance contains $6.02 \times 10^{23}$ particles. The molar mass 摩尔质量 is the mass of one mole: 32 g of oxygen gas (O₂, molar mass 32 g mol⁻¹) is 1.0 mol, or $6.02 \times 10^{23}$ molecules.

One mole contains the Avogadro number of particles
One mole contains the Avogadro number of particles
Vocabulary Train
English
pressure/ˈpreʃə/
amount of substance/əˈmaʊnt ɒv ˈsʌbstəns/
Avogadro constant/ˌævəˈɡædrəʊ ˈkɒnstənt/
molar mass/ˈməʊlə mæs/
8.3

The empirical gas laws

Three laws from experiment

For a fixed amount of gas in a regime well approximated by the ideal model, experiments hold one of $P$, $V$ and $T$ constant and vary the other two. Temperatures must be in kelvin.

A hot air balloon rising into the sky
Heating the air in a balloon at constant pressure makes it expand (Charles's law), so its density falls and it rises
Boyle's law: at constant temperature, pressure times volume is constant
Boyle's law: at constant temperature, pressure times volume is constant
Law Held constant Relationship Graph
Boyle's law temperature $PV = \text{constant}$ $P$ against $1/V$ is a straight line through the origin
Charles's law pressure $V/T = \text{constant}$ $V$ against $T$ is a straight line through 0 K
pressure law volume $P/T = \text{constant}$ $P$ against $T$ is a straight line through 0 K

Worked examples:

  • Boyle: a syringe holds 60 cm³ of air at 100 kPa. Pushed slowly to 20 cm³, $P = 100 \times 60/20 = 300\ \text{kPa}$.
  • Charles: 2.0 L of gas is heated from 27 °C (300 K) to 127 °C (400 K) at constant pressure: $V = 2.0 \times 400/300 = 2.7\ \text{L}$.
  • Pressure law: a constant-volume tyre model at an absolute pressure of 200 kPa and 7 °C (280 K) warms to 35 °C (308 K): $P = 200 \times 308/280 = 220\ \text{kPa}$.
Two pressure-volume curves: at constant temperature pV is constant, so each graph is a hyperbola; a higher temperature gives a curve further from the origin
Boyle's law: at constant temperature $pV$ is constant, so a $p$–$V$ graph is a hyperbola

In the lab: investigate the pressure law using teacher-approved constant-volume apparatus with a pressure sensor in a water bath. Keep the amount of gas fixed; the teacher sets the temperature range and pressure limit. At each bath temperature, wait for the gas to reach thermal equilibrium before recording its absolute pressure and temperature in kelvin. Plot pressure against kelvin temperature and repeat readings to check consistency. Never heat an improvised sealed vessel.

Absolute zero from the gas laws

For a fixed amount of gas at constant pressure, volume is approximately linear with Celsius temperature over a range where ideal-gas behaviour is a good approximation. Extrapolating that model gives a zero-volume intercept near −273 °C: absolute zero 绝对零度, 0 K. Real gases depart from the ideal model and can condense before that extrapolated state; the graph is not a claim that a real gas reaches zero volume.

Volume against Celsius temperature for two gas samples at constant pressure: illustrative model points from 0 to 100 °C lie on straight lines that, extended backwards, both reach zero volume at −273 °C
Ideal-model points illustrate a common extrapolated intercept; these are

Combining the laws

The three laws combine into one:

$$\frac{PV}{T} = \text{constant} \qquad \text{so} \qquad \frac{P_1V_1}{T_1} = \frac{P_2V_2}{T_2}$$

for a fixed amount in the ideal-gas approximation. Worked example: 50 cm³ of gas at 100 kPa and 300 K is compressed to 20 cm³ and warms to 360 K. $P_2 = 100 \times \dfrac{50}{20} \times \dfrac{360}{300} = 300\ \text{kPa}$.

Gauge pressure is not the pressure in a gas law

A rigid, sealed vessel has gauge pressure 150 kPa when the gas is at 300 K. Atmospheric pressure stays at 100 kPa. Heating to 360 K gives initial absolute pressure $150+100=250$ kPa, then final absolute pressure $250(360/300)=300$ kPa. The final gauge reading is $300-100=200$ kPa. Multiplying the original gauge reading by the temperature ratio would wrongly give 180 kPa. Hold amount and volume fixed, and convert back to the requested pressure reference at the end.

Pressure–volume diagrams

Changes of a gas are drawn on a pressure–volume diagram 压强体积图. Each isotherm 等温线 is a curve $PV = \text{constant}$; hotter isotherms lie further from the origin.

Pressure against volume for 1.0 mol of gas with dashed isotherms at 300 K and 600 K: A to B follows the 300 K isotherm from 10 L to 40 L; B to C rises vertically at 40 L to the 600 K isotherm; C to D runs horizontally at 125 kPa back to 20 L on the 300 K isotherm
Isothermal changes follow an isotherm, constant-volume changes are vertical lines and constant-pressure changes are horizontal lines

For 1.0 mol: at A (10 L, 300 K) $P = 249\ \text{kPa}$; at B (40 L, 300 K) $P = 62\ \text{kPa}$, a quarter of A; heating at constant volume to 600 K doubles the pressure to 125 kPa at C; cooling at constant pressure to 300 K halves the volume to 20 L at D.

Vocabulary Train
English
absolute zero/ˈæbsəluːt ˈzɪərəʊ/
pressure–volume diagram/ˈpreʃə ˈvɒljuːm ˈdaɪəɡræm/
isotherm/ˈaɪsəðɜːm/
8.4

The ideal gas law

PV = nRT

Experiments show that $PV/T$ is proportional to the amount of gas. The constant of proportionality is the same for every gas at low pressure: the molar gas constant 摩尔气体常数 $R$. This gives the ideal gas law 理想气体定律:

$$PV = nRT \qquad \text{or} \qquad PV = Nk_BT$$

The two forms agree because $nR = Nk_B$, so $R = N_Ak_B$.

Worked example: how many moles and molecules of air are in a 1.0 m³ box at 100 kPa and 300 K?

  • $n = PV/RT = 1.0 \times 10^5 \times 1.0 / (8.31 \times 300) = 40\ \text{mol}$.
  • $N = nN_A = 40 \times 6.02 \times 10^{23} = 2.4 \times 10^{25}$ molecules.

One mole of any ideal gas at 273 K and 101 kPa occupies $\frac{8.31 \times 273}{1.01 \times 10^5} = 0.0225\ \text{m}^3$, 22.5 L, whatever the gas.

Units

Use SI units throughout: $P$ in Pa, $V$ in m³ ($1\ \text{L} = 10^{-3}\ \text{m}^3$, $1\ \text{cm}^3 = 10^{-6}\ \text{m}^3$), $T$ in K and $n$ in mol. A ratio question with the gas laws can keep any units for $P$ and $V$, as long as both sides match, but $T$ must always be in kelvin.

Explore

Gas pressure uses kelvin temperature

$\frac{p_2}{p_1}=\frac{T_2}{T_1}\frac{V_1}{V_2}$

For a fixed amount of ideal gas, pressure rises with kelvin temperature and falls as volume increases.

Vocabulary Train
English
molar gas constant/ˈməʊlə ɡæs ˈkɒnstənt/
ideal gas law/aɪˈdɪəl ɡæs lɔː/
8.5

Kinetic theory of an ideal gas

The model

An ideal gas 理想气体 is a model that explains the gas laws by the motion of its molecules. The kinetic theory 分子动理论 assumes:

A precision aneroid barometer with a brass case and a white dial, its needle pointing to a scale marked in hectopascals (hPa) and inches of mercury (inHg)
An aneroid barometer: air pressure is the force per unit area from countless molecular collisions
  • The gas has a very large number of identical molecules in random motion.
  • The volume of the molecules themselves is negligible compared with the volume of the container.
  • There are no forces between molecules except during collisions.
  • Collisions with each other and with the walls are elastic, and last a negligible time.
  • Between collisions, molecules move in straight lines at constant speed.
Molecules moving in straight lines in a box, labelled with the kinetic-theory assumptions: many identical molecules in random motion, negligible own volume, no forces between collisions, and elastic collisions
The key assumptions of the kinetic theory of an ideal gas

Pressure from molecular collisions

A molecule moving at speed u towards the wall of a cube of side L bounces back with velocity minus u, so its momentum changes by 2mu; it returns to the same wall after a time 2L over u
Each collision changes the molecule's momentum by 2mu; many collisions each second make a steady force

In the simplified cube model, take $u$ as the velocity component perpendicular to the wall. A molecule of mass $m$ bounces back elastically, so its momentum changes by $-2mu$. By Newton's third law the wall receives an impulse $+2mu$. Ignoring intervening collisions for this one-molecule argument, the perpendicular round trip is $2L$, so it hits it every $2L/u$ seconds, and the average force it exerts is $\dfrac{2mu}{2L/u} = \dfrac{mu^2}{L}$. Adding up all the molecules, and averaging over the three directions of motion, gives:

$$P = \frac{1}{3}\rho\overline{v^2}$$

where $\rho$ is the density of the gas and $\overline{v^2}$ is the mean of the squared speeds. The square root $\sqrt{\overline{v^2}}$ is the root mean square speed 方均根速率 $v_{\text{rms}}$.

Root-mean-square speed built in four steps: take the speeds, square each one, take the mean of the squares, then take the square root
Root-mean-square speed: square each speed, take the mean, then the square root

Worked example: a single-species ideal-gas sample at 100 kPa has density 1.2 kg m⁻³. $v_{\text{rms}} = \sqrt{3P/\rho} = \sqrt{3 \times 1.0 \times 10^5/1.2} = 500\ \text{m s}^{-1}$ in this model. For a mixture such as air, species have different rms speeds; a one-species calculation is an effective approximation.

Explaining the gas laws

  • Boyle's law: halving the volume at constant temperature keeps the mean translational kinetic energy unchanged and doubles the number density. The mean momentum transferred per unit wall area per second therefore doubles, so the pressure doubles. Individual wall-hit rates also depend on container geometry.
  • Pressure law: heating at constant volume makes the molecules faster. They hit the walls more often and with a greater change of momentum each time, so the pressure rises.
  • Charles's law: heating increases molecular speeds, and the gas expands against a movable boundary. The reduced number density balances the increased momentum transfer per particle until the pressure again matches the external constraint.

Temperature and molecular speed

Combining $PV = Nk_BT$ with $P = \frac{1}{3}\rho\overline{v^2} = \frac{1}{3}\frac{Nm}{V}\overline{v^2}$ gives $\frac{1}{2}m\overline{v^2} = \frac{3}{2}k_BT$: the average translational kinetic energy of a molecule depends only on the temperature. At the same temperature lighter molecules move faster. At 300 K, nitrogen (molar mass 28 g mol⁻¹) has $v_{\text{rms}} = \sqrt{3k_BT/m} = 520\ \text{m s}^{-1}$, while helium (4 g mol⁻¹) has $1370\ \text{m s}^{-1}$. Doubling the kelvin temperature multiplies $v_{\text{rms}}$ by $\sqrt{2}$.

The Maxwell-Boltzmann distribution of molecular speeds: at a lower temperature the curve is tall and narrow; at a higher temperature it is broader and shifted to higher speeds. The root-mean-square speed is marked
The spread of molecular speeds: a higher temperature broadens the curve and shifts it to faster speeds
Vocabulary Train
English
ideal gas/aɪˈdɪəl ɡæs/
kinetic theory/kɪˈnetɪk ˈθɪəri/
root mean square speed/ruːt miːn skweə spiːd/
8.6

Internal energy of an ideal gas

In the ideal-gas model, intermolecular interaction energy is neglected. For a classical monatomic 单原子 gas, such as the helium or argon models here, internal energy is translational kinetic energy:

A straight line through the origin of average kinetic energy against temperature, showing that the average KE is proportional to the thermodynamic temperature
Average molecular kinetic energy is proportional to kelvin temperature: $\overline{E}_k = \tfrac32 k_BT$
$$U = \frac{3}{2}Nk_BT = \frac{3}{2}nRT$$

Polyatomic ideal gases can also have rotational and vibrational internal energy; neglecting intermolecular forces does not remove those contributions. The three-halves formula is not a formula for every ideal gas. For a fixed amount and composition in the ideal model, internal energy depends only on temperature. Worked example: 2.0 mol of helium at 400 K has $U = 1.5 \times 2.0 \times 8.31 \times 400 = 1.0 \times 10^4\ \text{J}$. Heated to 800 K, its internal energy doubles.

Vocabulary Train
English
monatomic/ˌmɒnəˈtɒmɪk/
8.7

Real gases and ideal gases

A real gas 实际气体 behaves like an ideal gas when its molecules are far apart and fast:

  • low pressure and low density: the volume of the molecules is negligible, and molecules are rarely close enough to attract each other;
  • high temperature, well above the temperature at which the gas liquefies: the molecules' kinetic energy is much larger than any intermolecular potential energy.

At high pressure the volume of the molecules is no longer negligible, and at suitable lower temperatures attractions can reduce pressure relative to the ideal prediction. Condensation can occur when temperature and pressure permit it; lowering temperature does not imply that every gas at every pressure must pass into a liquid phase. The ideal gas model cannot describe a liquid at all. Air at room temperature and atmospheric pressure is very close to ideal.

Rows of compressed gas cylinders
Compressed gas cylinders store a fixed mass of gas at high pressure.
Vocabulary Train
English
real gas/rɪəl ɡæs/
8.8

Practice

  1. A 1200 kg car rests on four tyres, each touching the road over 0.015 m². Find the pressure on the road.

  2. Find the number of molecules in 0.50 mol of carbon dioxide, and the mass of this gas (molar mass 44 g mol⁻¹).

  3. A diver at 10 m depth (200 kPa) breathes out a 4.0 cm³ bubble. Find its volume at the surface (100 kPa), assuming constant temperature.

  4. A rigid, sealed container of ideal gas at 20 °C and absolute pressure 150 kPa is heated to 120 °C. Find the new pressure.

  5. Explain why the temperature in the gas laws must be in kelvin.

  6. Find the volume of 0.25 mol of an ideal gas at 300 K and 120 kPa.

  7. Use an ideal-gas estimate for a cylinder of volume 0.020 m³ holding oxygen at absolute pressure $1.5 \times 10^7\ \text{Pa}$ and 290 K. Find the amount and mass of oxygen (molar mass 32 g mol⁻¹), and state why the high pressure makes checking this approximation important.

  8. On a $P$–$V$ diagram, sketch (a) an isothermal compression, (b) a heating at constant volume, (c) a cooling at constant pressure.

  9. State four assumptions of the kinetic model of an ideal gas.

  10. Use the kinetic model to explain why the pressure of a gas rises when it is heated at constant volume.

  11. A gas of density 0.18 kg m⁻³ is at 100 kPa. Find the root mean square speed of its molecules.

  12. Find the internal energy of 3.0 mol of argon at 300 K, and the energy that must be added to warm it to 400 K at constant volume.

  13. State and explain the conditions under which a real gas behaves most like an ideal gas.

  14. A rigid, sealed ideal-gas vessel initially reads 150 kPa on a gauge at 300 K. Atmospheric pressure is 100 kPa and remains constant. Find the final absolute pressure and gauge reading at 360 K. Explain why scaling the gauge reading directly fails.

Answers.

  1. $P = 1200 \times 9.8 / (4 \times 0.015) = 2.0 \times 10^5\ \text{Pa}$.

  2. $N = 0.50 \times 6.02 \times 10^{23} = 3.0 \times 10^{23}$; mass $= 0.50 \times 44 = 22\ \text{g}$.

  3. $V = 4.0 \times 200/100 = 8.0\ \text{cm}^3$.

  4. $P = 150 \times 393/293 = 201\ \text{kPa}$.

  5. The gas laws are proportionalities that pass through zero at absolute zero. On the Celsius scale zero is arbitrary: doubling a Celsius temperature does not double the pressure or volume.

  6. $V = nRT/P = \frac{0.25 \times 8.31 \times 300}{1.2 \times 10^5} = 5.2 \times 10^{-3}\ \text{m}^3$ (5.2 L).

  7. $n=PV/(RT)=300\,000/(8.31\times290)=124.49$ mol; $m=124.49(0.032)\approx4.0$ kg. This is an ideal estimate at 150 bar; a reliable real mass needs real-gas data or measurement.

  8. (a) A curve along an isotherm towards smaller volume and higher pressure. (b) A vertical line upwards. (c) A horizontal line towards smaller volume.

  9. Any four of: very many identical molecules in random motion; negligible molecular volume; no intermolecular forces except in collisions; elastic collisions; collisions take negligible time; straight-line motion between collisions.

  10. The molecules gain kinetic energy and move faster. They hit the walls more often and each collision gives a larger change of momentum, so the force per unit area on the walls increases.

  11. $v_{\text{rms}} = \sqrt{3P/\rho} = \sqrt{3 \times 1.0 \times 10^5 / 0.18} = 1.3 \times 10^3\ \text{m s}^{-1}$.

  12. $U = 1.5 \times 3.0 \times 8.31 \times 300 = 1.1 \times 10^4\ \text{J}$; $\Delta U = 1.5 \times 3.0 \times 8.31 \times 100 = 3.7 \times 10^3\ \text{J}$.

  13. Low pressure (low density) and high temperature. The molecules are then far apart, so their own volume is negligible, and fast, so intermolecular forces have little effect.

  14. Use absolute pressure: $P_1=150+100=250$ kPa, so $P_2=250(360/300)=300$ kPa. Subtract 100 kPa to get 200 kPa gauge. Scaling the gauge reading gives the wrong 180 kPa because its reference is atmosphere, not vacuum.

8.9

Exam tips

Use kelvin and absolute pressure; convert volume to m³ with $PV=nRT$. Identify the fixed amount and constraint before selecting a gas law. Keep $n,R$ together and $N,k_B$ together. On $P$–$V$ axes, fixed volume is vertical, fixed pressure horizontal, and fixed temperature an isotherm. Explain pressure through normal momentum change and collision rate. Reserve $U=\frac32nRT$ for the classical monatomic ideal-gas model.

Was this helpful?

More topics in IB Physics HL

Log in or create account

IGCSE, A-Level & AP