Thermodynamicsundergraduategraduate
Maxwell's Demon and Information
Also known as: Szilard engine · Landauer's principle
Sorting molecules looks free, but erasing the demon's memory pays the full entropy bill.
Live simulation
warming up the physics…
A demon at a trap door sorts fast (red) molecules to the right and slow (blue) to the left; the Landauer readout shows erasing the demon's N memory bits costs at least NkT ln2, saving the Second Law.
Equivalent forms
The thought experiment that revealed information IS physical — a bit of knowledge has a thermodynamic price of k_B T ln2.
Unit systems
- SI:
- W in J
- natural:
- in units of k_B T
- CGS:
- W in erg
Where it holds
Resolution holds for any physical implementation of memory; Landauer's bound has been verified experimentally in colloidal and electronic single-bit systems.
Discovery
James Clerk Maxwell; resolved by Szilard, Landauer & Bennett · 1867
Maxwell posed the demon in 1867; Szilard (1929) linked it to information, Landauer (1961) showed erasing a bit costs kT ln2, and Bennett (1982) closed the case using the demon's memory.
Try this
Can a clever gatekeeper break the Second Law?
Maxwell imagined a tiny demon sorting fast molecules from slow ones to create a temperature difference for free. It took 150 years and the physics of information to exorcise it.
Research status: active
Common misconceptions
The demon is not defeated by the energy of measurement — measurement can in principle be reversible; the irreducible cost is ERASING the accumulated information to reset the demon.
Derivation
A Szilard engine extracts from a single molecule once the demon knows which half it is in.
But storing that one bit and later erasing it (to reset for the next cycle) compresses the memory's phase space by a factor 2, decreasing its entropy by k_B ln2 — which by the Second Law requires dumping at least k_B T ln2 of heat.
The books balance exactly: no net work.
Limiting cases
Demon never erases memory⟶ Memory fills up; once finite, it must be reset, paying k_B T ln2 per bit
⟶ Erasure cost , but the Third Law makes reaching impossible
One-molecule Szilard engine⟶ Extracts exactly k_B T ln2 of work per cycle — precisely cancelled by the measurement/erasure cost