2.4.13 · D2Thermodynamics & Statistical Mechanics (Advanced)

Visual walkthrough — Maxwell-Boltzmann distribution — full derivation

1,932 words9 min readBack to topic

Step 0 — What is a "velocity" and what are we counting?

WHAT. A molecule at one instant has a velocity: an arrow pointing where it's going, whose length is its speed. In 3D that arrow has three shadows on three walls — its components (how fast it moves left-right, forward-back, up-down).

WHY. Because the speed — the length of the arrow — hides three independent numbers inside it. To understand the speed we first understand each shadow, then reassemble.

PICTURE. The blue arrow is one molecule's velocity. Its three coloured shadows are the components. The length of the arrow is (Pythagoras in 3D).

Figure — Maxwell-Boltzmann distribution — full derivation

Step 1 — Each component follows a bell curve, and why it must

WHAT. We claim the probability of a molecule having sideways speed near is a Gaussian (a symmetric bell centred at zero):

WHY this shape and not another? Two physical facts pin it down:

  • Independence — nothing links the left-right speed to the up-down speed. So the chance of all three is the product .
  • Isotropy — space has no favourite direction, so the joint chance can depend only on the arrow's length, i.e. on .

A product on the left that depends only on a sum of squares on the right — that is the exponential's signature. Taking turns the product into a sum: must be a function of . The only way is each. Undo the and you get the Gaussian.

PICTURE. The bell peaks at (most molecules drift only gently sideways) and dies for large . It is symmetric: a molecule is equally likely to go left or right.

Figure — Maxwell-Boltzmann distribution — full derivation

Step 2 — Nail the constants: normalization + temperature

WHAT. Two unknowns remain: and . We fix them with two facts.

WHY (fact 1: total = 1). All the probability must add to one. The area under a Gaussian is a classic Gaussian integral:

WHY (fact 2: temperature). We need to know how hot the gas is. The equipartition theorem says each sideways motion carries average energy :

For a Gaussian, the spread (variance) is . Setting them equal:

PICTURE. Two temperatures. The hot bell is shorter and wider (bigger spread, smaller ); the cold bell is tall and narrow. Both enclose exactly the same area = 1.

Figure — Maxwell-Boltzmann distribution — full derivation

Step 3 — Stack three bells: the cloud in velocity space

WHAT. The full velocity distribution is the product of three identical bells:

WHY. Independence again — the joint chance is the product. The three squared terms recombine into , so depends only on distance from the origin. That means the probability cloud is spherically symmetric: densest at the centre, fading outward equally in all directions.

PICTURE. A fuzzy ball of dots in velocity space. Dense near the centre (slow molecules common), thinning outward (fast molecules rare). No direction is favoured — a perfect fuzzy sphere.

Figure — Maxwell-Boltzmann distribution — full derivation

Step 4 — The trick that makes the appear: counting the shell

WHAT. We want speed, not the arrow. Many different arrows share the same length — they all sit on a sphere of radius . To get the chance of speed near we must add up the cloud density over that entire sphere.

WHY. The density is the same everywhere on the sphere (spherical symmetry). So the total is just density × surface area of the shell:

The surface area of a sphere of radius is . This is where the is born — it's pure geometry, "how much room exists at speed ."

PICTURE. A thin spherical shell of radius , thickness . Its area grows as the shell gets bigger. At the shell shrinks to a point — zero area, zero room.

Figure — Maxwell-Boltzmann distribution — full derivation

Step 5 — The tug-of-war: two curves fight, one wins

WHAT. Collect everything into the Maxwell-Boltzmann speed distribution:

WHY the hill shape? Two competing factors:

  • — the geometric factor, rising from 0, wanting large .
  • — the energy factor (from the Boltzmann factor), crushing large .

Multiply a rising parabola by a falling bell and you get a curve that starts at 0, climbs, peaks, then dies — a lopsided hill.

PICTURE. Three curves overlaid: the rising (green), the falling exponential (red), and their product (blue). Watch how the product is dragged to zero at both ends but bulges in the middle.

Figure — Maxwell-Boltzmann distribution — full derivation

Step 6 — Edge cases: the two ends of the curve

WHAT. Check the boundaries the reader will hit.

Case (the still molecule). . Even though the exponential is maximal (), the shell has zero area. No molecule is exactly frozen — not because it's energetically forbidden, but because there's no room at .

Case (the superfast molecule). Here grows without bound but dies far faster (exponential always beats any power). So . No molecule is infinitely fast.

PICTURE. Zoom on both tails: at the left the parabola pins the curve to zero; at the right the exponential drags it back down. The curve kisses zero at both ends.

Figure — Maxwell-Boltzmann distribution — full derivation

Step 7 — Where the peak sits (the balance point)

WHAT. The peak is where the rising and falling (with ) exactly balance. Set the derivative to zero:

WHY the derivative? The peak is a flat spot — where the curve stops rising and starts falling, its slope is zero. The derivative is the slope. It splits into "geometry pushing right" () minus "energy pulling left" (); they cancel exactly at .

PICTURE. The two forces as arrows at three points: below geometry wins (curve rises), at they tie (flat top), above energy wins (curve falls).

Figure — Maxwell-Boltzmann distribution — full derivation

The one-picture summary

Everything on one canvas: the fuzzy velocity cloud (Step 3) → its spherical shell (Step 4) → the vs exponential tug-of-war (Step 5) → the final hill with marked (Steps 6–7).

Figure — Maxwell-Boltzmann distribution — full derivation
Recall Feynman retelling — the whole walkthrough in plain words

Picture every molecule as an arrow in a 3D graph. Because nothing links left-right to up-down, and no direction is special, the cloud of arrow-tips is a fuzzy ball — dense in the middle, thin at the edges, and each of the three shadows follows the same simple bell curve. Making the bell finite forces it to decay; matching it to temperature fixes exactly how fast it decays (the inside).

Now I don't care which way an arrow points, only its length — its speed. All arrows of the same length live on a sphere, and bigger spheres have more surface, growing like . So the chance of a speed is (how dense the cloud is there) × (how much room the sphere gives). Density falls off exponentially; room grows like . The two fight: room wins at small speeds (so zero speed is impossible — no room), energy wins at big speeds (so infinite speed is impossible). They tie at the peak . Because the right tail is long, the mean and rms speeds sit a little past the peak. Heat the gas and the whole hill slides right and spreads out. That hill is the Maxwell-Boltzmann distribution.

Recall Self-test

Why is despite ? ::: The shell-area factor is zero at — no room, even though the energy cost is lowest. What single external fact did we import? ::: The Boltzmann factor: high energy is exponentially unlikely, giving the . Where does the come from? ::: The surface area of the sphere of radius in velocity space (Step 4). Why must ? ::: Otherwise the Gaussian grows without bound and can't normalize.

Related: Kinetic theory of gases · Effusion and Graham's law · Maxwell-Boltzmann vs Fermi-Dirac vs Bose-Einstein