1.2: The 2nd law of thermodynamics, entropy, and temperature
( \newcommand{\kernel}{\mathrm{null}\,}\)
Thermodynamics accepts a phenomenological approach to the entropy S, postulating that there is such a unique extensive measure of the aggregate disorder, and that in a closed system (defined as a system completely isolated from its environment, i.e. the system with its internal energy fixed) it may only grow in time, reaching its constant (maximum) value at equilibrium:15
2nd law of thermodynamics: dS≥0.
Neglecting the energy of interaction between the parts (which is always possible at N>>1, and in the absence of long-range interactions), we may use the extensive character of the variables E and S to write
E=E1(S1)+E2(S2),S=S1+S2,
for the full energy and entropy of the system. Now let us use them to calculate the following derivative:
dSdE1=dS1dE1+dS2dE1≡dS1dE1+dS2dE2dE2dE1=dS1dE1+dS2dE2d(E−E1)dE1.
Since the total energy E of the closed system is fixed and hence independent of its re-distribution between the subsystems, we have to take dE/dE1=0, and Equation (???) yields
dSdE1=dS1dE1+dS2dE2
According to the 2nd law of thermodynamics, when the two parts have reached the thermodynamic equilibrium, the total entropy S reaches its maximum, so that dS/dE1=0, and Equation (???) yields
dS1dE1=dS2dE2
This equality shows that if a thermodynamic system may be partitioned into weakly interacting macroscopic parts, their derivatives dS/dE should be equal in the equilibrium. The reciprocal of this derivative is called temperature. Taking into account that our analysis pertains to the situation (Figure 1.2.1) when both volumes V1,2 are fixed, we may write this definition as
(∂E∂S)V≡T,
the subscript V meaning that volume is kept constant at the differentiation. (Such notation is common and very useful in thermodynamics, with its broad range of variables.)
In those units, the entropy becomes dimensional: SK=kBS.
- according to Equation (???), the temperature is an intensive variable (since both E and S are extensive), i.e., in a system of similar particles, it is independent of the particle number N;
- temperatures of all parts of a system are equal at equilibrium – see Equation (???);
- in a closed system whose parts are not in equilibrium, thermal energy (heat) always flows from a warmer part (with higher T) to the colder part.
In order to prove the last property, let us revisit the closed, composite system shown in Figure 1.2.1, and consider another derivative:
dSdt=dS1dt+dS2dt≡dS1dE1+dE1dt+dS2dE2dE2dt.
If the internal state of each part is very close to equilibrium (as was assumed from the very beginning) at each moment of time, we can use Equation (???) to replace the derivatives dS1,2/dE1,2 with 1/T1,2, getting
dSdt=1T1dE1dt+1T2dE2dt
Since in a closed system E=E1+E2= const, these time derivatives are related as dE2/dt=–dE1/dt, and Equation (???) yields
dSdt−(1T1−1T2)dE1dt
But according to the 2nd law of thermodynamics, this derivative cannot be negative: dS/dt≥0. Hence,
(1T1−1T2)dE1dt≥0
For example, if T1>T2, then dE1/dt≤0, i.e. the warmer part gives energy to its colder counterpart.
Note also that at such a heat exchange, at fixed volumes V1,2, and T1≠T2, increases the total system’s entropy, without performing any “useful” mechanical work – see Equation (1.1.1).