Thermodynamics is the science of heat, and statistical mechanics is the discovery that heat is the motion of particles too many to follow. Together they explain why gases push, why engines waste, why ice melts and why time seems to run one way. This module covers them through 42 interactive demonstrations, each of which simulates the particles, or counts their arrangements, and measures the law instead of stating it. Fill a box with a gas and weigh its pressure. Drive an engine by hand and try to beat the limit Carnot found. Share energy between two blocks and count until the second law becomes obvious. Reverse every velocity in a gas and watch it unmix, then run Maxwell’s demon and pay for its memory. Boil and freeze a fluid of sticky particles, cool a grid of magnets through its critical point, and find out why hot things glow the colour they do.
See also: Classical Mechanics for the motion of one particle at a time, Probability for random walks and the law of large numbers, Information Theory for entropy as a measure of surprise, Quantum for the particles behind quantum gases, Quantum Field Theory for the renormalisation group, and Fluid Dynamics for matter that flows.
Heat is motion. Fill a box with bouncing particles, measure the pressure they make and the temperature they share, and watch a bell curve of speeds appear from nothing but collisions
There are two ways to give a gas energy: warm it or squeeze it. Push a piston, read the work as an area, and find that the total of heat and work is all that counts
Turn heat into motion with a piston and two temperatures. Drive a cycle by hand, try to beat the limit Carnot found in 1824, then run it backwards as a refrigerator
Why does heat spread out? Because there are more ways for it to be spread. Share energy between two blocks, count every arrangement, and watch the likely become the certain
Entropy is the logarithm of the number of arrangements, and temperature is what its slope is called. Mix, stir and let heat flow, and follow a number that only goes up
Every collision runs equally well backwards, yet eggs never unbreak. Reverse the velocity of every particle and watch a gas unmix, then see how little it takes to spoil the trick
A small being guarding a door could sort hot from cold for nothing. Run the door yourself, build an engine powered by one bit, and find the price: forgetting
One formula says how likely any state is at any temperature. Find it by letting a small system borrow energy from a large one, then use it to weigh atoms, predict air pressure and freeze out heat capacity
A grain of dust in water never stops jiggling, because the water never does. Follow Brownian motion, measure the size of atoms with it, and link friction to fluctuation
At constant temperature nature does not seek the lowest energy or the greatest entropy but a compromise. Stretch a rubber band, fold a chain, balance a reaction and pull on a molecule too fast
Cool a gas of sticky particles and it becomes a liquid, then a crystal. Boil, freeze and superheat it, trace the line where two phases balance, and walk round the critical point
A grid of tiny magnets, each preferring to agree with its neighbours. Cool it until it makes up its mind, find the temperature where it does, and see why one dimension is not enough
At its critical point a magnet, a fluid and a forest fire look alike. Zoom out on fluctuations of every size, measure the exponents, and find different systems sharing the same numbers
Classical physics predicts that an oven should glow with infinite light. Count identical particles the way nature does, and find the colour of hot things, the stiffness of metals and the coldest matter there is