3
$\begingroup$

I've been reading about Maxwell's demon and the current accepted solution for it (deleting information results in an increase in entropy), but there are two things I don't understand about the solution.

  1. Suppose the demon has a large enough memory to store all the information about the system, making deletion unnecessary. Wouldn't the 2nd law of thermodynamics be broken in that case?

  2. But even that aside, there is necessarily some amount of time between when the data is stored and when it is deleted, so wouldn't the 2nd law be broken during that period of time?

$\endgroup$

1 Answer 1

3
$\begingroup$

The Demon's memory store acts like an entropy reservoir. In the process of measuring the speed of each molecule, the Demon reproduces the random pattern of fast and slow gas molecules on either side of the barrier in the memory store, so the entropy for the entire system is exactly the same. When the Demon deletes the data, it is returning it from $2^n$ states to one state, and thus reducing the entropy in exactly the same way as separating the gas molecules would.

For the sake of illustration, let's suppose the Demon is using an abacus to store the data. Initially, the gas is in one of $2^n$ states, while the abacus (initially empty) is in one of one possible states. We have $n$ bits of entropy.

Now the demon measures the speed of each molecule and checks it against the threshold, gaining one bit of information per measurement. It uses this information to sort the molecules. So now the gas is in one of only one possible states, and the abacus is in one of $2^n$ possible states, exactly reproducing (the relevant part of) the initial state of the gas. We can think of the beads on the abacus wires as molecules in one of two compartments, at the top and bottom of the abacus.

The number of states of the system as a whole (gas + Demon) is exactly the same: $2^n$. The process is reversible. The entropy has neither increased nor decreased, the 2nd law of thermodynmamics has not been violated.

When the information is deleted, the Demon has to go through the beads, check whether it is at the top or bottom of the wire, and push it in the appropriate direction to cancel out the information. It is doing exactly the same sort of task as it was in sorting the gas molecules - going from one of $2^n$ states to a single defined state. And so, for exactly the same reason, it has to tranfer the information gained from looking at each bead-bit somewhere else, into some other reservoir of entropy.

Maxwell's Demon

$\endgroup$
1
  • $\begingroup$ Ok that makes sense. So if I understand correctly, the reason entropy cannot decrease in the environment when the information is deleted is because in order to delete the information, it has to be transferred to the environment somehow, and the environment must have at least 2^n states in order to hold that information. $\endgroup$ Commented Sep 7, 2022 at 20:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.