Ideal gas law

Imagine a cube of volume V=L3V = L^3, containing some NN particles of gas, each with mass MM and velocity vi\mathbf v_i.

The gas particles don’t interact with each other, and just collide elastically with the walls of the box.

Since particles are reflected elastically, each collision (in this case in the xx direction) has a change in momentum Δpi,x=2Mvi,x\Delta \mathbf p_{i,x} = 2 M v_{i,x}. Since the walls have length LL, the time between collisions is Δti,x=2L/vi,x\Delta t_{i,x} = 2L/v_{i,x}.

This gives us an average force in the xx direction by the ithi^\text{th} particle Fi,x=Δpi,x/Δti,x=MLvi,x2F_{i,x} = \Delta p_{i,x} / \Delta t_{i,x} = \frac ML v_{i,x}^2. The total force from all NN particles is then

Fx=NLMvx2=NL2Ux=NLkBT. F_x = \frac{N}{L} M\avg{v_x^2} = \frac NL \cdot 2 U_x = \frac NL k_B T.

We can use this to find the pressure,

P=FA=NVkBTPV=NkBT. \begin{align*} P &= \frac FA = \frac NV k_B T \\ PV &= N k_B T. \end{align*}

This is the ideal gas law, also known as the state equation for an ideal gas.

Note that the box doesn’t need to be a cube for this to hold. It’s generally a good approximation for gasses at every-day temperatures and pressures.