SL & HL The Particulate Nature of Matter BETA B.3

Gas Laws

This topic explores the macroscopic behavior of gases through empirical relationships and the ideal gas equation, linking these properties to microscopic molecular motion using kinetic theory. It provides a foundational understanding of how temperature, pressure, volume, and molecular quantity govern the thermal states of matter.

Part of IB Physics (2025-2030 syllabus) — Standard and Higher Level.

Key points

  • The macroscopic state of a gas is defined by pressure PP, volume VV, temperature TT (measured in Kelvin), and the amount of substance nn in moles (or NN molecules).
  • The amount of substance links particle count and sample mass: n=NNA=mMn = \frac{N}{N_A} = \frac{m}{M}, where NA=6.02×1023 mol1N_A = 6.02 \times 10^{23}\ \text{mol}^{-1} is the Avogadro constant and MM is the molar mass.
  • An ideal gas is a theoretical construct that perfectly obeys the equation of state PV=nRTP V = n R T under all conditions of temperature and pressure.
  • The empirical gas laws (Boyle's, Charles's, and the Pressure law) represent specific cases of the ideal gas law where one of the variables (TT, PP, or VV respectively) is held constant.
  • Kinetic theory models a gas as a large number of point particles in continuous, random motion that experience perfectly elastic collisions with each other and the container walls.
  • Macroscopic temperature is directly proportional to the average random translational kinetic energy per molecule of the gas, given by Eˉk=32kBT\bar{E}_k = \frac{3}{2} k_B T.
  • The internal energy UU of an ideal gas is entirely kinetic, as there are no intermolecular potential energies, and is directly proportional to the absolute temperature of the gas.

Subtopic by subtopic

Pressure and amount of substance (moles)

A gas exerts pressure because its molecules constantly bombard every surface they meet. Pressure is the normal force per unit area, given by:

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

It is measured in pascals (1 Pa=1 N m21\ \text{Pa} = 1\ \text{N m}^{-2}); typical atmospheric pressure is about 1.0×105 Pa1.0 \times 10^5\ \text{Pa}.

Because the number of molecules in even a small gas sample is enormous, we count them in moles: one mole contains NA=6.02×1023N_A = 6.02 \times 10^{23} particles (the Avogadro constant). The amount of substance nn links the particle count NN and the sample mass mm through:

n=NNA=mMn = \frac{N}{N_A} = \frac{m}{M}

where MM is the molar mass. For example, 0.032 kg0.032\ \text{kg} of oxygen gas (M=0.032 kg mol1M = 0.032\ \text{kg mol}^{-1}) is exactly one mole, i.e. 6.02×10236.02 \times 10^{23} molecules.

You must be able to convert fluently between mm, nn and NN, quote pressures in pascals, and explain in words that gas pressure arises from a vast number of tiny molecular collisions with the container walls rather than from a single steady push.

The empirical gas laws

Experiments on a fixed mass of gas reveal three simple patterns.

  • Boyle's law: at constant temperature, pressure is inversely proportional to volume, so PVPV is constant; halving the volume of a sealed syringe doubles the pressure.
  • Charles's law: at constant pressure, volume is directly proportional to absolute temperature, so VT\frac{V}{T} is constant.
  • The pressure law: at constant volume, pressure is directly proportional to absolute temperature, so PT\frac{P}{T} is constant; this is why a sealed aerosol can must not be heated.

The three combine, for a fixed amount of gas changing between two states, into:

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

Every form only works with temperature in kelvin; extrapolating the straight-line VVTT or PPTT graphs back to zero volume or pressure points to 273 C-273\ ^{\circ}\text{C}, absolute zero.

Know the graph shapes:

  • PP against VV is a hyperbola (an isotherm) that never touches the axes.
  • PP against 1V\frac{1}{V} is a straight line through the origin.
  • VVTT and PPTT plots in kelvin are straight lines through the origin.

In a problem, first identify which variable is held constant, then select the matching proportionality.

GraphGraph with axes V and p. T constantVp
Pressure-volume isotherm for a fixed mass of ideal gas at constant temperature: pressure is inversely proportional to volume (Boyle's law).

The ideal gas law

The empirical laws are special cases of a single equation of state:

PV=nRTPV = nRT

where R=8.31 J K1 mol1R = 8.31\ \text{J K}^{-1}\ \text{mol}^{-1} is the universal gas constant. Written per molecule it becomes:

PV=NkBTPV = N k_B T

with kB=1.38×1023 J K1k_B = 1.38 \times 10^{-23}\ \text{J K}^{-1}; the two constants are linked by R=NAkBR = N_A k_B. An ideal gas is the theoretical gas that obeys this equation exactly at all temperatures and pressures.

Real gases approximate ideal behaviour when the pressure is low and the temperature is well above the boiling point, because then the molecules' own volume is negligible compared with the container and intermolecular forces barely act. Near condensation (high pressure, low temperature) real gases deviate strongly.

A typical task is finding the amount of gas in a container: for air at 1.0×105 Pa1.0 \times 10^5\ \text{Pa} filling 0.025 m30.025\ \text{m}^3 at 293 K293\ \text{K}, n=PVRT1.0 moln = \frac{PV}{RT} \approx 1.0\ \text{mol}. Be ready to use either form of the law, to justify the assumptions of ideality, and to state the conditions under which they fail.

Kinetic theory of an ideal gas

Kinetic theory explains the macroscopic gas laws from molecular motion. Its assumptions:

  • a gas consists of a very large number of identical point molecules in continuous random motion.
  • all collisions (with each other and with the walls) are perfectly elastic.
  • intermolecular forces act only during collisions.
  • the total volume of the molecules is negligible compared with the container.
  • the duration of a collision is negligible compared with the time between collisions.

The macroscopic pressure of an ideal gas originates from the collective elastic collisions of its molecules with the boundary walls. When a gas molecule of mass mm with velocity component vxv_x rebounds elastically from a wall perpendicular to the xx-axis, its momentum changes by Δp=2mvx\Delta p = 2mv_x.

The rate of these collisions depends on the molecular speed and number density, translating into a continuous normal force on the wall. Averaging this microscopic force over all NN molecules moving in three dimensions leads directly to:

P=13ρv2P = \frac{1}{3}\rho v^2

This shows that pressure depends on mass density and the mean-square molecular speed v2v^2. Combining this result with PV=NkBTPV = N k_B T gives the central link between the micro and macro worlds:

Eˉk=32kBT\bar{E}_k = \frac{3}{2} k_B T

Absolute temperature therefore measures the average random translational kinetic energy per molecule. You should be able to list the assumptions, outline the momentum argument in words, and use both equations numerically.

Internal energy of an ideal gas

For a real substance, internal energy consists of both the random kinetic energy of its molecules and the potential energy due to intermolecular forces. An ideal gas, however, assumes zero intermolecular potential energy (Ep=0E_p = 0) because molecules interact only during instantaneous collisions. Consequently, the internal energy UU of an ideal gas is entirely kinetic.

For a monatomic ideal gas, UU equals the total random translational kinetic energy of its molecules:

U=NEˉk=32NkBT=32nRTU = N \bar{E}_k = \frac{3}{2} N k_B T = \frac{3}{2} n R T

Internal energy therefore depends only on the amount of gas and its absolute temperature, not on pressure or volume separately. Doubling the kelvin temperature of a sealed sample doubles its internal energy, while compressing a gas at constant temperature changes PP and VV but leaves UU unchanged.

Since PV=nRTPV = nRT, you can also write U=32PVU = \frac{3}{2} PV, a quick route in calculations: helium at 1.0×105 Pa1.0 \times 10^5\ \text{Pa} filling 0.030 m30.030\ \text{m}^3 stores U=1.5×1.0×105×0.030=4.5×103 JU = 1.5 \times 1.0 \times 10^5 \times 0.030 = 4.5 \times 10^3\ \text{J}.

Be able to explain why UU is purely kinetic for an ideal gas and to compute it from TT and nn, from NN, or directly from PVPV.

Formulae

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

To find the pressure exerted on a surface from the normal force FF acting over an area AA; pressure is measured in pascals (1 Pa=1 N m21\ \text{Pa} = 1\ \text{N m}^{-2}).

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

To convert between the number of molecules NN in a sample and the amount of substance nn in moles, using the Avogadro constant NAN_A.

PVT=constant\frac{PV}{T} = \text{constant}

For a fixed mass of an ideal gas changing between two equilibrium states; apply it in the two-state form P1V1T1=P2V2T2\frac{P_1V_1}{T_1} = \frac{P_2V_2}{T_2} with temperatures in kelvin.

PV=nRTP V = n R T

To relate the macroscopic variables of pressure, volume, temperature, and moles of an ideal gas in any equilibrium state.

PV=NkBTP V = N k_B T

To relate pressure, volume, and absolute temperature when the quantity of gas is given as the absolute number of molecules NN instead of moles.

P=13ρv2P = \frac{1}{3}\rho v^2

To calculate gas pressure from microscopic properties, where ρ\rho is the gas density and v2v^2 is the mean-square speed of the gas molecules (the rms speed is v2\sqrt{v^2}).

Eˉk=32kBT=32RNAT\bar{E}_k = \frac{3}{2} k_B T = \frac{3}{2} \frac{R}{N_A} T

To determine the average random translational kinetic energy of a single molecule of an ideal gas at absolute temperature TT.

U=32NkBT=32nRTU = \frac{3}{2} N k_B T = \frac{3}{2} n R T

To calculate the internal energy of a monatomic ideal gas, which is entirely the random translational kinetic energy of its molecules.

Definitions

Ideal Gas
A theoretical gas composed of identical molecules of negligible volume with no intermolecular forces, except during perfectly elastic collisions, which perfectly obeys the ideal gas law.
Pressure
The magnitude of the normal force exerted per unit area on a surface by gas molecules colliding with it.
Mole
The SI unit for amount of substance, containing exactly 6.02214076×10236.02214076 \times 10^{23} elementary entities.

Worked examples

1

A rigid, sealed cylinder has a volume of 0.040 m30.040\ \text{m}^3 and contains 1.8 mol1.8\ \text{mol} of an ideal gas at an initial temperature of 27.0 C27.0\ ^{\circ}\text{C}. Calculate the initial pressure of the gas, and determine the new pressure if the gas is heated to 127.0 C127.0\ ^{\circ}\text{C}.

  1. 1
    First, convert the initial and final temperatures from Celsius to Kelvin: T1=27.0+273.15=300.15 KT_1 = 27.0 + 273.15 = 300.15\ \text{K} and T2=127.0+273.15=400.15 KT_2 = 127.0 + 273.15 = 400.15\ \text{K}.
  2. 2
    Use the ideal gas law P1V=nRT1P_1 V = n R T_1 to calculate the initial pressure P1P_1: P1=nRT1VP_1 = \frac{n R T_1}{V}.
  3. 3
    Substitute the given values into the equation: P1=1.8 mol×8.31 J K1 mol1×300.15 K0.040 m3P_1 = \frac{1.8\ \text{mol} \times 8.31\ \text{J K}^{-1}\ \text{mol}^{-1} \times 300.15\ \text{K}}{0.040\ \text{m}^3}.
  4. 4
    Calculate the value: P1=1.122×105 Pa1.1×105 PaP_1 = 1.122 \times 10^5\ \text{Pa} \approx 1.1 \times 10^5\ \text{Pa}.
  5. 5
    Since the cylinder is rigid and sealed, the volume VV and the number of moles nn are constant. Therefore, pressure is directly proportional to absolute temperature: P1T1=P2T2\frac{P_1}{T_1} = \frac{P_2}{T_2}.
  6. 6
    Rearrange to solve for the final pressure P2P_2: P2=P1×T2T1P_2 = P_1 \times \frac{T_2}{T_1}.
  7. 7
    Substitute the absolute temperatures: P2=1.122×105 Pa×400.15 K300.15 K1.50×105 PaP_2 = 1.122 \times 10^5\ \text{Pa} \times \frac{400.15\ \text{K}}{300.15\ \text{K}} \approx 1.50 \times 10^5\ \text{Pa}.

Answer: Initial pressure = 1.1×105 Pa1.1 \times 10^5\ \text{Pa}, Final pressure = 1.5×105 Pa1.5 \times 10^5\ \text{Pa}

2

Nitrogen gas (molar mass M=0.028 kg mol1M = 0.028\ \text{kg mol}^{-1}) behaves as an ideal gas at a temperature of 320 K320\ \text{K}. Calculate the average translational kinetic energy of one molecule and the root-mean-square (rms) speed of the nitrogen molecules.

  1. 1
    The average translational kinetic energy per molecule is Eˉk=32kBT=32×1.38×1023 J K1×320 K=6.62×1021 J\bar{E}_k = \frac{3}{2} k_B T = \frac{3}{2} \times 1.38 \times 10^{-23}\ \text{J K}^{-1} \times 320\ \text{K} = 6.62 \times 10^{-21}\ \text{J}.
  2. 2
    Find the mass of one nitrogen molecule from the molar mass: m=MNA=0.0286.02×1023=4.65×1026 kgm = \frac{M}{N_A} = \frac{0.028}{6.02 \times 10^{23}} = 4.65 \times 10^{-26}\ \text{kg}.
  3. 3
    Set the average kinetic energy equal to 12mv2\frac{1}{2} m v^2 and solve for the mean-square speed: v2=2Eˉkm=2×6.62×10214.65×1026=2.85×105 m2 s2v^2 = \frac{2 \bar{E}_k}{m} = \frac{2 \times 6.62 \times 10^{-21}}{4.65 \times 10^{-26}} = 2.85 \times 10^{5}\ \text{m}^2\ \text{s}^{-2}.
  4. 4
    Take the square root to obtain the rms speed: vrms=2.85×105534 m s1v_{\text{rms}} = \sqrt{2.85 \times 10^{5}} \approx 534\ \text{m s}^{-1}.

Answer: Eˉk=6.62×1021 J\bar{E}_k = 6.62 \times 10^{-21}\ \text{J}; vrms534 m s1v_{\text{rms}} \approx 534\ \text{m s}^{-1}

3

A weather balloon contains helium that occupies 0.012 m30.012\ \text{m}^3 at a pressure of 1.05×105 Pa1.05 \times 10^5\ \text{Pa} and a temperature of 290 K290\ \text{K}. Treating the helium as an ideal gas, calculate the number of helium atoms in the balloon and the internal energy of the gas.

  1. 1
    Apply the ideal gas law to find the amount of gas: n=PVRT=1.05×105×0.0128.31×290=0.523 moln = \frac{PV}{RT} = \frac{1.05 \times 10^5 \times 0.012}{8.31 \times 290} = 0.523\ \text{mol}.
  2. 2
    Convert moles to atoms using the Avogadro constant: N=nNA=0.523×6.02×1023=3.15×1023 atomsN = n N_A = 0.523 \times 6.02 \times 10^{23} = 3.15 \times 10^{23}\ \text{atoms}.
  3. 3
    Because helium is a monatomic ideal gas, its internal energy is entirely random translational kinetic energy: U=32nRT=32PVU = \frac{3}{2} n R T = \frac{3}{2} PV.
  4. 4
    Substitute the pressure and volume directly: U=1.5×1.05×105 Pa×0.012 m3=1.89×103 JU = 1.5 \times 1.05 \times 10^5\ \text{Pa} \times 0.012\ \text{m}^3 = 1.89 \times 10^3\ \text{J}.

Answer: N=3.15×1023N = 3.15 \times 10^{23} atoms; U=1.89×103 JU = 1.89 \times 10^3\ \text{J}

Common mistakes

  • ×Using temperature values in Celsius (C^{\circ}\text{C}) instead of absolute temperature in Kelvin (K\text{K}) within gas law equations. This causes incorrect proportionality relationships.
  • ×Confusing the universal gas constant R=8.31 J K1 mol1R = 8.31\ \text{J K}^{-1}\ \text{mol}^{-1} (used with moles, nn) with Boltzmann's constant kB=1.38×1023 J K1k_B = 1.38 \times 10^{-23}\ \text{J K}^{-1} (used with molecular count, NN).
  • ×Failing to recognize the specific conditions under which real gases deviate from ideal behavior (high pressures and low temperatures, where molecular size and intermolecular attractions become significant).

Exam tips

  • When asked to *sketch* gas law graphs, ensure you pay attention to the axes. A graph of PP against VV (Boyle's Law) is a hyperbola that must not touch either axis, whereas a graph of PP against 1V\frac{1}{V} is a straight line through the origin.
  • If an exam question asks you to *explain* the macroscopic pressure of a gas in terms of kinetic theory, make sure to mention the change in momentum (Δp\Delta p) of molecules colliding with the wall, the resulting force (F=ΔpΔtF = \frac{\Delta p}{\Delta t}), and the force per unit area.
  • Always state assumptions clearly when asked to *outline* why a real gas acts ideally, referencing negligible intermolecular forces and the negligible volume of the molecules themselves compared to the container volume.

All IB Physics topics