Skip to content

Maxwell's Demon

A thermodynamic thought experiment in which an information-using agent selectively gates fast and slow molecules between chambers, seemingly lowering entropy until measurement, memory, and erasure are included in the system.

Version
v2 · 2026-11-14 · History
Domain-specific #
10625
Domain group
Natural Sciences
Origin domain
Physics
Subdomains
Thermodynamics, Statistical Mechanics → Physics

Core Idea

Maxwell's demon imagines a being controlling a tiny door between two gas chambers. By admitting fast molecules preferentially one way and slow molecules the other, it creates a temperature difference and apparently reduces gas entropy without ordinary work, challenging the second law.

The modern lesson is that the demon is a physical information processor. Measurement, feedback, memory, correlations, error, and especially restoration of a reusable memory state belong in the full thermodynamic accounting. Experimental information engines can realize demon-like feedback, but none has produced a net violation when system and controller are included. The thought experiment therefore probes what counts as the system and how information acquires physical cost.

How would you explain it like I'm…

Tiny Door Sorter

Imagine a tiny helper standing at a little door between two boxes of air. It lets fast-zooming bits go one way and slow bits go the other, so one box gets warm and the other gets cold. It seems like magic for free! But the helper has to watch and remember, and clearing its memory to keep going costs energy, so it isn't free after all.

The Molecule-Sorting Demon

Maxwell's Demon is a thought experiment: an imaginary tiny creature controls a door between two boxes of gas. By letting fast molecules into one side and slow ones into the other, it makes one side hot and one side cold without seeming to do any work. That would break an important rule of physics that says things naturally get more mixed up, not less. The answer is that the demon is a real thing too: it has to measure, remember, and erase its memory to keep working, and that costs energy. Real experiments with demon-like machines have never beaten the rule once the machine itself is counted.

Information Has a Cost

Maxwell's Demon imagines a being operating a tiny door between two chambers of gas. By letting fast molecules pass one way and slow ones the other, it creates a temperature difference and seems to lower the gas's entropy (disorder) without doing ordinary work, which would contradict the second law of thermodynamics. The modern resolution treats the demon as a physical information processor. Measuring molecules, storing the results, and especially resetting its memory so it can be reused all have physical costs that must be counted. Lab-built information engines can perform demon-like feedback, but none has produced a net violation when both the gas and the controller are included.

 

Maxwell's demon is a thought experiment in which a being controls a small door between two gas chambers, admitting fast molecules preferentially in one direction and slow molecules in the other. This sorting builds a temperature difference and apparently reduces the gas's entropy without ordinary work, seemingly violating the second law of thermodynamics. The modern view is that the demon must be treated as a physical information processor. Measurement, feedback control, memory, correlations between demon and gas, errors, and especially the restoration of a reusable memory state all enter the full thermodynamic accounting. Experimental information engines have realized demon-like feedback, but none has achieved a net violation once the system and controller are both included. The thought experiment's real value is in forcing a careful answer to what counts as the system, and in showing that information has physical cost.

Structural Signature

Sig role-phrases:

  • thermal molecular ensemble. Supplies random molecular speeds in chambers near equilibrium. Constitutive system. If altered: Macroscopic sorting without thermal fluctuations misses the thought experiment.
  • microscopic measurement. Lets the agent distinguish relevant molecular states. Identity-bearing information input. If altered: Selection cannot occur without information or an equivalent physical coupling.
  • selective gate controller. Opens or closes a partition based on measured state. Constitutive feedback action. If altered: An always-open door does not sort molecules.
  • entropy or work balance. Tracks the apparent temperature gradient and total thermodynamic cost. Constitutive question. If altered: Looking only at the gas omits controller and memory.
  • information-processing embodiment. Accounts for memory, reset, noise, and physical implementation. Necessary resolution boundary. If altered: Information is not costless abstraction when operated physically.

What It Is Not

  • Refrigerator. Is ordinary external work explicit?
  • Brownian ratchet. Is molecular measurement and feedback present?
  • Szilard engine. Is the one-particle variant intended?
  • Entropy fluctuation. Is an agent sorting based on information?

Scope of Application

Use Maxwell's demon for information-dependent thermodynamic sorting with system boundaries, cycle, measurement, feedback, memory, and entropy accounting explicit.

  • Statistical mechanics. Tests the second law.
  • Information theory. Links bits and thermodynamic cost.
  • Quantum thermodynamics. Studies measurement and feedback.
  • Philosophy of physics. Clarifies law and observer.
  • Nanoscale experiments. Implements information engines.

Clarity

The gas can lose entropy locally while controller, memory, and environment compensate; subsystem decrease is not total violation.

Manages Complexity

Claims depend on a complete cycle. A device that consumes a prepared low-entropy memory or external work can imitate sorting once but must include resource preparation before claiming net gain.

Abstract Reasoning

  1. Define gas, controller, memory, and environment boundaries.
  2. Specify measurement and conditional gate action.
  3. Calculate gas entropy and extracted work.
  4. Close the controller and memory cycle.
  5. Compare total entropy production with the second law.

Knowledge Transfer

Information-dependent feedback transfers to control systems, but molecular thermal fluctuations and total entropy accounting delimit Maxwell's demon. The nearest stopping boundary is explicit: A Szilard engine is closest: it distills the information-thermodynamics issue into a one-particle cycle, but is a distinct thought-experimental model. The inclusion test remains: A setup instantiates Maxwell's-demon problem when microscopic information controls selective thermal transitions and the full entropy or work balance is analyzed. The structure no longer applies when the case exits when selection does not depend on microscopic state or thermodynamic cost of controller and information is excluded by definition rather than analyzed.

Examples

Canonical

A hypothetical gate measures approaching molecular speed, sorts fast and slow molecules into opposite chambers, and then includes the energy and entropy costs of recording and resetting its decisions.

Mapped back: thermal molecular ensemble → two gas chambers; microscopic measurement → molecular speed; selective gate controller → conditional door; entropy or work balance → temperature gradient and total entropy; information-processing embodiment → memory reset.

Applied / In Practice

A powered refrigerator separates hot and cold regions using external work. It is thermodynamic machinery, but not the demon puzzle because its energy input is already explicit and no molecular information paradox arises.

Mapped back: thermal molecular ensemble → working fluid; microscopic measurement → absent; selective gate controller → compressor cycle; entropy or work balance → external work explicit; information-processing embodiment → not central.

Structural Tensions

T1: local entropy decrease vs. total second law. Sorting cools one subsystem while information processing has costs. Diagnostic: Where is the full boundary?

T2: abstract information vs. physical memory. A bit seems logical but must be embodied for cyclic use. Diagnostic: What resource prepares and resets it?

Structural–Framed Character

Description turns on thermal molecular ensemble, microscopic measurement, selective gate controller, entropy or work balance, information-processing embodiment. Skeletal core. Measurement conditions microscopic transitions to extract an ordered gradient from fluctuations. Domain-bound accent. Gas molecules, chambers, temperature, entropy, gates, memory, erasure, and the second law define the demon. Transfer remains bounded because Why not prime. Feedback from information is portable; this is its canonical thermodynamic paradox. The negative boundary is concrete: Any feedback controller, sorting machine, refrigerator, one-way valve, intelligent agent, Brownian ratchet, information engine, or entropy fluctuation is not automatically Maxwell's demon. Maxwell's demon is thought-experimental-causal: selective molecular feedback exposes the physical role of information in thermodynamic accounting. Its character: entropy challenged by a gate that knows which molecule approaches.

Structural Core vs. Domain Accent

Skeletal core. Measurement conditions microscopic transitions to extract an ordered gradient from fluctuations.

Domain-bound accent. Gas molecules, chambers, temperature, entropy, gates, memory, erasure, and the second law define the demon.

Why not prime. Feedback from information is portable; this is its canonical thermodynamic paradox.

This entry is a kind of Thought Experiment.

  • Second law of thermodynamics. The demon appears to challenge it.
  • Landauer principle. Memory erasure helps close the accounting.
  • No strict parent is asserted.

Relationships to Other Abstractions

Local relationship map for Maxwell's DemonParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Maxwell's DemonDOMAINPrime abstraction: Thought Experiment — is a kind ofThoughtExperimentPRIME

Current abstraction Maxwell's Demon Domain-specific

Parents (1) — outgoing typed relations

  • Maxwell's Demon is a kind of Thought Experiment Prime

    Maxwell's demon is a thermodynamic thought experiment about information, entropy, and selective control.

Hierarchy paths (2) — routes to 2 parentless roots

Neighborhood in Abstraction Space

Maxwell's Demon sits in a moderately populated region (54th percentile for distinctiveness): it has near-neighbors but no dense thicket of look-alikes.

Family — Thermodynamics & Dissipative Systems (22 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

Not to Be Confused With

  • Refrigerator. Tell: Is ordinary external work explicit?
  • Brownian ratchet. Tell: Is molecular measurement and feedback present?
  • Szilard engine. Tell: Is the one-particle variant intended?
  • Entropy fluctuation. Tell: Is an agent sorting based on information?

References

  • Frozen Wikipedia discovery revision: https://en.wikipedia.org/wiki/Maxwell%27s_demon (revision 1363498691).