1.2 Pressure exerted by a gas
Set-up. Consider a cubical container of side \(L\) (volume \(V=L^3\)) holding \(N\) molecules, each of mass \(m\). Group the molecules so that \(n_i\) molecules per unit volume have velocity \(\vec v_i=(v_{ix},v_{iy},v_{iz})\), with \(\sum_in_i=n=N/V\) and \(v_i^2=v_{ix}^2+v_{iy}^2+v_{iz}^2\).
Step 1 — Momentum transferred in one collision. A molecule moving towards the wall perpendicular to \(x\) with velocity component \(v_{ix}\) rebounds elastically with \(-v_{ix}\). The change in its momentum is
\[\Delta p_{ix}=mv_{ix}-(-mv_{ix})=2mv_{ix},\]
and by Newton’s third law the same momentum is delivered to the wall.
Step 2 — Rate of collisions. After hitting the wall the molecule travels to the opposite face and back, a distance \(2L\), before it strikes the same wall again. The time between successive hits is \(\Delta t=2L/v_{ix}\).
Step 3 — Force from one molecule.
\[f_{ix}=\frac{\Delta p_{ix}}{\Delta t}=\frac{2mv_{ix}}{2L/v_{ix}}=\frac{mv_{ix}^2}{L}.\]
Step 4 — Pressure from all molecules. The number of molecules of group \(i\) in the box is \(n_iL^3\). Summing their forces and dividing by the wall area \(L^2\):
\[P_x=\frac{1}{L^2}\sum_i n_iL^3\frac{mv_{ix}^2}{L}=m\sum_in_iv_{ix}^2=mn\langle v_x^2\rangle,\qquad \langle v_x^2\rangle=\frac{\sum_in_iv_{ix}^2}{\sum_in_i}.\]
Step 5 — Isotropy. Since \(\langle v_x^2\rangle+\langle v_y^2\rangle+\langle v_z^2\rangle=\langle v^2\rangle\) and no direction is preferred, \(\langle v_x^2\rangle=\langle v_y^2\rangle=\langle v_z^2\rangle=\frac13\langle v^2\rangle\). The pressure is the same on every wall:
\[\boxed{P=\frac13nm\langle v^2\rangle=\frac13\frac{Nm\langle v^2\rangle}{V}},\qquad PV=\frac13Nm\langle v^2\rangle .\]
In two dimensions. For a gas confined to an area \(A\), the “wall” is a line of length \(L\) and isotropy gives \(\langle v_x^2\rangle=\langle v_y^2\rangle=\frac12\langle v^2\rangle\). Repeating the steps gives the 2D pressure (force per unit length)
\[P=\frac12\frac{Nm\langle v^2\rangle}{A},\qquad PA=\frac12Nm\langle v^2\rangle .\]
In \(d\) dimensions, \(P=\frac1d\,nm\langle v^2\rangle\).
Photon gas. For particles with \(E=pc\) moving at speed \(c\) with momentum parallel to velocity, the momentum-flux argument above gives \(P=\frac13n\langle\vec p\cdot\vec v\rangle\). With \(\vec p\cdot\vec v=pc=E\):
\[P=\frac13n\langle E\rangle\quad\Rightarrow\quad PV=\frac13E .\]
More generally, for \(E\propto p^s\) we have \(\vec p\cdot\vec v=p\,\frac{dE}{dp}=sE\), so \(PV=\frac{s}{d}E\). The non-relativistic gas (\(s=2\), \(d=3\)) gives \(PV=\frac23E\).