Introduction

Many modern authors explain entropy (S) as measuring the number of microscopic states a system ranges over. This explanation is very helpful. In a spontaneous change, the number of such states increases. In classical thermodynamics, however, entropy is a macroscopic property, like pressure (p), volume (V), and temperature (T). There is no reference to the microscopic level. How then is it to be understood macroscopically?

The traditional method of introducing entropy at a macroscopic level is by analysing the operation of heat engines. This method is used in many textbooks (e.g. Denbigh 1981; Dugdale 1996; Laidler et al. 2003; Levine 2009; Atkins and de Paula 2010; Engel and Reid 2010). It has the problem of being very long, and of not making what entropy is very clear. Levine (2009: 87) tells his readers,

Don’t be discouraged by the long derivation of dS = dqrev/T from the Kelvin-Planck statement of the second law. You are not expected to memorize this derivation. What you are expected to do is be able to apply the relation dS = dqrev/T to calculate ΔS for various processes.

Lambert (2002) tries to explain entropy by applying the idea of dispersal over energy levels to the macroscopic scale. He writes:

The entropy of a substance at any temperature T is not complex or mysterious. It is simply a measure of the total quantity of energy that had to be dispersed within the substance from 0 K to T [incrementally and reversibly and divided by T for each increment] so the substance could exist as a solid or liquid or gas at the designated temperature.

The qualification in square brackets he added later (Lambert 2005). It is needed to distinguish entropy from energy, but is where the mystery lies. Why must the dispersal be conducted “incrementally and reversibly and divided by T”?Footnote 1

Other methods of introducing entropy macroscopically have been used, without making the concept any clearer. These include Carathéodory’s inaccessibility method (see, e.g., Chandresekhar 1958: Chap 1) and Guggenheim’s axiomatic approach (1967). Here I present my own attempt to explain entropy at a macroscopic level.

Preliminaries

Temperature

I shall define temperature as the degree of hotness of a body and measure it by the effect it has on other properties. Later we shall require temperature, for ordinary systems, to be always positive.Footnote 2 We can achieve this by measuring it by the volume of a gas at constant pressure, and taking the lower fixed point to be T = 0 at V = 0. If we do this at low pressure, we get the same scale for all gases. For simplicity, we take TV. The ideal gas law is then

$$ pV = nRT = NkT $$
(1)

where n is the amount of gas, R the gas constant, N the number of molecules, and k the Boltzmann constant.

First law

I shall base the first law on the fact that the temperature of a metal block can be increased by putting the block in an oven or rubbing it with another metal block. In the first case, heat is supplied to the block; in the second, work is done on it. Supplying heat and doing work are therefore equivalent ways of imparting energy to a body.Footnote 3

Thus, in general, when a quantity of heat Q is supplied to a system and an amount of work W is done on it, the increase in energy is given by:

$$ \Delta U = Q + W $$
(2)

U is the “internal” energy of the system (it excludes energy associated with motion of the system through space). Like p, V, and T, it is a property of the state of a system. Q and W are not state properties: for a given change in U, their values can vary, depending on how the change is carried out. If only heat is supplied, W = 0; if only work is done, Q = 0.

For very small changes, I shall write Eq. 2 as

$$ \delta U = q + w $$
(3)

I take such changes to be small enough for terms of the order of δ2 (terms in δpδV, qδT, etc.) to be negligible. I do not take them to be infinitesimal in order to be consistent with the statistical mechanical treatment I consider later, which takes account of fluctuations (Denbigh 1981: Sect. 11.4). I write q and w instead of δQ and δW because they do not represent changes in functions of state (cf. Planck 1927: Sect. 79).

Second law

The second law is concerned with changes in an isolated system (i.e. a system that does not take in or give out energy or matter). Simple examples of such changes are:

  • When a cold block of metal is brought into contact with a hot block of metal, heat flows from the hot block to the cold one until their temperatures are the same. This occurs even if the hot block is smaller than the cold one and has less energy.

  • When a tap is opened between a bulb of gas and an evacuated bulb, gas flows from the first bulb into the second until the pressure in each bulb is the same.

  • When a tap is opened between a bulb containing one gas at a certain pressure and an identical bulb containing a different gas at the same pressure, diffusion takes place until each bulb contains a 1:1 mixture of both gases.

  • When a racemization catalyst is introduced into a bulb containing one isomer of an optically active gas, racemization takes place until the bulb contains a 1:1 mixture of both isomers.Footnote 4

In all these examples, a change takes place, but there is no overall change in internal energy (∆U = 0). The question then is, what is causing these changes to take place?

Equalization of temperature

Let us consider the first example in more detail. What we are looking for is a quantity that characterizes spontaneous change. In the present case, we want a quantity that will increase when heat flows from the hot block to the cold one, and decrease if the flow went the other way. Such a quantity can be found as follows.

Call the cold block A and the hot one B. Let thermal contact be made between them through a fine wire for a very brief period, so that only a very small quantity of heat flows from B to A, and the temperatures of the blocks remain effectively the same.Footnote 5 We are looking for a quantity σ for which

$$ \sigma_{\text{t}} = \sigma_{\text{A}} + \sigma_{\text{B}} $$
(4)
$$ \delta \sigma_{\text{t}} = \, \delta \sigma_{\text{A}} + \, \delta \sigma_{\text{B}} \ge \, 0 $$
(5)

where t refers to the total system. Such a quantity is

$$ \delta \sigma_{\text{t}} = q_{\text{A}} /T_{\text{A}} + q_{\text{B}} /T_{\text{B}} $$
(6)

where qA is the heat absorbed by A and qB by B. Since qB =  − qA, this gives

$$ \delta \sigma_{\text{t}} = q_{\text{A}} /T_{\text{A}} + \, \left( { - q_{\text{A}} } \right)/T_{\text{B}} = q_{\text{A}} \left( {T_{\text{B}} - T_{\text{A}} } \right)/T_{\text{A}} T_{\text{B}} $$
(7)

As qA > 0 and TB > TA, this gives δσt > 0 as required. Heat flow in the opposite direction (qA < 0) would give δσt < 0. When TA = TB, there is no heat flow (qA = 0), and δσt = 0. These results assume that T is positive, as we ensured earlier. Other functions of T in the denominator (e.g. T2) would give the same result. I have chosen the simplest. This will turn out to match the scale of temperature adopted above (see discussion of Eq. 27).

Equation 6 is for a composite system. For a single block

$$ \delta \sigma = q/T $$
(8)

This is not now an isolated system, but one that can take in or give out energy. Such a system is usually described as “closed” to distinguish it from one that can take in or give out matter (“open”). A more accurate description would be “energy-open, matter-closed” or “semi-open”.

I shall take Eq. 8 to define δσ for other semi-open systems. The conditions will have to be carefully specified, as we shall see.

Equation 8 can be summed to give the value of σ relative to its value at T = 0:

$$ \sigma \left( T \right) \, - \sigma \left( 0 \right) \, = \sum\limits_{T = 0} {q/T} $$
(9)

Except where there are phase changes, the sum can be replaced by an integral, ∫CδT/T, where C is the appropriate heat capacity (qT). We shall see later that σ(0) = 0.

Equalization of pressure

The question now is whether σ characterizes other spontaneous changes. Let us consider the second example above, the expansion of a gas into a vacuum. If the pressure of the gas is low, this occurs without a measurable change in temperature. In this case, there is no flow of heat, so σ does not seem relevant. We know, however, that if a gas expands against a piston and does work, it cools down. Let us therefore carry out the expansion in a vertical closed cylinder with a piston, the gas being below the piston and a vacuum above (Fig. 1). The process can now be made to raise a weight. In consequence, the system cools down. To restore it to its original temperature (T), it is necessary to supply it with energy. This can be achieved by placing the cylinder in a large bath maintained at temperature T. The gas can then take in heat.

Fig. 1
figure 1

Apparatus for controlled expansion of a gas

How much heat that has to be supplied depends on the mass of the weight. It will be less for a small mass than a large one. For a very large mass, the gas will be compressed, and, instead of taking heat from the bath, will give heat to it. In general, therefore, the quantity of heat does not tell us anything about the state of the gas.

In one case, however, the quantity of heat does depend on the state of the gas. Suppose that the weight is a pile of sand, and that the amount of sand is adjusted so that the pile exerts a pressure (pext) that is exactly equal to the pressure of the gas (p). The piston will not then move. Now let a grain of sand be removed very slowly, to avoid setting the piston in oscillation (cf. Bauman 1964). The gas will then expand until its pressure drops to the value exerted by the slightly smaller pile (pext − δpext). In this case, the work done by the gas is determined by the original pressure of the gas (p), and is given by pδV, where δV is the increase in volume.Footnote 6 To compensate for this, the gas has to absorb an equivalent amount of heat (Eq. 3 with δU = 0)Footnote 7:

$$ q_{p} = p\delta V $$
(10)

This quantity of heat is determined by the pressure of the gas, which I have indicated by the subscript.

Let us now evaluate δσ as before (Eq. 8):

$$ \delta \sigma = q_{p} /T = p\delta V/T $$
(11)

Since δV > 0, this is again > 0 as required.

There are three points to make about this result. First, although we have obtained it for a gas that does work and is in contact with a heat bath, it still nevertheless applies to a gas that expands freely by δV.Footnote 8 This is because the value of δσ is determined by properties of state of the gas (p, V, and T). It is therefore the same whether the process is carried out without doing work or raising a weight.

Second, while Eq. 11 gives the sole change in σ when the gas expands freely, this is not the case when the gas does work in a heat bath. This is because the bath loses heat to the gas. This loss is equal to − qp and thus to − pδV. The change in σ for the bath is therefore − pδV/T and for the total system (gas + bath) zero. This accords with the fact that, when the pressure exerted by the weight exactly balances p, the piston does not move − there is no tendency for spontaneous change.

Third, if the pressure exerted by the weight is less than the pressure of the gas, then the work done by the gas (pextδV) is less than pδV and the heat the gas absorbs (qpext = pextδV) is less than qp (Eq. 10). We can therefore write

$$ q_{p} - q_{{p{\text{ext}}}} = \, \left( {p - p_{{{\text{ext}}}} } \right)\delta V \ge \, 0 $$
(12)

Hence, from Eq. 11,

$$ \delta \sigma \ge q/T $$
(13)

where the equality holds for q = qp. This relation also holds if the gas is compressed (for expansion, δV > 0 and pext ≤ p in Eq. 12; for compression, δV < 0 and pext ≥ p). The same result is obtained if δU ≠ 0 (δU in Eq. 3 cancels in Eq. 12). The equality also holds for heat transfer when δV ≈ 0, as in the first example above (Eq. 8). Equation 13 thus applies to any semi-open system. I use this relation below.

Other examples

We can establish that the quantity σ has a more general application by considering the other examples of change given earlier. Some ingenuity is required to get these processes to do work and absorb heat, using semi-permeable barriers. Care also has to be taken to ensure that heats are determined by properties of the system, as in the previous example.

For the third example (mixing of two gases), we can use the apparatus shown in Fig. 2 (Denbigh 1981: Chap 3, problem 1). In this, the two gases (A, B) are separated in a cylinder by two pistons, one permeable to one gas and the other to the other. With the cylinder in a heat bath, each gas acts as in the previous example and gives δσA > 0 and δσB > 0, hence δσt = δσA + δσB > 0.

Fig. 2
figure 2

Apparatus for controlled mixing of two gases (A, B). Piston a is permeable to gas A and piston b to gas B. The piston rods are connected via cranks to weights. The apparatus is placed in a heat bath

For the fourth example (racemization of an optically active gas), we can use a similar apparatus. The net result is again an increase in σ.Footnote 9

Entropy

We have found a property of state that increases in spontaneous changes in an isolated system. This is defined by Eq. 8, where q is the heat absorbed by a system (or subsystem when σt = Σσi as in Eq. 4) under certain conditions. These are usually specified as “reversible”, because the system can be restored to its original state by reversing what caused it to change. This is illustrated by the second example above (equalization of pressure) when the gas is made to do work. Replacing the grain of sand causes the gas to return to its original state, and to give back the heat it absorbed from the bath. However, the change in the first example above (equalization of temperature between metal blocks) is not reversible. Heat absorbed by the cold block from the hot one cannot be transferred back directly. The distinction arises from Eq. 13, where the condition for δσ to be equal to q/T is either pext = p (reversibility) or δV = 0. A better specification therefore is, “when q is determined by state properties of the system” (in the first example, qA = δUA and qB = δUB; in the second, q = pδV). We can indicate this by writing qs, where “s” signifies “state-determined”.

From Eq. 3, the general equation for qs when only pV work is done, is:

$$ q_{s} = \, \delta U + p\delta V $$
(14)

This can be summed to give Q = Σqs and Δσ = Σ(qs/T) for any change. A complication is that the former depends on the path, as shown in Table 1 (column 2).Footnote 10 The latter, however, does not (column 3).

Table 1 Values of Q and Δσ for the expansion of a gas at low pressure from (p1, V1, T) to (p2, V2, T) along different paths

A simple proof of this is as follows. Consider changing the state of a body from state 1 to state 2 along a path for which the heat increments are not all state-determined, and then returning it to state 1 along a path for which they are:

$$ \sum\limits_{cycle} {(q/T)} = \sum\limits_{1}^{2} {(q/T)} + \sum\limits_{2}^{1} {(q_{s} } /T) $$
(15)

This gives, from Eqs. 8 and 13,

$$ \sum\limits_{cycle} {(q/T)} = \sum\limits_{1}^{2} {(q/T - \delta \sigma )} \le \, 0 $$
(16)

Thus, if the first stage had been carried out along a qs path:

$$ \sum\limits_{cycle} {(q_{s} } /T) = \oint {\delta \sigma } = 0 $$
(17)

This makes σ a state function. It also explains why q has to be state-determined. Only if it is can it give a state function.

We can now call σ “entropy”Footnote 11 and give it the symbol S. From Eq. 9, it is the energy of a system resulting from the absorption of state-determined increments of heat (Σqs) with the increments weighted by 1/T. This holds whatever path is taken to obtain the sum.

The significance of the factor 1/T is shown in the first example above. The change in entropy when a small quantity of heat (q) is taken from or added to each metal block is given by ± q/TA and ± q/TB. Since TB > TA, this change is greater for block A than for block B. In other words, q has a greater effect on the cold block than on the hot one. This is why, when the blocks are brought into contact, it is the cold block that gains heat and the hot one that loses it. It is as if heat is more potent at lower temperatures.

Entropy thus emerges as the potent energy of a system [Σ(qs/T)], the potency being determined by 1/T.

Application to heat engines and pumps

This understanding of entropy helps to explain the action of the engine Carnot devised to convert heat into work as efficiently as possible (Laidler 1993: 87 − 92, 370). In this engine, a gas expands in a cylinder immersed in a bath at temperature T> and does work (step 1, isothermal). It is then restored to its original state by first allowing it to expand further with an insulating jacket round the cylinder until its temperature drops to T< (step 2, adiabatic). Next, the cylinder is placed in a bath at temperature T< and the gas compressed to the point when further compression with an insulating jacket will restore the gas to its original state (step 3, isothermal). The final step is this compression (step 4, adiabatic). The steps are carried out under reversible conditions as described above.

In this cycle, the gas absorbs a quantity of heat Q> from the hot bath while it does work W> (= Q>), and returns a quantity of heat Q< to the cold bath while work W< (= Q<) is done on it (the effects of steps 2 and 4 cancel). The question then is, why is W> greater than W< so that the net result is that the gas does work (W = W>  − W<)?

The formal answer is that the entropy of the gas at the end of the cycle is the same as at the beginning, so that Q>/T>  = Q</T< (Eq. 17). Since T> is greater than T<, Q> is greater than Q<, and therefore W> is greater than W<.

The understanding of entropy developed in this paper illuminates this. The reason why the quantity of heat transferred to the cold bath is less than that absorbed from the hot one is that the heat transferred to the cold bath is more potent, 1/T< being greater than 1/T>. This leaves a quantity of heat (Q>  − Q<) that can be converted into work.

Similar considerations apply when a Carnot engine is operated in reverse as a heat pump. In this mode, heat is transferred from the cold bath to the hot one, but work has to be done to achieve this. This is because a greater quantity of heat has to be supplied to the hot bath than is taken from the cold one because heat at the higher temperature is less potent.

Extension

From Eqs. 8 and 14, we can write

$$ \delta U = T\delta S - p\delta V $$
(18)

This is for a semi-open system. For an open system

$$ \delta U = T\delta S - p\delta V + \sum\limits_{i} {(\partial U/\partial n_{i} } )_{{S,V,n_{j} }} \delta n_{i} $$
(19)

where ni is the amount of the ith chemical component. From this and the auxiliary functions H (= U + pV), A (= U − TS), and G (= U + pV − TS), the standard equations of chemical thermodynamics can be derived.

Statistical mechanical interpretation

I have previously discussed the statistical mechanical interpretation of entropy, based on the first process considered above (Nelson 1994). For this, the number of microscopic states the system ranges over before thermal contact is made is given by

$$ \Omega_{\text{t}} = \, \Omega_{\text{A}} \Omega_{\text{B}} $$
(20)

where ΩA is the number of states block A ranges over and ΩB the number for block B, the blocks being independent. After contact is made, Ωt increases. If the contact is brief, the increase is given by

$$ \delta \Omega_{\text{t}} = \, \Omega_{\text{B}} \delta \Omega_{\text{A}} + \, \Omega_{\text{A}} \delta \Omega_{\text{B}} $$
(21)

This can be written

$$ \delta \Omega_{\text{t}} /\Omega_{\text{t}} = \, \delta \Omega_{\text{A}} /\Omega_{\text{A}} + \, \delta \Omega_{\text{B}} /\Omega_{\text{B}} \ge \, 0 $$
(22)

Comparison with Eq. 5 indicates that

$$ \delta S = k^{\prime}\delta \Omega /\Omega $$
(23)

where k' is a constant. Integration of this gives

$$ S = k^{\prime}\int { {\delta \Omega /\Omega = k^{\prime}\ln \, \Omega } } \, $$
(24)

where I have set the integration constant equal to zero so that S(0) = 0 corresponds to Ω = 1.

From Eqs. 23 and 24, change in entropy thus corresponds to the relative change in the number of microscopic states a system ranges over, and entropy to the logarithm of this number. Potent energy content [Σ(qs/T)] thus corresponds to the degree of multiplicity of microscopic states, measured on a logarithmic scale. The higher the potent energy, the greater the multiplicity. The constant k′ converts the former into a number (S/k′) equal to the logarithm of the latter.

This treatment can be extended to the second process considered above, expansion of a gas into a vacuum. From the quantum theory, the number of states a monatomic gas can range over when it has a particular energy is proportional to VN, where N is the number of atoms (Denbigh 1981: Sect. 12.10). For a small expansion, therefore, the change in the number of states is given by

$$ \delta \Omega /\Omega \, = N\delta V/V $$
(25)

From Eq. 23, this gives

$$ \delta S = Nk^{\prime}\delta V/V $$
(26)

Now for an ideal gas, Eq. 1 holds. Substituting this into Eq. 26 gives

$$ \delta S \, = \, \left( {k^{\prime}/k} \right)p\delta V/T $$
(27)

This is the same as Eq. 11 if we identify k' with k.

This result depends on the definition of entropy matching the scale of temperature. We have taken TV for a gas at constant p and δS = q/T. Other matches include T′ ∝ 1/V and δS′ = qT′. Equations 1 and 11 are then pV = Nk/T′ and δS′ = TpδV, and substitution of the former into Eq. 26 again gives the latter. For this match, the potency factor is simply T′.

Conclusion

Thermodynamic entropy (S) determines the direction of spontaneous change in an isolated system. It represents the potent energy of a system, the increments of which (qs/T) are determined by the state of the system and their potency by 1/T. State-determination is a more general condition than reversibility and is needed to produce a state function (reversibility ensures state-determination because it requires a balance between external forces and internal ones). The weighting by 1/T arises because heat is more potent at lower temperatures as I have shown.

This understanding of entropy at a macroscopic level is fuller than the traditional one given in many textbooks. It also explains the addition Lambert (2005) had to make to his definition of entropy, which I mentioned in the introduction. My treatment has the additional merit of being shorter than the traditional one. Entropy appears as early as Eq. 8.