logo

Derivation of the Ideal Gas Equation through Kinetic Theory of Gases 📂Thermal Physics

Derivation of the Ideal Gas Equation through Kinetic Theory of Gases

Definition[^1]

Pressure pp of a fluid acting on an area MM is defined as the ratio of the force FF the fluid exerts perpendicularly on area MM to the area MM itself.

p:=FM[N/m2] p:=\frac{F}{M} \left[ \mathrm{N/m^{2}} \right]

Formula

Let the volume of the gas be VV, the temperature be TT, and the number of molecules be NN. Then, the pressure pp of the gas satisfies the following equation.

pV=NkBT p V = N k_{B}T

Here, kB=1.3807×1023J/Kk_{B} = 1.3807 \times 10^{-23} J / K is the Boltzmann constant.

Explanation

The above formula is referred to as the ideal gas equation. Initially derived from empirical laws, it was later derived mathematically as follows. This resulted from the process of systematically organizing the pressure of a gas.

To understand the derivation process, one must keep in mind that probability and the concept of ratios across a whole are the same. For example, the chance of rolling a sum of 7 with two dice, as can be seen in the following table, is 66 out of a total of 3636 cases. This ratio directly translates to the probability 736\dfrac{7}{36} of rolling a sum of 77 with two dice.

Sum of Dice23456789101112Total
Cases1234565432136

Derivation

Let’s denote the number of molecules per unit volume as n=N/Vn = N / V. The probability density function of the velocity distribution of gas molecules is given as follows.

Maxwell-Boltzmann Distribution

f(v)=4π(m2kBT)3/2v2emv2/2kBT f(v) = \dfrac{4}{\sqrt{ \pi}} \left( \dfrac{m}{2 k_{B} T} \right)^{3/2} v^{2} e^{-mv^2 / 2k_{B}T }

f(v)f(v) represents the probability of a gas molecule having a speed vv, meaning the ratio of molecules with speed vv out of the total number of molecules. Therefore, the following equation represents the number of molecules with speed vv per unit volume.

nf(v) nf (v)

Now, let’s fix a specific direction, termed the zz axis. Then θ\theta is equal to variable (r,θ,ϕ)(r,\theta, \phi) in spherical coordinates.

1.jpg

The ratio of gas molecules within an area with solid angle Ω\Omega is as follows.

Ω4π=12sinθ \dfrac{\Omega}{4\pi} = \dfrac{1}{2}\sin \theta

Thus, the following equation represents the number of molecules moving within solid angle 0Ω0\sim\Omega, with speed vv, per unit volume.

(nf(v))(12sinθ) \left( n f(v) \right) \left( \dfrac{1}{2} \sin\theta\right)

Next, consider a molecule with speed vv hitting a wall of area AA at angle θ\theta as shown in the figure below.

3.pgn

Assuming the molecule hits the wall after tt seconds. Then, the area swept by the molecules within time tt (the shaded area) could be referred to as the number of molecules. Since the area of a parallelogram is base×\timesheight, the number of molecules hitting area AA within time tt is as follows.

Avtcosθ Avt \cos\theta

Therefore, the number of molecules hitting unit area per unit time at angle θ\theta with speed vv is as follows.

(nf(v))(12sinθ)(vcosθ) \left( n f(v) \right) \left( \dfrac{1}{2} \sin\theta\right) \left( v \cos \theta \right)

Since force is the rate of change of momentum, let’s calculate the change in momentum of the molecules colliding with the wall. The change in momentum occurs only in the direction perpendicular to the wall. Let’s denote the direction toward the wall as ++, then it’s as follows.

mvcosθ(mvcosθ)=2mvcosθ mv\cos\theta - (-mv\cos\theta) = 2mv \cos\theta

Thus, the following equation represents the force exerted by molecules moving in direction θ\theta with speed vv on a perpendicular wall per unit time.

(nf(v))(12sinθ)(vcosθ)(2mvcosθ) \left( n f(v) \right) \left( \dfrac{1}{2} \sin\theta\right) \left( v \cos \theta \right) \left( 2mv \cos\theta \right)

Hence, integrating over all speeds v=0v = 0 \sim \infty and all angles θ=0π/2\theta = 0 \sim \pi/2 gives the pressure exerted by the gas on the area.

p=v=0θ=0π/2(nf(v))(12sinθ)(vcosθ)(2mvcosθ)dvdθ=nmv=0f(v)v2dvθ=0π/2cos2θsinθdθ \begin{align*} p &= \int_{v = 0} ^{\infty} \int_{\theta=0}^{\pi/2} \left( n f(v) \right) \left( \dfrac{1}{2} \sin\theta\right) \left( v \cos \theta \right) \left( 2mv \cos\theta \right) dv d\theta \\ &= nm \int_{v = 0} ^{\infty} f(v) v^{2} dv \int_{\theta=0}^{\pi/2} \cos^{2} \theta \sin\theta d\theta \end{align*}

The integral over vv is the expected value of v2v^{2}. v=0f(v)v2dv=v2=3kBTm \int_{v = 0} ^{\infty} f(v) v^{2} dv = \left\langle v^{2} \right\rangle = \dfrac{3 k_{B} T}{m}

The integral over θ\theta, when substituting with cosθ=x\cos \theta = x, becomes sinθdθ=dx-\sin\theta d\theta = dx, thus it is as follows.

10x2dx=13x310=13 \int_{1}^{0} - x^{2} dx = \left. -\dfrac{1}{3}x^{3} \right|_{1}^{0} = \dfrac{1}{3}

Therefore, the pressure pp is as follows.

p=nm3kBTm13=nkBT p = n m \dfrac{3 k_{B} T}{m} \dfrac{1}{3} = n k_{B} T

Since n=N/Vn=N/V was the number of molecules per unit volume, the following result is obtained.

p=NkBTV    pV=NkBT p=\dfrac{Nk_{B} T}{V} \implies pV = Nk_{B}T