Mechanical Engineering‹›⌂ 0:00 studied

Module 8 · 15 min read · Free chapter

The second law, Carnot cycle and entropy

In short

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.

See it in 3DA Carnot engine on four stages, and the same machine as a heat pump. Turn it, cut it open, or just press Watch.
What are you preparing for? We show the practice and previous year questions of your exam.

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, W=Q1−Q2W = Q_{1} - Q_{2}, so the thermal efficiency is:

η=WQ1=1−Q2Q1\eta = \dfrac{W}{Q_{1}} = 1 - \dfrac{Q_{2}}{Q_{1}}

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 Q1=Q2+WQ_{1} = Q_{2} + W to the warmer surroundings. Its performance is measured by the coefficient of performance:

COPref=Q2W\mathit{COP}_{ref} = \dfrac{Q_{2}}{W}, and for a heat pump (where Q₁ is the useful output) COPHP=Q1W=COPref+1\mathit{COP}_{HP} = \dfrac{Q_{1}}{W} = \mathit{COP}_{ref} + 1

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. 1→2 Reversible isothermal expansion at T₁, while touching the hot reservoir; heat Q₁ flows in.
  2. 2→3 Reversible adiabatic expansion; the gas cools from T₁ to T₂ while doing work.
  3. 3→4 Reversible isothermal compression at T₂, touching the cold reservoir; heat Q₂ flows out.
  4. 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: Q1Q2=T1T2\dfrac{Q_{1}}{Q_{2}} = \dfrac{T_{1}}{T_{2}}. So for any reversible engine:

ηCarnot=1−T2T1\eta _{Carnot} = 1 - \dfrac{T_{2}}{T_{1}}

and for reversed Carnot machines: COPref=T2T1−T2\mathit{COP}_{ref} = \dfrac{T_{2}}{T_{1} - T_{2}} and COPHP=T1T1−T2\mathit{COP}_{HP} = \dfrac{T_{1}}{T_{1} - T_{2}}.

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 1−303823≈0.6321 - \dfrac{303}{823} \approx 0.632, 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 1−300500=40%1 - \dfrac{300}{500} = 40\%. 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, Q1T1=Q2T2\dfrac{Q_{1}}{T_{1}} = \dfrac{Q_{2}}{T_{2}}. Counting heat in as positive and heat out as negative, this says Q1T1−Q2T2=0\dfrac{Q_{1}}{T_{1}} - \dfrac{Q_{2}}{T_{2}} = 0. 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:

∮ δQT≤0\dfrac{\delta Q}{T} \le 0 (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: dS>δQTdS > \dfrac{\delta Q}{T}.

Entropy changes to remember.

  • Ideal gas: Δs=cvln⁡(T2T1)+Rln⁡(v2v1)=cpln⁡(T2T1)−Rln⁡(p2p1)\Delta s = c_{v} \ln \left(\dfrac{T_{2}}{T_{1}}\right) + R \ln \left(\dfrac{v_{2}}{v_{1}}\right) = c_{p} \ln \left(\dfrac{T_{2}}{T_{1}}\right) - R \ln \left(\dfrac{p_{2}}{p_{1}}\right).
  • Solid or liquid: Δs=cln⁡(T2T1)\Delta s = c \ln \left(\dfrac{T_{2}}{T_{1}}\right).
  • Phase change at constant T: Δs = latent heat/T. Boiling 1 kg of water at 373 K gives about 2,257373≈6.05\dfrac{2{,}257}{373} \approx 6.05 kJ/(kg·K).
  • Reservoir receiving heat Q at T: ΔS=QT\Delta S = \dfrac{Q}{T}.

The T–s diagram. For a reversible process δQ=TdS\delta Q = T dS, 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, δQ=0\delta Q = 0, 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:

Sgen=ΔSsystem+ΔSsurroundings≥0S_{gen} = \Delta S_{system} + \Delta S_{surroundings} \ge 0

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 1,0001,200=0.833\dfrac{1{,}000}{1{,}200} = 0.833 kJ/K, and the water gains 1,000400=2.5\dfrac{1{,}000}{400} = 2.5 kJ/K. Sgen=2.5−0.833=1.67S_{gen} = 2.5 - 0.833 = 1.67 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 cln⁡(323353)≈−0.372c \ln \left(\dfrac{323}{353}\right) \approx -0.372 kJ/K, and the cold part gains cln⁡(323293)≈+0.408c \ln \left(\dfrac{323}{293}\right) \approx + 0.408 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 268303−268=26835≈7.7\dfrac{268}{303 - 268} = \dfrac{268}{35} \approx 7.7. 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 29517≈17\dfrac{295}{17} \approx 17. 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, T=T1T2T = \sqrt{T_{1}T_{2}}. For equal work outputs, T=T1+T22T = \dfrac{T_{1} + T_{2}}{2}. 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 ∮δQT=600600−450300=1−1.5=−0.5\dfrac{\delta Q}{T} = \dfrac{600}{600} - \dfrac{450}{300} = 1 - 1.5 = -0.5 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:

  1. State and prove: the Kelvin-Planck and Clausius statements and their equivalence; Carnot's theorem; the Clausius inequality.
  2. Derive: η=1−T2T1\eta = 1 - \dfrac{T_{2}}{T_{1}} from the thermodynamic temperature scale; the entropy change of an ideal gas; the intermediate temperature for two engines in series.
  3. Compute: efficiency and COP limits, entropy changes in heating, mixing and heat transfer, and S_gen.
  4. Discuss: causes of irreversibility, the meaning of entropy, and why practical cycles differ from Carnot.

Practice questions (our own, not previous-year questions).

  1. State the Kelvin-Planck and Clausius statements of the second law and prove that they are equivalent. (12 marks)
  2. Show that entropy is a property, starting from the Clausius inequality. Explain why the entropy of an isolated system cannot decrease. (12 marks)
  3. 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 c=4.187c = 4.187 kJ/(kg·K). (10 marks)

Answer plan for question 3.

  • Energy balance: 2(90−t)=3(t−20)2(90 - t) = 3(t - 20), so t=48∘C(321K)t = 48 ^\circ C (321 K).
  • Hot water: ΔS=2×4.187×ln⁡(321363)≈−1.030\Delta S = 2 \times 4.187 \times \ln \left(\dfrac{321}{363}\right) \approx -1.030 kJ/K.
  • Cold water: ΔS=3×4.187×ln⁡(321293)≈+1.147\Delta S = 3 \times 4.187 \times \ln \left(\dfrac{321}{293}\right) \approx + 1.147 kJ/K.
  • Sgen=+0.117S_{gen} = + 0.117 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 η=1−Q2Q1\eta = 1 - \dfrac{Q_{2}}{Q_{1}}, refrigerator COP is Q₂/W, and heat-pump COP is Q1W=COPref+1\dfrac{Q_{1}}{W} = \mathit{COP}_{ref} + 1.
  • 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 η=1−T2T1\eta = 1 - \dfrac{T_{2}}{T_{1}} in kelvin, independent of the fluid.
  • Reversed Carnot gives COPref=T2T1−T2\mathit{COP}_{ref} = \dfrac{T_{2}}{T_{1} - T_{2}} and COPHP=T1T1−T2\mathit{COP}_{HP} = \dfrac{T_{1}}{T_{1} - T_{2}}.
  • The Clausius inequality is ∮δQT≤0\dfrac{\delta Q}{T} \le 0, entropy is $dS = \left(\frac{\delta Q}{T}\right)$_rev, and dS>δQTdS > \dfrac{\delta Q}{T} for irreversible processes.
  • For an ideal gas Δs=cpln⁡(T2T1)−Rln⁡(p2p1)\Delta s = c_{p} \ln \left(\dfrac{T_{2}}{T_{1}}\right) - R \ln \left(\dfrac{p_{2}}{p_{1}}\right), and for a liquid Δs=cln⁡(T2T1)\Delta s = c \ln \left(\dfrac{T_{2}}{T_{1}}\right).
  • Sgen=ΔSsys+ΔSsurr≥0S_{gen} = \Delta S_{sys} + \Delta S_{surr} \ge 0, and the entropy of the universe always increases in real processes.
  • Two engines in series with equal efficiency meet at T1T2\sqrt{T_{1}T_{2}}, and with equal work at (T₁ + T₂)/2.

Check yourself

Exam-style questions on this chapter. Pick an answer to see the explanation. 0 of 16 answered

  1. The statement 'no engine working in a cycle can convert all the heat from a single reservoir into work' is the:

  2. A refrigerator does not violate the Clausius statement because:

  3. If a refrigerator has a COP of 4, a heat pump working on the same cycle between the same temperatures has a COP of:

  4. A perpetual motion machine of the second kind violates:

  5. Which of the following is NOT a cause of irreversibility?

  6. A Carnot cycle consists of:

  7. A Carnot engine works between 727 °C and 27 °C. Its efficiency is:

  8. The COP of a Carnot refrigerator working between −23 °C and 27 °C is:

  9. An inventor claims an engine receiving 1,000 kJ at 500 K, producing 450 kJ of work and rejecting heat at 300 K. The claim is:

  10. For any reversible cycle, ∮δQ/T is:

  11. The entropy of an isolated system:

  12. A reversible adiabatic process is:

  13. On a T–s diagram, the area under a reversible process curve represents:

  14. The entropy change when 1 kg of water at 100 °C becomes steam at 100 °C (latent heat 2,257 kJ/kg) is about:

  15. 1,000 kJ of heat flows from a reservoir at 1,000 K to one at 500 K. The entropy generated is:

  16. Two Carnot engines in series between T₁ and T₂ have equal efficiencies. The intermediate temperature is:

Previous year questions

Previous year questions for UPSC CSE will appear here once each one is checked word for word against the official question paper.

Learn with AI

A tutor that asks instead of telling, a partner that argues the other side, and this chapter told through your own district.

Tell the tutor what you are stuck on. It will guide you with questions and give the answer after a few tries.

🙋 Raise a doubt or feedback

Stuck somewhere, or spotted a mistake? Write to the ExamHike team. We usually reply within a day, and you will see the reply on My progress.

Log in to ask a doubt or send feedback →

Frequently asked questions

What is Carnot efficiency?

η = 1 − TL/TH with temperatures in kelvin; no engine between the same reservoirs can do better.

How are COP of a heat pump and a refrigerator related?

Between the same temperatures, COP of the heat pump = COP of the refrigerator + 1.

What does the Clausius inequality state?

For any cycle, the cyclic integral of δQ/T is zero or negative; it is zero only for a reversible cycle.

Can entropy decrease?

The entropy of a system can fall if it rejects heat, but the total entropy of the system plus surroundings cannot fall.

More in this module: Thermodynamics

Official sources

Facts in this chapter were checked against these official sources.

  1. GATE 2026 syllabus, ME Mechanical Engineering (IIT Guwahati)
  2. BPSC Assistant Engineer (Mechanical), Advt 30/2025, and Bihar Engineering Service Class-II Recruitment Rules 2019, Papers 5-6
  3. NPTEL Applied Thermodynamics (IIT Guwahati, 112103275)