Module 4 · an excursion into thermal physics

The gas laws, from the inside

Boyle, Charles and the rest measured how gases behave and wrote down rules. A century later Maxwell and Boltzmann explained the rules by imagining the gas as a swarm of tiny balls bouncing around — and every rule fell out of Newton's laws applied to the balls. This module builds the swarm first, and lets the laws fall out in front of you.

45 minutesfour benches, three checkpoints
VoicesFeynman, Chapter 39 — the kinetic theory done in one afternoon
You needModule 2 (momentum), Module 3 (F = dp/dt)
Bench 1

A box of molecules with a piston

Here is a gas: a few hundred molecules in a box, bouncing off the walls, ignoring each other. The right-hand wall is a piston you can push in. Pressure is measured exactly the way the real thing is — by adding up how hard the molecules hammer the walls.

Keep the temperature fixed and push the piston in until the volume is half what it was. The pressure:

Bench 1 · Gas in a boxpressure is measured from wall impacts, not calculated from a formula
pressure P (measured)
—
volume V
—
temperature T (from ⟨v²⟩)
—
PV / T
—
Slowly push the piston in with the thermostat on. Watch the last cell: it should hardly move while everything else changes. Then turn the thermostat off and push the piston in quickly.

Three things to notice, in order.

  1. With the thermostat on, PV stays put as you move the piston. That is Boyle's law, and it came out of nothing but balls bouncing off walls.
  2. Raise the thermostat and, at fixed volume, the pressure climbs in proportion to T. That is Gay-Lussac's law. Same balls, hitting harder and more often.
  3. Turn the thermostat off and shove the piston in fast. The temperature jumps — the molecules come off a moving wall faster than they hit it, the way a ball comes off an advancing bat. Nobody heated the gas; you did work on it and the work went into molecular speed. This is why a bicycle pump gets hot, and it is Bench 4. (The bat picture is exact about the mechanism — a head-on elastic bounce off a moving wall gains twice the wall's speed — but not about the drama: a bat moves fast enough to rival the ball's own speed, so one swing changes it a lot, while the piston crawls compared with a molecule's few hundred metres a second, so any single bounce barely nudges it. The heating comes from that tiny nudge landing billions of times a second, not from one big hit.)
Bench 2

Feynman's derivation: pressure is momentum delivered

Now do what the simulation did, with algebra. One molecule of mass m moving with velocity component vx toward a wall. It bounces elastically: vx becomes −vx, so the molecule's momentum changes from +mvx to −mvx — a change of 2mvx. Momentum is conserved (Module 2), so the wall picked up that 2mvx. Force is momentum per second (Module 3), so the question is: how many such bounces per second, per square metre of wall?

molecules hitting area A in time t: those within a distance vxt of the wall, heading toward it — number = ½ · n · A vx t n is molecules per unit volume; the ½ is because half of them are moving the other way.
P = forcearea = (2mvx) · (½n A vx t)A t = n m ⟨vx²⟩ = 13 n m ⟨v²⟩ Angle brackets mean "averaged over all the molecules": real molecules do not all have the same vx, so once we add up every molecule's contribution the vx² above becomes ⟨vx²⟩. The ⅓ then appears because ⟨v²⟩ = ⟨vx²⟩ + ⟨vy²⟩ + ⟨vz²⟩ and no direction is special — the same "space has no preferred direction" argument as Module 2.

Multiply both sides by the volume. Since nV is just the total number of molecules — call it N:

PV = 23 N ⟨½mv²⟩ Pressure times volume is two-thirds of the total kinetic energy of the molecules. Boyle's law, Charles's law and PV = NkT fall straight out of this one line. Two later results in this module do not: what a moving piston does to the gas needs one relative-velocity step from Module 2, and why the fastest molecules leak into space needs a statistical count of speeds.

Boyle's law is now one line away — provided we grant that fixed temperature means fixed ⟨½mv²⟩, which Bench 3 will earn properly. Take that on trust and the right-hand side of PV = ⅔N⟨½mv²⟩ is a fixed number, so PV is constant. Squeeze the volume to half and the pressure must double — not because of any law about gases, but because there are twice as many molecules in the way of each square centimetre of wall.

Bench 2 · The isothermsan isotherm is one curve of constant temperature (iso = same, therm = heat); each is P = nRT/V, for n = 0.0406 mol

In the wild

Breathing is Boyle's law. Your diaphragm drops, your chest volume rises by half a litre, the pressure inside falls a fraction below atmospheric, and air is pushed in from outside — you do not suck air in; the atmosphere pushes it. A scuba diver at 30 m is under four atmospheres; a lungful of air taken there and held on the way up expands fourfold, which is why the first rule of diving is "never hold your breath ascending." A syringe, with your finger sealing the nozzle, is Bench 2 in its purest form — pushing the plunger walks you along one isotherm.

Bench 3

Charles's law and the coldest possible thing

Hold the pressure fixed instead — a gas under a freely sliding piston with a weight on it — and heat it. The volume grows. Charles found in 1787 that the growth is a straight line: heat the gas by one degree Celsius and it expands by about 1/273 of its 0 °C volume; heat it by ten degrees and it expands by ten of those steps. Strangest of all, the same fraction — 1/273 — comes out for every gas you try.

Draw volume against Celsius temperature for any gas and extend the straight line backward. It hits zero volume at about −273 °C. What does that mean?

Bench 3 · Volume against temperatureevery line, every gas, every pressure, points at the same place

Now look at the kinetic-theory equation again with fresh eyes. PV = ⅔N⟨½mv²⟩. Charles says V ∝ (T°C + 273) at fixed P. Combining, the average kinetic energy per molecule is proportional to (T°C + 273). Define a new temperature T measured from −273 °C — this is the kelvin, T(K) = T(°C) + 273 — and let the proportionality constant be ³⁄₂k, with the ³⁄₂ chosen so that it cancels the ⅔ in PV = ⅔N⟨½mv²⟩ and the gas law comes out clean:

⟨½mv²⟩ = 32 k T    ⟹    PV = NkT k is Boltzmann's constant, 1.38 × 10⁻²³ J/K — the exchange rate between kelvins and joules. Chemistry counts molecules in moles rather than one at a time. Write the mole count as n, so that N = n·NA with NA Avogadro's number, and PV = NkT becomes the familiar PV = nRT, where R = NAk is the gas constant.

This is what temperature is: the average kinetic energy of the molecules. Not a fluid, not a substance, and not the same thing as heat — heat is a separate accounting Module 8 will take up. The freezing and boiling points of water come out 100 apart because the kelvin was picked to make them so; the size of one degree is the only arbitrary part. The Celsius scale is a historical accident; the kelvin scale is the one the molecules actually use. And absolute zero is not "very cold" — it is the reading at which the molecules have no kinetic energy to lose. There is no colder, in the same way that there is no emptier than empty.

Where the straight line lies

A real gas does not reach −273 °C with any volume at all; long before that it condenses to a liquid, and the whole model — non-interacting balls — has stopped applying. The line's intercept is not a prediction about what the gas does there; it is a property of the law, revealed by extrapolation. Physicists trust such intercepts when every substance points at the same one. That coincidence — helium, nitrogen, argon, all agreeing to the fraction of a degree — is what convinced people that −273.15 °C was a fact about the universe and not about any particular gas. Quantum mechanics later confirmed it, and also revealed that even at absolute zero the molecules are not quite still. That is Module 22, where it is called the zero-point energy.

Bench 4

What temperature feels like from the inside

If ⟨½mv²⟩ = ³⁄₂kT, you can compute how fast air molecules are moving right now. The bench below compares that speed with two others: the speed of sound, and Earth's escape velocity — the upward speed something needs at the ground to leave Earth for good, about 11 km/s. Rearranged for the typical speed:

vrms = √⟨v²⟩ = √3kTmrms = root-mean-square: square the speeds, average, take the root. It is the speed that carries the average kinetic energy. Light molecules move faster at the same temperature, because they must carry the same energy with less mass.
Bench 4 · Molecular speedscompared with the speed of sound and Earth's escape velocity

The tail, made quantitative

The gate below leans on "the tail" of the speed distribution without saying what shape it has. Here is the shape. Bench 1's box is two-dimensional, so each molecule's kinetic energy — call it E — is ½mv², and it can only be shared between two directions of motion instead of three. Counting the ways that energy can be spread among the molecules — the same kind of argument Module 8 makes with entropy — shows that the chance of a molecule carrying speed at least u times the typical (rms) speed falls off as a clean exponential:

fraction of molecules faster than u·vrms = e−u² Since E/kT = mv²/(2kT) = u², this is the Boltzmann factor e−E/kT written in terms of speed instead of energy — the same factor Modules 24 and 25 both lean on later. At u = 1.5, e−2.25 ≈ 10.5%. The bench below measures that number directly from Bench 1's own running gas, rather than plotting the formula and asking you to trust it.
Bench 4b · The measured tailevery bar is a headcount of Bench 1's molecules, taken right now
Bench 1 has been running in the background since the page loaded. Press Sample the running gas to bin the current speeds of its 220 molecules and compare the fraction above 1.5×v_rms with the predicted 10.5%.

Earth's atmosphere has almost no free hydrogen or helium, though both are constantly produced (helium from radioactive decay in rocks). Jupiter's atmosphere is mostly hydrogen. Why?

The bicycle pump, and why work turning into heat needs no new physics

Back to Bench 1 with the thermostat off. A wall moving inward at speed u meets a molecule coming at it at v. In the wall's own frame the collision is elastic — the molecule closes at v + u and rebounds at v + u; back in the box's frame that means it now moves outward at v + 2u. Every bounce off the advancing piston adds speed. That is the mechanism by which work done on a gas becomes heat in the gas — no mystery, and no need for the old idea of caloric, an invisible weightless liquid once thought to flow from hot things to cold ones; just Module 2's relative-velocity argument applied to a moving wall. Pull the piston out and the reverse happens: molecules come off slower, the gas cools, and this is how a refrigerator works.

In the wild

A diesel engine has no spark plug. It compresses air by a factor of about 18, quickly enough that no heat escapes, and the temperature climbs past 500 °C — hot enough that fuel sprayed in ignites on its own. A pressure cooker is Gay-Lussac's law used to push water's boiling point above 100 °C so that dal cooks in a third of the time. A hot-air balloon is Charles's law: heat the air, it expands, the same mass now occupies more volume and is less dense than the cold air around it. Tyre pressure warnings on a hot afternoon in Chennai are the same law read the other way.

Checkpoint

Three questions

1. Two boxes at the same temperature, same volume, same pressure: one holds hydrogen, the other oxygen (16 times heavier). Which box holds more molecules?

2. A sealed rigid steel tank of air is heated from 27 °C to 327 °C. The pressure:

3. In the Bench 1 simulation, the molecules never collide with each other, only with the walls — yet the gas laws come out right. Why is that a legitimate simplification?

Library

At source