Thermodynamics
The Kinetic Theory of Gases
Pressure and temperature emerge from molecules bouncing around — PV = (1/3)Nm⟨v²⟩
The kinetic theory of gases explains the pressure, temperature and volume of a gas as the collective result of countless tiny molecules flying in random straight lines and colliding elastically with the walls. Its central equation, PV = (1/3)Nm⟨v²⟩, links the macroscopic pressure P to the mean-square molecular speed ⟨v²⟩; comparing it with the ideal gas law shows that temperature is simply the average translational kinetic energy per molecule, ⟨½mv²⟩ = (3/2)k_BT. Developed by Bernoulli (1738), Clausius, Maxwell and Boltzmann in the 19th century, it turns thermodynamics into mechanics-plus-statistics.
- Pressure equationPV = (1/3)Nm⟨v²⟩
- Temperature ↔ energy⟨½mv²⟩ = (3/2)k_BT
- RMS speedv_rms = √(3k_BT/m) = √(3RT/M)
- k_B (Boltzmann constant)1.381 × 10⁻²³ J/K
- DerivesPV = Nk_BT = nRT (ideal gas law)
- N₂ at 300 Kv_rms ≈ 517 m/s
Interactive visualization
Press play, or step through manually. The visualization is yours to drive — try it before reading on.
Watch the 60-second explainer
A condensed visual walkthrough — narrated, captioned, under a minute.
Why the kinetic theory matters
Before the 19th century, "heat" and "pressure" were treated as fluid-like substances that flowed in and out of matter. The kinetic theory of gases replaced that picture with something far more powerful: a gas is nothing but a huge population of molecules in perpetual, disordered motion. Everything you can measure about the gas as a whole — its pressure on a piston, its temperature on a thermometer, the way it expands when heated — turns out to be a statistical average over the mechanics of those molecules.
This is one of the first and greatest triumphs of reductionism in physics. Daniel Bernoulli sketched the idea in Hydrodynamica (1738), but it was Rudolf Clausius (1857), James Clerk Maxwell (1860) and Ludwig Boltzmann (1870s) who made it quantitative. From a handful of mechanical assumptions they derived the ideal gas law that Boyle, Charles and Gay-Lussac had found only empirically, and they went further — predicting the distribution of molecular speeds, the heat capacities of gases, viscosity, thermal conductivity and diffusion. The theory is the historical bridge between Newtonian mechanics and statistical mechanics, and it is where the Boltzmann constant k_B first earns its place.
How it works — pressure from collisions, step by step
Consider N molecules, each of mass m, bouncing inside a cubic box of side L (volume V = L³). Follow a single molecule with velocity component v_x toward one wall.
- Step 1 — one bounce. The collision is elastic, so the wall reverses v_x. The molecule's momentum along x changes from +mv_x to −mv_x, a transfer of Δp = 2m·v_x to the wall.
- Step 2 — how often it hits. The molecule must travel a round trip of 2L before it strikes the same wall again, taking time Δt = 2L / v_x. So the rate of collisions is v_x / (2L) per second.
- Step 3 — force from one molecule. Average force = momentum transfer × collision rate = (2m·v_x)·(v_x / 2L) = m·v_x² / L.
- Step 4 — sum over all molecules. The total force on that wall is F = (m/L)·Σv_x² = (m/L)·N·⟨v_x²⟩, where ⟨v_x²⟩ is the mean-square x-velocity.
- Step 5 — isotropy. Motion is random and has no preferred direction, so ⟨v_x²⟩ = ⟨v_y²⟩ = ⟨v_z²⟩. Since ⟨v²⟩ = ⟨v_x²⟩ + ⟨v_y²⟩ + ⟨v_z²⟩, each equals (1/3)⟨v²⟩.
- Step 6 — pressure. Pressure is force per area: P = F / L² = (m/L³)·N·(1/3)⟨v²⟩ = (1/3)·(N/V)·m·⟨v²⟩.
Rearranging gives the headline equation of kinetic theory:
PV = (1/3) N m ⟨v²⟩
where P is pressure (Pa = N/m²), V is volume (m³), N is the number of molecules (dimensionless), m is the mass of one molecule (kg), and ⟨v²⟩ is the mean-square molecular speed (m²/s²). Notice that pressure never required the molecules to touch each other — it comes entirely from impacts on the walls.
Temperature as average kinetic energy
Rewrite the pressure equation in terms of the mean translational kinetic energy per molecule, ⟨½mv²⟩:
PV = (2/3) N ⟨½ m v²⟩
Experiment tells us independently that PV = Nk_BT (the ideal gas law in molecular form). Setting the two expressions for PV equal and cancelling N gives the deepest statement in the whole theory:
⟨½ m v²⟩ = (3/2) k_B T
Here k_B = 1.380649 × 10⁻²³ J/K is the Boltzmann constant and T is the absolute temperature (K). This says the average translational kinetic energy per molecule is (3/2)k_BT and depends only on temperature — not on the molecule's mass or chemical identity. At the same temperature, a heavy xenon atom and a light helium atom carry identical average translational energy; the heavier one simply moves more slowly to compensate. Temperature, in this view, is not a fluid or a fuzzy notion of "hotness" — it is a direct measure of molecular kinetic energy.
RMS speed and the speed hierarchy
Solving ⟨½mv²⟩ = (3/2)k_BT for the mean-square speed and taking the square root gives the root-mean-square speed:
v_rms = √⟨v²⟩ = √(3 k_B T / m) = √(3 R T / M)
where M = m·N_A is the molar mass (kg/mol) and R = N_A·k_B = 8.314 J/(mol·K) is the universal gas constant. The rms speed is one of three characteristic speeds of the Maxwell–Boltzmann distribution; the others are the most probable speed v_p = √(2k_BT/m) and the mean speed ⟨v⟩ = √(8k_BT/πm), with the ordering v_p < ⟨v⟩ < v_rms.
| Gas | Molar mass M (g/mol) | v_rms at 300 K (m/s) | Note |
|---|---|---|---|
| Hydrogen (H₂) | 2.0 | 1930 | Escapes Earth's gravity over time |
| Helium (He) | 4.0 | 1370 | Also leaks from the atmosphere |
| Water vapor (H₂O) | 18.0 | 645 | — |
| Nitrogen (N₂) | 28.0 | 517 | Main air component |
| Oxygen (O₂) | 32.0 | 483 | — |
| Carbon dioxide (CO₂) | 44.0 | 412 | — |
| Xenon (Xe) | 131.3 | 238 | Heavy noble gas, slow |
The pattern v_rms ∝ 1/√M is why hydrogen and helium — the lightest gases — outrun the others and gradually escape the atmosphere, while the escape of nitrogen and oxygen is utterly negligible. It is also the physical basis of gaseous diffusion isotope separation (Graham's law of effusion, rate ∝ 1/√M).
Key derivation — from collisions to PV = nRT
The whole chain from mechanics to the ideal gas law fits in four lines:
| Step | Expression | Justification |
|---|---|---|
| 1 | PV = (1/3)Nm⟨v²⟩ | Momentum flux at walls (elastic collisions) |
| 2 | PV = (2/3)N⟨½mv²⟩ | Rewrite in terms of kinetic energy |
| 3 | ⟨½mv²⟩ = (3/2)k_BT | Definition of temperature (statistical) |
| 4 | PV = Nk_BT = nRT | Substitute; use Nk_B = nR |
In line 4, n = N / N_A is the number of moles and N_A = 6.022 × 10²³ mol⁻¹ is Avogadro's number. The empirical ideal gas law PV = nRT — discovered piecemeal by Boyle (P ∝ 1/V), Charles and Gay-Lussac (V ∝ T), and Avogadro (V ∝ n) over 150 years — drops out of Newtonian mechanics plus one statistical assumption about temperature. That is the astonishing payoff of the kinetic picture.
Equipartition and heat capacity
The result ⟨½mv²⟩ = (3/2)k_BT is really the sum of three equal pieces, one per spatial direction: ⟨½mv_x²⟩ = ⟨½mv_y²⟩ = ⟨½mv_z²⟩ = (1/2)k_BT. This is a special case of the equipartition theorem: at thermal equilibrium, each independent quadratic degree of freedom in the energy carries an average of (1/2)k_BT. Translation supplies three such degrees; rotation and vibration can supply more.
| Gas type | Active degrees of freedom | Energy per molecule | C_V (molar) | C_P (molar) | γ = C_P/C_V |
|---|---|---|---|---|---|
| Monatomic (He, Ar) | 3 translational | (3/2)k_BT | (3/2)R ≈ 12.5 J/(mol·K) | (5/2)R | 1.67 |
| Diatomic (N₂, O₂) at room T | 3 trans + 2 rot | (5/2)k_BT | (5/2)R ≈ 20.8 J/(mol·K) | (7/2)R | 1.40 |
| Diatomic, high T (vibration active) | 3 trans + 2 rot + 2 vib | (7/2)k_BT | (7/2)R ≈ 29.1 J/(mol·K) | (9/2)R | 1.29 |
Measured heat capacities confirm C_V = (3/2)R for helium and argon almost perfectly, and C_V ≈ (5/2)R for nitrogen and oxygen at room temperature. The fact that vibrational and even rotational modes "freeze out" at low temperature — leaving classical equipartition over-predicting the heat capacity — was one of the first cracks in classical physics, resolved only by quantum mechanics (energy levels too widely spaced to excite at low k_BT).
Worked example — air in a room
Take dry air (mostly N₂, effective M ≈ 0.029 kg/mol) at T = 293 K (20 °C).
- Mean kinetic energy per molecule: ⟨½mv²⟩ = (3/2)k_BT = 1.5 × 1.381 × 10⁻²³ × 293 ≈ 6.07 × 10⁻²¹ J.
- RMS speed: v_rms = √(3RT/M) = √(3 × 8.314 × 293 / 0.029) ≈ 502 m/s — comparable to a rifle bullet, and about 1.5× the 343 m/s speed of sound (the sound speed is v_rms × √(γ/3) ≈ 0.68·v_rms).
- Number density at 1 atm: N/V = P/(k_BT) = 101 325 / (1.381 × 10⁻²³ × 293) ≈ 2.5 × 10²⁵ molecules per cubic metre.
- Mean free path: λ = 1/(√2 · π d² · N/V) ≈ 68 nm for air (molecular diameter d ≈ 0.36 nm), so each molecule suffers roughly 7 billion collisions per second.
These numbers show why gases feel like a smooth continuum at human scale: the molecules are moving at half a kilometre per second and colliding billions of times a second, so their statistics average out almost instantly.
Assumptions — where the ideal model holds and fails
The clean equation PV = (1/3)Nm⟨v²⟩ rests on five idealizations:
- Point particles. Molecular volume is negligible compared with the container. Fails at high pressure, where the finite size of molecules (the van der Waals b term) matters.
- Elastic collisions. Kinetic energy is conserved in every collision — no energy lost to internal deformation.
- No intermolecular forces. Molecules ignore each other except at the instant of contact. Fails at low temperature, where attractive forces (the van der Waals a term) cause condensation.
- Straight-line Newtonian motion. Between collisions molecules travel in straight lines obeying Newton's laws; gravity and relativity are ignored.
- Large N and molecular chaos. The number of molecules is enormous, so statistical averages like ⟨v²⟩ are sharp and well defined.
Real gases correct these with the van der Waals equation, (P + a·n²/V²)(V − nb) = nRT, where a encodes attraction and b encodes finite molecular size. Near the critical point or during liquefaction the ideal kinetic model breaks down entirely — but for everyday gases far from condensation, it is astonishingly accurate.
Common misconceptions
- Thinking pressure requires molecules to collide with each other. Pressure is momentum transfer to the walls. Intermolecular collisions only redistribute velocities; they cancel in pairs and add nothing to wall pressure. A collisionless ideal gas would exert the same pressure.
- Confusing v_rms, ⟨v⟩ and v_p. These are three different averages of the same Maxwell–Boltzmann distribution. Only v_rms = √⟨v²⟩ enters the energy relation (3/2)k_BT; the mean speed ⟨v⟩ governs collision rates and effusion.
- Using Celsius in kinetic formulas. T must be absolute (kelvin). At T = 0 K molecular translational motion ceases classically; a "temperature" of 0 °C is 273.15 K, not zero.
- Believing heavier molecules carry more thermal energy. At a given temperature every gas has the same average translational KE, (3/2)k_BT. Heavier molecules simply move slower (v_rms ∝ 1/√m), not more energetically.
- Assuming all molecules move at v_rms. Speeds span a broad Maxwell–Boltzmann spread from near zero to several times v_rms; v_rms is just the square root of the average of the squares.
- Forgetting the factor of 1/3. It is not a fudge — it is the projection of three-dimensional random motion onto the single direction that pushes on a given wall.
Frequently asked questions
How does the kinetic theory explain gas pressure?
Pressure is the momentum molecules deposit on the walls per second per unit area. Each elastic bounce off a wall reverses a molecule's normal velocity component, transferring momentum 2m·v_x. Summing over the flux of molecules that hit the wall each second and dividing by area gives P = (1/3)·(N/V)·m·⟨v²⟩. There is no need for the molecules to touch each other — pressure comes purely from wall collisions, so even a dilute gas exerts pressure.
What is the equation PV = (1/3)Nm⟨v²⟩?
It is the central result of kinetic theory: the pressure P times volume V of a gas equals one-third of the number of molecules N times the molecular mass m times the mean-square speed ⟨v²⟩. The factor 1/3 comes from the three equivalent spatial directions — only the velocity component along the wall's normal drives the impact, and on average ⟨v_x²⟩ = ⟨v_y²⟩ = ⟨v_z²⟩ = (1/3)⟨v²⟩. Comparing PV = (1/3)Nm⟨v²⟩ with the empirical PV = Nk_BT immediately links molecular speed to temperature.
Why is temperature proportional to average kinetic energy?
Setting the kinetic result PV = (1/3)Nm⟨v²⟩ equal to the ideal gas law PV = Nk_BT gives ⟨½mv²⟩ = (3/2)k_BT. The mean translational kinetic energy per molecule depends only on temperature, not on the type of gas — helium, nitrogen and xenon at the same T all carry (3/2)k_BT of translational energy per molecule. Temperature is therefore literally a measure of molecular agitation.
What is the rms speed of gas molecules?
The root-mean-square speed is v_rms = √⟨v²⟩ = √(3k_BT/m) = √(3RT/M), where M is the molar mass. For nitrogen (M = 0.028 kg/mol) at 300 K, v_rms ≈ 517 m/s — faster than the speed of sound. Lighter molecules move faster: hydrogen at 300 K reaches ~1930 m/s, which is why H₂ and helium leak out of Earth's atmosphere over geological time.
What are the assumptions of the kinetic theory of gases?
The ideal kinetic model assumes: molecules are point particles whose total volume is negligible compared with the container; collisions with the walls and with each other are perfectly elastic (kinetic energy conserved); there are no intermolecular forces except during the instant of collision; molecules move in straight lines between collisions obeying Newton's laws; and the number of molecules is large enough for statistical averaging. Real gases deviate when these break down — at high pressure (molecular volume matters) or low temperature (attractive forces matter), which the van der Waals equation corrects.
How does kinetic theory derive the ideal gas law?
Start with PV = (1/3)Nm⟨v²⟩ from wall collisions. Rewrite it as PV = (2/3)N·⟨½mv²⟩. Identify the mean kinetic energy per molecule with temperature via ⟨½mv²⟩ = (3/2)k_BT. Substituting gives PV = (2/3)N·(3/2)k_BT = Nk_BT, and since Nk_B = nR this is PV = nRT. The famous empirical gas law thus emerges from Newtonian mechanics plus one statistical definition of temperature.
What is the equipartition theorem and how does it relate?
Equipartition states that every quadratic degree of freedom in the energy carries an average (1/2)k_BT at equilibrium. A monatomic gas has three translational degrees of freedom, giving (3/2)k_BT per molecule — exactly the kinetic-theory result. Diatomic gases add two rotational degrees, giving (5/2)k_BT and a molar heat capacity C_V = (5/2)R ≈ 20.8 J/(mol·K). Vibrational modes activate only at high temperature, which is why classical equipartition over-predicts heat capacities until quantum mechanics freezes those modes out.