Sub topic 17
Second law, refrigerators, coefficient of performance and entropy
This chapter assumes you know the first law (Q = ΔU + W), the P-V work formulas, and the heat engine and Carnot cycle from the previous chapter. You also need the idea of a reservoir, a body so large that its temperature stays fixed when it exchanges heat.
Why the first law is not enough
The first law only says that energy is conserved. It does not say which processes actually happen. A hot cup of tea cools in a cold room, and the room gains exactly the energy the tea loses. The reverse, where the tea heats up while the room cools, also conserves energy. It never happens.
The second law of thermodynamics captures this one-way behaviour. It has several equivalent statements.
- Kelvin-Planck statement: No cyclic device can take heat from a single reservoir and convert all of it into work.
- Clausius statement: No cyclic device can transfer heat from a colder body to a hotter body with no other effect (that is, with no work supplied).
Both statements say that a perfect engine (efficiency 100%) and a perfect refrigerator (no work input) are impossible. Violating one statement lets you build a device that violates the other, so they are the same law.
Consequences used in JEE problems
- No engine has efficiency 1. For a heat engine, W = Qh − Qc, and Q_c > 0 always.
- No engine working between two given reservoirs is more efficient than a Carnot engine working between the same two.
- All reversible engines working between the same two reservoirs have the same efficiency, 1 − Tc/Th.
A reversible process is one that can be run backwards, restoring both the system and its surroundings. It needs quasi-static steps and no friction, and heat must flow only across negligible temperature differences. Real processes are irreversible.
Refrigerators and heat pumps
A refrigerator is a heat engine run in reverse. Work W is supplied from outside. The device takes heat Qc from the cold space and releases Qh to the hot surroundings. Energy conservation over one cycle gives
Qh = Qc + W
Since the cycle returns the gas to its initial state, ΔU = 0 over a cycle, which is why the energy balance has this simple form.
Coefficient of performance
The efficiency of an engine is the useful output (work) over the cost (heat in). For a refrigerator, the useful output is the heat removed from the cold space, and the cost is the work supplied. This ratio is the coefficient of performance (COP, written K or β):
K = Qc / W = Qc / (Qh − Qc)
For a Carnot (reversible) refrigerator, Qc/Qh = Tc/Th, so
K = Tc / (Th − T_c)
Unlike efficiency, K can exceed 1. When the two temperatures are close, K is large, since little work is needed to move heat across a small temperature gap. When the cold space is much colder than the surroundings, K is small.
The efficiency of a Carnot engine η and the COP of a Carnot refrigerator between the same reservoirs are related by
K = (1 − η) / η
A heat pump uses the same cycle but the useful output is the heat delivered to the hot space, so its COP is Qh / W = Th / (Th − Tc) = K + 1.
| Device | Useful output | Cost | Carnot value |
|---|---|---|---|
| Heat engine | W | Q_h | 1 − T_c/T_h |
| Refrigerator | Q_c | W | T_c/(T_h − T_c) |
| Heat pump | Q_h | W | T_h/(T_h − T_c) |
def carnot_efficiency(T_hot, T_cold):
"""Efficiency of a Carnot engine between reservoirs at T_hot and T_cold (kelvin)."""
return 1 - T_cold / T_hot
def carnot_cop_refrigerator(T_hot, T_cold):
"""Coefficient of performance of a Carnot refrigerator."""
return T_cold / (T_hot - T_cold)
print(carnot_efficiency(500, 300)) # 0.4
print(carnot_cop_refrigerator(300, 270)) # 9.0The first value, 0.4, means a Carnot engine between 500 K and 300 K turns 40% of the heat it absorbs into work. The second value, 9.0, means a Carnot refrigerator holding 270 K in a 300 K room removes 9 J of heat for every 1 J of work.
Worked example
A refrigerator has COP 5 and removes 1500 J from the cold space each cycle. Find the work input and the heat rejected to the room.
- W = Q_c / K = 1500 / 5 = 300 J
- Qh = Qc + W = 1500 + 300 = 1800 J
The room receives more heat than the refrigerator removes from inside. This is why leaving a refrigerator door open warms the kitchen instead of cooling it.
Entropy
Entropy S is a state function that measures how spread out the energy of a system is among its possible microscopic arrangements. For a reversible process at temperature T, the change in entropy is
dS = dQ_rev / T
and the unit is J/K. Because S is a state function, ΔS between two states is the same for any path, reversible or not. To compute it for an irreversible process, you find a reversible path between the same two states.
Useful entropy changes
- Isothermal expansion of an ideal gas: ΔS = nR ln(V₂/V₁), since Q = nRT ln(V₂/V₁) and T is constant.
- Heating at constant volume: ΔS = nC_v ln(T₂/T₁).
- Heating at constant pressure: ΔS = nC_p ln(T₂/T₁).
- Reversible adiabatic process: dQ = 0, so ΔS = 0. This is called an isentropic process.
- Phase change at fixed temperature: ΔS = Q/T, for example mL/T for melting.
Entropy and the second law
For an isolated system, the second law says entropy never decreases:
ΔS_total ≥ 0
Equality holds for reversible processes, and the inequality holds for irreversible ones. Take heat Q flowing from a hot reservoir at Th to a cold one at Tc. The hot reservoir changes by −Q/Th and the cold one by +Q/Tc, so
ΔStotal = Q/Tc − Q/Th > 0 (because Th > T_c)
This is the Clausius statement in numerical form. Heat flowing from cold to hot would give a negative total, which is forbidden.
Q = 1000.0 # J of heat flowing
T_hot, T_cold = 400.0, 300.0
dS_hot = -Q / T_hot
dS_cold = Q / T_cold
print(f"Hot: {dS_hot:.3f} J/K, cold: {dS_cold:.3f} J/K, total: {dS_hot + dS_cold:.3f} J/K")This prints a total of +0.833 J/K, which is positive as the second law requires.
Statistical meaning
Entropy is also linked to counting. If a system can be arranged microscopically in Ω ways for a given macroscopic state, then S = k ln Ω. A gas that doubles its volume has far more available arrangements, so its entropy rises. Irreversible processes move a system toward the macrostate with the largest Ω, which is why they run in one direction. JEE problems use this qualitatively.
Common errors
- Using Celsius temperatures in Carnot formulas.
- Writing the COP as W/Q_c, which is the inverse.
- Treating K as capped at 1. Only efficiency is capped.
- Claiming entropy of a system cannot decrease. Only the total entropy of system plus surroundings cannot decrease. A refrigerator lowers the entropy of its cold space while raising the entropy of the room by more.
- Using ΔS = Q/T for an irreversible path. Q/T applies only along a reversible path.
Exercise
A Carnot refrigerator works between a freezer at −13 °C and a room at 27 °C. (a) Find its COP. (b) How much work is needed to remove 2600 J from the freezer? (c) How much heat goes into the room? (d) Find the total entropy change of the freezer and room for one cycle.
Show answer
Convert to kelvin: Tc = 260 K, Th = 300 K. (a) K = 260/(300 − 260) = 6.5. (b) W = Qc/K = 2600/6.5 = 400 J. (c) Qh = Q_c + W = 3000 J. (d) The freezer changes by −2600/260 = −10 J/K and the room by +3000/300 = +10 J/K, so the total is 0, as expected for a reversible (Carnot) cycle.
Exercise
One mole of an ideal gas expands isothermally at 300 K to three times its volume. Find the entropy change of the gas, using R = 8.314 J/(mol K).
Show answer
ΔS = nR ln(V₂/V₁) = 8.314 × ln 3 = 8.314 × 1.0986 ≈ 9.13 J/K.