Module 5: Kinetic theory and thermodynamics · Lesson 5.3 · about 45 min
The second law, engines and entropy
Why no engine can turn all its heat into work, the Carnot limit for engines, refrigerators and heat pumps, Otto and Diesel cycles, entropy as a state function, how to compute entropy changes for any process, and the third law.
Module 5 · about 45 minutes. By the end you will be able to state the second law in its two classic forms, find the best possible efficiency of any engine, refrigerator or heat pump, work out Otto and Diesel efficiencies, compute the entropy change of gases, solids, liquids and reservoirs for any process, and decide whether a claimed device is possible.
1. Two statements of one law
The first law allows a ship to run by cooling the sea. The second law forbids it.
- Kelvin–Planck: no cyclic device can take heat from a single reservoir and turn it all into work. Every engine must dump some heat into something colder.
- Clausius: no cyclic device can move heat from a cold body to a hot body with no other effect. Refrigerators need work.
If you could break one, you could break the other: hook a perfect engine to an ordinary refrigerator and the pair would pump heat uphill for free. So they are the same law.
2. The Carnot engine: the best you can do
Carnot’s engine uses only reversible steps: an isothermal expansion at (heat in), an adiabatic expansion down to , an isothermal compression at (heat out) and an adiabatic compression back. For an ideal gas the two isothermal steps give , and no engine between the same two reservoirs can beat it:
- η
- efficiency: the share of the heat taken in that comes out as work
- Th, Tc
- absolute temperatures (kelvin) of the hot and cold reservoirs
- Qc/Qh = Tc/Th
- true for any reversible engine; it defines the absolute temperature scale
- Physical meaning
- The efficiency depends only on the two temperatures, not on the working substance. The only way to approach 100% is a very cold sink.
Run backwards, it becomes a refrigerator or heat pump. The figure of merit is the coefficient of performance:
Worked example. A heat pump keeps a house at 25 °C when it is 5 °C outside. . Using Celsius, , is the trap; only temperature differences can be taken in Celsius.
Is a claim possible? An engine taking 1000 J from 400 K and rejecting heat at 300 K can give at most J. A claim of 300 J breaks the second law (not the first: 700 J still goes somewhere). Check the first law first: more work than heat in breaks the first law.
3. Real cycles: Otto and Diesel
Petrol engines approximate the Otto cycle: two adiabats and two constant-volume steps. With compression ratio :
where is the Diesel cut-off ratio (the volume ratio over which fuel burns at constant pressure). The extra factor is larger than 1, so at the same a Diesel is less efficient; it wins in practice because it can use much higher without knocking. For , : . They fall short of Carnot because heat enters over a range of temperatures, not all at the top. Try them all in fibub’s heat engine cycles tool and the classroom Carnot engine.
4. Entropy
For any reversible cycle, the Carnot result generalises to . So is the change of a state function, the entropy . For any real cycle the Clausius inequality holds, which leads to:
The recipe for any entropy change. Because is a state function, find any reversible path between the same two states and add up along it, even if the real process was violent.
| Situation | |
|---|---|
| reservoir at receiving | |
| phase change at with latent heat | |
| heating mass , specific heat | |
| ideal gas | or |
| mixing different ideal gases |
Worked example. Two blocks of heat capacity 500 J/K at 400 K and 200 K touch until both reach 300 K. J/K. Heat lost equals heat gained, but the hot block loses less entropy than the cold one gains. If instead a reversible engine is run between them, forces K and the engine delivers kJ of work.
“No heat was exchanged, so .” In a free expansion , yet the gas gains . The formula applies only to reversible paths. For an irreversible one, . Likewise mixing two identical gases gives (the Gibbs paradox), because nothing measurable changes.
Statistical meaning. Boltzmann’s counts the microstates consistent with what we see. free two-state spins have , so . Entropy increases because there are vastly more disordered arrangements than ordered ones. Calculate entropy for real substances with fibub’s entropy calculator.
5. The third law
As , the entropy of a perfect crystal tends to zero (Nernst–Planck). Consequences: heat capacities and expansion coefficients vanish at absolute zero, and absolute zero cannot be reached in a finite number of steps. A crystal obeying the Debye law has . A classical ideal gas with constant would have : one sign that classical physics fails at low temperature.
- Kelvin–Planck (no perfect engine) and Clausius (no free refrigerator) are equivalent.
- Carnot limit: ; , . Kelvin only.
- Otto: . Diesel is lower at the same .
- . For any process, compute along a reversible path between the same end states.
- An isolated system never loses entropy; irreversible processes (free expansion, heat across a finite , friction) create it.
- Third law: as ; heat capacities vanish there.
Practise: exam questions on this lesson
They start easy and climb to top-rank level. Check each answer, then read the full solution. More on the second law practice page.
Before this: lesson 5.2, the first law. Next: lesson 5.4, thermodynamic potentials and Maxwell relations. Going on to GATE? Microstates, entropy and the ensembles builds entropy from counting states, and fibub’s Ising model playground shows entropy and order fighting it out in a magnet.
Check yourself
Sources
- E. Fermi, Thermodynamics (Dover, 1956), chapters III and IV
- M. W. Zemansky and R. H. Dittman, Heat and Thermodynamics, 7th ed. (McGraw-Hill, 1997), chapters 6 to 8
- S. J. Blundell and K. M. Blundell, Concepts in Thermal Physics, 2nd ed. (Oxford, 2010), chapters 13, 14 and 18
- IIT JAM Physics syllabus (Kinetic theory and thermodynamics section), published by the organising IIT each year
Your ticks stay in this browser. Save them as a file on the course home.
Updated 2026-11-22. Not affiliated with IIT or the JAM organising institute. Exam pattern as published for recent years: always check the official JAM website before the exam. All questions are original.