aidoesscience
aidoesscience › Maxwell gas
Validating · validations

Maxwell–Boltzmann gas · the 2nd law

Why does a gas of structureless colliding balls always arrange its speeds into the same fixed shape — and why never the reverse?

▶ Launch the interactive simulation

How the lab tests it

Start N equal-mass hard disks all at the SAME speed v₀ (random directions — a delta spike, the lowest-entropy speed distribution at this energy) and let them collide elastically in a box (energy conserved to machine precision). Watch the speed histogram against the parameter-free 2-D Maxwell–Boltzmann curve f(v)=(v/s²)e^(−v²/2s²) (s² = ½⟨v²⟩, fixed by the energy), and track Boltzmann's H(t)=∫ f ln f d²v over time.

What it checks

the speed distribution relaxing onto Maxwell–Boltzmann (total-variation distance → 0, ⟨v⟩ → s√(π/2)) with no fitted parameter; and the H-theorem — H falling monotonically to a floor and only fluctuating after (entropy's arrow), while total kinetic energy stays flat

This is one world in the PHS lab — 91 interactive simulations, each posing a question and measuring the answer. See the catalogued findings.