Lecture 12: Heat Engines and the Second Law (part 2)

This lecture builds on the concepts of heat engines, cycles on P-V diagrams, reversible and irreversible processes, and adiabats that we discussed previously. Today, we'll formalise the Second Law of Thermodynamics through the Kelvin and Clausius statements. We'll then introduce entropy ($S$) as a crucial new state function, explore T-S diagrams, and learn how to perform practical entropy calculations for simple thermodynamic processes.

Our learning outcomes for this session are to recall the Second Law and understand the equivalence between the Kelvin and Clausius statements. You'll also learn to connect entropy to heat transfer and temperature using the definition $\mathrm{d}S = \mathrm{d}Q_{\text{rev}}/T$. We'll practise transforming a Carnot cycle between P-V and T-S descriptions, and finally, you'll be able to calculate entropy changes in various simple, representative processes, both reversible and irreversible.

PoM_lecture_12_page_2.jpg

1) Useful work needs a cycle: the Carnot picture (quick recap)

To perform useful work repeatedly, a working substance must operate in a cycle, meaning it returns to its initial state after each sequence of operations. This cyclical process is typically visualised on a P-V diagram, where the net work done by the system is represented by the area enclosed by the cycle's path.

The Carnot cycle, an idealised and perfectly reversible heat engine, consists of four distinct stages:

  1. Isothermal expansion at $T_H$: The working substance absorbs heat $Q_H$ from a hot reservoir while expanding at a constant high temperature $T_H$. For an ideal gas undergoing an isothermal process, the change in internal energy $\Delta U$ is zero, so all the absorbed heat is converted into work done by the gas.
  2. Adiabatic expansion: The system is thermally isolated, meaning no heat is exchanged ($Q=0$). The gas continues to expand, doing work, which causes its temperature to drop from $T_H$ to $T_C$.
  3. Isothermal compression at $T_C$: The gas is then compressed at a constant low temperature $T_C$, rejecting heat $Q_C$ to a cold reservoir.
  4. Adiabatic compression: Again, the system is thermally isolated ($Q=0$). Work is done on the gas as it is compressed, increasing its internal energy and raising its temperature back to $T_H$, thus completing the cycle.

From our previous discussion, the efficiency of an ideal Carnot engine is given by $\varepsilon_{\text{Carnot}} = 1 - T_C/T_H$. This formula highlights a fundamental limit: the maximum possible efficiency depends solely on the absolute temperatures of the hot and cold reservoirs, not on the specific working substance. The Stirling cycle, another theoretical ideal engine, replaces the adiabatic legs of the Carnot cycle with isochoric (constant volume) processes but achieves the same maximum efficiency when operating reversibly between the same high and low temperatures, $T_H$ and $T_C$.

PoM_lecture_12_page_3.jpg

2) Vocabulary refresh for processes

As we delve deeper into thermodynamics, it's helpful to refresh our understanding of key terms that describe various processes:

These definitions are crucial for interpreting thermodynamic diagrams and calculations.

3) The Second Law: Kelvin and Clausius statements and why they’re equivalent

The Second Law of Thermodynamics places fundamental limitations on how energy can be converted and transferred. It has two equivalent formulations, known as the Kelvin (or Kelvin-Planck) statement and the Clausius statement.

The Kelvin statement asserts that it is impossible for any cyclic device to extract heat from a single hot reservoir and convert it entirely into useful work. This means that a cold sink, or a cold reservoir, is always necessary for a heat engine to operate continuously and produce net work. Without a cold sink to dump excess heat, the cycle cannot be completed without violating the Second Law.

The Clausius statement declares that heat does not spontaneously flow from a colder body to a hotter body. This aligns with our everyday experience: a hot cup of coffee cools down in a room, but a cold drink doesn't spontaneously get hotter by absorbing heat from the cooler room. To move heat "uphill," from a cold region to a hot region (as in a refrigerator or heat pump), external work must be supplied to the system.

These two statements are not independent; they are two sides of the same fundamental law. If one statement were false, it would be possible to construct a hypothetical device that violates the other. For instance, if the Kelvin statement were false, we could build an engine that converts all heat into work. We could then use some of that work to drive a refrigerator (which is a device that moves heat from cold to hot) in such a way that it violates the Clausius statement. Similarly, if the Clausius statement were false, we could create a device that spontaneously moves heat from cold to hot, and by combining it with an engine, we could violate the Kelvin statement. Thus, their equivalence means that if one is true, the other must also be true, and vice-versa.

PoM_lecture_12_page_4.jpg PoM_lecture_12_page_5.jpg

4) Entropy $S$: what it measures and its definitions

Entropy ($S$) is a central concept in thermodynamics, providing a quantitative measure of the "disorder" or "energy spread" within a system. We can think of its physical meaning in several ways:

The thermodynamic definition of entropy provides a precise mathematical formulation. It states that an infinitesimal change in entropy ($\mathrm{d}S$) is equal to the infinitesimal amount of heat transferred reversibly ($\mathrm{d}Q_{\text{rev}}$) divided by the absolute temperature ($T$) at which the transfer occurs:

$$ \mathrm{d}S = \frac{\mathrm{d}Q_{\text{rev}}}{T} $$

The $1/T$ factor in this definition is crucial. To build intuition, consider Peter Atkins' analogy: the same "sneeze" (representing an amount of heat $\mathrm{d}Q$) causes a much larger disturbance (a larger $\mathrm{d}S$) in a quiet library (low $T$) than on a bustling street (high $T$). This helps us understand why a given amount of heat has a more significant disordering effect on a colder system.

Side Note: The statistical definition of entropy, formulated by Ludwig Boltzmann, connects entropy to the microscopic world. His famous equation, $S = k \ln W$, relates entropy ($S$) to Boltzmann's constant ($k$) and the natural logarithm of the number of accessible microstates ($W$) for a system. While this provides a deeper understanding of entropy's statistical nature, we won't use it for calculations in this course.

PoM_lecture_12_page_5.jpg

5) The Carnot cycle on a T-S diagram and a simpler route to $\varepsilon$

While P-V diagrams are useful for visualising work, Temperature-Entropy (T-S) diagrams offer a powerful alternative, especially for understanding the Carnot cycle and its efficiency.

On a T-S diagram, the four reversible stages of the Carnot cycle transform into a simple rectangle:

The resulting shape on a T-S diagram is a perfect rectangle bounded by the hot temperature $T_H$, the cold temperature $T_C$, and the entropy values $S_1$ and $S_2$.

This T-S representation provides a remarkably straightforward way to derive the Carnot efficiency. On a T-S diagram, the heat transferred during an isothermal process is simply the area under the horizontal line representing that isotherm.

By taking the ratio of these heats, we immediately find $Q_C/Q_H = T_C/T_H$. Substituting this into the general efficiency formula, $\varepsilon = 1 - Q_C/Q_H$, yields the Carnot efficiency: $\varepsilon = 1 - T_C/T_H$. This demonstrates that both the P-V and T-S diagrams describe the same underlying physics, but the T-S diagram offers a more elegant and immediate route to understanding the efficiency, compressing the algebra into simple geometry.

PoM_lecture_12_page_8.jpg

6) Calculating entropy changes: representative worked cases

Entropy is a state function, meaning its change depends only on the initial and final states of a system, not on the path taken. However, when calculating $\Delta S$, we often need to consider a reversible path between those states. Let's look at some examples.

6.1 Reversible phase change at fixed T: melting ice at 0 °C

Consider a small amount of ice melting into water at $0 \, ^\circ\text{C} $($ 273.15 \, \text{K}$). This is an idealised reversible process.

PoM_lecture_12_page_6.jpg

6.2 Reversible isothermal expansion of an ideal gas

For a reversible isothermal expansion of an ideal gas, the internal energy change $\Delta U = 0$. Therefore, the heat absorbed ($Q$) is equal to the work done by the gas ($W$). The work done during an isothermal expansion of one mole of an ideal gas is $W = \int P \, \mathrm{d}V = RT \ln(V_2/V_1)$.

PoM_lecture_12_page_7.jpg

6.3 Irreversible free expansion (isolated)

Consider a gas undergoing a free expansion into a vacuum. This is an irreversible process. Since the gas expands into a vacuum, no external work is done ($W=0$), and if the system is isolated, no heat is transferred ($Q=0$). From the First Law, $\Delta U = Q + W = 0$.

PoM_lecture_12_page_7.jpg

6.4 Two copper blocks reaching equilibrium (isolated, irreversible)

Imagine two $1.5 \, \text{kg} $copper blocks, one initially at$ 20 \, ^\circ\text{C} $($ 293.15 \, \text{K} $) and the other at$ 60 \, ^\circ\text{C} $($ 333.15 \, \text{K} $). They are placed in contact within an isolated system and allowed to equilibrate. The final temperature will be$ 40 \, ^\circ\text{C} $($ 313.15 \, \text{K}$).

PoM_lecture_12_page_9.jpg

6.5 Heating water in a finite-temperature bath; many small steps reduce $\Delta S$

Consider heating $1 \, \text{kg} $of water from$ 20 \, ^\circ\text{C} $($ 293.15 \, \text{K} $) to$ 80 \, ^\circ\text{C} $($ 353.15 \, \text{K} $) by placing it in a large heat bath maintained at a constant$ 80 \, ^\circ\text{C}$.

What if we perform this heating in two steps, first from $20 \, ^\circ\text{C} $to$ 50 \, ^\circ\text{C} $(using a$ 50 \, ^\circ\text{C} $bath), and then from$ 50 \, ^\circ\text{C} $to$ 80 \, ^\circ\text{C} $(using an$ 80 \, ^\circ\text{C} $bath)? If we calculate the total$ \Delta S_{\text{universe}} $for this multi-step process, it turns out to be$ +35.4 \, \text{J K}^{-1}$, which is smaller than the single-step process. This illustrates a key principle: performing a process in more, smaller, quasi-static steps brings it closer to the ideal reversible limit. In the theoretical limit of an infinite number of infinitesimal steps, the total entropy change of the universe would approach zero.

PoM_lecture_12_page_10.jpg

7) Consolidation: diagnosing processes with entropy

When analysing thermodynamic processes, particularly in problem-solving, it's helpful to have a systematic approach involving entropy. First, identify the type of process (isothermal, adiabatic, isochoric, or isobaric) and determine whether it is reversible or irreversible. Second, always consider both the system and its surroundings, as the total entropy change of the universe ($\Delta S_{\text{universe}}$) dictates the spontaneity and feasibility of the process.

This framework helps us understand why heat engines cannot be 100% efficient. An engine cycle requires the rejection of heat ($Q_C$) to a cold reservoir at temperature $T_C$. This dumping of heat increases the entropy of the surroundings, providing the necessary positive $\Delta S_{\text{surr}}$ to offset the work extracted and ensure that the total entropy of the universe increases or remains constant, thereby keeping the cycle thermodynamically possible according to the Second Law.

Appendix: Enthalpy and “free” energies (signposts only)

Side Note: This material is supplementary and won't be examined in this course, but it provides useful context for future studies in thermal physics, chemistry, and biology.

These advanced thermodynamic potentials are state functions that are particularly useful for analysing processes under specific constraints, such as constant pressure or constant temperature.

These concepts are fundamental in more advanced thermodynamics courses and allow for a deeper understanding of energy transformations and spontaneity in complex systems.

PoM_lecture_12_page_11.jpg PoM_lecture_12_page_12.jpg PoM_lecture_12_page_13.jpg PoM_lecture_12_page_14.jpg

Key takeaways

A heat engine must operate in a cycle, with Carnot's four reversible steps forming the theoretical benchmark. The maximum efficiency for such an engine is $\varepsilon_{\text{Carnot}} = 1 - T_C/T_H$, depending only on the reservoir temperatures.

The Second Law of Thermodynamics is expressed through two equivalent statements: the Kelvin statement, which says no engine can convert all heat from a hot source into work (a cold sink is required), and the Clausius statement, which asserts that heat does not spontaneously flow from cold to hot (work is needed for this).

Entropy ($S$) measures energy dispersal or "quality." Thermodynamically, it's defined as $\mathrm{d}S = \mathrm{d}Q_{\text{rev}}/T$. For any spontaneous (irreversible) process, the total entropy of the universe ($\Delta S_{\text{universe}}$) increases, while for reversible processes, it remains constant ($\Delta S_{\text{universe}} = 0$).

The Carnot cycle, when depicted on a T-S diagram, forms a simple rectangle. This representation clearly shows that heat transfer is the area under the isotherms: $Q_H = T_H \Delta S$ and $Q_C = T_C \Delta S$, which immediately leads to the ratio $Q_C/Q_H = T_C/T_H$.

Calculating entropy changes in various processes provides concrete applications of these principles: