Home / Learn / Exam prep / IIT JAM Physics / Lesson 5.3
All lessons

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.

Key points, meanings and formulas on one page: choose "Save as PDF" in the print box.

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.

Heat flows by itself only from hot to cold. Entropy turns this into a number: in an isolated system it never decreases, and that one rule limits every engine ever built.

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 Th (heat Qh in), an adiabatic expansion down to Tc, an isothermal compression at Tc (heat Qc out) and an adiabatic compression back. For an ideal gas the two isothermal steps give Qh/Qc=Th/Tc, and no engine between the same two reservoirs can beat it:

η=WQh=1−QcQh≤1−TcTh
The Carnot cycle on log P–log V (isotherms slope −1, adiabats slope −γ) and on T–S, where it is a rectangle: the enclosed area is the work and the area under the top edge is the heat taken in.
η
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:

COPfridge=QcW=TcTh−Tc,COPpump=QhW=ThTh−Tc=COPfridge+1

Worked example. A heat pump keeps a house at 25 °C when it is 5 °C outside. COP=298.15/20≈14.9. Using Celsius, 25/20, 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 1000(1−300/400)=250 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 r=Vmax⁡/Vmin⁡:

ηOtto=1−1rγ−1,ηDiesel=1−1rγ−1⋅ργ−1γ(ρ−1)

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 r a Diesel is less efficient; it wins in practice because it can use much higher r without knocking. For r=8, γ=1.4: ηOtto=1−8−0.4≈56.5%. 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 Qh/Th=Qc/Tc generalises to ∮dQrev/T=0. So dQrev/T is the change of a state function, the entropy S. For any real cycle the Clausius inequality ∮dQ/T≤0 holds, which leads to:

dS=dQrevT,ΔSisolated≥0(zero only if reversible)

The recipe for any entropy change. Because S is a state function, find any reversible path between the same two states and add up dQ/T along it, even if the real process was violent.

Situation ΔS
reservoir at T receiving Q Q/T
phase change at T with latent heat L mL/T
heating mass m, specific heat c mcln⁡(T2/T1)
ideal gas nCVln⁡T2T1+nRln⁡V2V1 or nCPln⁡T2T1−nRln⁡P2P1
mixing different ideal gases −nR∑xiln⁡xi

Worked example. Two blocks of heat capacity 500 J/K at 400 K and 200 K touch until both reach 300 K. ΔS=500ln⁡(300/400)+500ln⁡(300/200)=500ln⁡1.125≈+58.9 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, ΔS=0 forces Tf=400×200=283 K and the engine delivers 500(600−566)≈17.2 kJ of work.

“No heat was exchanged, so ΔS=0.” In a free expansion Q=0, yet the gas gains nRln⁡(V2/V1). The formula ΔS=Q/T applies only to reversible paths. For an irreversible one, ∫dQ/T<ΔS. Likewise mixing two identical gases gives ΔS=0 (the Gibbs paradox), because nothing measurable changes.

Statistical meaning. Boltzmann’s S=kln⁡W counts the microstates W consistent with what we see. N free two-state spins have W=2N, so S=Nkln⁡2. 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 T→0, 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 C=aT3 has S=∫0TaT′2dT′=aT3/3. A classical ideal gas with constant CV would have S→−∞: one sign that classical physics fails at low temperature.

  • Kelvin–Planck (no perfect engine) and Clausius (no free refrigerator) are equivalent.
  • Carnot limit: η≤1−Tc/Th; COPfridge=Tc/(Th−Tc), COPpump=Th/(Th−Tc). Kelvin only.
  • Otto: 1−r1−γ. Diesel is lower at the same r.
  • dS=dQrev/T. For any process, compute ΔS along a reversible path between the same end states.
  • An isolated system never loses entropy; irreversible processes (free expansion, heat across a finite ΔT, friction) create it.
  • Third law: S→0 as T→0; 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

1An ideal gas expands freely into vacuum and doubles its volume, with no heat exchanged. What is its entropy change?
2A reversible refrigerator works between 250 K and 300 K. How many joules of heat does it remove from the cold side per joule of work?
3Two Carnot engines run in series between 900 K and 400 K and do equal work. What is the intermediate temperature?

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.