# Is the second law of thermodynamics routinely violated?

**URL:** https://boards.straightdope.com/t/is-the-second-law-of-thermodynamics-routinely-violated/833151
**Category:** Factual Questions
**Created:** [April 28, 2019, 12:15am UTC](https://boards.straightdope.com/t/is-the-second-law-of-thermodynamics-routinely-violated/833151 "2019-04-28T00:15:23Z")
**Posts on this page:** 5
**Page:** 15

<div class="post-metadata">

### Author: ![Max\_S](https://avatars.discourse-cdn.com/v4/letter/m/46a35a/32.png) [@Max\_S](https://boards.straightdope.com/u/Max_S)
#### Post date: [May 21, 2019, 2:55pm UTC](https://boards.straightdope.com/t/is-the-second-law-of-thermodynamics-routinely-violated/833151/281 "2019-05-21T14:55:46Z")

</div>

> [@DPRK](#):
>
> I think that page is pretty straightforward. Also, again, a system not at equilibrium does not have its temperature defined, which should also be clear from the page.  
> Ok, so this is the example of an ideal gas, except in one dimension and there is only one (!) particle. In which case it is obvious that the particle is equally likely to be at any given point, and spends an equal amount of time in intervals of equal length.
> 
> As for the entropy, no, it doesn’t change with time. Nor does the entropy of any gas at equilibrium.

It is not obvious. If you observe the system for twenty seconds, no matter where the particle starts out it will only be at the far left position once while it will be observed at the 1 meter mark twice.

And the “gas” is not at _internal_ equilibrium because we have moving particles within it. That’s why I don’t like thinking of thermal equilibrium as _internal_ thermal equilibrium. I could draw a line at 3 meters and considered the entire system to comprise of sub-system A to the left of that line [0,3] with sub-system B to the right of that line (3,10]. Therefore at every possible instant the temperature between the two subsystems is unequal, the two subsystems are not in thermal equilibrium, and the combined system as a whole is not in a state of _internal_ equilibrium. Not being in equilibrium, entropy can fluctuate (both ways if we aren’t assuming the second law).

That is also what Mr. Eastman told me - I could not substitute _dQ[SUB]AuB[/SUB]_/_T[SUB]AuB[/SUB]_ for _dS[SUB]AuB[/SUB]_ because that formula only applies if the combined system is in a state of (internal) equilibrium. I hate bothering him but I still don’t understand _why_ the entropy formula requires internal equilibrium. Couldn’t we just use an average value for _T_, because _T_ is intensive and proportional to _V_:

_dS[SUB]AuB[/SUB]_ = 2(_V[SUB]A[/SUB]_ + _V[SUB]B[/SUB]_)(_dQ[SUB]A[/SUB]_ + _dQ[SUB]B[/SUB]_)/(_V[SUB]A[/SUB]T[SUB]A[/SUB]_ + _V[SUB]B[/SUB]T[SUB]B[/SUB]_)  
if _V[SUB]A[/SUB]_ = _V[SUB]B[/SUB]_ = _V[SUB]AuB[/SUB]_/2  
_dS[SUB]AuB[/SUB]_ = 2(_dQ[SUB]A[/SUB]_ + _dQ[SUB]B[/SUB]_)/(_T[SUB]A[/SUB]_ + _T[SUB]B[/SUB]_)

To which his response was the same, and I still don’t understand why the system must be in a state of internal equilibrium to use the entropy formula. It would certainly solve Loschmidt’s Paradox if the entropy of an isolated system never changed, and I can’t think of any violation of some other thermodynamic law, possibly excepting the assertion that two otherwise-isolated systems connected by a diathermal wall will reach equilibrium and _stay_ there - but this was already disproven by Carathéodory with Poincaré recurrence. I couldn’t say if it violated some law of statistical mechanics.

~Max

---

<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: [May 23, 2019, 4:15pm UTC](https://boards.straightdope.com/t/is-the-second-law-of-thermodynamics-routinely-violated/833151/282 "2019-05-23T16:15:34Z")

</div>

> [@Max\_S](#):
>
> It is not obvious. If you observe the system for twenty seconds, no matter where the particle starts out it will only be at the far left position once while it will be observed at the 1 meter mark twice.

OK, let’s be precise: the probability of the particle being observed in any interval is proportional to the length of that interval.

> [@](#):
>
> And the “gas” is not at _internal_ equilibrium because we have moving particles within it. That’s why I don’t like thinking of thermal equilibrium as _internal_ thermal equilibrium. I could draw a line at 3 meters and considered the entire system to comprise of sub-system A to the left of that line [0,3] with sub-system B to the right of that line (3,10]. Therefore at every possible instant the temperature between the two subsystems is unequal, the two subsystems are not in thermal equilibrium, and the combined system as a whole is not in a state of _internal_ equilibrium. Not being in equilibrium, entropy can fluctuate (both ways if we aren’t assuming the second law).

But _all_ gases consist of moving particles. “Internal thermal equilibrium” simply means no heat flows between any two subsystems. If the temperature of two subsystems is unequal, then the entire system is still out of thermal equilibrium.

And, of course, a system at thermal equilibrium will experience microscopic fluctuations as usual. It is incorrect to say it is not at equilibrium; “equilibrium” does not mean “no motion”.

> [@](#):
>
> That is also what Mr. Eastman told me - I could not substitute _dQ[SUB]AuB[/SUB]_/_T[SUB]AuB[/SUB]_ for _dS[SUB]AuB[/SUB]_ because that formula only applies if the combined system is in a state of (internal) equilibrium. I hate bothering him but I still don’t understand _why_ the entropy formula requires internal equilibrium.

What is your reasoning that leads you to believe it does not? How exactly do you propose to define temperature of a system not at thermal equilibrium? Don’t say, “use a thermometer,” because one side might be hot and the other cold. And the microscopic definition assumes equilibrium as well.

Look, I honestly think you should carefully work through all the exercises on that web page (or any similar text). You can’t help but encounter all these definitions and concepts.

---

<div class="post-metadata">

### Author: ![Max\_S](https://avatars.discourse-cdn.com/v4/letter/m/46a35a/32.png) [@Max\_S](https://boards.straightdope.com/u/Max_S)
#### Post date: [May 23, 2019, 4:36pm UTC](https://boards.straightdope.com/t/is-the-second-law-of-thermodynamics-routinely-violated/833151/283 "2019-05-23T16:36:41Z")

</div>

> [@DPRK](#):
>
> OK, let’s be precise: the probability of the particle being observed in any interval is proportional to the length of that interval.

But the probabilities are not equal for every microstate unless the interval _t_ = 0.

> [@DPRK](#):
>
> But _all_ gases consist of moving particles. “Internal thermal equilibrium” simply means no heat flows between any two subsystems. If the temperature of two subsystems is unequal, then the entire system is still out of thermal equilibrium.
> 
> And, of course, a system at thermal equilibrium will experience microscopic fluctuations as usual. It is incorrect to say it is not at equilibrium; “equilibrium” does not mean “no motion”.

I could just as arbitrarily divide the number line into ten sub-systems: A = [1], B = [2], … J = [10]. In a real gas it would be tedious but I could divide the gas into innumerable tiny boxes each the size of one particle. There would be heat flowing between sub-systems at every time-step. Does this mean “internal thermal equilibrium” depends on how I arbitrarily divide the system into parts?

> [@DPRK](#):
>
> What is your reasoning that leads you to believe it does not? How exactly do you propose to define temperature of a system not at thermal equilibrium? Don’t say, “use a thermometer,” because one side might be hot and the other cold. And the microscopic definition assumes equilibrium as well.

I used the average temperature of each subsystem proportional to volume.

_T_ = (_V[SUB]A[/SUB]T[SUB]A[/SUB]_ + _V[SUB]B[/SUB]T[SUB]B[/SUB]_ + … + _V[SUB]Z[/SUB]T[SUB]Z[/SUB]_) / _V_

_dS[SUB]AuB[/SUB]_ = (_V[SUB]A[/SUB]_ + _V[SUB]B[/SUB]_)(_dQ[SUB]A[/SUB]_ + _dQ[SUB]B[/SUB]_)/(_V[SUB]A[/SUB]T[SUB]A[/SUB]_ + _V[SUB]B[/SUB]T[SUB]B[/SUB]_)

If _V[SUB]A[/SUB]_ = _V[SUB]B[/SUB]_ = _V[SUB]AuB[/SUB]_/2, that reduces to

_dS[SUB]AuB[/SUB]_ = 2(_dQ[SUB]A[/SUB]_ + _dQ[SUB]B[/SUB]_)/(_T[SUB]A[/SUB]_ + _T[SUB]B[/SUB]_)

> [@DPRK](#):
>
> Look, I honestly think you should carefully work through all the exercises on that web page (or any similar text). You can’t help but encounter all these definitions and concepts.

I’ve done chapters 1-6 of that course and still don’t know why I am wrong. The classical entropy formula (Clausius inequality) is not actually part of the course.

~Max

---

<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: [May 26, 2019, 1:44am UTC](https://boards.straightdope.com/t/is-the-second-law-of-thermodynamics-routinely-violated/833151/284 "2019-05-26T01:44:50Z")

</div>

> [@Max\_S](#):
>
> But the probabilities are not equal for every microstate unless the interval _t_ = 0.

You wrote that you were considering a 1-D system of length 10 in which a particle moves at a constant speed of 1. In that case the probability of the particle being in a given interval of length l is l/10. I know you came up with something different, but your calculation was wrong 🙂

> [@](#):
>
> I could just as arbitrarily divide the number line into ten sub-systems: A = [1], B = [2], … J = [10]. In a real gas it would be tedious but I could divide the gas into innumerable tiny boxes each the size of one particle. There would be heat flowing between sub-systems at every time-step. Does this mean “internal thermal equilibrium” depends on how I arbitrarily divide the system into parts?

No. But considering a box with 1, or 0, molecules in it is not going to be a very good model of thermal equilibrium. Here’s an exercise: what is the temperature of a subsystem containing 1 particle? How about 0 particles?

> [@](#):
>
> I used the average temperature of each subsystem proportional to volume.

For which there is no theoretical justification, and leads to nonsense.

> [@](#):
>
> I’ve done chapters 1-6 of that course and still don’t know why I am wrong. The classical entropy formula (Clausius inequality) is not actually part of the course.

It’s in Section 5.4.

---

<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: [May 26, 2019, 2:39am UTC](https://boards.straightdope.com/t/is-the-second-law-of-thermodynamics-routinely-violated/833151/285 "2019-05-26T02:39:50Z")

</div>

For additional exercises, you may look in Halliday and Resnick, for example.

[Previous page](https://boards.straightdope.com/t/is-the-second-law-of-thermodynamics-routinely-violated/833151.md?page=14)
