A PodFoundry episode

Aug 2, 2026 · 20 min

PhysicsScienceEducation

A Scottish physicist's 1867 thought experiment about a tiny being that sorts gas molecules threatens to break the Second Law of thermodynamics—until a century of physics reveals the hidden cost. The episode traces how the demon's apparent trick hinges on a radical insight: information is physical, and erasing it always generates heat. From that principle flows a direct line connecting Victorian steam engines, modern computing, and the unsolved puzzles at the edge of black holes.

Go to PodFoundry Make an episode like this

Questions this episode answers

Cormac, set the box up for us — what did Maxwell actually imagine?

Right. You take a box of gas, ordinary air, sitting at one even temperature.

Cormac, in the episode

Why did serious people spend a hundred and fifty years on it?

Ah, but that's the trap, and it's a good question. The demon doesn't have to be magic.

Cormac, in the episode

So what's wrong with it?

What's wrong is that it turned out not to be fundamentally true.

Cormac, in the episode

Why should forgetting cost anything?

Yeah, make me believe it, because on the face of it erasing sounds like doing less, not more.

Aisha, in the episode

Good, because I was going to ask — is that a settled fact or a popular framing?

It's somewhere in between. Landauer's principle itself — that erasing a bit has a minimum heat cost — that's now been tested.

Cormac, in the episode

Now the demon fantasy is: what if I had a being clever enough to catch all that spread-out warmth and herd it back into the cup?

And the answer is — it could try. But to herd it back, it has to know where every scattered bit of heat went.

Cormac, in the episode

AI-generated podcast for informational purposes only. Hosts and voices are synthetic. Not affiliated with or endorsed by the companies or people discussed. All trademarks are the property of their respective owners and are used here only to refer to those companies (nominative use). Corrections.

Maxwell's Demon and the Physics of Information

Physics · Aug 2, 2026 · 20 min

Aisha Kane · Cormac Lowe · Ezra Vance

by Jeff Hamilton
Make an episode like this

A Scottish physicist's 1867 thought experiment about a tiny being that sorts gas molecules threatens to break the Second Law of thermodynamics—until a century of physics reveals the hidden cost. The episode traces how the demon's apparent trick hinges on a radical insight: information is physical, and erasing it always generates heat. From that principle flows a direct line connecting Victorian steam engines, modern computing, and the unsolved puzzles at the edge of black holes.

Hosts

  • Aisha Kane

    Warm lead host who keeps the thread clear and the energy up.

  • Cormac Lowe

    Measured co-host who grounds every claim in evidence.

  • Ezra Vance

    Energetic host who brings the vivid, concrete examples.

Transcript

Aisha

There's a letter from the year 1867, written by a Scottish physicist named James Clerk Maxwell, and in it he casually invents a little creature whose only job is to break the laws of physics. He didn't even give it a name. Somebody else called it a demon, and the poor man spent years grumbling that he never meant anything so sinister.

Cormac

He called it, if I remember rightly, a "finite being." Which is a far less catchy title, and I think history was right to overrule him.

Aisha

It really was. I'm Aisha Kane, and I will confess up front — my whole reason for loving this story is that it starts as a joke and ends up rearranging what we think a computer is. That's the thread I want to pull today.

Cormac

Cormac Lowe. And I'll be the one asking, at every turn, whether the tidy story we're telling actually holds up — because this is a topic where the elegant version and the true version aren't always the same thing.

Ezra

And I'm Ezra Vance. Okay, so picture — no, sorry, don't picture, I'm told I'm not allowed to say that. Let me just tell you: I once spent an afternoon trying to separate a jar of mixed black and white sand back into two layers, by hand, with tweezers, for an art project. Four hours. My wrist hurt for days. That, roughly, is the job description of Maxwell's demon, and today I get to tell you why it's secretly impossible.

Aisha

See, that's the perfect way in. Ezra, hold onto that sand, because we're coming back to it.

Aisha

So let's build the picture properly. Cormac, set the box up for us — what did Maxwell actually imagine?

Cormac

Right. You take a box of gas, ordinary air, sitting at one even temperature. Now, "one temperature" is a bit of a lie we tell ourselves. The air isn't uniform down at the molecular level — some of those molecules are zipping along fast, some are dawdling. Temperature is really just the average of all that chaos.

Ezra

It's like saying the average age in a room is forty when you've got toddlers and grandparents and nobody's actually forty.

Cormac

That's it exactly. So Maxwell says: put a wall down the middle of the box, with one tiny door in it. And you station a little being at the door — sharp-eyed, quick-fingered — who watches the molecules coming.

Aisha

And here's the mischief. When a fast one comes from the right heading left, the demon opens the door and lets it through. When a slow one comes from the left, it lets that through the other way—

Ezra

So it's sorting. Fast ones pile up on one side, slow ones on the other.

Cormac

And slowly, without pushing anything, without spending any obvious effort, one side of the box gets hot and the other gets cold. All the fast molecules on the left, all the slow ones on the right.

Aisha

Which sounds harmless until you realize what you've just built.

Ezra

You've built free energy! A hot side and a cold side — that's a temperature difference, and a temperature difference is a battery. You can run an engine off it. So the demon just sorted a room-temperature box into a power source for nothing.

Cormac

And "for nothing" is the crime. Because the Second Law of thermodynamics says heat doesn't flow from cold to hot on its own. Order doesn't assemble itself out of chaos for free. Yet here's this little being apparently doing exactly that, just by being clever about a door.

Aisha

Now I want to slow down on why this genuinely bothered people, because I think "it breaks a law" undersells it.

Cormac

It does, yeah. The Second Law isn't some minor accounting rule. It's arguably the most reliable statement in all of physics. It's the reason time has a direction — why you remember the past and not the future, why the coffee cools and never spontaneously reheats.

Ezra

It's why you can't unscramble an egg. Everybody's got the intuition even if they've never heard the words.

Aisha

So let me push here, because I want the objection on the table early. Isn't the easy answer just — the demon is imaginary? It's a magic creature. Of course magic breaks the law. Why did serious people spend a hundred and fifty years on it?

Cormac

Ah, but that's the trap, and it's a good question. The demon doesn't have to be magic. Nothing it does is supernatural. Looking at a molecule — that's just measurement. Opening a door — that's just a little mechanism. Every single step seems like something you could, in principle, build.

Ezra

Right, there's no step where it waves a wand. It's watch, decide, open, close. Those are all ordinary verbs.

Cormac

And that's what makes it dangerous. If every individual action is allowed by physics, then the combination should be allowed too. So either the Second Law is wrong — which, given how bulletproof it is, seems mad — or there's a hidden cost somewhere in "watch, decide, open, close" that we're not counting.

Aisha

And that hidden cost is the whole story. That's the punchline that takes a century to arrive.

Ezra

I love that the answer to "how does the demon cheat" turns out to be "it doesn't, and here's the bill it forgot about."

Aisha

But the first guess at the bill was wrong, wasn't it? I think that's worth being honest about.

Cormac

It's very worth it, because the history here is messier than the tidy telling. The early attempts — and this runs through the nineteen twenties into the fifties, people like Leó Szilárd, later Léon Brillouin — the instinct was: the cost is in the seeing.

Ezra

The demon has to look at the molecule. And to look, in a dark box, you need — what, a little flashlight? A photon of light bouncing off the molecule so you can see it?

Cormac

Exactly the idea. And shining that light, absorbing that photon, that dumps a bit of heat, makes a bit of entropy. And the claim was: that measurement cost always at least balances the books. The demon pays for its cleverness at the moment it observes.

Aisha

And that's satisfying. It feels right. So what's wrong with it?

Cormac

What's wrong is that it turned out not to be fundamentally true. Measurement, in principle, does not have to cost you anything. You can, at least in the idealized physics, observe which side a molecule is on without necessarily paying an unavoidable entropy tax for the observation itself.

Ezra

Wait — so the flashlight answer, the one that everybody found so convincing, was just... incomplete?

Cormac

It located the cost in the wrong place. The bill is real. It's just not where they first pointed.

Aisha

And this is exactly why I keep prodding — because the convincing answer and the correct answer parted ways here, and a lot of textbooks still teach the convincing one.

Ezra

So where's the actual charge? If it's not the looking?

Aisha

This is where a man named Rolf Landauer comes in, at IBM, around 1961.

Cormac

Yes. And Landauer asks a completely different question. Never mind looking at the molecule — what about remembering it? The demon has to hold, even for a moment, the fact of "this one's fast, let it through." It has a little memory. A notepad.

Ezra

A demon with a notepad. Okay.

Cormac

And here's Landauer's insight, which is genuinely one of the deep results of the twentieth century. Writing to that notepad — fine. But the demon can't keep writing forever. It's a finite being, remember, Maxwell's own words. At some point the notepad is full. To keep working, it has to erase.

Aisha

And erasing is the expensive part.

Cormac

Landauer showed that erasing information — throwing away a bit, resetting your memory to blank — that necessarily dumps heat into the surroundings. It necessarily creates entropy. You cannot logically forget something for free.

Ezra

Okay, I need to feel this one, because it sounds almost mystical. Why should forgetting cost anything?

Aisha

Yeah, make me believe it, because on the face of it erasing sounds like doing less, not more.

Cormac

Think of it this way. Imagine a bit of memory as a single marble sitting in a box with two dips in the floor — a left dip and a right dip. Left is zero, right is one. Right now the marble's in one of them, and that tells you something: it's storing a bit.

Ezra

Okay, marble in a valley. With me.

Cormac

Now "erase" means: no matter where the marble started, I want it to end up in, say, the left dip. Guaranteed. Reset to zero. But to force something that could've been in either place into one definite place — you have to squash the two possibilities into one. You're taking two situations and merging them into a single situation.

Aisha

And you can't quietly merge two things into one.

Cormac

You cannot. Physics keeps count. Squeezing two possible states down into one is like compressing a gas into half its container — it pushes back, and doing it releases heat. The information didn't vanish. It got paid out, as warmth, into the room.

Ezra

Oh — so the information doesn't disappear, it gets converted. Like the memory turns into heat when you delete it. That's — okay, that's a little haunting, actually.

Aisha

And that reframes the whole demon. The demon can watch all it likes. The moment it has to clear its notepad to keep going — that's when it pays. And when you add that cost up, it's always at least as big as the free energy it thought it was stealing.

Cormac

The books balance. The Second Law survives. But — and I want to be careful — it survives by the skin of its teeth, and only once you treat the demon's memory as a physical thing that lives in the world, not some free-floating spirit.

Aisha

And that phrase — Landauer's own slogan, I believe — was "information is physical."

Cormac

That was his rallying cry, yes. And it sounds like a bumper sticker until you sit with what today established. A bit of information — a yes or no, a zero or one — is not an abstraction floating above the world. It has to be stored in some physical thing. A marble, a magnet, a voltage, a molecule. And because it's physical, it obeys physics.

Ezra

So the thing I think is wild is that this connects two subjects that have no business being related. Thermodynamics is, like, steam engines and Victorian factories. Information theory is Claude Shannon, telephones, the nineteen forties, sending bits down a wire. Totally different worlds.

Aisha

And they turn out to be the same subject wearing two coats.

Ezra

The same equation shows up in both! The measure of disorder in a hot gas and the measure of uncertainty in a message — it's the same mathematical shape. Entropy in the physics sense and entropy in the information sense. People argued for years about whether that was a real connection or just a spooky coincidence.

Cormac

And I'll flag honestly — some people still argue about how deep the identity really goes. There are careful physicists who think the "information equals entropy" story gets oversold, that it's a useful bookkeeping analogy more than a literal equation of two things.

Aisha

Good, because I was going to ask — is that a settled fact or a popular framing?

Cormac

It's somewhere in between. Landauer's principle itself — that erasing a bit has a minimum heat cost — that's now been tested. There've been laboratory experiments, in the twenty-tens, with tiny particles held in little optical traps, measuring the heat given off when you reset a single bit. And it lands where the theory says it should, at least to the precision they could manage.

Ezra

So the demon's electricity bill has actually been measured in a lab. On a single bit. That's the part that gets me — it's not a thought experiment anymore.

Aisha

Ezra, you promised us the sand. Let's cash that in, because I think the everyday version matters.

Ezra

Okay, my four hours of tweezers. So here's what I didn't appreciate at the time. I was being the demon. I was looking at each grain — black or white — deciding, and sorting. And the reason I was exhausted afterward wasn't just the tweezers. It was that I was doing the demon's real job: I was turning information about each grain into a decision, over and over.

Cormac

And your brain was throwing off heat doing it. You were a warm, tired, entropy-generating sorting machine.

Ezra

I was sweating over sand! And the Second Law was just sitting there going, "yep, that tracks."

Aisha

Here's the version I always reach for, though — the coffee. You've got a hot coffee cooling on the desk. The heat spreads out into the room, the room warms by a hair, and it never comes back. Now the demon fantasy is: what if I had a being clever enough to catch all that spread-out warmth and herd it back into the cup?

Cormac

And the answer is — it could try. But to herd it back, it has to know where every scattered bit of heat went. It has to measure, remember, and act on an enormous amount of information. And storing and eventually clearing that mountain of information costs more than the warmth you'd recover.

Ezra

You'd spend more coffee's-worth of energy running the demon than you'd ever get back in the cup.

Aisha

So the universe isn't forbidding you from unmixing the cream. It's just charging you a price, and the price is always a little higher than the prize.

Cormac

That's beautifully put, and it's the honest shape of it. The Second Law isn't a wall. It's a toll booth. You can go wherever you like — you just can't come out ahead.

Aisha

Let's do a lightning round of the traps, because I know smart listeners are already forming the wrong pictures.

Ezra

First one — and I had this one — the demon fails because "measurement costs energy." We just said: no. That was the old answer. The cost is in the erasing, the forgetting, not the looking.

Cormac

Second, and this is subtle — some physicists argue the whole "memory erasure saves the day" story is itself too neat. There's a paper by an engineer named Kostic, a few years back, making the case that the demon fails for a much more basic reason: even opening that door, at the exact instant you want, without disturbing all the other jostling molecules crashing around — that's already impossible in a real gas. The chaos won't hold still long enough to be gated.[1]

Aisha

So on that view the demon dies before we even get to the notepad.

Cormac

On that view, yes. And I raise it not to confuse people but because it's honest — the field genuinely contains more than one exorcism of the demon, and thoughtful people disagree about which one does the real work.

Ezra

Third trap — thinking any of this lets you actually break the Second Law with a good enough gadget. It doesn't. Every route anyone's found closes the loophole. The demon has never once gotten away with it.

Aisha

And fourth — the one I'd most want to correct — thinking this is all just cute philosophy. It isn't. Landauer's principle sets a hard floor on how little energy a computation can use. Every time your laptop deletes a file, resets a register, there is a theoretical minimum heat it must give off, and it's got Landauer's name on it.

Cormac

We're nowhere near that floor, mind you. Real chips waste enormously more than the theoretical minimum. But the floor is real, and as computing gets denser and hotter, it stops being philosophy and starts being an engineering constraint.

Ezra

The demon went from a joke in a letter to a line item in chip design. That's the whole arc right there.

Aisha

And it reaches further, doesn't it? This information-and-heat link shows up in the strangest corners.

Cormac

It does — though here I want to tread carefully, because this is where popular accounts get loose. The same bookkeeping appears in black hole physics. Bekenstein and Hawking, back in the seventies, found that a black hole has an entropy and a temperature, and that its entropy is tied to its surface area.[2]

Ezra

And there's this whole raging puzzle — the information paradox — about whether information that falls into a black hole is destroyed forever, which would break the rules, or whether it somehow leaks back out.

Cormac

Right. And I'll be plain: that is very much unsettled physics. There are people still publishing on it, trying to bring exactly Landauer and Shannon's information ideas to bear on black holes. I saw one such paper recently. Whether any of it is the final word — nobody honest would claim that yet.[3]

Aisha

But the through-line is gorgeous. The same question Maxwell scribbled about a box of air — does information have a physical cost? — is the question people are now asking about the edge of a black hole.

Ezra

A cartoon demon at a trapdoor and the event horizon of a collapsed star are, in some deep sense, the same conversation.

Aisha

So let me try to gather this up. We started with a joke — a little being at a door, cheating the universe.

Cormac

And we found it can't cheat. Not because it's forbidden from being clever, but because cleverness itself is physical. Knowing costs. Remembering costs. And forgetting, most of all, costs — it's the moment the ledger comes due.

Ezra

The thing I'm going to carry out of this — information isn't this weightless, free thing floating above the world. It's got a footprint. It's made of matter, it runs warm, and you can't sweep it under the rug without paying heat to the room.

Aisha

And I love that the answer took a hundred years, and that even now there's more than one answer competing, and everyone's still a little bit arguing about it.

Cormac

Which is the healthiest possible state for a good idea to be in. Maxwell tossed off a puzzle he thought was a bit of fun, and it turned out to be a thread running straight through steam engines, telephones, laptops, and the hearts of dying stars. Not bad for a finite being with no name.

Ezra

I still think somebody owes me for the sand, though.

Aisha

Take it up with the Second Law, Ezra. It never gives refunds. Thank you both — this was a joy.

Cormac

A pleasure, genuinely.

Ezra

Best afternoon I've had since the tweezers.

Cormac

This episode was generated with AI by PodFoundry.

Sources

  1. “There's a paper by an engineer named Kostic” Kostic's paper argues Maxwell's demon fails due to interference of chaotic molecules during gating. — Maxwell's Demon and its Fallacies Demystified
  2. “Bekenstein and Hawking, back in the seventies, found that a black hole has an entropy” Source discusses Bekenstein and Hawking's foundational work on black hole thermodynamics. — The Measurement Problem in the Thermodynamics of Black Holes - PubMed
  3. “I saw one such paper recently” Refers to a recent paper applying Landauer/Shannon information concepts to black hole thermodynamics. — The Measurement Problem in the Thermodynamics of Black Holes - PubMed

Rate this episode

Loading…

Discussion

Loading comments…

Embed this player

Paste this on your site — a tiny PodFoundry player your readers can listen to inline. How embeds work →

Loading…