BOLTZMANN'S FORMULA: S = k log W
The equation they carved on his tombstone.
One line on a headstone
In the Zentralfriedhof in Vienna, above a marble bust of a bearded man who looks tired, there is a single equation carved into the stone:
Ludwig Boltzmann did not put it there — he was dead by the time the monument went up — but it is the truest possible epitaph, because it is the sentence in which the macroscopic world of entropy and temperature was first reduced to the microscopic act of counting. He arrived at it in 1877, in the middle of a decades-long argument about whether atoms were real. The formula assumes they are, and from that assumption rebuilds all of thermodynamics.
The formula in modern notation is:
The entropy of a macrostate is Boltzmann's constant times the natural logarithm of , the number of microstates that realise it. Three symbols carry the whole of statistical mechanics; the rest of this page is an unpacking of why each one has to be there.
Why a logarithm
Take two independent systems — two boxes of gas, say — with multiplicities and . The combined system can be in any pairing of a microstate of the first with a microstate of the second, so its multiplicity is the product . Multiplicities multiply.
But entropy is extensive: put two equal systems together and you expect twice the entropy, not its square. Mass adds, energy adds, entropy adds. Temperature and pressure, by contrast, are intensive — they don't change when you double the system. Entropy belongs firmly in the additive camp, and that single requirement fixes the form of the formula:
Only the logarithm turns a product into a sum. No other function reconciles an additive entropy with a multiplicative count. The on the headstone is not a convenience; it is forced.
Why Boltzmann's constant
The count is a pure number, so is dimensionless. Yet entropy, as Clausius defined it through , carries units of joules per kelvin. Something has to supply those units, and that something is the Boltzmann constant (k_B):
It is best understood not as a fundamental dial of the universe but as a conversion factor between two units that history happened to define separately — the kelvin, invented for thermometers, and the joule, invented for mechanics. Boltzmann's constant is the exchange rate. The product is the natural energy scale of thermal agitation: about joules at room temperature, the typical kinetic jiggle of a single molecule. Whenever temperature appears in physics as an energy — in the Maxwell–Boltzmann distribution, in chemical reaction rates, in semiconductor physics — it appears multiplied by .
Had physicists measured temperature in energy units from the start, would equal one and vanish from the formula, leaving . Its presence is a fossil of nineteenth-century unit conventions, frozen into the most famous equation in statistical mechanics.
Recovering thermodynamics
A formula that merely defines a new entropy would be bookkeeping. Boltzmann's does more: counting microstates regenerates the entire edifice of classical thermodynamics. Feed in the microstate count of a monatomic ideal gas — the number of ways molecules can be arranged in volume with total energy , computed as a volume in phase space — and out comes the Sackur–Tetrode equation:
This is the absolute entropy of an ideal gas, in joules per kelvin, derived from nothing but counting and a factor of Planck's constant to fix the size of a microstate. Differentiate it and the ideal gas law falls straight out, along with the heat capacities and every reversible process of the first and second laws. Thermodynamics, painstakingly assembled over a century of steam engines and calorimeters, turns out to be a theorem about combinatorics.
The cleanest demonstration is the entropy of mixing. Two gases, each of molecules, separated by a partition; remove it and each gas doubles the volume it can explore, multiplying its spatial multiplicity by . The entropy change is therefore — precisely the thermodynamic entropy of mixing computed from , with no heat added at all.
The second law as a counting truth
With in hand, the second law stops being a mysterious imposition and becomes arithmetic. An isolated system left alone wanders among its accessible microstates, each equally probable. It is overwhelmingly likely to be found in whichever macrostate commands the most microstates — and as it evolves toward equilibrium, climbs, so climbs with it.
Entropy increases not because a law commands it but because high-entropy macrostates are simply more numerous, by factors like . The "tendency toward disorder" is nothing but the system being swept into the largest bin by sheer weight of numbers. There is no force pushing it there; there is only counting. This is the deepest thing the formula says, and it is why the next topic can locate the entire arrow of time inside it.
Boltzmann's tragedy
The formula cost its author dearly. In the 1890s the reality of atoms was still genuinely contested, and Boltzmann's statistical mechanics — which assumed atoms not merely as a calculational convenience but as the literal furniture of the world — drew fierce opposition. , the great positivist physicist-philosopher, held that science should speak only of what can be observed, and atoms could not be seen; he is said to have needled Boltzmann in seminars with "Have you ever seen one?" The chemist led a rival school, "energetics," that tried to build physics from energy alone, with no atoms at all.
Boltzmann fought back in print and in person for two decades, increasingly isolated, suffering from what we would now recognise as bipolar depression. On a family holiday at Duino, near Trieste, on 5 September 1906, he hanged himself while his wife and daughter were swimming. He was 62.
The cruelty of the timing is hard to overstate. The year before, in 1905, an unknown patent clerk named had published a quantitative theory of Brownian motion — the jitter of pollen grains under molecular bombardment — that made atoms measurable and, within a few years, undeniable. Jean Perrin's experiments confirmed it; Ostwald himself conceded the existence of atoms in 1909. Boltzmann's vindication had already begun. He did not live to see it settle.
What's next — the direction of time
is the hinge of this entire branch. It converts the abstract, thermodynamic entropy of Clausius into a count you can in principle enumerate, and it explains the second law as the overwhelming numerical advantage of large macrostates.
But it raises a sharper question than it answers. If entropy increases simply because high- macrostates are more numerous, and if the microscopic laws of motion are perfectly reversible, then why does the count only ever go up? Run the molecules backward and every collision is still legal. The arrow of time — the reason a smashed glass never reassembles though no law of motion forbids it — lives in exactly this gap between reversible microphysics and the one-way climb of .