In this guide
← Physics guides

B. The particulate nature of matter · B.3 · SL & HL

Gas laws

A gas law is a story about moving particles: collisions make pressure, while kelvin temperature measures their average random motion.

Course focus: B.3 is shared by SL and HL, with no additional HL content. It covers moles, pressure, ideal-gas assumptions, the gas laws, \(PV=nRT=Nk_BT\), kinetic energy, rms speed and monatomic ideal-gas internal energy.

Before you start: Use SI units, Newton’s second law and momentum change, and the distinction between temperature and internal energy from B.1. Convert Celsius to kelvin before using any gas relation.

01

A count for huge numbers

Use moles to connect particles with measurable mass

One mole contains \(N_A=6.022\times10^{23}\) specified particles. Say whether the particles are atoms or molecules: one mole of \(\mathrm{O_2}\) means one mole of oxygen molecules, containing two moles of oxygen atoms. If a sample contains \(N\) molecules, its amount is \(n=N/N_A\) moles.

With mass \(m\) and molar mass \(M\), use \(n=m/M\). Use matching mass units: grams with \(\mathrm{g\,mol^{-1}}\) or kilograms with \(\mathrm{kg\,mol^{-1}}\) to obtain moles.

Worked example: molecules from a sample mass

How many molecules are in 8.0 g of oxygen gas, O₂? Its molar mass is 32 g mol⁻¹.

  1. n = m/M = 8.0/32 = 0.25 mol of O₂ molecules.
  2. N = nNₐ = 0.25(6.022×10²³) ≈ 1.5×10²³ molecules.
  3. Each molecule has two atoms, so the sample contains about 3.0×10²³ oxygen atoms.
02

From impulses to a force

Gas particles strike the container walls

Pressure is normal force per area: \(P=F_\perp/A\) in pascals, where \(1\,\mathrm{Pa}=1\,\mathrm{N\,m^{-2}}\). A molecule colliding elastically with a wall reverses its momentum component normal to it. The wall pushes on the particle, so the particle pushes equally and oppositely on the wall. An enormous number of collisions each second produces a steady average force and pressure.

A particle rebounds from a wall. Its momentum component perpendicular to the wall reverses; many such impulses produce gas pressure.A gas molecule approaches a vertical wall with a rightward momentum arrow, rebounds with a leftward momentum arrow, and transfers an impulse to the wall.Pressure starts with a collisionwallbefore: +mvₓafter: −mvₓwall receivesimpulse
A particle rebounds from a wall. Its momentum component perpendicular to the wall reverses; many such impulses produce gas pressure.

Compress a fixed amount of ideal gas at constant temperature. Its mean particle kinetic energy stays the same, but particles have less distance to travel before reaching a wall. Collisions with a given wall become more frequent, increasing pressure. Heating it at fixed volume raises mean particle kinetic energy, so particles strike harder and more often. This is why the pressure rises.

Worked example: pressure from force and area

A gas exerts a total normal force of 180 N on a wall of area 0.030 m². What is its pressure?

  1. P = F/A = 180/0.030 = 6000 Pa = 6.0 kPa.
  2. Area must be in square metres for pressure in pascals.
03

Choose by the constraint

Each simple gas law holds one variable fixed

Constant temperature

For fixed amount of gas, \(PV=\text{constant}\). Doubling \(V\) halves \(P\). A \(P\)–\(V\) plot is a falling curve.

Constant pressure

\(V/T=\text{constant}\). Doubling kelvin \(T\) doubles \(V\) in the ideal model.

Constant volume

\(P/T=\text{constant}\). Doubling kelvin \(T\) doubles \(P\) in the ideal model.

For a fixed amount of ideal gas: P against V is a falling curve at constant T; V against kelvin T is straight at constant P; P against kelvin T is straight at constant V.Three plots show inverse pressure-volume relation, direct volume-temperature relation, and direct pressure-temperature relation; each states the quantity held fixed.What stays fixed determines the graphconstant TP / PaV / m³constant PV / m³T / Kconstant VP / PaT / K
For a fixed amount of ideal gas: P against V is a falling curve at constant T; V against kelvin T is straight at constant P; P against kelvin T is straight at constant V.

The straight \(V\)–\(T\) and \(P\)–\(T\) graphs pass through the origin only on a kelvin axis and only for the ideal-gas model. A real gas may condense before it reaches a sufficiently low temperature.

Worked example: constant-temperature compression

A fixed amount of gas has 150 kPa pressure at 0.80 L. It is compressed isothermally to 0.30 L. Find the new pressure.

  1. The fixed variables are amount and temperature, so P₁V₁ = P₂V₂.
  2. P₂ = 150(0.80)/0.30 = 400 kPa. Litres cancel because both volumes use the same unit.
Worked example: constant-volume heating

A sealed rigid container is at 200 kPa and 20 °C. Estimate pressure at 80 °C.

  1. Convert to kelvin: T₁ = 293 K and T₂ = 353 K.
  2. At constant volume, P₂ = P₁T₂/T₁ = 200(353/293) ≈ 241 kPa.
  3. The ratio 80/20 would be wrong because 0 °C is not absolute zero.
04

One equation behind the laws

Use the amount of gas when it is not hidden in a constant

\[PV=nRT=Nk_BT\]

Here \(R=8.31\,\mathrm{J\,mol^{-1}\,K^{-1}}\) and \(k_B=1.38\times10^{-23}\,\mathrm{J\,K^{-1}}\), related by \(R=N_Ak_B\). Use \(P\) in Pa, \(V\) in \(\mathrm{m^3}\) and \(T\) in K with these constants. If the amount stays fixed across two states, \(P_1V_1/T_1=P_2V_2/T_2\); if gas enters or leaves, retain the separate amounts \(n_1\) and \(n_2\).

Worked example: find the number of moles

An ideal gas occupies 0.020 m³ at 300 K and 2.5×10⁵ Pa. Find n.

  1. Rearrange PV = nRT: n = PV/(RT).
  2. n = (2.5×10⁵)(0.020)/(8.31×300) ≈ 2.0 mol.
  3. As a check, Pa·m³ is a joule, matching the energy units in RT.
On a P–V diagram, an isotherm curves downward. For the same amount of gas, a higher-temperature isotherm has higher pressure at the same volume.Two downward pressure-volume curves are shown, with the higher-temperature curve above the lower-temperature one. A dotted vertical line compares pressure at the same volume.Compare states at the same volumeP / PaV / m³higher Tlower T
On a P–V diagram, an isotherm curves downward. For the same amount of gas, a higher-temperature isotherm has higher pressure at the same volume.

On a pressure–volume plot, each downward curve is an isotherm: all its points have the same temperature for the fixed amount of gas. At the same volume, the higher curve has higher pressure and therefore higher kelvin temperature.

05

Microscopic meaning of T

Temperature measures mean translational kinetic energy

The kinetic model treats ideal-gas particles as tiny point-like bodies moving randomly; their collisions with walls and each other are elastic and brief, and forces between collisions are negligible. Isotropy means no spatial direction is preferred. The model links pressure to density \(\rho\) and root-mean-square speed \(v_{\rm rms}\):

\[P=\tfrac13\rho v_{\rm rms}^{2},\qquad \overline{E}_{k}=\tfrac12mv_{\rm rms}^{2}=\tfrac32k_BT\]

The rms speed is the square root of the mean of squared speeds; it is not exactly the ordinary mean speed or the most probable speed. At a fixed temperature, all ideal-gas species have the same mean translational kinetic energy per particle, but lighter particles have greater rms speed. When kelvin temperature doubles, mean kinetic energy doubles and rms speed grows by \(\sqrt2\), not by two.

Worked example: rms speed from pressure

An ideal gas has pressure 1.2×10⁵ Pa and density 1.5 kg m⁻³. Estimate its rms speed.

  1. From P = ρvᵣₘₛ²/3, vᵣₘₛ = √(3P/ρ).
  2. vᵣₘₛ = √[(3×1.2×10⁵)/1.5] = √(2.4×10⁵) ≈ 490 m s⁻¹.
06

All the particles together

Monatomic ideal-gas internal energy depends on T and amount

A monatomic ideal gas has no intermolecular potential energy in this model. Multiply mean translational kinetic energy per particle by the number of particles:

\[U=N\overline E_k=\tfrac32Nk_BT=\tfrac32nRT=\tfrac32PV\]

For a fixed amount, \(\Delta U=\tfrac32nR\Delta T\). A sample with more particles can have more total internal energy even if its temperature is the same. The \(3/2\) result is for a monatomic ideal gas; do not use it automatically for molecular gases, whose additional degrees of freedom can store energy.

Worked example: energy change in a monatomic gas

A 2.0 mol monatomic ideal gas warms from 300 K to 360 K. Find the change in internal energy.

  1. ΔT = 60 K; ΔU = (3/2)nRΔT.
  2. ΔU = 1.5(2.0)(8.31)(60) ≈ 1.50×10³ J. The gas gains internal energy.
07

A model, not every gas

Check when real molecules depart from ideal behaviour

Real molecules occupy volume and exert forces on each other. Those effects matter more when particles are close together, particularly at high pressure or near liquefaction. The ideal model is generally better at low density and at temperatures far enough above condensation that intermolecular attractions are less significant. It cannot represent the liquid–gas phase change itself. Treat an extrapolated graph reaching 0 K as a feature of the model, not a claim that a real gas remains gaseous at that temperature.

08

Independent practice

Try it yourself

State which quantity stays constant before choosing an equation. Show kelvin conversion whenever temperature changes.

  1. 1

    What normal force does a gas exert on a 0.050 m² wall at pressure 2.0×10⁵ Pa?

    Hint

    Rearrange P = F/A.

    Show complete solution
    1. F = PA = (2.0×10⁵)(0.050) = 1.0×10⁴ N.
  2. 2

    A fixed gas doubles its volume isothermally. What happens to pressure, and why microscopically?

    Hint

    Use PV constant; think about wall-collision frequency.

    Show complete solution
    1. Pressure halves because PV is constant. At unchanged T, mean particle kinetic energy is unchanged, but the larger space leads to fewer wall impacts per unit time and area.
  3. 3

    A gas at 250 K and 1.0 L is heated at constant pressure to 300 K. Find its new volume.

    Hint

    V/T is constant; both temperatures are already kelvin.

    Show complete solution
    1. V₂ = 1.0(300/250) = 1.2 L.
  4. 4

    A sealed rigid vessel at 290 K has pressure 100 kPa. Find pressure at 348 K.

    Hint

    P/T is constant.

    Show complete solution
    1. P₂ = 100(348/290) = 120 kPa.
  5. 5

    How many molecules are in 0.10 mol of an ideal gas?

    Hint

    Use the Avogadro constant.

    Show complete solution
    1. N = nNₐ = 0.10(6.022×10²³) = 6.0×10²² molecules.
  6. 6

    Find the pressure of 1.0 mol of ideal gas at 300 K in 0.025 m³. Use R = 8.31 J mol⁻¹ K⁻¹.

    Hint

    Use P = nRT/V with SI volume.

    Show complete solution
    1. P = 1.0(8.31)(300)/0.025 ≈ 1.0×10⁵ Pa.
  7. 7

    A monatomic ideal gas has P = 2.0×10⁵ Pa and V = 0.010 m³. Find its internal energy.

    Hint

    For this model U = 3PV/2.

    Show complete solution
    1. U = 1.5(2.0×10⁵)(0.010) = 3.0×10³ J.
  8. 8

    Two gases at the same temperature have particles of different masses. Which has greater average translational kinetic energy? Which has greater rms speed?

    Hint

    Use (1/2)mvᵣₘₛ² = (3/2)kBT.

    Show complete solution
    1. Their average translational kinetic energies are equal because T is equal. Particles of the lighter gas must have the greater rms speed.

Put the ideas together

These original multi-part questions use the methods from this guide. Marks show the level of detail to aim for; reveal the worked answers after trying every part.

1. A gas in a rigid container

A sealed rigid container holds gas at 100 kPa and 300 K. It is heated to 360 K.

  1. Find the final pressure using the ideal-gas model. (2 marks)
  2. Explain the pressure rise using particle collisions. (2 marks)
  3. Explain why using 27 °C and 87 °C directly in the ratio would be wrong. (2 marks)
Show worked answers
  1. At fixed amount and volume, P/T is constant. P₂=100(360/300)=120 kPa.
  2. At higher absolute temperature particles have greater average kinetic energy; collisions with the walls transfer momentum more often and/or more strongly.
  3. Gas-law temperature ratios require absolute temperature in kelvin, not an arbitrary Celsius zero.

2. Interpret a P–V graph

An ideal gas expands slowly at constant temperature from 2.0 L and 150 kPa to 5.0 L.

  1. Find its final pressure. (2 marks)
  2. State the expected shape of a pressure-versus-volume graph. (2 marks)
  3. Name an axis choice that would linearise the data. (2 marks)
Show worked answers
  1. P₁V₁=P₂V₂, so P₂=150×2.0/5.0=60 kPa.
  2. A falling inverse curve, P proportional to 1/V, not a straight line.
  3. Plot P vertically against 1/V horizontally; it should be straight through the origin for a fixed amount of ideal gas at constant T.
Find a specific method or formula

Keep learning Physics

The gas laws connect microscopic motion to measurable states. The HL thermodynamics guide builds on these states to follow heat, work and entropy.

Browse Physics guides →

Original Arc Practice teaching notes for IB Physics B.3, first assessment 2025. Scope checked against the IB Physics guide and the Gas laws chapter of K. A. Tsokos, Physics for the IB Diploma, seventh edition (Cambridge, 2023). Diagrams, examples and exercises are original Arc material. Not an official IB publication. Report a correction.