Every molecule of air in the room around you is obeying Newton's laws exactly, instant to instant. Those laws don't care about direction of time — reverse every velocity in a valid trajectory, and you get another perfectly valid trajectory, running backward. And yet you have never once walked into a room and found all the air molecules spontaneously crammed into one corner, leaving you gasping in a vacuum on the other side. Nothing in the underlying mechanics forbids it. It has simply never, in the history of the universe, happened by accident.
That's strange enough to deserve an explanation, not just a shrug. Why does a gas always spread out to fill a room, and never un-spread itself? Why does a hot cup of coffee always cool toward room temperature, and a room-temperature cup never spontaneously heats itself up while the room around it cools? These questions are the doorway into one of the deepest and most useful ideas in all of physics, and the surprising thing about the answer is that it isn't really about forces at all. It's about counting.
Microstate versus macrostate
Take the simplest version of "spread out versus crowded together": identical gas molecules in a box, mentally divided into a left half and a right half. Two different levels of description are available, and keeping them distinct is the whole key to everything that follows.
A microstate is the complete, exhaustive specification: which specific molecule sits in which specific position with which specific velocity, for every one of the molecules. It's more information than any human observer could ever measure or track.
A macrostate is the coarse description an observer actually cares about: how many molecules are in the left half versus the right half — nothing about which molecules, just the count. "12 molecules on the left, 8 on the right" is one macrostate. It says nothing about which 12.
Here is the fact that makes this distinction earn its keep: an enormous number of different microstates all correspond to the exact same macrostate. Swap any two molecules between two positions that are both already in the left half, and the microstate has changed (a different molecule now sits at a different point) while the macrostate has not (it's still "12 on the left"). The question that decides everything is: how many microstates correspond to each macrostate — and that number, it turns out, is wildly different from one macrostate to the next.
Counting microstates: the binomial coefficient reappears
This counting problem is exactly the one solved by the binomial distribution from probability and statistics. Treat each molecule as an independent coin flip: "heads" means it happens to be in the left half, "tails" means the right half. The number of distinct ways to choose which of the molecules end up on the left (with the rest on the right) is the binomial coefficient:
is the number of microstates corresponding to the macrostate " molecules on the left, on the right." A gas molecule doesn't know or care which half it's "supposed" to be in — by symmetry, every individual microstate (every specific assignment of positions to molecules) is exactly as mechanically likely as every other one. That is the one new physical assumption this topic adds, and it's worth stating plainly, because everything else follows from it: every microstate consistent with the physics is equally probable. Given that, the probability of observing a particular macrostate is just proportional to how many microstates realize it — a macrostate with more microstates is simply more probable, for the mundane reason that there are more ways to roll it.
Now ask: which value of has the largest ? By the ordinary symmetry of the binomial coefficient, is maximized at — the even split. And crucially, this maximum isn't just a little bit bigger than its neighbors; for large , the central limit theorem tells us the binomial distribution is extremely well approximated by a Gaussian sharply peaked at , with a width that grows only like while the peak height grows like . The peak gets relatively narrower and narrower, in comparison to the full range of possible , as grows — and real gases have .
Entropy: turning a count into a useful number
itself is an unwieldy quantity — factorials of are not numbers anyone wants to write down or multiply together. Boltzmann's decisive move was to take its logarithm, and define the entropy of a macrostate as:
with the same Boltzmann constant from the ideal gas law. The logarithm isn't a cosmetic convenience — it's what makes entropy the right quantity to reason with. If you have two independent subsystems, with microstates available to the first and available to the second, the number of joint microstates of the combined system is (every arrangement of the first system can be paired with every arrangement of the second). Entropies, unlike the raw counts, simply add:
That additivity is exactly the behavior we want from a physical quantity meant to describe an extended system built out of independent parts — and it's a property the raw count conspicuously does not have on its own.
The statistical seed of the second law
Put the two pieces together and something remarkable falls out, well before anyone writes down a law of thermodynamics by that name. Every microstate is equally probable. The number of microstates is overwhelmingly concentrated in the macrostate near — the "spread out evenly" configuration — for any gas with a realistic number of molecules. So if a gas somehow starts out in an atypical macrostate — say, crowded entirely into one half of the box — and is then simply left alone to collide and mix, its molecular motion will carry it, essentially certainly, through the vast reservoir of microstates corresponding to more probable, higher-entropy macrostates, and it will essentially never wander back.
Nothing here is a new force pushing molecules apart. Nothing forbids the reverse process by the underlying mechanics — a spontaneous return to the crowded corner is not impossible, only so staggeringly improbable, for particles, that "impossible" is indistinguishable from the truth in any universe with a finite age. That is the entire statistical content of what will later be named the second law of thermodynamics: entropy tends to increase, not because nature enforces it as a fundamental rule, but because the number of ways to be "spread out" so thoroughly swamps the number of ways to be "crowded" that the crowded state is never revisited by chance. This topic has derived the tendency; a later topic will give it its formal name.
Worked example
A box holds distinguishable gas molecules, free to be on the left or right half with equal likelihood per molecule. Compute the entropy of the macrostate with an even 50/50 split, and compare it to the entropy of the macrostate with all 100 molecules on the left. (click to reveal the solution)
Setting up: the number of microstates for molecules on the left, out of , is .
All 100 on the left (): there is only one way to put every single molecule on the left — pick all of them, and there's no choice left to make:
Even split (): this binomial coefficient is a standard tabulated value,
so its entropy is:
Numerically, with :
Comparing the two macrostates: the entropy difference is
but the physically vivid number is the ratio of microstate counts, not the entropy difference itself:
Interpreting the result: even for a modest molecules — nowhere near a real gas's — the even-split macrostate already has about times as many microstates as the all-on-one-side macrostate. Since every microstate is equally likely, a system exploring its available microstates by ordinary molecular motion is about times more likely to be found near the 50/50 split than crammed entirely to one side at any given instant. Scale up to a real gas, and this ratio becomes so large that "the gas spontaneously crowds into one corner" stops being merely unlikely and becomes something closer to a logical impossibility within the lifetime of the universe — not because physics forbids it, but because the odds are inconceivably against it.
Where this leads
We've found the statistical engine behind why matter organizes itself the way it does, using nothing but counting and one assumption — equal a priori probability for every microstate. Two threads now lead onward from here. First, the laws of thermodynamics will take this statistical tendency and place it formally alongside energy conservation as one of physics's most load-bearing principles. Second, and first in line, is a question this topic quietly sidestepped: we assumed every microstate of an isolated system is equally likely, but most real systems aren't isolated — they sit in contact with a much larger environment, exchanging energy with it constantly. What does the equal-probability assumption turn into once a system can trade energy with something else? That question is exactly where the next topic begins.