This answer to a question about unmixing gases states:

However, let us now assume we have to hand a source of mechanical work, and a large heat reservoir at temperature $T$. I'll assume that we'll use the work (somehow) to unmix the fluids, and that any excess heat that gets generated will be dumped in the heat reservoir.

In general the mixed and unmixed states of the fluid system will have different energies. I'll call the difference $\Delta H$, with positive $\Delta H$ meaning that the unmixed state has a higher energy than the mixed one. (I'm guessing that for real miscible fluids this is usually a small positive value, but it needn't necessarily be.)

We'll assume it takes us an amount $W$ of work to unmix the fluids. $W$ has been lost from the work source, and $\Delta H$ has been gained from the fluid system, so the first law says that the energy of the heat bath must increase by $W-\Delta H$.

We can now calculate the total change in entropy. The fluids' entropy has decreased by $\Delta S_\text{mixing}$, and the heat bath's entropy has increased by $(W - \Delta H)/T$, so the total is

$\Delta S_\text{total} = \frac{W - \Delta H}{T} - \Delta > S_\text{mixing} \ge 0,$


$W \ge T\Delta S_\text{mixing} + \Delta H.$

Changing this to an equality gives you the minimum amount of work required to unmix the fluids. But note that the expression involves $T$, which is the temperature of the heat bath that I assumed to exist. Without the heat bath there would be nowhere for the energy from the work source to go once it's used up.

Also note that $T$ is not necessarily the temperature of the mixed fluids, which could be different from that of the heat bath. I didn't need to make any assumptions about the fluids' temperature in order to work out the above. In practice you'd usually assume the fluids to be in contact with the heat bath, so that the two temperatures are in fact equal. In this case (and only in this case), the minimum work required is equal to the difference in Helmholtz free energy between the mixed and unmixed states.

Now what $is$ the temperature of my heat bath? I know that it should be indiepenent of the process used: We are looking at the pure change in entropy of the unmixing, this is path independent. But is it safe to assume it's the temperature of the gas? Before or after unmixing?


In most cases in thermodynamics it's safe to assume the heat bath is the same temperature as the system. Usually the system is assumed to be in contact with the heat bath, and at equilibrium, in which case it will be at the same temperature. However, this need not always be the case, necessarily.

In writing that answer I was careful to emphasise that it's the temperature of the heat bath that matters, rather than the temperature of the system, because I wanted to emphasise that the reason this temperature matters is that the heat bath is where you're putting the spent energy. In principle there might be a way to do this while keeping the fluids at a different temperature from the heat bath, because there's no fundamental reason why they'd have to be in contact with it in this case.

So the short answer is, the temperature of your heat bath is whatever the temperature of your heat bath is. It has no logical relation to the temperature of your gases, before or after unmixing. But in practice the unmixing would probably be done as an isothermal process with the gases in contact with the heat reservoir the whole time, which means that $T$ would also be the temperature of the gases both before and after unmixing.

  • $\begingroup$ coming back rather late at this ... so what is the heat bath in water scrubbing? distillation? amine scrubbing? membranes? $\endgroup$ – mart Feb 2 '15 at 9:31
  • $\begingroup$ @mart typically the heat bath is just the atmosphere or water surrounding the thing that's doing the unmixing. Known practical practical methods for unmixing macroscopic quantities of fluids are so far from the theoretical maximum efficiency that the temperature of the heat bath makes no difference to the energy they need. The point is just that in priciple, if you had access to a heat bath at a lower temperature than the system, then in principle you could design a Maxwell's demon type thing to take advantage of it and unmix more efficiently. $\endgroup$ – Nathaniel Feb 2 '15 at 9:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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