In 1877, Ludwig Boltzmann carved his most important equation onto a gravestone - not his own, though that would eventually happen too, but his theory's. S = k log W. Those four symbols described, in the most compressed possible form, why ice melts, why perfume spreads through a room, why a dropped egg shatters and will not reassemble, and why time has a direction at all.
The equation said that entropy (the quantity Boltzmann spent his life analyzing) was the logarithm of the number of ways a physical system could be arranged at the microscopic level while still producing the same macroscopic appearance. It was one of the deepest things ever written about the physical world.
Ernst Mach led the Austrian school of physics that insisted atoms did not exist and that physics should concern only directly observable quantities and atomic theory as unprovable metaphysical speculation. This also drove him to near-madness.
Without atoms and their microscopic arrangements, Boltzmann's equation made no sense and his whole framework depended on the atomic hypothesis. For decades he defended his work against attacks that became, as his reputation grew, more personal and more vicious.
By 1906, struggling with what appears to have been severe depression and spending time in a sanatorium, he took his own life during a vacation in Duino, near Trieste.
Three years later, Jean Perrin's experiments on Brownian motion gave decisive empirical support for the atomic hypothesis. The physics community that had rejected Boltzmann's foundations took them up shortly after his death.
One of the sadder chapters in the history of science is Boltzmann's fate yet his equation endured and became one of the deepest physical insights of the nineteenth century.
It explained not just the behavior of gases and steam engines but something far more fundamental: why the laws of physics, which appear time-symmetric at the level of individual particle interactions, give rise to a world in which time has a preferred direction, in which some processes are irreversible, and in which an arrow points inexorably from past to future.
"The second law of thermodynamics is, I think, the physical law with the most chutzpah. It tells us that the universe began in a very special state - and it must have been special because the second law depends on it."
Sean Carroll, From Eternity to Here (2010)[6]
Key Definitions
Entropy (thermodynamic): A measure of the number of microscopic arrangements (microstates) consistent with the macroscopic state (macrostate) of a system; given by Boltzmann's equation S = k log W, where k is Boltzmann's constant and W is the number of microstates.[2]
Second law of thermodynamics. This principle states that the total entropy of an isolated system can never go down over time. Heat moves spontaneously from hot to cold and systems move toward their most probable macroscopic state.
Macrostate: The macroscopic description of a physical system - its temperature, pressure, volume, or any other observable bulk property.
Microstate: A complete specification of the state of every particle in a system - positions and momenta of all molecules.
Arrow of time: The asymmetry between past and future; the direction in which entropy increases is the direction in which time flows.
Maxwell's Demon. This is a thought experiment that puts forward an intelligent entity capable of reducing entropy by selecting which molecules pass through a partition. Landauer resolved it in 1961 by showing what the thermodynamic cost is of erasing information.
Shannon entropy: Claude Shannon's (1948) information-theoretic measure H = -sum(p_i log p_i); mathematically identical to Boltzmann's thermodynamic entropy, measuring uncertainty or information content of a probability distribution.
Negentropy: Schrodinger's term for the low-entropy ordered structures that living organisms consume to maintain their own low internal entropy.
Heat death. This is the theoretical maximum-entropy end state of the universe where all usable energy gradients have been dissipated and no more thermodynamic processes can happen.
Entropy in Different Scientific Domains
| Domain | Entropy concept | Formula | What "high entropy" means | Key figure |
|---|---|---|---|---|
| Classical thermodynamics | Heat exchanged relative to temperature; macroscopic | dS = dQ_rev / T | Heat is spread evenly; no temperature gradient to do work | Clausius (1865) |
| Statistical mechanics | Number of microstates consistent with macrostate | S = k log W | Many possible molecular arrangements; maximum disorder | Boltzmann (1877) |
| Information theory | Uncertainty of a probability distribution; average information per symbol | H = -sum(p_i log p_i) | All outcomes equally probable; maximum unpredictability | Shannon (1948) |
| Quantum mechanics | von Neumann entropy; entanglement measure | S = -Tr(rho log rho) | Maximally mixed quantum state; maximum entanglement | von Neumann (1932) |
| Cosmology | Gravitational entropy; black hole entropy | S_BH = A / 4 (in Planck units) | Matter clumped into black holes (gravity makes clumping high-entropy) | Bekenstein, Hawking (1973-74) |
| Biology / living systems | Negentropy: local entropy decrease maintained by exporting entropy | Organism imports low-entropy food; exports high-entropy waste | Organism at thermal equilibrium (dead) | Schrodinger (1944) |
Clausius, Carnot, and the Birth of Entropy
Entropy as a concept came out of the practical engineering challenge of the steam engine. In 1824, Sadi Carnot analyzed heat engines theoretically and set the limit on how efficiently they can run. A heat engine working between a hot reservoir and a cold reservoir cannot turn all the heat from the hot reservoir into useful work.
Some heat must always be rejected to the cold reservoir. The result that Carnot arrived at was deeply puzzling. It suggested a fundamental asymmetry where heat goes spontaneously from hot to cold but not from cold to hot. Why does that happen? How did the amount of heat moving in each direction relate precisely to the work generated?
Rudolf Clausius resolved this puzzle in the 1850s and 1860s by bringing in a new physical quantity. In 1865 he called it entropy from the Greek trope (transformation) and deliberately paralleled his term for energy to show that both were fundamental to thermodynamics.
Clausius's second law stated that the entropy of an isolated system always increases or, at best, stays constant in a reversible process.[1] This gave the asymmetry of heat flow a precise mathematical form: any spontaneous process increases total entropy.
This physical meaning was initially unclear. Entropy as Clausius defined it was a function based on heat transfers and temperatures with no apparent link to any intuitive idea of "disorder" or "probability". Boltzmann made that connection and in doing so turned thermodynamics from a macroscopic engineering discipline into a view into the microscopic structure of matter.
Boltzmann's Revolution: S = k log W
Boltzmann's key insight, developed through the 1870s and crystallized in his 1877 paper, was to understand thermodynamic states in terms of probability. Consider a gas of molecules bouncing around in a container. The macroscopic state (the temperature, pressure, and density of the gas) is fully specified by bulk measurements.
But this macrostate is consistent with an astronomically large number of different microscopic states: the exact positions and velocities of all the molecules can vary enormously without changing any macroscopic measurement.
Boltzmann realized that entropy was the logarithm of this number of consistent microscopic states.
Expressing a deep truth that high-entropy macrostates are ones consistent with many microstates and low-entropy macrostates are ones consistent with few, his equation was S = k log W (where W stands for the German "Wahrscheinlichkeit," probability and k is what we now call Boltzmann's constant).
Simply because there are more of them, systems move toward higher-entropy states and that makes the second law (entropy increases) a consequence of probability.
The broken glass is the standard illustration. An intact glass requires all its atoms to be in very specific structural relationships. The number of microstates corresponding to an intact glass is tiny.
Microstates that correspond to glass fragments scattered around a floor come in far greater numbers because each fragment can be in many places and the molecules inside each fragment can vibrate in countless ways.
When the glass falls, it almost certainly ends up in a high-entropy state (shattered) because the overwhelming majority of accessible microstates are high-entropy ones.
Spontaneous assembly of fragments back into a glass does not break energy conservation, though it needs all molecules to move at once in just the right direction. That is a probability not zero, yet it is so low that the age of the universe does not give enough time to make it happen often enough.
Boltzmann understood clearly what this probabilistic interpretation meant. The second law is not an absolute law like Newton's laws of motion. It is a statistical law.
In principle, entropy could spontaneously decrease in an isolated system; in practice, for any macroscopic system, this is so improbable that it will never be observed.
Loschmidt's Paradox and the Problem of Irreversibility
Philosophical puzzles sprang up immediately from how entropy was interpreted statistically. Boltzmann's contemporaries were quick to make use of them.
Josef Loschmidt's "reversibility objection" (1876) pointed out the following: if all the microscopic laws governing molecular collisions are time-symmetric (running equally well backward or forward), then for every process that increases entropy there is an equally valid time-reversed process that decreases it.
Why, then, does entropy always increase and never decrease? The time-symmetric microscopic laws seem inconsistent with the time-asymmetric second law.
Boltzmann's answer was statistical. The time-reversed process is in principle possible; it is just overwhelmingly improbable.
When you reverse the velocity of every molecule in a gas that has just filled a container, the gas will spontaneously shrink back into one corner. That shows that entropy can go down if the starting conditions are chosen exactly.
But such precise initial conditions never happen in practice and any small perturbation from exact reversal will make the process quickly re-diverge toward higher entropy.
The deeper problem Loschmidt's paradox raises is this: the statistical argument tells us that entropy is more likely to be higher in the future than in the past. But by the same statistical logic, entropy should also have been higher in the past.
If we observe a gas in a medium-entropy state right now, the purely statistical argument predicts that it was more likely to have been in a higher-entropy state an hour ago than in a lower-entropy one.
Observation tells us that the universe's entropy has been going up monotonically so this prediction is wrong. For the resolution, an assumption must be made that the universe started out in a state of extraordinary low entropy and entropy has kept rising ever since.
Microscopic physics alone does not lead to the second law as a logical consequence. It comes from physics combined with a specific, contingent fact about how the universe started out.
The Arrow of Time: Why Past and Future Are Different
The arrow of time - the felt asymmetry between past and future, the fact that we can remember yesterday but not tomorrow - is one of the most fundamental features of human experience, and one of the most puzzling for physics. Remarkably, almost all the fundamental laws of physics are time-symmetric.
Classical mechanics, electromagnetism, quantum mechanics, general relativity - all describe processes that would look physically reasonable run in reverse.
Two billiard balls colliding and bouncing apart looks equally valid whether you watch it forward or backward. Planets orbiting a star could equally well orbit in the reverse direction. There is no "forward" built into these equations.
The second law of thermodynamics is the exception. Entropy increases toward the future, not toward the past, and this asymmetry is the physical basis for temporal directionality.
Sean Carroll's "From Eternity to Here" (2010) develops this argument most thoroughly: every phenomenon we associate with the direction of time (memory, causation, the sensation that the future is open, the irreversibility of biological processes) ultimately traces back to the entropy gradient.
We cannot recall the future because there are no records of higher-entropy states, since the future holds more entropy and records have less entropy. Memories are records of low-entropy past states and they persist because entropy rises, keeping a record of how things were when they had less entropy.
Heat diffuses from hot to cold because there are more microstates corresponding to even temperature distributions. Eggs scramble but don't unscramble. All for the same reason: the probabilistic weight of higher-entropy states.
If the arrow of time points toward increasing entropy and entropy has risen continuously since the Big Bang, then the Big Bang itself had to begin as an extraordinarily low-entropy starting point.
The smooth, nearly uniform distribution of matter and energy in the very early universe was, counterintuitively, a lower-entropy state than the clumped, structured universe of today - because gravity makes clumping the higher-entropy configuration for matter.
Physics does not supply the ultimate source of the arrow of time as a law. It comes from a boundary condition, the universe starting in a state of extremely low entropy.
Maxwell's Demon: Information and Thermodynamics
Maxwell's Demon, proposed in 1867, is a thought experiment that seems to show that intelligent sorting can circumvent the second law. The demon sits at a door between two compartments of a gas container and selectively allows fast molecules to pass from left to right and slow molecules to pass from right to left.
The result is that the right side becomes hot and the left side cold, reducing entropy without any apparent expenditure of work. If the demon can do this, heat effectively flows from cold to hot - a violation of the second law.
The demon puzzled physicists for 75 years. Leo Szilard (1929) showed that if the demon acquires information about the molecules, the information acquisition itself has a thermodynamic cost that compensates for the entropy reduction - a suggestive argument but not entirely convincing.
Rolf Landauer's 1961 paper "Irreversibility and Heat Generation in the Computing Process" gave the decisive resolution. Landauer's key insight was that acquiring information is not what costs thermodynamically. It is erasing information.
Every physical computation device has limited memory and once the demon has sorted molecules for a while, it has to erase what it measured before to free up space for more measurements.
Erasing information (resetting a bit to a known state) is a logically irreversible operation, and Landauer proved that logically irreversible operations must generate heat.[4] The minimum heat generated per bit erased is kT ln 2.
Charles Bennett (1973, 1982) completed the analysis by showing that all computations can in principle be done reversibly without erasing information, but that eventually the accumulated data must be erased.[7]
By accounting for the heat that comes from erasing its memory, the demon's total entropy budget always equals or goes beyond the entropy reduction it gets by sorting.
Since its founding by Landauer, a strong link between information and thermodynamics has run through physics and computer science. Information is not an abstract, pure mathematical concept. It is physical.
It must be stored in some physical substrate, and the erasure of that information has a thermodynamic cost that is tied to Boltzmann's constant.
Quantum computing and the information-theoretic interpretation of entropy that Shannon explored draw from this link. In quantum computing, reversible operations in principle can get close to Landauer's limit and this same link supports the information-theoretic interpretation of entropy that Shannon worked on.
Shannon Entropy: Information and Uncertainty
Establishing the theoretical framework within which all subsequent information and communication technology has been built, Claude Shannon's 1948 paper "A Mathematical Theory of Communication" is a foundational document of the information age.
Quantifying information content, how much information a message contains, was Shannon's main challenge. To be more precise, given the statistical properties of the source, what is the minimum number of binary symbols needed to encode a message from that source?
Shannon defined entropy H = -sum(p_i log p_i), where the p_i are the probabilities of different possible messages.[3]
This function has precisely the properties a good measure of information content or uncertainty should have: it is maximized when all messages are equally probable (maximum uncertainty), it is zero when one message is certain (no uncertainty), and it is additive for independent sources.
Shannon named the unit of measurement "bits" (binary digits), and the Shannon entropy of a source measures the average number of bits needed to encode a message from that source - which is also the irreducible uncertainty about the message before it is received.
John von Neumann is said to have suggested "entropy" as the name and there is no coincidence in the formal mathematical identity with Boltzmann's thermodynamic entropy.
The thermodynamic entropy S = -k sum(p_i log p_i), where the sum is over microstates, is the same expression as Shannon's H except for the constant k (Boltzmann's constant, a unit conversion factor).
This identity means that thermodynamic entropy can be interpreted as the amount of information required to fully specify the microstate of a system given knowledge of its macrostate - the information content of the missing microscopic details.
E.T. Jaynes developed this interpretation most thoroughly, showing that all of statistical mechanics could be derived from information-theoretic maximum entropy principles.[8]
Negentropy: Life, Order, and the Second Law
Erwin Schrodinger's "What Is Life?" (1944), a short set of lectures attempting to apply the principles of physics to the phenomenon of living organisms, introduced the concept of "negative entropy" (later condensed by Brillouin to "negentropy").[5]
Living organisms maintain their highly organized, low-entropy internal structure against the tendency of the second law to increase disorder and that is the simple yet profound argument Schrodinger made.
They do so by importing order from the environment and exporting disorder. Food is low-entropy chemical energy; metabolic waste and heat are high-entropy. Sunlight is low-entropy electromagnetic radiation; infrared radiation emitted by organisms is higher-entropy thermal radiation.
Life does not break or bypass the second law. Schrodinger was countering a common misunderstanding that life somehow broke or got around the second law and a living organism is a thermodynamically open system, constantly exchanging matter and energy with its surroundings.
Its local entropy can decrease because larger entropy increases are being exported.
Thermodynamically speaking, the organism is an entropy-generating engine that keeps its own low-entropy structure going by taking in low-entropy inputs and giving off high-entropy outputs at a rate that raises total entropy faster than a simple equilibrium process would.
This framework has influenced the understanding of the origins of life. Life's emergence required not a violation of thermodynamics but a thermodynamic context: the enormous entropy gradient provided by a hot young Sun radiating into the cold background of space.
From this gradient came the free energy that ran the complex chemistry leading to self-replicating molecules and powers the biosphere still.
Complexity is not something the second law forbids. The law ensures that complex structures will appear as entropy-generating systems converting low-entropy inputs into high-entropy outputs more efficiently over time.
For broader implications of how systems maintain order far from equilibrium, see how-the-universe-began.
Free Energy, Brains, and Karl Friston's Conjecture
Karl Friston's free energy principle is one of the more ambitious recent applications of entropy concepts in science. It was proposed as a unifying framework for understanding brain function and possibly all biological systems.[9]
Drawing on the thermodynamic concept of free energy as the Helmholtz or Gibbs free energy that measures useful work available from a system, Friston translated it into information-theoretic terms. He proposed that brains are fundamentally entropy-minimizing systems. In particular, they minimize what he called surprise or free energy in a variational Bayesian sense.
Technically demanding as well as disputed about how it connects to standard neuroscientific findings, Friston's framework makes perception and action both understandable as strategies for reducing the gap between what the brain models of the world and what actual sensory input it gets.
Perception updates the model to fit the input; action changes the world to fit the model. Both serve to minimize surprise - and surprise, in this framework, is a measure of the improbability of the observed sensory data given the brain's model. Improbability is related to information content, which is related to entropy.
It is too early to say whether Friston's framework will turn out as productive as its supporters hope. Still, its ambition to link the thermodynamic concept of entropy with the basic operation of the brain shows how far-reaching was Boltzmann's original idea.
The Cosmological Horizon: Heat Death and Recurrence
The long-term fate of the universe, according to entropic reasoning, is "heat death" - a state of maximum entropy in which all usable energy gradients have been dissipated. Stars burn out as their nuclear fuel is exhausted.
Gradually losing entropy through Hawking radiation over timescales of 10^67 to 10^100 years, black holes represent the most compact concentration of entropy in the universe.
Eventually the universe consists of an extremely dilute sea of photons, neutrinos and stable elementary particles in thermal equilibrium with no free energy left to drive any further process.
In this state, no work can be extracted, no information can be processed, no organized structures can be maintained. Time in any meaningful thermodynamic sense ceases to exist.
This scenario, which follows from straightforward application of the second law to the universe as a whole, was first described by William Thomson (Lord Kelvin) in 1851. It is consistent with current cosmological data, though the accelerating expansion of the universe introduces additional complications.
Boltzmann himself found an escape route or rather a logical complication. Any finite, bounded, energy-conserving mechanical system will come back arbitrarily close to where it started after enough time according to the Poincaré recurrence theorem, which was set up in 1890.
The required time is enormous (for a system of the complexity of a mole of gas, the recurrence time vastly exceeds the current age of the universe) but it is finite.
Even a heat-death state will eventually produce spontaneous low-entropy fluctuations when this rule is applied to the universe.
And a fluctuation could, in principle, spontaneously produce a structure as complex as an entire brain complete with false memories of an ordered past (a "Boltzmann brain") which is vastly more probable than a fluctuation producing an entire ordered universe.
The Boltzmann brain problem has become a serious constraint on cosmological theories. A satisfactory theory of the universe's origins should be able to explain why actual structured observers arose from a low-entropy Big Bang rather than being spontaneous fluctuations in an otherwise high-entropy cosmos.
This is not merely a puzzle for physicists; it points to the deep connection between the direction of time, the initial conditions of the universe, and the very existence of a physical world stable enough to support observers capable of noticing these facts.
Sources & Further Reading
- Clausius, R. (1865). Uber verschiedene fur die Anwendung bequeme Formen der Hauptgleichungen der mechanischen Warmetheorie. Annalen der Physik, 201(7), 353-400.
- Boltzmann, L. (1877). Uber die Beziehung zwischen dem zweiten Hauptsatze der mechanischen Warmetheorie und der Wahrscheinlichkeitsrechnung. Wiener Berichte, 76, 373-435.
- Shannon, C. E. (1948). A mathematical theory of communication. Bell System Technical Journal, 27(3), 379-423. View source
- Landauer, R. (1961). Irreversibility and heat generation in the computing process. IBM Journal of Research and Development, 5(3), 183-191. View source
- Schrodinger, E. (1944). What Is Life? The Physical Aspect of the Living Cell. Cambridge University Press.
- Carroll, S. (2010). From Eternity to Here: The Quest for the Ultimate Theory of Time. Dutton.
- Bennett, C. H. (1982). The thermodynamics of computation - a review. International Journal of Theoretical Physics, 21(12), 905-940. View source
- Jaynes, E. T. (1957). Information theory and statistical mechanics. Physical Review, 106(4), 620-630. View source
- Friston, K. (2010). The free-energy principle: A unified brain theory? Nature Reviews Neuroscience, 11(2), 127-138. View source








