# Maxwell's Demon question: What if the demon is not a "finite being"?

**URL:** <https://boards.straightdope.com/t/maxwells-demon-question-what-if-the-demon-is-not-a-finite-being/855091>\
**Category:** Factual Questions\
**Created:** [June 5, 2020, 9:39am UTC](https://boards.straightdope.com/t/maxwells-demon-question-what-if-the-demon-is-not-a-finite-being/855091 "2020-06-05T09:39:33Z")\
**Posts on this page:** 15\
**Page:** 2

<div class="post-metadata">

**Author:** ![Blue\_Blistering\_Barnacle](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/blue_blistering_barnacle/32/3386_2.png) [@Blue\_Blistering\_Barnacle](https://boards.straightdope.com/u/Blue_Blistering_Barnacle)\
**Post date:** [June 6, 2020, 3:36pm UTC](https://boards.straightdope.com/t/maxwells-demon-question-what-if-the-demon-is-not-a-finite-being/855091/21 "2020-06-06T15:36:03Z")

</div>

Am I wrong to think of the Maxwell’s Demon experiment as follows?

A) simple version by Maxwell- the demon lowers the entropy of the connected bottles.

B) more complete version- the demon is interacting with the bottles, and while the entropy of the bottles decreases, the entropy of the the whole system (bottles and demon) increases

C) OP proposal- the demon has access to separate “infinite” energy source (maybe 11th dimension), and entropy of demon-bottle system decreases

D) more complete version- the proper system to consider is demon-bottle-11th dimension; perhaps for this system, the entropy increases (if you can math out an “infinite” energy supply). Certainly the entropy would increase if you replace “infinite” with “arbitrarily large”?

---

<div class="post-metadata">

**Author:** ![CalMeacham](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/calmeacham/32/35_2.png) [@CalMeacham](https://boards.straightdope.com/u/CalMeacham)\
**Post date:** [June 6, 2020, 5:46pm UTC](https://boards.straightdope.com/t/maxwells-demon-question-what-if-the-demon-is-not-a-finite-being/855091/22 "2020-06-06T17:46:21Z")

</div>

> [@DPRK](#):
>
> You are reading too much into the name of this thought experiment (one of several, like Feynman’s ratchet, showing how the second law of thermodynamics works at a statistical mechanical level, the relationship between thermodynamic and information-theoretical entropy, and physical constraints on micro and macroscopic mechanisms and devices). Maxwell’s Demon is not a real guy. If you accidentally summon a real demon, sure they can generate infinite energy and violate entropy constraints, but IME initially you’ll have your hands full just keeping it from ripping your head off. Eventually, if you have a good relationship, it might oblige you by occasionally materializing a round of drinks out of thin air and inviting you to the best Walpurgis parties, but make sure you have a good handle on your soul; most people don’t.

Larry Niven had his demon act as an air conditioner in "Unfinished Story #1, printed in his collection _All the Myriad Way_. (If you’re a sorceror, you already have a tamed demon you can use).

His accountant’s name was Maxwell…

---

<div class="post-metadata">

**Author:** ![k9bfriender](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/k9bfriender/32/3283_2.png) [@k9bfriender](https://boards.straightdope.com/u/k9bfriender)\
**Post date:** [June 6, 2020, 5:46pm UTC](https://boards.straightdope.com/t/maxwells-demon-question-what-if-the-demon-is-not-a-finite-being/855091/23 "2020-06-06T17:46:21Z")

</div>

> [@PlaceboTarget](#):
>
> The speed of each particle must constantly change due to the innumerable collisions, but the total energy of all the particles within the two chambers must remain constant. Does that mean the average speed stay the same as well?

If the box is closed system, and there is not transfer in or out, then yes, average speed will stay the same.

Average speed of particles is also known as temperature.

> [@PlaceboTarget](#):
>
> Also, we know an omnipotent being cannot create a stone it cannot lift. Similarly, there may be logical or objective impediments that could prevent the demon from violating the second law of thermodynamics, despite his supernatural abilities.

Nothing natural can violate the second law of thermodynamics. By definition, anything that did would be supernatural.

Easy analogy, take a pool table, and make it frictionless. shove some balls around, they collide with others, and things tend to move towards the average speed.

Now, put a wall up across the table, with a door in it. When you see a ball moving fast towards one side, or a slow ball heading to the other, you open the door, else wise you close it.

You will end up with fast balls on one side, and slow on the other. But, you then have to realize that you put work into the system, so it is no longer a closed system.

---

<div class="post-metadata">

**Author:** ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)\
**Post date:** [June 6, 2020, 6:11pm UTC](https://boards.straightdope.com/t/maxwells-demon-question-what-if-the-demon-is-not-a-finite-being/855091/24 "2020-06-06T18:11:36Z")

</div>

Eh, you can do that with an arbitrarily small amount of work. It’s not the work you put in that matters; it’s the information you took out.

---

<div class="post-metadata">

**Author:** ![DPRK](https://avatars.discourse-cdn.com/v4/letter/d/4491bb/32.png) [@DPRK](https://boards.straightdope.com/u/DPRK)\
**Post date:** [June 6, 2020, 6:22pm UTC](https://boards.straightdope.com/t/maxwells-demon-question-what-if-the-demon-is-not-a-finite-being/855091/25 "2020-06-06T18:22:11Z")

</div>

> [@k9bfriender](#):
>
> You will end up with fast balls on one side, and slow on the other. But, you then have to realize that you put work into the system, so it is no longer a closed system.

More precisely, you have decreased the entropy of the system without (apparently) doing any work. (The system does not heat up, as you point out.) _You_ will heat up/consume energy/increase in entropy, though.

---

<div class="post-metadata">

**Author:** ![Quercus](https://avatars.discourse-cdn.com/v4/letter/q/7ab992/32.png) [@Quercus](https://boards.straightdope.com/u/Quercus)\
**Post date:** [June 7, 2020, 7:08pm UTC](https://boards.straightdope.com/t/maxwells-demon-question-what-if-the-demon-is-not-a-finite-being/855091/26 "2020-06-07T19:08:01Z")

</div>

> [@PlaceboTarget](#):
>
> But the spontaneous entropy reversal you mention seems to refer exactly to this natural “demon”, whose existence we have just agreed would violate the laws of physics. :eek:

The difference is that the demon does it predictably (the right side will always get hotter) Whereas the spontaneous entropy reversal is random and unpredictable.

So, for instance, you could use the demon to get free energy, run a perpetual motion machines, etc. You can’t use spontaneous energy reversal for anything useful.

---

<div class="post-metadata">

**Author:** ![k9bfriender](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/k9bfriender/32/3283_2.png) [@k9bfriender](https://boards.straightdope.com/u/k9bfriender)\
**Post date:** [June 7, 2020, 9:30pm UTC](https://boards.straightdope.com/t/maxwells-demon-question-what-if-the-demon-is-not-a-finite-being/855091/27 "2020-06-07T21:30:53Z")

</div>

> [@Quercus](#):
>
> The difference is that the demon does it predictably (the right side will always get hotter) Whereas the spontaneous entropy reversal is random and unpredictable.
> 
> So, for instance, you could use the demon to get free energy, run a perpetual motion machines, etc. You can’t use spontaneous energy reversal for anything useful.

The second law of thermodynamics is, as best we know, only statistical in nature. To say that a closed system can never decrease entropy is not exactly correct, it is just not very likely to.

And that probability has enough zeros behind it that it is effectively zero for any purpose in the macroscopic world. You will never find a system with more than a few dozen particles violating it.

On an individual particle level, though, entropy almost never comes into play. All interactions are reversible.

Why that is, is a very good question.

---

<div class="post-metadata">

**Author:** ![markn\_1](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@markn\_1](https://boards.straightdope.com/u/markn_1)\
**Post date:** [June 7, 2020, 10:01pm UTC](https://boards.straightdope.com/t/maxwells-demon-question-what-if-the-demon-is-not-a-finite-being/855091/28 "2020-06-07T22:01:19Z")

</div>

As Chronos mentioned in #24, the problem is not that the demon is doing work by opening and closing the door, since that is a reversible process that can be done without an increase in entropy. And measuring the speed of the molecules can also be done reversibly, without increasing entropy. What increases the demon’s entropy, perhaps surprisingly, is the process of **discarding or erasing** the information it obtained about the speed of the molecules. Erasing information is a non-reversible process that increases entropy (known as [Landauer’s Principle](https://en.wikipedia.org/wiki/Landauer%27s_principle)). The demon could just try to keep all the information it gathers, but eventually it will run out of storage space and will need to start erasing something.

---

<div class="post-metadata">

**Author:** ![Blue\_Blistering\_Barnacle](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/blue_blistering_barnacle/32/3386_2.png) [@Blue\_Blistering\_Barnacle](https://boards.straightdope.com/u/Blue_Blistering_Barnacle)\
**Post date:** [June 8, 2020, 6:56pm UTC](https://boards.straightdope.com/t/maxwells-demon-question-what-if-the-demon-is-not-a-finite-being/855091/29 "2020-06-08T18:56:57Z")

</div>

> [@markn\_1](#):
>
> As Chronos mentioned in #24, the problem is not that the demon is doing work by opening and closing the door, since that is a reversible process that can be done without an increase in entropy. And measuring the speed of the molecules can also be done reversibly, without increasing entropy. What increases the demon’s entropy, perhaps surprisingly, is the process of **discarding or erasing** the information it obtained about the speed of the molecules. Erasing information is a non-reversible process that increases entropy (known as [Landauer’s Principle](https://en.wikipedia.org/wiki/Landauer%27s_principle)). The demon could just try to keep all the information it gathers, but eventually it will run out of storage space and will need to start erasing something.

So, instead of an infinite 11th dimensional energy source, our super demon really needs an infinite 11th dimensional database?

What happens if our demon merely has a vast database (in its head)? After a hundred years of refrigeration duty, it wipes its memory and disappears in a huge fireball?

---

<div class="post-metadata">

**Author:** ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)\
**Post date:** [June 8, 2020, 8:55pm UTC](https://boards.straightdope.com/t/maxwells-demon-question-what-if-the-demon-is-not-a-finite-being/855091/30 "2020-06-08T20:55:15Z")

</div>

Or it finds some other way of transferring its entropy elsewhere. But yeah, a fireball would probably be one way to do it.

---

<div class="post-metadata">

**Author:** ![Blue\_Blistering\_Barnacle](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/blue_blistering_barnacle/32/3386_2.png) [@Blue\_Blistering\_Barnacle](https://boards.straightdope.com/u/Blue_Blistering_Barnacle)\
**Post date:** [June 9, 2020, 2:27pm UTC](https://boards.straightdope.com/t/maxwells-demon-question-what-if-the-demon-is-not-a-finite-being/855091/31 "2020-06-09T14:27:07Z")

</div>

So you get a “free” refrigerator for 100 years plus a fireball in the bargain? I could put the memory core inside a power plant before wiping it. Sounds kind of anti-entropic.

There must be a catch that I’m not accounting, such as the entropy required to build a memory core or some limit on the quality of heat released…

---

<div class="post-metadata">

**Author:** ![DPRK](https://avatars.discourse-cdn.com/v4/letter/d/4491bb/32.png) [@DPRK](https://boards.straightdope.com/u/DPRK)\
**Post date:** [June 9, 2020, 4:17pm UTC](https://boards.straightdope.com/t/maxwells-demon-question-what-if-the-demon-is-not-a-finite-being/855091/32 "2020-06-09T16:17:29Z")

</div>

The entropy does not disappear, though.  
It is accounted for when you cool down the demon.

ETA the limit you refer to, is the Second Law of Thermodynamics… (which puts a limit to how much useful work you can extract from hot objects)

---

<div class="post-metadata">

**Author:** ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)\
**Post date:** [June 9, 2020, 4:33pm UTC](https://boards.straightdope.com/t/maxwells-demon-question-what-if-the-demon-is-not-a-finite-being/855091/33 "2020-06-09T16:33:18Z")

</div>

It’s no different, in principle, from having a really big block of ice, instead of a demon. Once you have that big block of ice, it’ll give you “free” refrigeration, until it’s used up. Get a big enough block of ice to start with (analogous to a demon with a large enough memory), and it might even last you for 100 years.

---

<div class="post-metadata">

**Author:** ![Enola\_Straight](https://avatars.discourse-cdn.com/v4/letter/e/dec6dc/32.png) [@Enola\_Straight](https://boards.straightdope.com/u/Enola_Straight)\
**Post date:** [June 9, 2020, 9:33pm UTC](https://boards.straightdope.com/t/maxwells-demon-question-what-if-the-demon-is-not-a-finite-being/855091/34 "2020-06-09T21:33:03Z")

</div>

Here’s a video of liquid nitrogen boiling/freezing in a vacuum chamber.

  
By letting fast moving, warmer molecules escape, slow moving, colder molecules remain and solidify.

A little demonic?

---

<div class="post-metadata">

**Author:** ![DPRK](https://avatars.discourse-cdn.com/v4/letter/d/4491bb/32.png) [@DPRK](https://boards.straightdope.com/u/DPRK)\
**Post date:** [June 10, 2020, 4:15pm UTC](https://boards.straightdope.com/t/maxwells-demon-question-what-if-the-demon-is-not-a-finite-being/855091/35 "2020-06-10T16:15:22Z")

</div>

> [@Enola\_Straight](#):
>
> Here’s a video of liquid nitrogen boiling/freezing in a vacuum chamber.
> 
>   
> By letting fast moving, warmer molecules escape, slow moving, colder molecules remain and solidify.
> 
> A little demonic?

The demon would reverse whatever process would otherwise spontaneously happen, so in this case catch hot nitrogen molecules from the thin atmosphere and use them to heat the liquid even more, or something. Boiling in reverse.

[Previous page](https://boards.straightdope.com/t/maxwells-demon-question-what-if-the-demon-is-not-a-finite-being/855091.md?page=1)
