Section 10.3 Second Law and Heat Flow
Our new relatively simple relation between heat flow and entropy change can be directly brought back to the second law. Recall the Clausius statement of the second law, that heat can only spontaneously flow from higher temperature to lower temperature. Suppose we have a pair of bricks \(A\) and \(B\) with temperatures \(T_A=400\,\text{K}\) and \(T_B=300\,\text{K}\text{.}\) We bring the bricks into thermal contact and let \(20\,\text{J}\) of heat flow from the higher temperature brick to the lower temperature brick. This is a small enough amount of energy that the temperature of the bricks is essentially unchanged (they are acting as reservoirs), so we can use the constant temperature approximation, (10.2.6), for entropy changes.
Then the total entropy change is
\begin{align*}
\Delta S_\text{total} \amp = \Delta S_A + \Delta S_B = \frac{Q_A}{T_A} +
\frac{Q_B}{T_B}\\
\amp = \frac{-20\,\text{J} }{400\,\text{K} } + \frac{+20\,\text{J} }{300\,\text{K} }
= -0.050\,\text{J/K} + 0.067\,\text{J/K}\\
\amp = 0.017\,\text{J/K} .
\end{align*}
Notice the signs of \(Q_A\) and \(Q_B\text{:}\) since heat was flowing out of brick \(A\text{,}\) \(Q_A\) is negative. We find that even though the entropy of brick \(A\) went down, the total entropy of bricks \(A\) and \(B\) went up, as required by the second law.
If we had tried, as a thought experiment, to send the \(20\,\text{J}\) in the other direction, this would have changed all the signs, and we would be confronted with a \(\Delta S_\text{total} \lt 0\text{,}\) violating the second law.
More generally, for some amount \(Q\) flowing from reservoir \(A\) to reservoir \(B\text{,}\) we have
\begin{equation}
\Delta S_\text{total} = \frac{-Q}{T_A} + \frac{Q}{T_B}=
Q\left(\frac{1}{T_B}-\frac{1}{T_A}\right)\tag{10.3.1}
\end{equation}
Since the second law requires \(\Delta S_\text{total} \geq 0\text{,}\) we see that \(T_A\) must be greater than \(T_B\) for this to happen. And so we have recovered the Clausius statement of the second law, i.e., that heat can flow spontaneously only from higher to lower temperature.