All topics
Intermediate

Thermodynamics · why time has an arrow

Entropy & the second law

A hot drink cools and never reheats itself. A drop of ink spreads through water and never gathers back into a drop. One quantity keeps score of that one-way traffic, and it is where the difference between past and future comes from.

Click to begin

Explained like you're twelve. Explained like you've just finished school. Explained like you're at university.

Thermodynamics · A law with no known exception

Heat flows one way, and that one-way street is where the future comes from.

All the particles start bunched in one corner: one tidy, unlikely arrangement. Press play and they spread, because there are vastly more ways to be spread out than to be bunched. The curve tracks how mixed they are, climbing and then levelling off. Hit Reverse to flip every velocity: they almost regroup, then the tiniest jostling breaks it and they spread again.

Pour milk into coffee and stir. It mixes. You will wait forever for it to unmix on its own. Leave a hot cup of tea on the table and it cools to room temperature; it never sits there and quietly heats itself back up.

There is a quantity that keeps track of this, called entropy. Think of it as a score for how spread out and jumbled up the energy in something is. A tidy, bunched-up arrangement has low entropy. A spread-out, mixed-up one has high entropy.

Here is the rule. In anything sealed off from the outside, entropy only ever goes up, or stays the same. It does not go down by itself. That is the second law of thermodynamics, one of the most reliable rules in all of science. Nobody has ever seen it broken.

Why does this matter so much? Because it is the reason you can tell the past from the future at all. Run a film of a shattering glass backwards and you can spot the trick instantly, because glasses do not leap up and reassemble. The one direction entropy is allowed to move is the direction we call forward in time.

The clearest way to understand entropy is by counting. Suppose you look at a box of gas from the outside and note its temperature and pressure. That outside description is the macrostate. But the same macrostate can be produced by an astronomical number of different arrangements of the individual atoms, each one a microstate. Entropy measures how many microstates match what you see.

Boltzmann wrote it down as one of the most important equations in physics:

\[ S = k_B \ln W, \]

where \(W\) is the number of microstates and \(k_B\) is Boltzmann's constant. The more ways there are to arrange the insides while keeping the outside the same, the higher the entropy.

Now the punchline. A system drifts toward the macrostate with the most microstates for a boring but unbeatable reason: there are overwhelmingly more of them. If almost every arrangement of the atoms is a spread-out one, then random jostling will almost certainly land you in a spread-out state. "Disorder" wins by sheer counting, not because any force pushes it there.

That gives the second law its everyday shape. Heat flows from hot to cold, never the reverse, because that is the overwhelmingly more likely thing to happen. Engines can never turn all their heat into work; some is always dumped as waste (Carnot found the exact ceiling). And local order is perfectly allowed: a fridge chills its inside, a living body builds itself, but each one pumps out more entropy to its surroundings than it removes at home. The total still climbs, which is the arrow of time.

Two entropies that agree. Historically entropy arrived twice. Clausius defined it thermodynamically through heat and temperature, with the inequality \(dS \ge \delta Q / T\) for any real process (equality only for a reversible one). Boltzmann and Gibbs then built it from statistics, \(S = k_B \ln W\), or more generally \(S = -k_B \sum_i p_i \ln p_i\) over microstates. The remarkable thing is that these two definitions coincide. The macroscopic bookkeeping quantity is the same as the count of microscopic possibilities.

A near-certainty, not a theorem. The second law is statistical, not logical. Nothing in the microscopic laws forbids a spread-out gas from momentarily regrouping in a corner; it is just fantastically unlikely. Poincaré's recurrence theorem even guarantees a closed system returns arbitrarily close to any past state eventually, but "eventually" here means times far longer than the age of the universe. Fluctuations happen at small scales; the law is a statement about what is overwhelmingly probable for many particles, and for a mole of gas overwhelming is an understatement.

Entropy is information. Push on the counting and you reach a link with information itself. Maxwell imagined a demon sorting fast and slow molecules to lower entropy for free; the resolution, sharpened by Landauer, is that the demon must eventually erase its memory, and erasing one bit of information costs at least \(k_B T \ln 2\) of heat dumped to the surroundings. Entropy and Shannon's information entropy are the same quantity wearing different clothes. There is no free lunch, and knowing something is physically expensive to forget.

Where the arrow really comes from. The microscopic laws run the same forwards and backwards, so why does entropy have a preferred direction? The honest answer points at a boundary condition: the universe started in a very low-entropy state, and everything since has been the slow climb away from it. This "past hypothesis" traces the arrow of time back to the Big Bang. The future is simply the direction in which that early, improbable order continues to unwind.

When order is spontaneous. Not every ordering process violates anything. For a system at constant temperature and pressure the relevant quantity is the Gibbs free energy \(G = H - TS\), and a change happens spontaneously when \(G\) falls. That allows spontaneous structure, crystals forming, proteins folding, whenever the entropy paid out to the surroundings more than covers the order built locally. And at the largest scale the same logic runs to its end: a universe tending toward maximum entropy, a uniform lukewarm state with no gradients left to do work, the "heat death" that is the second law taken to the horizon.

Related: The Big Bang and Black Holes & the Event Horizon · next: The Periodic Table · or go back to all topics.