Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Chapter opening illustration

8. Entropy

Entropy

The Terrifying Prophecy of Professor Clausius

Illustration from the original text

Introduction

We present here the most powerful and difficult concept of thermodynamics.

This chapter 8 (entropy) aims to approach it in the most pragmatic way possible, starting from two questions:

• What does entropy represent?

• Why do physicists and engineers quantify its variations?

8.1 The Concept of Entropy

8.1.1 What is entropy used for?

At the very beginning of chapter 1 (fundamental concepts), we had seen that we could conceptualize energy as “a quantity that never changes when things evolve”. Thus, we quantify energy to determine the limits of what is possible: for example, we know that with 500J500 J, a stationary body of mass 10kg10 kg cannot reach a speed greater than 10ms110 m s^{-1} (eq. 1/5 p. 15).

However, our intuition and daily experience teach us that many transformations can only occur in one direction (figure 8.1). For example, there is as much energy in a glass of water on the edge of a table as in the same glass shattered with the water spilled on the floor. Yet we know, or more precisely, we have a deep conviction, that it is possible for the glass to fall and break, but impossible for the shards and water on the floor to spontaneously gather together into a full glass on the table. Thus, the quantification of energy is not entirely sufficient to determine what is possible. We would also like to be able to predict absolutely and quantitatively the direction in which energy can or cannot be transformed.

Entropy was conceived to address this question. By the end of this chapter, we will have a tool to calculate the direction of a process, that is, to mathematically predict which of two situations separated in time must have occurred before the other.

We have the intuition and an inner conviction that these three photos were taken in a very particular order. A calculation of the *entropy* in these three situations, in which the *energy* is the same, allows us to determine this order by associating a calculable quantity with our intuition.

Figure 8.1:We have the intuition and an inner conviction that these three photos were taken in a very particular order. A calculation of the entropy in these three situations, in which the energy is the same, allows us to determine this order by associating a calculable quantity with our intuition.

images derived from Photos CC-by-sa by Jarosław W. Tuszyński

8.1.2 How can we determine the direction of a

process?

In the vocabulary of thermodynamics, the concept of a “one-way change” is of course called irreversibility. We had already discussed irreversibility in section §2.4.3, where we had determined that it had two main causes:

• The conversion of work into heat, through friction and turbulence;

• The transfer of a quantity of heat between two bodies at different temperatures.

Irreversible processes in fluids invariably lead to states where the temperature, pressure, or volume are greater than they would have been with a reversible process.

In order to quantify the irreversibility of a process, we will quantify the amount of heat that one would need to remove from the body to bring it back to its initial state reversibly. By subtracting to this amount the heat that was actually transferred, we obtain the heat that was somehow needlessly created during the process. Moreover, the lower the temperature at which this heat is created, and the less of it can be transformed into work (§7.5.1). We will thus “penalize” the heat cost by dividing it by the temperature. In this way, we will obtain a quantity in joules per kelvin – the entropy created during the process – which will be zero during reversible processes and will always be positive during irreversible processes. It is this creation that will be the unmistakable sign that the process is possible only in one direction.

8.2 Definition

8.2.1 Entropy is a property

Let us begin by acknowledging the fact that entropy is a physical property, meaning something that characterizes the state of a system. Put another way: if we consider a portion of the universe at a given moment (a system), we find that this system has a mass, a volume, a temperature: these quantities describe its current state (which is why they are called state quantities). Entropy is one of these quantities.

By contrast, we could say that heat, work, or electric current are not properties: they are not quantities that describe an object, but rather a transfer between two objects (path quantities).

Therefore, we will always think of entropy as the entropy “of something” (perhaps as we would say the color, the temperature “of something”). For example, we will say “this body has entropy” or “the entropy of this body is increasing/decreasing”, and not “we are taking/giving entropy to this body”. Rigorously, we say that entropy is an additive state quantity (see the appendices A3 and A4).

8.2.2 Definition

Entropy, noted SS, is a physical property.

• When a system undergoes a reversible process, its entropy varies such that:

dS(δQT)rev.dS \equiv \left(\frac{\mathrm{δ}Q}{T}\right)_{\mathrm{rev}.}

where the subscript rev. indicates the calculation is done along a reversible path; dSdS is the infinitesimal change in entropy (JK1)(J K^{-1}); δQQ is the infinitesimal amount of (reversibly) supplied heat (J)(J);

and TT is the temperature at which the heat transfer occurs (K)(K).

When it transitions from a state A to a state B reversibly, the entropy of a system therefore varies by an amount ΔS\Delta S:

ΔS=AB(δQT)rev.\Delta S = \int _{\mathrm{A}}^{\mathrm{B}} \left(\frac{\mathrm{δ}Q}{T}\right)_{\mathrm{rev}.}

where the subscript rev. indicates the calculation is done along a reversible path.

• When a system undergoes an irreversible process between A and B (as is the case for the majority of real processes), then a reversible path between these two states must be found and the integration 8/2 must be performed along it to calculate ΔS\Delta S.

There is always a reversible way (in fact, there is even an infinity of such ways) to make a system undergo a process between two arbitrary states. For this, the work transfers must be carried out infinitely slowly and the heat transfers must be carried out with infinitesimal temperature differences.

We must be careful here: if one integrates the quantity δQT\frac{\delta Q}{T} along a process where the temperature or pressure are not homogeneous (for example during a rapid expansion, or in a body that has an internal temperature gradient, see §2.4.3), then a result will be obtained which is lower than the actual entropy change ΔS\Delta S.

The SI unit of entropy SS is the JK1J\,K^{-1} (joule per kelvin); and correspondingly, the specific entropy ss is defined as:

sSms \equiv \frac{S}{m}

where mm is the considered mass (kg)(kg), and ss is its specific entropy (JK1kg1)(J K^{-1}kg^{-1}).

In practice, the term “entropy” is often used even if it refers to specific entropy; the symbol and context determine which variable is being referred to.

8.2.3 Remarks

Let’s add three remarks before moving on.

  1. Equation 8/2 does not allow for the calculation of the entropy of a system, but only its change during the process. In fact, we do not know how to calculate the entropy of an arbitrary body! We will see that this is not important for the engineer.

  2. Just like energy, entropy is invisible, odorless, intangible, and inaudible. There is no instrument capable of measuring it. We can only calculate its changes.

  3. Entropy changes can only be calculated along reversible processes, which is a very important limitation (no real process of interest to engineers is reversible). However, there are always multiple reversible ways, all equivalent, to reproduce the final state of an irreversible process.

8.3 Changes in Entropy

8.3.1 Analogy with volume

We have seen in chapter 2 (closed systems) that when the process is reversible, the work done by a fluid as its volume changes is expressed by equation 2/14:

WAB=ABpdVW_{\mathrm{A}\rightarrow \mathrm{B}}= -\int _{\mathrm{A}}^{\mathrm{B}} pdV

for a closed system when the volume changes are infinitely slow.

We could thus propose to define volume as being “what varies with pressure when work is done, when the process is reversible”, which would amount to the following definition:

dV=(δWp)rev.dV = -\left(\frac{\mathrm{δ}W}{p}\right)_{\mathrm{rev}.}

where the subscript rev. indicates the calculation is done along a reversible path.

or even the following, more approachable expression, which can be visualized on a pressure-volume diagram (figure 8.2):

ΔV=AB(δWp)rev.\Delta V = -\int _{\mathrm{A}}^{\mathrm{B}} \left(\frac{\mathrm{δ}W}{p}\right)_{\mathrm{rev}.}

where the subscript rev. indicates the calculation is done along a reversible path.

We can see that entropy is defined in a similar way, that is, as the variable SS that, during a reversible heat transfer, allows us to relate heat to temperature with the relation 8/2:

ΔS=AB(δQT)rev.\Delta S = \int _{\mathrm{A}}^{\mathrm{B}} \left(\frac{\mathrm{δ}Q}{T}\right)_{\mathrm{rev}.}

where the subscript rev. indicates the calculation is done along a reversible path.

Volume changes during adiabatic expansions. The increase in volume is calculable by integrating $\delta W/p$ along a reversible path $(1 \rightarrow 2^{'})$, but not along an irreversible path $(1 \rightarrow 2)$.

Figure 8.2:Volume changes during adiabatic expansions. The increase in volume is calculable by integrating δW/p\delta W/p along a reversible path (12)(1 \rightarrow 2^{'}), but not along an irreversible path (12)(1 \rightarrow 2).

Diagram CC-0 Olivier Cleynen

Then we have

QAB=AB(TdS)rev.Q_{\mathrm{A}\rightarrow \mathrm{B}}= \int _{\mathrm{A}}^{\mathrm{B}} (T dS)_{\mathrm{rev}.}
qAB=AB(Tds)rev.q_{\mathrm{A}\rightarrow \mathrm{B}}= \int _{\mathrm{A}}^{\mathrm{B}} (T ds)_{\mathrm{rev}.}

for any process, where the subscript rev. indicates the calculation is done along a reversible path.

In this way, we are able to represent the processes on a temperature-entropy diagram. As shown in figure 8.3, the area under the curve of a process will represent the heat transferred in cases where the process is reversible; but in cases where the process is irreversible, it does not.

Temperature-entropy diagram. During a reversible process, the area under the curve of a T-s diagram represents the transmitted heat Q_{1→2'}; but not when it is irreversible.

Figure 8.3:Temperature-entropy diagram. During a reversible process, the area under the curve of a TsT-s diagram represents the transmitted heat Q12Q_{1\rightarrow 2^{'}}; but not when it is irreversible.

Diagram CC-0 Olivier Cleynen

8.3.2 Temperature-entropy diagrams

After six chapters of loyal and dedicated service, the time has come to honorably discharge the pressure-volume diagram, because it is time to make use of our new tool: the temperature-entropy diagram. Even though it is a bit more abstract, the TsT-s diagram is very useful for describing what happens inside machines because it is easy to plot and allows us to visualize directly the irreversibility, which is always undesirable for the engineer.

When a fluid receives or supplies work in a reversible adiabatic manner, then Δs=δqT=0\Delta s = \int \frac{\mathrm{δ}q}{T} = 0, since the process is reversible and δq=0q = 0. A reversible adiabatic process thus occurs at constant entropy – it is iso-entropic, and we call that isentropic. We will represent it as a vertical path on temperature-entropy diagrams (figure 8.4).

Elementary processes on temperature-entropy diagrams.

Figure 8.4:Elementary processes on temperature-entropy diagrams.

Diagrams CC-0 Olivier Cleynen

Transfer of heat, on the other hand, causes a change in the system’s entropy (positive when heat is received and negative when it is rejected). On TsT-s diagrams, we move from left to right while receiving heat or when there is irreversibility in a compression or expansion.

When the system loses heat, its entropy decreases and we move from right to left on the TsT-s diagrams (figure 8.4).

Note also that when a fluid completes a cycle, the temperature at which entropy decreases can be lower than the temperature at which it increases (just like volume with pressure). The net heat transfer is then negative: the fluid has absorbed heat which has been converted into work. If it were to follow the reverse path, the fluid cycle would be a source of heat: this is the operating principle of the refrigerator (§6.2.3).

When the processes are reversible, this net heat is represented by the area enclosed by the path taken by the fluid on a temperature-entropy diagram (figure 8.5): a thermodynamic cycle during which heat has been absorbed, and therefore transformed into work; when the path is reversed, heat is rejected (and work absorbed) by the fluid.

Finally, we are pleased to note that the Carnot cycle, consisting of two isothermal phases (T=(T = constant) separated by two isentropic phases (s=(s = constant), benefits greatly from being represented on a temperature-entropy diagram, as shown in figure 8.6.

Carnot engine cycle, on a 𝑝-𝑣diagram for an ideal gas (left), on a 𝑝-𝑣 diagram for a liquid-vapor system (right), and on a 𝑇-𝑠diagram (bottom). Regardless of the fluid used, the temperature-entropy diagram remains the same.

Figure 8.6:Carnot engine cycle, on a pvp-v diagram for an ideal gas (left), on a pvp-v diagram for a liquid-vapor system (right), and on a TsT-sdiagram (bottom). Regardless of the fluid used, the temperature-entropy diagram remains the same.

Diagrams 1, 2 and 3 CC-0 Olivier Cleynen

8.3.3 Entropy changes of an ideal gas

From now on, we wish to quantify the entropy change in fluids for any arbitrary process. For an ideal gas, the quantification of this change is surprisingly simple.

For any process undergone by a fixed quantity of fluid, we have (2/2):

q12+w12=Δuq_{1\rightarrow 2}+ w_{1\rightarrow 2}= \Delta u

If we imagine a reversible path between 1 and 2, we can quantify q12=12Tdsq_{1\rightarrow 2}= \int_{1}^{2} T\, ds (equation 8/8) and w12=12pdvw_{1\rightarrow 2}= -\int_{1}^{2} p\, dv (equation 2/15) along it, and we can write:

12Tds12pdv=Δu\int_{1}^{2} T\, ds - \int_{1}^{2} p\, dv = \Delta u
Tdspdv=duT\, ds - p\, dv = du
ds=duT+pTdvds = \frac{du}{T} + \frac{p}{T}\, dv

during any reversible process.[1]

Now, if we use an ideal gas, we have u=cvTu = c_{v}T (equation 4/11) and p=RTvp = \frac{RT}{v} (equation 4/1), thus:

ds=cvdTT+Rdvvds = c_{v}\frac{dT}{T} + R\frac{dv}{v}
Δs=s2s1=cvlnT2T1+Rlnv2v1\Delta s = s_{2}- s_{1}= c_{v}\ln \frac{T_{2}}{T_{1}} + R\ln \frac{v_{2}}{v_{1}}
Δs=s2s1=cplnT2T1Rlnp2p1\Delta s = s_{2}- s_{1}= c_{p}\ln \frac{T_{2}}{T_{1}} - R\ln \frac{p_{2}}{p_{1}}

for an ideal gas, for any process from 1 to 2, reversible or not.

This equation is interesting because it indicates that the entropy change Δs\Delta s during a process from 1 to 2 depends only on the initial and final states. Even though we started this demonstration along a reversible process, we obtain an expression 8/10 in which the path used does not appear.

It is therefore possible to easily calculate the change entropy of an ideal gas if its other properties are known. Unlike the internal energy uu which depends only on temperature, changes in entropy (Δs)(\Delta s) also depend on the gas pressure.

In the case where pressure or specific volume is kept constant, these equations 8/10 and 8/11 become respectively:

Δsvconst.=cvlnT2T1\Delta s_{v_{\mathrm{const}.}}= c_{v}\ln \frac{T_{2}}{T_{1}}
Δspconst.=cplnT2T1\Delta s_{p_{\mathrm{const}.}}= c_{p}\ln \frac{T_{2}}{T_{1}}

for an ideal gas, for any process at constant volume or respectively at constant pressure.

These two equations 8/12 and 8/13 allow us to plot isochoric (at constant volume) and isobaric (at constant pressure) curves for an ideal gas on a TsT-s diagram, as shown in figure 8.7.

Illustration from the original text
Isobaric and isochoric curves on a 𝑇-𝑠diagram, for an ideal gas. Here 𝑝1 > 𝑝2 and 𝑣3 > 𝑣4.

Figure 8.7:Isobaric and isochoric curves on a TsT-s diagram, for an ideal gas. Here p1>p2p_{1}> p_{2} and v3>v4v_{3}> v_{4}.

Diagram CC-0 Olivier Cleynen

Example 8.2

What is the change in specific entropy of a mass of 2kg(4.4lb)2 kg (4.4 lb) of air, when it is heated at constant pressure of 2 bar, from 50F50 ^{\circ} F to 212F(10C212 ^{\circ} F (10^{\circ}C

The process can be drawn qualitatively (that is, without showing numerical values) on a temperature-entropy diagram as shown below.

In order to calculate ΔS\Delta S, we start from equation 8/11, Δs=cplnTBTA=pA\Delta s = c_{p}\ln \frac{T_{\mathrm{B}}}{T_{\mathrm{A}}} - = p_{\mathrm{A}}. We thus have Δs=cplnTBTA=\Delta s = c_{p}\ln \frac{T_{\mathrm{B}}}{T_{\mathrm{A}}} =

10+273,15=+277.4JK1kg1_{10+273,15}= +277.4 J K^{-1}kg^{-1}.

The change in entropy is ΔS=mΔs=2×277.4=+554.8JK1\Delta S = m \Delta s = 2 \times 277.4 = +554.8 J K^{-1}.

It does not matter whether the process is reversible or not: we just need to know the initial and final states.

We correctly state that “the entropy of the air increases” and not that “entropy is given to it” (§8.2.1).

Illustration from the original text
Illustration from the original text

8.3.4 Entropy changes of a liquid/vapor mixture

For a liquid/vapor mixture, the changes of ss cannot be predicted with a calculation because there is no simple mathematical model to describe temperature as a function of other properties. The saturation curve and the path of process at constant pressure are represented in figure 8.8; this figure closely resembles the temperature-volume diagram we plotted in figure 5.7.

In order to quantify changes in entropy, we we will proceed exactly as we did with internal energy uu in chapter 5 (liquids and vapors): by tabulating values for ss. Since there is no way to measure ss directly, all the tabulated values of entropy are relative to a reference point for which ss is arbitrarily set to 0JK1kg10 J K^{-1}kg^{-1}; in our case, it is the triple point of water. This does not matter for our calculations, since we are only interested in the changes of entropy.

Temperature-entropy diagram of a liquid/vapor mixture. This figure closely resembles fgi. 5.7 p. 121.

Figure 8.8:Temperature-entropy diagram of a liquid/vapor mixture. This figure closely resembles fgi. 5.7 p. 121.

Diagram CC-0 Olivier Cleynen

When water is either in a saturated liquid or dry steam state, values of entropy can simply be read in the last column in Steam Table 1 (see Appendix A1 pp. 306-309, and section §5.3 p. 123), an extract of which is repeated in table 8.1.

Table 8.1:An extract from Steam Table 1 (see pp. 306-309). Values for entropy can be read in the last column, and its values are interpolated like the other properties.

°C TTm3m^{3} kgkg vvkJkJ kJkJ kgkg kgkg uu hhkJkJ KkgKkg ss
p=1.6MPap = 1.6MPa
(Tsat.=201.37C)(T_{\mathrm{sat}.}= 201.37^{\circ}C)
100.00142 43.60.1509
200.00100183.8 85.40.2962
500.001011209.1 210.70.7031
1000.001043418.6 420.31.306
2000.001156850.4 852.32.3305
3000.158662781.5 3035.46.8863
5000.220293120.1 3472.67.5409
6000.249993293.9 3693.97.81
7000.27943473.5 3920.58.0557
8000.308653659.5 4153.38.2834
9000.33783852.1 4392.68.4965
10000.366874051.2 4638.28.6974
11000.395894256.6 48908.8878
12000.424874467.9 5147.79.0689
15000.511695133.7 5952.49.5656
20000.656156326.8 7376.610.272

Within the saturation curve, in other words, when a mix of phases is present, we interpolate values for entropy between those of sLs_{L} (saturated liquid) and sVs_{V} (saturated vapor) using the concept of dryness fraction, exactly as with equation 5/5:

sx=sL+xsLVs_{x}= s_{L}+ x s_{LV}

(8/14)

100×(7.3746.9683)=7.1306kJK1kg1_{100}\times (7.374 - 6.9683) = 7.1306 kJ K^{-1}kg^{-1}.

uLV=1993.51000546.1=u_{LV}= ^{1000-546.1}_{1993.5}=

Illustration from the original text
Illustration from the original text
Illustration from the original text

8.4 Predicting the Direction of Processes

Here we come to the central concept that has opened the doors of physics to thermodynamics. Based on the quantifications of entropy changes, we are able to describe the direction of processes, that is, to prove for example that a state B comes after a state A.

8.4.1 Irreversibilities during heat transfers

In order to reward ourselves for already making it halfway through the chapter, we make ourselves a cup of tea. Because no one can resist a little thermodynamics, we press our mug closely against a bottle of cold water. O wonder, o joy! We have before our eyes a source of entropy. Let’s investigate. Our mug A is at temperature TAT_{\mathrm{A}}, higher than TBT_{\mathrm{B}}, the temperature of the water bottle (figure 8.9). The two bodies are brought into contact, and an infinitesimal amount of heat δq\delta q passes from A to B.

If we consider only a small amount of time, the temperature of body A is uniform, and its heat loss occurs reversibly. Thus, the entropy change of A is:

dsA=δqTAds_{\mathrm{A}}= -\frac{\delta q}{T_{\mathrm{A}}}

The temperature of body B is also uniform: the process there is also internally reversible, and the change of its entropy is:

dsB=+δqTBds_{\mathrm{B}}= +\frac{\delta q}{T_{\mathrm{B}}}

However, the temperature of the entire system [A+B] is not uniform at all: the process there is not internally reversible. Even if the system receives no heat from the external surroundings, it does not have “a” temperature, and we cannot apply integral 8/2, 12(Tds)rev.\int ^{2}_{1}(T ds)_{\mathrm{rev}.} to calculate its entropy change. The entropy change of system [A+B] is the sum of those of its components, namely:

ds[A&B]=dsA+dsB=δqTBδqTAds_{[\mathrm{A}\&\mathrm{B}]}= ds_{\mathrm{A}}+ ds_{\mathrm{B}}= \frac{\delta q}{T_{\mathrm{B}}} - \frac{\delta q}{T_{\mathrm{A}}}
Creation of entropy by heat transfer. The process is internally reversible for each of the two bodies A and B, but irreversible for the system [A+B].

Figure 8.9:Creation of entropy by heat transfer. The process is internally reversible for each of the two bodies A and B, but irreversible for the system [A+B].

Diagram CC-0 Olivier Cleynen

Since TA>TBT_{\mathrm{A}}> T_{\mathrm{B}}, this change is positive and non-zero; entropy has been created during the irreversible heat transfer. The irreversibility occurs neither in cup A nor in bottle B, but at the thin material boundary separating them. The process can be represented rather convincingly on a TsT-s diagram (figure 8.10).

Entropy changes for bodies A and B. The two shaded areas are equal (representing the heat quantity δ$q)$, but the sum of the two entropies increases.

Figure 8.10:Entropy changes for bodies A and B. The two shaded areas are equal (representing the heat quantity δq)q), but the sum of the two entropies increases.

Diagram CC-0 Olivier Cleynen

This small investigation shows us that every temperature gradient leads to irreversibility, resulting in an increase in total entropy. Any heat transfer between two objects of different temperatures can be viewed as a missed opportunity to do work – likely a source of anxiety for both students and engineers. By placing a Carnot engine between bodies A and B, no irreversibility would occur, and ds[A&B]ds_{[\mathrm{A}\&\mathrm{B}]} would be zero. By placing a thermal engine with low efficiency, ds[A&B]ds_{[\mathrm{A}\&\mathrm{B}]} would be small; the case above where heat transfer occurs without a machine is the limiting case where no work is produced.

8.4.2 Irreversibilities during adiabatic

compressions and expansions

Another type of process leads to irreversibilities, and thus to an increase in total entropy: it is the transfer of work in fluids.

In practice, any expansion or compression occurs in the presence of internal irreversibilities. Since the duration of the process is finite (unlike Carnot’s idealized processes), there will necessarily be pressure imbalances within the fluid. These imbalances lead to internal turbulence, which causes the conversion of mechanical energy into internal energy through friction and heat.

Thus, a real adiabatic compression causes the fluid to reach a higher temperature than a reversible adiabatic compression (figure 8.11): part of the supplied work is completely converted into heat due to internal friction. Accordingly, during a real adiabatic expansion, the temperature decreases less than during a reversible adiabatic expansion. Each time, entropy is increased even though no heat transfer δqq has occurred.

Theoretical (isentropic, solid lines) and real (dotted lines) adiabatic expansions and compressions. It is important to note that the increase in entropy is not related to a heat transfer “δ$q$”. The path on the $T-s$diagram is not continuous, and the area underneath does not represent a heat flow across the system boundaries.

Figure 8.11:Theoretical (isentropic, solid lines) and real (dotted lines) adiabatic expansions and compressions. It is important to note that the increase in entropy is not related to a heat transfer “δqq”. The path on the TsT-sdiagram is not continuous, and the area underneath does not represent a heat flow across the system boundaries.

Diagrams CC-0 Olivier Cleynen

8.4.3 The second law and entropy

We have stated in chapter 7 (the second law) that heat spontaneously moves only towards a lower temperature – a postulate we call the second law. We can now formulate this statement with a mathematical expression.

During a heat transfer from a body at temperature TAT_{\mathrm{A}} to another at temperature TBT_{\mathrm{B}}, the overall entropy change Δs=qTA+qTB\Delta s = \frac{-q}{T_{\mathrm{A}}} + \frac{q}{T_{\mathrm{B}}} is necessarily zero or positive because TAT_{\mathrm{A}} is necessarily equal to or greater than TBT_{\mathrm{B}}.

During a work transfer any irreversibility results in a higher final temperature than it could have been (see §2.4.3). Achieving the same final state with a reversible path thus requires a heat input, in other words, a positive term (δQT)rev.\int (\frac{\mathrm{δ}Q}{T})_{\mathrm{rev}.}. An irreversibility therefore leads to an increase in total entropy.

Thus, we can translate the second law as follows:

When an energetically-isolated system undergoes a process, its entropy ss changes in such a way that

Δs0\Delta s \geq 0
Illustration from the original text

We can always decrease the entropy of a system to bring it back to its initial value (by returning the system itself to its initial state, whatever the method used), but this will necessarily be at the expense of an increase at least as large in the entropy of another system.

We could also say, in the same way that we described energy as “a quantity that does not change during transformations” (§1.1.1), that entropy is conceptualized as “a quantity that always increases during transformations.” This is the indicator we were looking for in §8.1.1 to determine the direction of processes.

8.4.4 Predicting the direction of processes

In order to demonstrate that a system can only go from state A to state B, in other words, that the process is irreversible, we need to proceed as follows:

  1. We need to find a reversible path A \rightarrow B, namely, a process to go from A to B while keeping pressure and temperature internally homogeneous even if they vary;

  2. Along this reversible path, we calculate Δs\Delta s (that is, we carry out the integral δqT\int \frac{\mathrm{δ}q}{T} for this path).

  3. We compare the integral δqT\int \frac{\mathrm{δ}q}{T} along the reversible path with the integral for the real path.

There are three possibilities:

• If the two integrals are equal, then the real process is reversible: it can take place in both directions.

• If (δqT)realpath<(δqT)rev.\int (\frac{\mathrm{δ}q}{T})_{\mathrm{real} \mathrm{path}}< \int (\frac{\mathrm{δ}q}{T})_{\mathrm{rev}.}, then the real process is irreversible. It can only take place from A to B.

• If (δqT)realpath>(δqT)rev.\int (\frac{\mathrm{δ}q}{T})_{\mathrm{real} \mathrm{path}}> \int (\frac{\mathrm{δ}q}{T})_{\mathrm{rev}.}, then the described “real” process is

impossible. It can only take place in the reverse direction (B \rightarrow A).

Thus, we can mathematically determine the direction of time, at least for some simple cases – a subtlety that one would not expect from engineers concerned about their fuel consumption!

Illustration from the original text

8.5 Entropy, Time, and the Universe

8.5.1 Entropy for the engineer

We have seen that entropy, just like energy, is a concept which was designed in order to back with calculations an intuition that we have about the world: quantifying their changes enables us to determine the transformations that are possible. It is therefore fundamentally a concept for physicists. For engineers, entropy is:

• “what does not change when compressing and expanding fluids ideally”. Thus, quantifying Δs\Delta s allows us to quantify the properties that a fluid should have at the outlet of a compressor or a turbine;

• “what does not change when transferring heat within a system ideally”. Thus, quantifying Δs\Delta s allows us to calculate the irreversibility that occurs during heat transfers.

Whenever we produce an increase in overall entropy, we have to proceed ultimately to an unwanted heat rejection. Thus, these quantifications of Δs\Delta s allow us to measure the quality of expansions, compressions, cooling, and heating that we carry out with fluids in our machines.

8.5.2 Context: the direction of time

The examples we have studied in this chapter to determine the direction of processes are very academic, however the approach remains valid for any process: a stone thrown into a pond, a food plate breaking when it falls, etc. If we go back to the three photos in figure 8.1, we could determine their order by finding the initial and final states of the water around the diver, and comparing Δs\Delta s with the integral (δqT)realpath\int (\frac{\mathrm{δ}q}{T})_{\mathrm{real} \mathrm{path}} carried out during the entry into the water.

This desire to find the absolute order in which states succeed one another, in other words, the direction of time, led the German physicist Rudolf Clausius to propose the concept of entropy in 1865 in a masterly publication — Über verschiedene für die Anwendung bequeme Formen der Hauptgleichungen der mechanischen Wärmetheorie [17, 18, 19]. Concluding a decade of work around the quantity QT\frac{Q}{T}, he formalized a concept that his French colleague Frédéric Reech and Scottish counterpart William Rankine had only touched upon [36], and synthesized all the contemporary knowledge of his discipline.

Clausius created the word entropy based on the ancient Greek tropè τροπή (revolution, change), which, coupled with his authoritarian tone, did nothing to win the enthusiasm of his contemporaries. But the concept is so powerful, and equation 8/16 so simple, that they were universally accepted.

After a century of efforts, the physics of heat had caught up with engine technology. We were finally able to fully and quantitatively describe the behavior of bodies without having to delve into that of their constituents, such as molecules, atoms, or subatomic particles: entropy was the last missing piece of what we now call macroscopic thermodynamics.

8.5.3 Entropy at the microscopic scale

After Clausius, the development of thermodynamics is no longer of great interest to engineers, but physicists may still be longing for more. Indeed, although we had described the irreversibility phenomenon, we had not yet explained its origin within bodies made up of particles whose movements (an incessant buzzing of collisions, based on attractive and repulsive forces), themselves, are perfectly reversible.

It would take only ten years for the answer to be formalized: in 1875, Austrian physicist Ludwig Boltzmann proposed a microscopic definition of entropy:

SklnλS \equiv kln \lambda

where λ\lambda is the number of possible configurations of the system which correspond to its state, and kk is a constant.

Thus, for Boltzmann, entropy is a measure of the probability that the system is in the state in which it is observed. The more probable the configuration (homogeneity of pressure and temperature), the greater the entropy.

At the macroscopic scale, we had described the second law as an impossibility (§7.1.1): for example, an object at one temperature cannot spontaneously have one of its ends cool down while the other heats up. According to Boltzmann, such an event is not strictly impossible, but only very improbable. The state where the fastest molecules are all gathered at one end, and the slowest at the other, is much less probable (lower entropy) than a state where they are distributed homogeneously (higher entropy).

This approach not only has the merit of reconnecting our discipline with atomic theory – and hence we will talk about microscopic thermodynamics and statistical thermodynamics – but it also opened the door to information theory. Indeed, the resolution and precision with which we evaluate the state of a system affect the number of possible configurations that can be attributed to it. Here, the concept of information became linked to other physical properties: an impressive result for a discipline that was only intended to explore what “hot” meant!

8.5.4 Entropy and the universe

We leave entropy on an open question. To the extent that we think of the universe as a finite set, in other words, as an isolated system containing a fixed amount of energy, can we apply equation 8/16: Δsuniverse>0\Delta s_{\mathrm{universe}}> 0 as time passes? Is the universe moving towards a final homogeneous minimum temperature? Clausius was unequivocal: he immediately concluded his 1865 article with the affirmation:

IffortheentireuniverseweconceivethesamemagnitudetoWilliamThomson,1852[12]If for the entire universe we conceive the same magnitude to ^{\mathrm{William} \mathrm{Thomson}, 1852 [12]}

be determined [...] which for a single body I have called entropy, and if at the same time we introduce the other and simpler conception of energy, we may express in the following manner the fundamental laws of the universe which correspond to the two fundamental theorems of the mechanical theory of heat.

  1. The energy of the universe is constant.

  2. The entropy of the universe tends to a maximum.

Rudolf Clausius, 1865 [17, 18, 19]

Is the theory of refrigerators and engines capable of predicting the end of the world? To explore this question in a fun way, students may read The Last Question by Isaac Asimov [29, 32] or Entropy and all that by Philippe Depondt [43]. For a more formal answer, one must refer to a good physics textbook.

Problems

The properties of water are tabulated in Steam Tables 1, 2, and 3 (see Appendix A1 p. 305)

Air is considered an ideal gas.

cv(air)=718Jkg1K1Rair=287Jkg1K1c_{v (\mathrm{air})}= 718 J kg^{-1}K^{-1} \qquad R_{\mathrm{air}}= 287 J kg^{-1}K^{-1}

cp(air)=1005Jkg1K1γair=1.4c_{p (\mathrm{air})}= 1005 J kg^{-1}K^{-1} \qquad \gamma _{\mathrm{air}}= 1.4

We assume that for a reversible adiabatic process (without heat transfer and infinitely slow), the properties of air are linked according to the following three relationships:

(T1T2)=(v2v1)γ1(4/36)\left(\frac{T_{1}}{T_{2}}\right) = \left(\frac{v_{2}}{v_{1}}\right)^{\gamma -1} \qquad (4/36)
(T1T2)=(p1p2)γ1γ(4/37)\left(\frac{T_{1}}{T_{2}}\right) = \left(\frac{p_{1}}{p_{2}}\right)^{\frac{\gamma -1}{\gamma}} \qquad (4/37)
(p1p2)=(v2v1)γ(4/38)\left(\frac{p_{1}}{p_{2}}\right) = \left(\frac{v_{2}}{v_{1}}\right)^{\gamma} \qquad (4/38)

We also assume that the change in entropy of an ideal gas, for any evolution, is quantified by the following relations:

Δs=s2s1=cvlnT2T1+Rlnv2v1(8/10)\Delta s = s_{2}- s_{1}= c_{v}\ln \frac{T_{2}}{T_{1}} + R\ln \frac{v_{2}}{v_{1}} \qquad (8/10)
Δs=s2s1=cplnT2T1Rlnp2p1(8/11)\Delta s = s_{2}- s_{1}= c_{p}\ln \frac{T_{2}}{T_{1}} - R\ln \frac{p_{2}}{p_{1}} \qquad (8/11)

Finally, we assume that the efficiencies of thermal machines based on a Carnot cycle are expressed as a function of the absolute temperatures as follows:

ηCarnot engine=1TLTH(7/6)\eta _{\mathrm{Carnot\ engine}}= 1 - \frac{T_{L}}{T_{H}} \qquad (7/6)
ηCarnot refrigerator=1THTL1(7/7)\eta _{\mathrm{Carnot\ refrigerator}}= \frac{1}{\dfrac{T_{H}}{T_{L}} - 1} \qquad (7/7)
ηCarnot heat pump=11TLTH(7/8)\eta _{\mathrm{Carnot\ heat\ pump}}= \frac{1}{1 - \dfrac{T_{L}}{T_{H}}} \qquad (7/8)
Reversible elementary processes of an ideal gas, represented on a temperature-entropy diagram.

Figure 8.13:Reversible elementary processes of an ideal gas, represented on a temperature-entropy diagram.

Public air compressor in Stockholm for cyclists. A heat exchanger integrated under the bodywork fortunately ensures the temperatures calculated in this problem are never attained.

Figure 8.15:Public air compressor in Stockholm for cyclists. A heat exchanger integrated under the bodywork fortunately ensures the temperatures calculated in this problem are never attained.

Footnotes
  1. This equation 8/9 is even true for any process, but this generalization is simpler to address after equations 8/10 and 8/11.