Section 10.2 Entropy Change and Heat
As discussed in the previous chapter, entropy is a measure of probability; specifically, it is Boltzmannโs constant times the logarithm of the multiplicity. While we can work with the multiplicity and take logarithms for simple enough models, we often want to know the entropy (actually, the entropy
change \(\Delta
S\)) for more complicated situations without having to sort out exactly what is going on with the multiplicity.
In many situations it is possible to do this. We begin with our result from the previous chap:
\begin{equation}
\frac{1}{T} = \frac{dS}{dE_\text{therm} },\tag{10.2.1}
\end{equation}
which we can rewrite as a relation between a small (infinitesimal) entropy change \(dS\) and a small thermal energy change \(dE_\text{therm}\text{,}\)
\begin{equation}
dS = \frac{dE_\text{therm} }{T} \qquad(W=0).\tag{10.2.2}
\end{equation}
In our development of the definition of temperature, we only considered energy transfers between subsystems
\(A\) and
\(B\) that happened spontaneously, due to the increased probability associated with the new energy distribution. In other words, we only allowed for thermal energy changes due to
heat and not due to
work. Hence the
\(W=0\) label in
(10.2.2).
Recall that the first law of thermodynamics, for small amounts of heat and work, says
\begin{equation}
dE_\text{therm} = dQ + dW.\tag{10.2.3}
\end{equation}
If no work is being done,
\(dE_\text{therm}\) is the same thing as
\(dQ\text{:}\) the thermal energy has changed by however much heat flow has occurred. Thus, we could equally well write
(10.2.2) with a
\(dQ\) in the numerator.
So the question is, what is the appropriate generalization of
(10.2.2) to cases where there is both heat flow and work done? Should the numerator still be
\(dE_\text{therm}\text{,}\) or should it be
\(dQ\text{,}\) or something else entirely?
The answer is: it depends. If the work is being done slowly enough that the system remains in thermal equilibrium (which means that the basic hypothesis of all microstates being equally likely is at all times still true), then we have a clear answer: the numerator should be \(dQ\text{,}\) and so
\begin{equation}
dS = \frac{dQ}{T} \qquad\text{ (whether or not \(W=0\)) } .\tag{10.2.4}
\end{equation}
A good rule of thumb for โslow enoughโ is that whatever moving object is doing the work should move slower than the speed of sound. In many cases this isnโt much of a limitation. For our purposes, we will assume that we remain in equilibrium for all the processes we consider.
But you may be wondering why doing work (slowly enough) doesnโt affect the entropy, that is,
\(\Delta S\) only depends on the heat flow. The full explanation is beyond the scope of this course, but here is the flavor of it. We could do work on a solid by squeezing it, and this would certainly increase the thermal energy. The Einstein solid of the previous chapter would respond to the squeezing by having an increased energy spacing
\(\epsilon\text{,}\) but not by having more โenergy units.โ So the multiplicity wouldnโt change, even though the thermal energy has gone up. And of course if the multiplicity doesnโt change, the entropy doesnโt change.
In practical terms,
(10.2.4) is a very handy tool for calculating entropy changes. Of course, we usually have more than a small amount of heat flow, so we will need to use calculus to add up the net entropy change:
\begin{equation}
\Delta S = S_B - S_A = \int_A^B dS = \int_A^B \frac{dQ}{T}.
\qquad\text{ (equilibrium processes) }\tag{10.2.5}
\end{equation}
Often we are considering constant temperature situations, and then this result simplifies even further:
\begin{equation}
\Delta S= \frac{1}{T}\int dQ = \frac{Q}{T} \qquad\text{ (constant temperature) }\tag{10.2.6}
\end{equation}
The sign of
\(Q\) is important here! When
\(Q\) is positive,
\(\Delta S\) is positive, and when
\(Q\) is negative,
\(\Delta S\) is negative. Or to put it another way: heat flow in increases the entropy, and heat flow out decreases the entropy.
Do not forget this! The second law is commonly misunderstood to say that all entropies must always increase. This is simply not true. The second law only tell us the
total entropy must increase.
There are three common situations where the temperature is constant, even though heat is flowing in or out of the system.
-
for an isothermal process โ isothermal expansion or contraction of a gas is, by definition, at constant temperature (iso = โequalโ, thermal = โtemperatureโ).
-
during a phase change โ the latent heat at a phase transition (e.g., melting/solidifying or vaporizing/condensing) keeps the temperature constant.
-
for a thermal reservoir โ if a system is very large, modest amounts of heat flow will not affect the temperature. For example, dumping a cup of coffee into the ocean will not change the oceanโs temperature measurably.
Example 10.2.1 Entropy Change of Melting Ice.
Consider an
\(18\,\text{g}\) ice cube at
\(0^\circ\,\text{C}\text{.}\) Heat flows in until is has changed phase to
\(0^\circ\,\text{C}\) water. The water molecules are now free to wander, which increases their number of possible microstates. How much has the entropy increased?
Solution.
Since the molar mass of H
\(_2\)O is
\(18\,\text{g}\text{,}\) our ice cube contains one mole. Thus the heat required to melt it is (via
Tableย 48)
\begin{equation*}
Q = n L_f = 1\,\text{mol} \cdot 6.01\,\text{kJ/mol} = 6010 \,\text{J} .
\end{equation*}
Now we can find the entropy change
\begin{equation}
\Delta S = S_\text{water} - S_\text{ice} = \frac{Q}{T}=
\frac{6010\,\text{J} }{273\,\text{K} }= 22.0 \,\text{J/K} .\tag{10.2.7}
\end{equation}
Note that we have to use Kelvin for this to work.
In some cases, however, \(T\) is changing while the heat flows. In this case we must evaluate some kind of integral to find \(\Delta S\text{.}\) We will restrict ourselves to the cases where no work is being done and there is no phase change (i.e., nothing melting, solidifying, condensing or vaporizing). That is, heat is flowing in or out of a solid or liquid, whose volumes are essentially constant. In this case,
\begin{equation}
dQ = dE_\text{therm} = nC\,dT\tag{10.2.8}
\end{equation}
that is, we can relate the small heat flow to a small temperature change. Putting this into our integral expression gives
\begin{equation}
\Delta S = \int_A^B \frac{dQ}{T}= \int_{T_A}^{T_B} \frac{nC\,dT}{T}\tag{10.2.9}
\end{equation}
Since the specific heat usually is nearly constant with respect to temperature, we may bring it outside of the integral:
\begin{equation}
\Delta S = nC\int_{T_A}^{T_B} \frac{dT}{T} = nC(\ln T_B -\ln T_A)
= nC\ln(T_B/T_A).\tag{10.2.10}
\end{equation}
Note that when the temperature increases,
\(\Delta S\) is positive, while when the temperature decreases,
\(\Delta S\) is negative, since the natural log of a number less than one is negative.
Example 10.2.2 Entropy Change from Heating Water.
Letโs pick up with that
\(18\,\text{g}\) of
\(0^\circ\,\text{C}\) water, and now add heat until it has become
\(100^\circ\,\text{C}\) water (but not yet started to boil). How much does the entropy increase?
Solution.
Solution: We have one mole of water, and we get the molar specific heat of water from
Tableย 45. We need to use Kelvin for our temperature units, so
\begin{align*}
\Delta S \amp = nC\ln(T_f/T_i) = 1\,\text{mol} \cdot 75.3\,\text{ J/mol} \cdot \text{K }
\cdot\ln\left(\frac{373\,\text{K} }{273\,\text{K} }\right)\\
\amp = 23.5\,\text{J/K}
\end{align*}
Notice in this case we didnโt need to calculate the amount of heat flow involved.
One final special case in which entropy changes are easy to calculate is for a cyclic process, i.e., a process where the system (or part of the system) ends up in the same state that it started in. In this case,
\begin{equation}
\Delta S_\text{cyclic} = 0
\qquad\text{ (cyclic processes) }\tag{10.2.11}
\end{equation}