Kinetic Theory & Gas Laws · Guide · glidepathscience.org
GuideKinetic Theory & Gas Laws
Contents
This Guide covers the ideas and equations behind every Walkthrough step, Concept Challenge question and Predict round. Read Part 1 before the Intro track and Part 2 before the Advanced track, about ten minutes each. Come back whenever a question sends you here.
Part 1 · The essentials
The big idea
A gas is a crowd of molecules flying in straight lines through empty space, bouncing off the walls and, now and then, off each other. Everything a gas does on a bench, its pressure, its temperature and the way it responds when squeezed or heated, is an average over those flights. This sim shows the flights themselves: every dot is one real molecule at its real size and speed.
A gas is mostly empty space
At room temperature and pressure a nitrogen molecule is about 0.37 nm across, and its neighbors are about 3.4 nm away. The molecules fill well under a tenth of a percent of the volume; the rest is vacuum. There is no "air between the air". That is why a gas can be squeezed so easily, and why two gases mix.
Pressure is a hail of hits
Molecules do not push on a wall by repelling it from a distance. Each one that bounces off reverses the component of its momentum toward the wall, so the wall receives an impulse of $2mv_x$. Billions of such kicks each second add up to a steady force. Pressure is that force per area, which is the impulse per area per time:
$P = F/A$ $P = J/(AΔt)$
Hits arrive at random, so a count of N hits scatters by about √N: a small patch of wall over a short time feels a patter, a large wall over a long time a steady push.
The four gas laws, and why kelvins
Each law holds two things fixed and changes a third. All of them need the temperature in kelvins, $T(\mathrm{K}) = T(°\mathrm{C}) + 273.15$, because the proportions start from absolute zero, not from the freezing point of water. They need the absolute pressure too: a tire gauge reads the pressure above the outside air’s, so add 101 kPa to its reading.
- Gay-Lussac (Amontons): fixed n and V, $P ∝ T$. Faster molecules hit harder and more often.
- Charles: fixed n and P, $V ∝ T$. The gas expands until its harder hits are spread over a bigger box.
- Boyle: fixed n and T, $PV$ = constant. Halve the volume and the same molecules hit twice as often.
- Avogadro: fixed T and P, $V ∝ n$. Equal volumes hold equal numbers of molecules, whatever the gas: a heavy molecule hits harder but less often, by exactly as much.
$P_1V_1/T_1 = P_2V_2/T_2$
The ideal gas law
The four laws combine into one equation of state. Per mole it uses R; per molecule it uses Boltzmann’s constant, $k_B = R/N_A$ = 1.381 × 10⁻²³ J/K:
$PV = nRT = Nk_BT$
With P in pascals and V in cubic meters, $R = 8.314$ J/(mol·K) $= 0.08206$ L·atm/(mol·K) when P is in atmospheres and V in liters. Match R’s units to yours. A gas is ideal when its molecules are far apart compared with their size and seldom attract: true for air to a fraction of a percent.
Mixtures: partial pressures
In a dilute mixture each gas pushes as though the others were not there. Its partial pressure is set by its own share of the molecules, the mole fraction $x_i$, and the partial pressures add to the total (Dalton’s law):
$P_i = x_iP$
A spread of speeds
Even if every molecule started at the same speed, collisions would share the energy out unevenly, and within a few flights the speeds settle into a lopsided hump with a long fast tail: the Maxwell–Boltzmann distribution. The shape then stays, though each molecule’s speed keeps changing. Heavier molecules bunch at lower speeds; heating one gas shifts its hump to faster speeds and flattens it.
Temperature is average kinetic energy
The temperature of a gas measures the average kinetic energy of its molecules’ motion, the same for every gas at one temperature:
$K_{avg} = \frac{3}{2}k_BT$
So a heavier molecule at the same temperature is slower, not colder. Writing $K_{avg} = ½m⟨v^2⟩$ gives the root-mean-square speed, with M the molar mass in kg/mol:
$v_{rms} = \sqrt{3RT/M}$
Effusion and Graham’s law
At low pressure, where a hole is smaller than the mean free path, molecules leave through it one at a time (effusion). They reach it at a rate proportional to their mean speed, which goes as $1/\sqrt{M}$. So at the same temperature and pressure the rates of effusion compare as
$r_1/r_2 = \sqrt{M_2/M_1}$
and the times to leak away compare the other way round: the heavier gas takes longer.
Part 2 · Going further
Pressure from momentum flux
Take molecules with x-velocity $v_x$ at number density n. In time Δt those within $v_xΔt$ of a wall of area A reach it, each delivering $2mv_x$; half the molecules move toward the wall. Averaging gives $P = nm⟨v_x^2⟩$, and since no direction is special, $⟨v_x^2⟩ = ⟨v^2⟩/3$:
$P = \frac{1}{3}nm⟨v^2⟩$
With $½m⟨v^2⟩ = \frac{3}{2}k_BT$ this is $P = nk_BT$, the ideal gas law. The wall flux, hits per area per time, uses the mean speed:
$Φ = n\bar v/4$
Molecules leaving a small hole are weighted by their speed, so the beam is faster than the gas inside: its mean kinetic energy is $2k_BT$, and a leaking insulated box cools.
The mean free path
A molecule of diameter d hits any other whose center comes within d of its path, so it sweeps a cylinder of cross-section $πd^2$. Including the others’ motion (the √2),
$λ = 1/(\sqrt{2}nπd^2)$ $z = \bar v/λ$
For air at room conditions λ is about 67 nm, roughly the width of the sim’s box, and a molecule collides several billion times a second. In the sim’s box a molecule near a wall loses some partners, so the collision rate is $dS/(4V)$ below the bulk value (S the wall area): 2.4 % at 1 atm, and nothing in a bottle.
The Maxwell–Boltzmann distribution
Each velocity component is a Gaussian with variance $k_BT/m$, peaked at zero. The speed counts every velocity of the same magnitude, a spherical shell of area $4πv^2$ in velocity space, so the most likely speed is not zero:
$f(v) = 4π(m/2πk_BT)^{3/2}v^2e^{-mv^2/2k_BT}$
Its three characteristic speeds stand in the ratio 1 : 1.128 : 1.225:
$v_p = \sqrt{2k_BT/m}$ $\bar v = \sqrt{8k_BT/πm}$ $v_{rms} = \sqrt{3k_BT/m}$
The fraction faster than a speed v falls off steeply, which is why warming speeds up evaporation and reactions so much:
$F(>v) = \mathrm{erfc}\,x + (2x/\sqrt{π})e^{-x^2}$, $x = v/v_p$
Equipartition and heat capacity
At equilibrium every active degree of freedom holds ½kBT on average: three translations for every molecule, plus two rotations for a linear molecule (N₂, O₂, CO₂) and three for a nonlinear one (CH₄). With f degrees of freedom the molar heat capacity at constant volume is
$C_V = \frac{f}{2}R$
When two gases share their energy in an insulated box, each degree of freedom ends at the same temperature, so the final temperature weights each gas by its number and its f. The classical count fails at the ends: rotational energy is quantized, so hydrogen’s rotations freeze out below about 100 K, and vibrations join only at high temperature.
Compression heating and γ
A molecule bouncing off a piston moving in at speed U leaves faster, gaining $2mU(U - v_n)$ of kinetic energy. With no heat flow, the work done all heats the gas, and a slow (reversible) squeeze of an ideal gas follows
$TV^{γ-1}$ = constant, $γ = (f+2)/f$
Gases with more degrees of freedom share the work among more of them, so they heat less. A rapid squeeze does more work and ends hotter.
A few hundred molecules for 10²³
Pressure, temperature and density are averages, the same in a small sample as in a bottle. Only the noise depends on size: the temperature computed from the energy of N molecules with f degrees of freedom scatters by
$σ_T/T = \sqrt{2/fN}$
Four times the molecules halves the scatter. For the 2.4 × 10²² molecules in a liter of air (f = 5) it is about 4 × 10⁻¹², far below anything a thermometer could see.
Real gases
Molecules have size, so each has less room than V, and $Z = PV/(Nk_BT)$ rises above 1. For hard spheres at packing fraction η (the share of the volume they fill),
$Z_{CS} = (1 + η + η^2 - η^3)/(1 - η)^3$
The van der Waals constant $b = \frac{2π}{3}N_Ad^3$ is four times the molecules’ own volume. Attraction does the opposite: molecules near a wall are pulled back by their neighbors, and below the Boyle temperature Z dips below 1, as van der Waals’s $-a(n/V)^2$ says.
Reference
Common mistakes
- Using °C in a gas law. Only kelvins are proportional to the molecules’ energy.
- Using a tire-gauge (gauge-pressure) reading as the pressure. The gas laws need the absolute pressure: add the outside air’s 101 kPa.
- Thinking pressure comes from molecules pushing each other apart. It comes from hits on the walls.
- Thinking heavier molecules are colder. At one temperature every gas has the same $K_{avg}$; heavier ones are slower.
- Using M in g/mol in $\sqrt{3RT/M}$. It must be kg/mol.
- Mixing up $v_p$, $\bar v$ and $v_{rms}$, or using $v_{rms}$ in the wall flux.
- Turning Graham’s law upside down: the lighter gas has the higher rate and the shorter time.
- Averaging two temperatures plainly when the gases differ in number or degrees of freedom.
- Using γ instead of γ − 1 as the exponent in $TV^{γ-1}$.
Equation sheet
| Part 1 | |
|---|---|
| pressure | $P = F/A$ |
| combined law | $P_1V_1/T_1 = P_2V_2/T_2$ |
| ideal gas | $PV = nRT = Nk_BT$ |
| gas constant | $R = 8.314$ J/(mol·K) $= 0.08206$ L·atm/(mol·K) |
| partial pressure | $P_i = x_iP$ |
| temperature | $K_{avg} = \frac{3}{2}k_BT$ |
| rms speed | $v_{rms} = \sqrt{3RT/M}$ |
| Graham | $r_1/r_2 = \sqrt{M_2/M_1}$ |
| Part 2 | |
|---|---|
| momentum flux | $P = \frac{1}{3}nm⟨v^2⟩$ |
| wall flux | $Φ = n\bar v/4$ |
| mean free path | $λ = 1/(\sqrt{2}nπd^2)$ |
| $f(v) = 4π(m/2πk_BT)^{3/2}v^2e^{-mv^2/2k_BT}$ | |
| speeds | $v_p = \sqrt{2k_BT/m}$, $\bar v = \sqrt{8k_BT/πm}$ |
| $v_{rms} = \sqrt{3k_BT/m}$ | |
| $F(>v) = \mathrm{erfc}\,x + (2x/\sqrt{π})e^{-x^2}$, $x = v/v_p$ | |
| heat capacity | $C_V = \frac{f}{2}R$, $γ = (f+2)/f$ |
| adiabatic | $TV^{γ-1}$ = constant |
| fluctuations | $σ_T/T = \sqrt{2/fN}$ |
| hard spheres | $Z_{CS} = (1 + η + η^2 - η^3)/(1 - η)^3$ |
Symbols: n is moles in Part 1 and number density (m⁻³) in Part 2; m molecular mass (kg), M molar mass (kg/mol), $k_B$ = 1.380649 × 10⁻²³ J/K, $N_A$ = 6.022 × 10²³ mol⁻¹, d molecular diameter, f degrees of freedom, η packing fraction.
Further reading
- OpenStax, University Physics Volume 2, chapter 2, "The Kinetic Theory of Gases," and §3.6, "Adiabatic Processes for an Ideal Gas" (CC BY-NC-SA 4.0).
- OpenStax, Chemistry 2e, chapter 9, "Gases" (CC BY-NC-SA 4.0).
- F. Reif, Fundamentals of Statistical and Thermal Physics (1965), chapters 7 and 12; D. V. Schroeder, An Introduction to Thermal Physics (2000), chapters 1 and 6.
Kinetic Theory & Gas Laws v1.3 · © 2026 Dr. David Meier · CC BY-NC-SA 4.0 · glidepathscience.org