Module 8 · 15 min read · Free chapter
The second law, Carnot cycle and entropy
The second law says no engine can turn all heat into work and heat does not flow from cold to hot by itself. The Carnot engine sets the limit: efficiency 1 − TL/TH with absolute temperatures. Entropy measures this one-way nature; the entropy of an isolated system never falls, and real processes always generate it.
Start from zero: why a cup of tea never heats itself
A hot cup of tea left on a table cools down to room temperature. You have never seen a cold cup of tea draw heat from the room and boil. Yet that would not break the first law: the energy would still balance. Something else must decide which way processes go.
That something is the second law of thermodynamics. The first law says energy is conserved; the second law says energy has a direction and a quality. Heat flows by itself only from hot to cold, and heat can never be turned fully into work in a cycle.
The law came from a practical question. In 1824 Sadi Carnot, a French engineer, asked how much work the best possible steam engine could get from a fire. His answer, that the limit depends only on the temperatures of the hot source and the cold sink, is still the starting point of every power plant design.
This chapter states the second law in its two classic forms, explains reversible and irreversible processes, derives the Carnot efficiency, and builds the property that measures the direction of nature: entropy.
Why it matters. It sets the ceiling on every engine, turbine and refrigerator. Exams ask Carnot efficiency and COP numericals, checks of whether a claimed engine is possible, and entropy changes of gases and of the universe.
Heat engines, refrigerators and the two statements
A heat engine is a device that works in a cycle, takes heat Q₁ from a hot reservoir at T₁, gives net work W, and rejects heat Q₂ to a cold reservoir at T₂. A thermal reservoir is a body so large that taking or adding heat does not change its temperature, such as the atmosphere, a river or a furnace.
By the first law, , so the thermal efficiency is:
The Kelvin-Planck statement. It is impossible for any device working in a cycle to receive heat from a single reservoir and produce an equal amount of work. Every engine must reject some heat to a colder body, so η < 100%. An engine that broke this rule would be a perpetual motion machine of the second kind (PMM2): a ship that ran by cooling the sea.
A refrigerator runs the other way. It takes heat Q₂ from a cold space, needs work W, and rejects to the warmer surroundings. Its performance is measured by the coefficient of performance:
, and for a heat pump (where Q₁ is the useful output)
The Clausius statement. It is impossible for any cyclic device to transfer heat from a colder body to a hotter body without any other effect. A refrigerator obeys this law, because it needs work.
The two statements are equivalent. If a device broke the Clausius statement, we could pair it with an ordinary engine so that the cold reservoir has no net change. The pair would then take heat from one reservoir and turn it all into work, which breaks the Kelvin-Planck statement. The reverse argument also works, so each statement implies the other.
Reversible and irreversible processes
A reversible process is one that can be run backwards so that both the system and the surroundings return exactly to their original states. No real process is fully reversible, but the idea gives the best that any machine can do, just as a frictionless pulley gives the ideal of mechanics.
What makes a process irreversible?
- Friction turns work into heat, and that heat cannot be fully turned back into the same work.
- Unrestrained (free) expansion of a gas into a vacuum cannot be undone without work from outside.
- Heat transfer across a finite temperature difference: heat flows from 100 °C to 20 °C on its own, never back.
- Mixing of two different gases or of hot and cold water.
- Electric current through a resistance, inelastic deformation, combustion and other chemical reactions.
Internal and external. Irreversibility inside the system, such as friction in a gas, is internal. Irreversibility at the boundary, such as heat flowing from a furnace at 1,500 K to steam at 600 K, is external. A process can be internally reversible while still being externally irreversible.
Why reversible processes matter. A reversible engine gives the most work, and a reversible refrigerator needs the least work. Engineers compare every real machine with this ideal, and the gap tells them where the losses are and what they cost.
The Carnot cycle and Carnot's theorem
The Carnot cycle is the simplest fully reversible cycle between two reservoirs. Gas in a cylinder goes through four processes:
- 1→2 Reversible isothermal expansion at T₁, while touching the hot reservoir; heat Q₁ flows in.
- 2→3 Reversible adiabatic expansion; the gas cools from T₁ to T₂ while doing work.
- 3→4 Reversible isothermal compression at T₂, touching the cold reservoir; heat Q₂ flows out.
- 4→1 Reversible adiabatic compression back to T₁.
Carnot's theorem has two parts. First, no engine working between two reservoirs can be more efficient than a reversible engine between the same reservoirs. Second, all reversible engines between the same two reservoirs have the same efficiency, whatever the working substance. The proof is by contradiction: a "better" engine driving a reversed reversible engine would break the Kelvin-Planck statement.
Because the efficiency depends only on the two temperatures, Kelvin used it to define the thermodynamic temperature scale: . So for any reversible engine:
and for reversed Carnot machines: and .
Worked example. A power plant takes heat at 550 °C (823 K) and rejects it to a river at 30 °C (303 K). The Carnot limit is , or 63%. Real coal plants reach about 35–40%, because their heat is not all received at the top temperature and their processes are irreversible.
Judging claims. An inventor claims an engine that takes 1,000 kJ at 500 K, gives 600 kJ of work and rejects heat at 300 K. The claimed efficiency is 60%, but the Carnot limit is . The claim is impossible.
Why no one builds a Carnot engine. Isothermal heat transfer needs very slow processes, so the power output would be nearly zero. Its p–V diagram is also very thin, so friction would swallow the small net work. The cycle remains the yardstick, not a design.
Entropy: the property the second law creates
For a reversible engine, . Counting heat in as positive and heat out as negative, this says . For an irreversible engine between the same reservoirs, less work means more Q₂, so the sum becomes negative. Generalising to any cycle gives the Clausius inequality:
∮ (equality for a reversible cycle)
Defining entropy. Since ∮(δQ/T)_rev = 0 for every reversible cycle, the integral of δQ/T along a reversible path between two states does not depend on the path. So it is the change of a property, which Clausius named entropy, S:
$dS = \left(\frac{\delta Q}{T}\right)$_rev, and ΔS = ∫(δQ/T)_rev
Entropy is measured in kJ/K (or kJ/(kg·K) per unit mass). For an irreversible process between the same states the change of S is the same, because S is a property, but δQ/T is smaller: .
Entropy changes to remember.
- Ideal gas: .
- Solid or liquid: .
- Phase change at constant T: Δs = latent heat/T. Boiling 1 kg of water at 373 K gives about kJ/(kg·K).
- Reservoir receiving heat Q at T: .
The T–s diagram. For a reversible process , so the area under a curve on a T–s chart is the heat transferred, just as the area under a p–V curve is work. A reversible adiabatic process (isentropic) is a vertical line. The Carnot cycle is a rectangle, which shows at a glance why its efficiency is 1 − T₂/T₁.
The principle of increase of entropy
For an isolated system, , so dS ≥ 0. The entropy of an isolated system can only rise or, in the ideal reversible limit, stay constant. Taking the system plus its surroundings as one isolated whole:
Entropy generation S_gen is zero only for reversible processes. The larger it is, the more irreversible the process, and the more work opportunity has been destroyed.
Example: heat across a temperature gap. 1,000 kJ flows from a furnace at 1,200 K to water at 400 K. The furnace loses kJ/K, and the water gains kJ/K. kJ/K.
If the gap were only 1,200 K to 1,100 K, S_gen would be just 0.076 kJ/K. Large temperature gaps waste work potential, which is why power plants try to receive heat at as high a temperature as possible.
Example: mixing water. Mixing 1 kg of water at 80 °C with 1 kg at 20 °C gives 2 kg at 50 °C. The hot part loses kJ/K, and the cold part gains kJ/K. The net +0.036 kJ/K is positive, confirming mixing is irreversible.
What entropy means. Entropy is often called a measure of disorder, of how spread out energy is among the molecules. Spread-out energy is less useful. When a car brakes, its ordered kinetic energy becomes random molecular motion in the brake discs, and the entropy rise records that loss of usefulness.
Third law. The entropy of a perfect crystal of a pure substance is zero at absolute zero. This gives entropy an absolute zero point, which matters in chemistry and low-temperature physics; engineers usually work with entropy changes only.
Second-law numericals: engines, fridges and heat pumps
Refrigerator. A domestic fridge keeps its inside at −5 °C (268 K) in a kitchen at 30 °C (303 K). The Carnot COP is . A real fridge reaches perhaps 2 to 3, because of irreversible compression, throttling and heat transfer across temperature gaps.
Heat pump. The same machine used to warm a room at 22 °C (295 K) from outside air at 5 °C (278 K) has a Carnot COP_HP of . Real heat pumps give 3 to 4, meaning 1 kWh of electricity delivers 3–4 kWh of heat. This is why heat pumps beat electric heaters, which give only 1 kWh of heat per kWh.
Two engines in series. Engine A works between T₁ and an intermediate T, and engine B between T and T₂, with B using all the heat A rejects. For equal efficiencies, . For equal work outputs, . The overall efficiency of the pair equals that of one Carnot engine between T₁ and T₂.
Checking a claim with the Clausius inequality. A cycle takes 600 kJ at 600 K and rejects 450 kJ at 300 K. Then ∮ kJ/K < 0. The cycle is possible and irreversible. A result above zero would mean the cycle is impossible; exactly zero would mean it is reversible.
Descriptive lens: how this topic is asked in written papers
Written papers ask the second law in four ways:
- State and prove: the Kelvin-Planck and Clausius statements and their equivalence; Carnot's theorem; the Clausius inequality.
- Derive: from the thermodynamic temperature scale; the entropy change of an ideal gas; the intermediate temperature for two engines in series.
- Compute: efficiency and COP limits, entropy changes in heating, mixing and heat transfer, and S_gen.
- Discuss: causes of irreversibility, the meaning of entropy, and why practical cycles differ from Carnot.
Practice questions (our own, not previous-year questions).
- State the Kelvin-Planck and Clausius statements of the second law and prove that they are equivalent. (12 marks)
- Show that entropy is a property, starting from the Clausius inequality. Explain why the entropy of an isolated system cannot decrease. (12 marks)
- 2 kg of water at 90 °C is mixed in an insulated vessel with 3 kg of water at 20 °C. Find the final temperature and the entropy generated. Take kJ/(kg·K). (10 marks)
Answer plan for question 3.
- Energy balance: , so .
- Hot water: kJ/K.
- Cold water: kJ/K.
- kJ/K, which is positive, so the process is irreversible as expected.
- Conclude that mixing destroyed work potential that a heat engine running between the two waters could have used.
Quick revision
- Kelvin-Planck forbids a one-reservoir engine (PMM2), and Clausius forbids heat moving from cold to hot without work; the two are equivalent.
- Engine efficiency is , refrigerator COP is Q₂/W, and heat-pump COP is .
- Friction, free expansion, heat transfer across a finite ΔT, mixing and resistance all make processes irreversible.
- The Carnot cycle has two isotherms and two adiabats, and in kelvin, independent of the fluid.
- Reversed Carnot gives and .
- The Clausius inequality is ∮, entropy is $dS = \left(\frac{\delta Q}{T}\right)$_rev, and for irreversible processes.
- For an ideal gas , and for a liquid .
- , and the entropy of the universe always increases in real processes.
- Two engines in series with equal efficiency meet at , and with equal work at (T₁ + T₂)/2.