1.2 The kinetic-theory picture

Air, at rest, is a gas of mostly nitrogen and oxygen molecules at room temperature, moving randomly at thermal speeds around 500 m/s, colliding constantly with each other and with whatever boundaries enclose them. The macroscopic state we care about — the three numbers from the previous lesson — is the time-averaged consequence of those microscopic motions.

Pressure, kinetically

A wall enclosing the gas is bombarded by molecules. Each molecule that hits the wall and rebounds delivers an impulse Δ(mv)\Delta(m v_\perp) — twice its momentum component normal to the wall, since it goes from +v+v_\perp to v-v_\perp in an elastic bounce. Sum the rate of impulse delivery over all collisions per unit area; the result is the force per unit area — the pressure:

p  =  13nmv2.p \;=\; \frac{1}{3}\, n\, m\, \langle v^2 \rangle.

(The factor of 13\frac13 is the angular average over the three Cartesian directions.) For a gas in thermal equilibrium, equipartition fixes the average kinetic energy: 12mv2=32kBT\tfrac12 m \langle v^2 \rangle = \tfrac32 k_B T. Substituting gives the ideal-gas law

p  =  nkBT,p \;=\; n\, k_B\, T,

recovered from below. This is the kinetic-theory derivation. Pressure is not a separately postulated quantity — it is the net rate of momentum delivery from the molecular bath.

The simulation

The interactive below runs a 2-D ideal gas: NN identical particles, mass 11, bouncing elastically off the walls of a box of area VV and off each other. Their initial speeds are drawn from a Gaussian whose width is set by TT — what physicists call the Maxwell–Boltzmann distribution. Slide NN, TT, or VV and watch the computed pressure track the right-hand side of PV=NkBTPV = N k_B T.

box side: 348 px · area V = 100% of max
80
300 K
100%
mean speed
0.00
pressure P
0.00
PV / NkT
0.00

Every collision is time-reversible. Energy is conserved exactly. The macroscopic gas law emerges as a statistical statement about a system whose microscopic dynamics are perfectly deterministic. This is the conceptual move that should never go away once you have it: macroscopic thermodynamic equilibrium is consistent with — in fact, implies — vigorous microscopic motion.

What one molecule looks like

The trail in the simulation (toggled on by the “show trail” button) shows the trajectory of one particular molecule over many collisions. Each leg of the trail is a straight free flight at some velocity; each kink is an instantaneous collision that scatters that velocity into a new direction with about the same magnitude. Over many collisions the directions become uncorrelated, and the particle’s position behaves as if it were performing a random walk.

I want to be careful with the language here, because the next lesson is about a different random-walk-like phenomenon — Brownian motion — that is often conflated with this one. The wandering trajectory above is one molecule’s path in a thermal bath of identical molecules: a microscopic random walk emerging from microscopically deterministic, time-reversible physics. What Robert Brown saw under his microscope in 1827 was the motion of a particle very much larger than the bath molecules, jostled by them. That phenomenon needs its own treatment, which we give next.