The Ideal Gas Law

Temperature is the energy each molecule of a thin gas carries and pressure is the push the crowd of molecules delivers to a surface, so they are two measurements of one motion and the gas law relates them.

kT = ⅔ w and P = ⅔ n w

T1.00
P1.00
PVN kT1.00

A sealed balloon carried from a warm room into the cold shrinks, though no air has left it. Pressure and temperature are taught as two properties of the air that happen to be linked. The question is what each one is and why they are linked.

Neither belongs to a single molecule. Each is a measurement of the crowd. Temperature measures the energy each molecule carries in its movement. Pressure measures the push the crowd delivers to a surface, which depends on that same energy and on how many molecules there are in each unit of volume. The two measurements are different and the gas law holds because one motion sets both. In a thin gas, with each line holding up to a fixed constant,

temperature = motion per molecule
pressure = motion per molecule × number per volume
pressure = temperature × number per volume

The third line follows from the first two and it is the ideal gas law. The work is to show the first two and then to show where the two measurements come apart.

We assume a gas is NN point particles of mass mm that do not interact, spread uniformly through a volume VV and moving with no preferred direction. We write n=N/Vn = N/V for the number per volume.

Definition 1. The motion ww is the average energy of a particle’s movement, w=12m⟨v2⟩w = \tfrac{1}{2}m\langle v^2\rangle.

The first measurement is made at a wall.

Theorem 1. Pressure is two-thirds of the motion times the number per volume, P=23nwP = \tfrac{2}{3}\,n\,w.

Proof. Pressure is the momentum delivered to a wall per unit time per unit area. A particle approaching the wall with velocity component vxv_x rebounds and delivers 2mvx2mv_x. Half the particles are moving toward the wall and those within a distance vxtv_x t reach it within a time tt, so P=nm⟨vx2⟩P = n\,m\langle v_x^2\rangle. With no preferred direction ⟨vx2⟩=13⟨v2⟩\langle v_x^2\rangle = \tfrac{1}{3}\langle v^2\rangle. Hence P=13nm⟨v2⟩=23nwP = \tfrac{1}{3}\,n\,m\langle v^2\rangle = \tfrac{2}{3}\,n\,w. ▫\square

The second measurement needs no wall. Temperature is what a thermometer reads and a thermometer reads the state that two bodies share once heat stops flowing between them. We assume the gas is in classical thermal equilibrium at absolute temperature TT, where statistical mechanics gives each of the three directions of a particle’s movement an average energy of 12kBT\tfrac{1}{2}k_B T. This assumption carries the physics of the piece. It says that bodies exchanging heat settle to equal energy of movement per molecule.

Theorem 2. Temperature is two-thirds of the motion, kBT=23wk_B T = \tfrac{2}{3}\,w.

Proof. Three directions each carry 12kBT\tfrac{1}{2}k_B T, so w=32kBTw = \tfrac{3}{2}k_B T. ▫\square

The number per volume appears in Theorem 1 and is absent from Theorem 2. That absence is the difference between the two measurements. Putting one theorem into the other gives P=nkBTP = n\,k_B T, which is the ideal gas law.

Corollary 1. Adding molecules at a fixed motion raises the pressure in proportion and leaves the temperature unchanged.

Proof. With ww fixed, Theorem 1 makes PP proportional to nn and Theorem 2 fixes TT. ▫\square

Corollary 2. Two thin gases separated by a fixed wall that lets heat through settle to equal temperatures and their pressures then stand in the ratio of their numbers per volume.

Proof. Heat flows through the wall until the two share a temperature, so by Theorem 2 they share a motion ww. By Theorem 1 their pressures are 23n1w\tfrac{2}{3}n_1 w and 23n2w\tfrac{2}{3}n_2 w. ▫\square

A wall free to move would also equalize the pressures, which is why the wall in Corollary 2 is fixed. Across it the two measurements part. The gases agree on temperature and disagree on pressure for as long as their numbers per volume differ.

They part in the other direction too. A beam of molecules all moving one way at one speed pushes on any surface it strikes and the push depends on which way the surface faces. Its energy is not shared among the three directions, so it is not in the equilibrium Theorem 2 assumes and it has no single temperature. The push needs only motion and number. The temperature needs the motion to have settled.

The result stops where the assumptions do. Molecules that take up room add to the push and their attraction takes from it, so a dense gas departs from the law. The arithmetic of the two theorems cannot fail. The claim about the world is the assumption behind Theorem 2 and it would be false if two thin gases on either side of a fixed wall that lets heat through settled to unequal energies of movement per molecule, or if a real gas at equilibrium did not approach P=nkBTP = n\,k_B T as its density fell.

The balloon in the cold lost no air. Its molecules slowed, each carried less energy and the balloon shrank until the slower, more crowded molecules pushed back as hard as the air outside.