Entropy and the Cost of Information
The second law of thermodynamics, in its nineteenth-century formulation, was a statement about heat. Energy flows from hot to cold, never the reverse. The disorder of an isolated system tends to increase. Engines could not be designed to extract useful work from a single thermal reservoir without doing other work.
The law was empirical, derived from steam engines and thought experiments. Its deeper meaning was unclear. Why should the universe favor disorder? What was disorder anyway? Boltzmann gave one answer, statistically: there are vastly more disordered microstates corresponding to any given macroscopic description than ordered ones, so a system left to itself drifts statistically toward disorder. This was a profound clarification, but it did not exhaust the topic.
In 1948, Claude Shannon, working on the mathematics of telegraphy, defined a quantity for measuring information. He needed a number that captured how much you learn when a message arrives. If the message was something you already expected, you learn little; if it was surprising, you learn a lot. He defined information as the logarithm of the inverse probability — high for rare messages, low for common ones — and was struck by the resemblance of the resulting formula to Boltzmann's expression for thermodynamic entropy.
The resemblance was not a coincidence. Information and entropy turn out to be the same kind of quantity, expressed in different units. Entropy is, in a deep sense, missing information — the gap between what you know about a system's macroscopic state and what would be required to specify it completely at the microscopic level.
This identification produces some striking consequences. In 1961, Rolf Landauer at IBM derived what is now called Landauer's principle. The act of erasing a bit of information from a computer's memory must release a certain minimum amount of heat into the environment — at least kT ln 2 of energy, where k is Boltzmann's constant and T is the temperature. The connection runs the other way too. Computation that does not erase information, in principle, can be performed without thermodynamic cost. The cost of computing is not in the calculation itself but in the throwing away of what you no longer need.
The physical lower bound is far below what current technology approaches; modern processors dissipate millions of times more energy per operation than Landauer's principle requires. But the principle is real, and it places a hard floor on how efficient any computing device can ever become.
There is a long history of attempts to defeat the second law using cleverness. The most famous is Maxwell's demon, a thought experiment in which a tiny being sorts fast molecules into one chamber and slow molecules into another, apparently creating a temperature difference and therefore useful energy out of nothing. The resolution took more than a century to fully work out. The demon must remember which molecules went where; remembering is recording information; the recorded information eventually fills the demon's memory; erasing that memory to make room for more dissipates exactly the heat that the demon was trying to extract. The demon does no net work. The bookkeeping is preserved. Information is not a free resource.
The deeper picture that emerges is that the second law is not just about heat engines. It is about the fundamental currency of any process that distinguishes one thing from another. To know something is to have eliminated alternatives, which is to have done thermodynamic work somewhere in the universe. Every measurement, every observation, every computation is a thermodynamic event. The universe and the laptop are constrained by the same accounting.
This has stranger implications still. Some physicists have argued, with varying degrees of speculation, that information is more fundamental than matter or energy — that the universe is best understood as a vast computation, with energy and matter as derived quantities. The argument is not settled and may never be. What is settled is that the line between physics and information theory, once thought to be a tidy boundary, is now understood as the same continent viewed from different sides.