Kinetic Theory and Maxwell-Boltzmann Distributions — The Complete Physics Guide
Thermal Escape simulates a real gas — every one of the hundreds of particles on screen has its own individual speed, drawn from the same Maxwell-Boltzmann distribution that describes real molecules in real air. Drag the temperature slider and watch the entire distribution shift and broaden in real time, sending progressively more particles fast enough to escape through the gaps. This is exactly the physics behind evaporation, atmospheric loss, and the solar wind — a single statistical framework that spans everything from a puddle drying in the sun to why Mars no longer has a thick atmosphere.
Temperature as Average Kinetic Energy
At the molecular level, temperature isn't some separate, mysterious quantity — it's a direct measure of the average kinetic energy of the particles making up a substance. For an ideal monatomic gas, the average kinetic energy per molecule is ⟨KE⟩ = (3/2)k_BT, where k_B = 1.381 × 10⁻²³ J/K is Boltzmann's constant and T is the absolute temperature in kelvin.
Scaling up to n moles of gas, the total internal energy is U = (3/2)nRT for a monatomic gas like helium or argon. Diatomic gases such as nitrogen and oxygen — the two gases that make up nearly all of Earth's atmosphere — have two additional rotational degrees of freedom active at room temperature, giving U = (5/2)nRT instead.
This molecular picture isn't just a nice interpretation — it directly predicts measurable quantities. The molar heat capacity at constant volume works out to C_V = (3/2)R ≈ 12.5 J mol⁻¹ K⁻¹ for a monatomic gas and C_V = (5/2)R ≈ 20.8 J mol⁻¹ K⁻¹ for a diatomic gas, both of which match real laboratory measurements closely. Kinetic theory built heat capacity up from first principles, rather than treating it as an empirically-measured constant with no deeper explanation.
The Maxwell-Boltzmann Speed Distribution
Not every molecule in a gas moves at the same speed — there's a genuine statistical spread, described by the Maxwell-Boltzmann distribution. Three characteristic speeds summarise it: the most probable speed v_p = √(2k_BT/m) (the peak of the curve), the mean speed ⟨v⟩ = √(8k_BT/πm), and the root-mean-square speed v_rms = √(3k_BT/m), which is the speed that corresponds directly to the average kinetic energy.
Raising the temperature shifts this entire distribution toward higher speeds and simultaneously broadens it — exactly what you see happening in this game as you drag the temperature slider higher. Lighter molecules move faster than heavier ones at the same temperature, since v_rms scales as 1/√m: at 300 K, nitrogen (N₂) has v_rms ≈ 517 m/s, while hydrogen (H₂), roughly 14 times lighter, reaches v_rms ≈ 1,934 m/s.
The part of the distribution that matters most for this game — and for real planetary atmospheres — is the high-speed tail: the small fraction of particles moving significantly faster than the average. Even when the bulk of a gas is moving far too slowly to escape a planet's gravity, that tail always contains some particles fast enough to do so, and it's exactly those particles the escape gaps in this game are designed to catch.
Jeans Escape and Planetary Atmospheres
Thermal escape — technically called Jeans escape after physicist James Jeans — occurs when molecules in that high-speed tail exceed a planet's escape velocity and simply leave, permanently, one by one. It's a slow, statistical process rather than a single dramatic event, but over geological timescales it can strip a planet's atmosphere of its lightest components entirely.
Earth, with an escape velocity of 11.2 km/s, comfortably retains nitrogen and oxygen — their v_rms is far below escape velocity even in the distribution's tail. But Earth continuously and irreversibly loses hydrogen and helium to space, because their much higher v_rms brings a meaningful fraction of them close enough to escape velocity to leak away over time. This is precisely why free hydrogen and helium, despite being the most abundant elements in the universe, are essentially absent from Earth's atmosphere today.
Mars tells a more dramatic version of the same story. With an escape velocity of only 5.0 km/s and no global magnetic field to deflect the solar wind, Mars lost the great majority of its atmosphere over roughly four billion years to a combination of Jeans escape and solar-wind stripping — transforming a world that once had rivers and lakes into the thin, cold, nearly airless planet we see today. Jupiter, by contrast, with an escape velocity of 59.5 km/s, retains essentially every gas it started with, including the lightest ones.
Worked Example — Comparing Escape Likelihood
Problem: A useful rule of thumb in planetary science is that a gas is retained over billions of years if the ratio of escape velocity to RMS speed exceeds about 6. Using v_rms = √(3k_BT/m), check whether Earth (v_esc = 11.2 km/s) retains nitrogen (N₂, molar mass 28 g/mol) at T = 288 K.
Mass per molecule: m = 0.028 / 6.022×10²³ ≈ 4.65×10⁻²⁶ kg
v_rms = √(3 × 1.381×10⁻²³ × 288 / 4.65×10⁻²⁶) ≈ 508 m/s
Ratio: v_esc/v_rms = 11,200/508 ≈ 22 — well above the threshold of 6, confirming nitrogen is retained essentially indefinitely, consistent with it making up 78% of Earth's atmosphere today.
Real-World Applications
Evaporation and drying: A puddle dries even at temperatures well below water's boiling point because some molecules at the liquid's surface — those in the high-speed tail of the distribution — always have enough kinetic energy to break free of the liquid's intermolecular bonds and escape as vapour, exactly the same statistical mechanism as thermal atmospheric escape.
The solar wind: The Sun's corona is heated to millions of kelvin, giving its constituent protons and electrons enough thermal speed to overcome the Sun's own enormous escape velocity — the resulting continuous outflow of charged particles is the solar wind, which shapes planetary magnetospheres and is responsible for phenomena like the aurora when it interacts with Earth's magnetic field.
Vacuum technology and freeze-drying: Reducing pressure around a substance effectively removes the "ceiling" that normally traps slower molecules near a surface, allowing far more of the distribution's tail to escape at any given temperature — which is exactly why freeze-drying can remove water from food at temperatures well below 0°C, once the surrounding pressure is low enough.
Semiconductor and thin-film manufacturing: Processes like sputtering and thermal evaporation deposit ultra-thin metal or oxide layers onto silicon wafers by heating a source material in a vacuum chamber until enough atoms in the high-speed tail of its distribution escape the surface and travel in straight lines to coat the target — the same Jeans-escape physics operating on a laboratory bench rather than a planetary scale.