2.4.13Thermodynamics & Statistical Mechanics (Advanced)

Maxwell-Boltzmann distribution — full derivation

1,923 words9 min readdifficulty · medium6 backlinks

What are we deriving?

We want the explicit form of f(v)f(v) for an ideal gas at temperature TT.


Step 1 — WHY a Gaussian in each velocity component

HOW. Let the probability of finding vxv_x in dvxdv_x be g(vx)dvxg(v_x)\,dv_x, similarly for y,zy,z. By independence the joint distribution factorizes:

F(vx,vy,vz)=g(vx)g(vy)g(vz).F(v_x,v_y,v_z) = g(v_x)\,g(v_y)\,g(v_z).

By isotropy, FF can only depend on the magnitude v=vx2+vy2+vz2v=\sqrt{v_x^2+v_y^2+v_z^2}, i.e. on vx2+vy2+vz2v_x^2+v_y^2+v_z^2. So:

g(vx)g(vy)g(vz)=Φ(vx2+vy2+vz2).g(v_x)\,g(v_y)\,g(v_z) = \Phi(v_x^2+v_y^2+v_z^2).

So lng(vx)=abvx2\ln g(v_x) = a - b\,v_x^2, giving

g(vx)=Aebvx2.g(v_x) = A\,e^{-b v_x^2}.

We need b>0b>0 (otherwise it can't normalize — large speeds would be infinitely likely).


Step 2 — Fix the constants by normalization

Normalization g(vx)dvx=1\int_{-\infty}^{\infty} g(v_x)\,dv_x = 1 using the Gaussian integral ebx2dx=π/b\int_{-\infty}^\infty e^{-bx^2}dx = \sqrt{\pi/b}:

Aπb=1A=bπ.A\sqrt{\tfrac{\pi}{b}} = 1 \quad\Rightarrow\quad A = \sqrt{\tfrac{b}{\pi}}.

Fix bb from physics. We need bb to relate to temperature. Use equipartition: each translational degree of freedom carries average energy 12kBT\tfrac12 k_B T:

12mvx2=12kBTvx2=kBTm.\left\langle \tfrac12 m v_x^2 \right\rangle = \tfrac12 k_B T \quad\Rightarrow\quad \langle v_x^2\rangle = \frac{k_B T}{m}.

For the Gaussian g(vx)=Aebvx2g(v_x)=A e^{-bv_x^2}, the variance is vx2=12b\langle v_x^2\rangle = \dfrac{1}{2b}.

Setting 12b=kBTm\dfrac{1}{2b}=\dfrac{k_BT}{m}:

b=m2kBT,g(vx)=(m2πkBT)1/2emvx2/2kBT.\boxed{\,b = \frac{m}{2k_B T}\,}, \qquad g(v_x) = \left(\frac{m}{2\pi k_B T}\right)^{1/2} e^{-\,m v_x^2/2k_B T}.

Step 3 — From components to speed

The joint density is the product of three identical Gaussians:

F(v)d3v=(m2πkBT)3/2em(vx2+vy2+vz2)/2kBTdvxdvydvz.F(\vec v)\,d^3v = \left(\frac{m}{2\pi k_BT}\right)^{3/2} e^{-\,m(v_x^2+v_y^2+v_z^2)/2k_BT}\,dv_x\,dv_y\,dv_z.

Switch to spherical shells, d3v4πv2dvd^3v \to 4\pi v^2\,dv:

Figure — Maxwell-Boltzmann distribution — full derivation

Step 4 — The three characteristic speeds (derive, don't memorize)

Let α=m2kBT\alpha = \dfrac{m}{2k_BT} for brevity, so f(v)v2eαv2f(v)\propto v^2 e^{-\alpha v^2}.

Most probable speed vpv_p — maximize ff: set ddv ⁣(v2eαv2)=0\dfrac{d}{dv}\!\left(v^2e^{-\alpha v^2}\right)=0:

2veαv22αv3eαv2=01=αv2vp=2kBTm.2v e^{-\alpha v^2} - 2\alpha v^3 e^{-\alpha v^2}=0 \Rightarrow 1=\alpha v^2 \Rightarrow \boxed{v_p=\sqrt{\tfrac{2k_BT}{m}}}.

Why? The peak is where the rising v2v^2 exactly balances the falling exponential.

Mean speed v\langle v\rangle0vf(v)dv\int_0^\infty v f(v)\,dv:

v=8kBTπm.\langle v\rangle = \sqrt{\frac{8k_BT}{\pi m}}.

RMS speed vrmsv_{rms} — from v2=0v2f(v)dv=3kBTm\langle v^2\rangle = \int_0^\infty v^2 f(v)\,dv = \dfrac{3k_BT}{m} (consistent with 12mv2=32kBT\tfrac12 m\langle v^2\rangle=\tfrac32 k_BT):

vrms=3kBTm.v_{rms}=\sqrt{\frac{3k_BT}{m}}.

Worked Examples


Forecast-then-Verify

Recall Before reading on: what happens to

f(v)f(v) as TT increases? Forecast, then check. Forecast: peak shifts right and curve flattens/broadens. Verify: vpTv_p\propto\sqrt T → peak moves right. Area stays 1, so a higher peak position means a lower, wider curve. Hotter gas = faster and more spread-out speeds. ✓


Common Mistakes (Steel-manned)


Recall Feynman: explain to a 12-year-old

Picture a crowd of bumper cars crashing randomly. After a while, a few cars are zooming, a few are crawling, and most are at a medium speed. If you sort them by speed, you get a hill-shaped graph: almost none are frozen still (you need some speed), almost none are super-fast (that takes huge energy), and the bump in the middle is the "usual" speed. Heat the floor so cars push harder — the whole hill slides toward faster speeds and spreads out. That hill is the Maxwell-Boltzmann distribution.


Active Recall

What two competing factors shape f(v)f(v)?
Geometric factor 4πv24\pi v^2 (more velocity-space room at high vv) vs Boltzmann factor emv2/2kBTe^{-mv^2/2k_BT} (energy cost).
Why is f(0)=0f(0)=0?
The v2v^2 shell-volume factor vanishes at v=0v=0 — no velocity vectors have zero magnitude in a shell of radius 0.
Form of single-component distribution g(vx)g(v_x)?
(m2πkBT)1/2emvx2/2kBT\left(\frac{m}{2\pi k_BT}\right)^{1/2}e^{-mv_x^2/2k_BT}, a Gaussian centered at 0.
Full MB speed distribution?
f(v)=4π(m2πkBT)3/2v2emv2/2kBTf(v)=4\pi\left(\frac{m}{2\pi k_BT}\right)^{3/2}v^2 e^{-mv^2/2k_BT}.
Most probable speed vpv_p?
2kBT/m\sqrt{2k_BT/m}, from ddv(v2eαv2)=0\frac{d}{dv}(v^2e^{-\alpha v^2})=0.
Mean speed v\langle v\rangle?
8kBT/πm\sqrt{8k_BT/\pi m}.
RMS speed vrmsv_{rms}?
3kBT/m\sqrt{3k_BT/m}.
Order of the three speeds?
vp<v<vrmsv_p<\langle v\rangle<v_{rms} (ratios 2:8/π:3\sqrt2:\sqrt{8/\pi}:\sqrt3).
Why must g(vx)g(v_x) be a Gaussian (exponential of vx2-v_x^2)?
Independence factorizes the joint density into a product; isotropy makes it depend only on vx2+vy2+vz2v_x^2+v_y^2+v_z^2; only the exponential turns products into sums.
What fixes the constant b=m/2kBTb=m/2k_BT?
Equipartition: 12mvx2=12kBT\langle\tfrac12 mv_x^2\rangle=\tfrac12 k_BTvx2=1/(2b)=kBT/m\langle v_x^2\rangle=1/(2b)=k_BT/m.
How does the curve change with higher TT?
Peak shifts right (vpTv_p\propto\sqrt T), curve broadens and lowers (area conserved).

Connections

  • Boltzmann factor and partition function — the eE/kBTe^{-E/k_BT} weight at the heart of the derivation
  • Equipartition theorem — supplies vx2=kBT/m\langle v_x^2\rangle = k_BT/m to fix bb
  • Kinetic theory of gasesvrmsv_{rms} feeds pressure P=13nmv2P=\tfrac13 n m\langle v^2\rangle
  • Gaussian integrals — normalization and moments
  • Effusion and Graham's law — flux v1/m\propto \langle v\rangle \propto 1/\sqrt m
  • Maxwell-Boltzmann vs Fermi-Dirac vs Bose-Einstein — classical limit of quantum statistics

Concept Map

factorizes

depends only on v squared

product equals sum of squares

form

normalize

gives mean vx squared

variance = 1 over 2b

combine 3 components

multiply by 4 pi v squared shell

sets constants

Boltzmann factor vs shell area

Independence of vx vy vz

Joint F = product of g

Isotropy

g is exponential

Gaussian g = A exp -b vx squared

A = sqrt b over pi

Equipartition half kBT

variance = kBT over m

b = m over 2kBT

Velocity distribution

Speed distribution f v

Rises peaks then falls

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Socho ek box mein gas hai, billions of molecules randomly collide kar rahe hain. Koi controller nahi hai jo speeds decide kare — phir bhi ek fixed pattern emerge ho jaata hai. Yahi pattern Maxwell-Boltzmann distribution hai: agar tum randomly ek molecule pakdo, uski speed vv ke aas-paas hone ki probability kitni hai?

Iska shape do cheezon ki ladai se banta hai. Ek taraf Boltzmann factor emv2/2kBTe^{-mv^2/2k_BT} hai — jitni high speed, utni zyada energy chahiye, isliye high speed unlikely. Doosri taraf geometry factor 4πv24\pi v^2 hai — velocity space mein high speed pe zyada "jagah" (shell ka area bada) hoti hai. In dono ko multiply karo: curve pehle upar jaati hai, peak banti hai, phir neeche girti hai. Isliye f(0)=0f(0)=0, kyunki v2v^2 wala factor zero ho jaata hai.

Derivation ka core idea: kyunki vx,vy,vzv_x, v_y, v_z independent aur isotropic hain, har component ek Gaussian ban jaata hai g(vx)=Aebvx2g(v_x)=A e^{-bv_x^2}. Constant bb ko equipartition theorem se fix karte hain (12mvx2=12kBT\langle \tfrac12 m v_x^2\rangle = \tfrac12 k_B T), jisse b=m/2kBTb=m/2k_BT milta hai. Teeno components ko multiply karke spherical shell 4πv2dv4\pi v^2 dv se convert karo — bas, MB distribution ready.

Teen speeds yaad rakho aur derive karna seekho: vp=2kBT/mv_p=\sqrt{2k_BT/m} (peak, differentiate karke), v=8kBT/πm\langle v\rangle=\sqrt{8k_BT/\pi m}, aur vrms=3kBT/mv_{rms}=\sqrt{3k_BT/m}. Order hamesha vp<v<vrmsv_p<\langle v\rangle<v_{rms}, kyunki curve ka right side ka lamba tail averages ko aage kheech leta hai. Temperature badhao to poora curve right shift hota hai aur flat ho jaata hai.

Go deeper — visual, from zero

Test yourself — Thermodynamics & Statistical Mechanics (Advanced)

Connections