Second law

Second law statements (Kelvin–Planck, Clausius), heat engines/refrigerators/heat pumps, Carnot cycle and theorems, Clausius inequality, entropy generation and reversibility limits, COP/efficiency formulas and their applications.

Drafted with Aria, reviewed by the AiCanCode.org team · Updated . How we write and check our notes. Spotted an error? Use Give Feedback at the bottom of the page.

Why it matters

  • The second law tells us what is and isn’t achievable in energy conversion: how much of heat can become work, how efficiently fridges and heat pumps can run, and why losses are unavoidable.
  • It gives the upper bounds (Carnot limits) that guide design of engines, power plants, refrigerators, and air conditioners, and it defines the direction of spontaneous processes.

Key ideas

  • Thermal reservoir: An idealized body large enough to supply or absorb finite heat without changing its temperature. Used to model hot sources (furnace, sun) and cold sinks (ambient). Assumption: isothermal, internally equilibrated, effectively infinite heat capacity.
  • Cyclic device: A system that returns to its initial state after a cycle; state properties (U, S, etc.) net to zero change over a full cycle. Examples: heat engines, refrigerators, heat pumps.
  • Heat engine (HE): A cyclic device that converts part of heat absorbed from a high-T reservoir into work while rejecting the remainder to a low-T reservoir. Sign convention hereafter: heat to the system positive; work by the system positive. For device schematics we often use magnitudes (Q̇H, Q̇L, Ẇout > 0 as rates).
  • Thermal efficiency (ηth): Fraction of input heat converted to net work in a cycle. For an HE, 0 < ηth < 1 for real/ideal cycles operating between finite temperatures.
  • Refrigerator (R): A reversed-cycling device that removes heat from a low-T space and rejects it to a high-T environment, requiring work input. Coefficient of performance (COPR) measures effectiveness (cooling per unit work). Assumption: steady operation; KE/PE changes negligible.
  • Heat pump (HP): Same hardware as a refrigerator but with desired effect as heat delivered to the high-T space. COPHP measures heating per unit work.

Exact statements of the second law

  • Kelvin–Planck statement: It is impossible for any device that operates on a cycle to receive heat from a single thermal reservoir and produce an equivalent amount of work. (No heat engine can have ηth = 1 with a single reservoir.) A violating device is a perpetual motion machine of the second kind (PMM2). Note: PMM1 denotes a first-law violator (creates energy), not a second-law violator.
  • Clausius statement: It is impossible for any device that operates on a cycle to transfer heat from a colder body to a hotter body without external work. A violating device is a perpetual motion machine of the second kind (PMM2).
  • These statements are equivalent: violating one lets you construct a violation of the other (thought experiments combining hypothetical devices).

Reversible and irreversible processes

  • Reversible process: An idealized process that can be reversed without leaving any net change in the system and surroundings. Requires no friction, infinitesimal temperature differences for heat transfer, quasi-static compression/expansion, and no non-equilibrium effects. It is unattainable in practice but defines limits.
  • Irreversibility (entropy generation) sources: friction and viscosity, unrestrained expansion, mixing, heat transfer across finite ΔT, electrical resistance, inelastic deformation, chemical reactions. Real devices always have Sgen > 0.

Carnot cycle and Carnot theorems

  • Carnot cycle: The ideal reversible cycle for HE consisting of two isothermal and two adiabatic (isentropic) processes operating between TH and TL (TH > TL). It provides the maximum possible efficiency for given reservoir temperatures.
  • First Carnot theorem: No heat engine operating between two given thermal reservoirs can be more efficient than a reversible engine (Carnot engine) operating between the same reservoirs.
  • Second Carnot theorem: All reversible engines operating between the same two reservoirs have the same thermal efficiency, which depends only on the reservoir temperatures.
  • Consequence: Define an absolute temperature scale (Kelvin) such that for any reversible cyclic device, heat transfers satisfy QH/QL = TH/TL, leading directly to ηCarnot = 1 − TL/TH. Temperatures must be in Kelvin.

Clausius inequality and entropy

  • Clausius inequality: For any cyclic process, ∮ δQ/T ≤ 0, with equality only for an internally reversible cycle.
  • From the inequality, define entropy (S) as a property via dS = δQrev/T for internally reversible processes. Over any process, ΔSsys ≥ ∫ δQ/T (with equality when internally reversible and the boundary temperature at heat transfer locations is well-defined).
  • For closed systems: ΔSuniverse = ΔSsys + ΔSsurr ≥ 0. For isolated systems (no heat/work/mass with surroundings): ΔSuniverse = ΔSisolate = Sgen ≥ 0.
  • For control volumes (rate form, steady operation): Ṡsys = Σ(Q̇k/Tk) + Σ(ṁin·sin − ṁout·sout) + Ṡgen. At steady state, Ṡsys = 0.

Standard device performance limits

  • Heat engine: ηth = 1 − QL/QH; maximum possible ηth between TH and TL is ηCarnot = 1 − TL/TH. Limiting cases: TL → TH → η → 0; TL → 0 K → η → 1 (unattainable in practice).
  • Refrigerator: COPR = QL/Win = QL/(QH − QL). Maximum is COPR,Carnot = TL/(TH − TL). Limiting cases: TH → TL → COPR → ∞ (requires zero temperature difference and infinite area/time; unattainable); TL → 0 K → COPR → 0.
  • Heat pump: COPHP = QH/Win = QH/(QH − QL) = COPR + 1. Maximum is COPHP,Carnot = TH/(TH − TL). Always COPHP > 1; this does not violate the second law because “output” is heat, not work.

Sign conventions and modeling assumptions

  • When writing balances: take heat to system positive, work by system positive. For refrigerators/heat pumps it is common to use magnitudes (all Q̇, Ẇ positive arrows) and formulas defined accordingly.
  • Idealized models assume: reservoirs at fixed temperature; internally reversible device cycle; negligible KE/PE changes; steady operation.

Why real devices differ from ideal

  • Real heat transfer needs finite temperature differences; mechanical friction and pressure drops cause entropy generation; throttling valves replace reversible expanders in many refrigeration systems; heat exchangers have finite area and approach temperatures. These irreversibilities reduce ηth, COPR, and COPHP below Carnot limits.

Outline of key derivations (exam focus)

  • Carnot efficiency: For a reversible cycle between TH and TL, QH/QL = TH/TL. Therefore ηth = 1 − QL/QH = 1 − TL/TH.
  • Carnot COPs: By reversing the Carnot cycle, COPR = QL/W = QL/(QH − QL). Using QH/QL = TH/TL ⇒ COPR = TL/(TH − TL) and COPHP = TH/(TH − TL).
  • Clausius inequality: Consider any cycle and a reversible reference reservoir interaction; if ∮ δQ/T > 0, one can construct a Kelvin–Planck violator; if equality holds, the cycle is reversible. Therefore ∮ δQ/T ≤ 0.

Connections to other topics (for context only)

  • Entropy property calculations and T–s diagrams are covered under “Entropy and its Applications.”
  • Rankine/Brayton/IC engine cycles and real refrigeration cycles appear under “Thermodynamic Cycles” and “Refrigeration and Air Conditioning.”
  • Second-law (exergy) efficiency and irreversibility costing are in “Exergy Analysis.”

Formulas

  • ηth = Wnet,out / Qin = 1 − Qout / Qin ηth: thermal efficiency (dimensionless); Wnet,out: net work output per cycle (J or W as rate); Qin: heat input from hot reservoir (J or W); Qout: heat rejected to cold reservoir (J or W). Applies to any cyclic heat engine.

  • COPR = QL / Win = QL / (QH − QL) COPR: coefficient of performance of a refrigerator (dimensionless); QL: heat removed from low-T space (J or W); Win: work input (J or W); QH: heat rejected to high-T environment (J or W). Applies to refrigerators.

  • COPHP = QH / Win = QH / (QH − QL) = COPR + 1 COPHP: coefficient of performance of a heat pump (dimensionless); others as above. Applies to heat pumps; last equality holds when the same TH and TL apply.

  • ηCarnot = 1 − TL / TH ηCarnot: maximum efficiency between two reservoirs (dimensionless); TH, TL: absolute temperatures of hot and cold reservoirs (K). Applies only to reversible engines.

  • COPR,Carnot = TL / (TH − TL) Maximum refrigerator COP for given TH, TL (dimensionless; temperatures in K). Applies to reversible refrigerators.

  • COPHP,Carnot = TH / (TH − TL) Maximum heat pump COP for given TH, TL (dimensionless; temperatures in K). Applies to reversible heat pumps.

  • ∮ δQ / T ≤ 0 Clausius inequality for any cyclic process; equality for internally reversible cycles. δQ: incremental heat transfer (J); T: local boundary temperature at which heat is exchanged (K); for reversible exchange with a reservoir, T equals the reservoir temperature.

  • ΔSsys ≥ ∫1→2 δQ / T Entropy change inequality for a process between states 1 and 2. Equality for internally reversible process with well-defined boundary temperature for heat transfer. S in J/K.

  • ΔSuniverse = ΔSsys + ΔSsurr ≥ 0 Second law for universe/isolated composite. S in J/K.

  • Ṡsys = Σ(Q̇k / Tk) + Σ(ṁin·sin − ṁout·sout) + Ṡgen Entropy rate balance for control volumes. Overdot: rates (per s); s: specific entropy (J/(kg·K)); Ṡgen ≥ 0. At steady state, Ṡsys = 0.

  • ηII = ηactual / ηreversible Second-law efficiency (dimensionless); for a heat engine between fixed TH, TL, ηreversible = ηCarnot; for refrigerators/heat pumps between the same TH, TL, ηII = COPactual / COPCarnot.

Worked examples

Example 1 (direct): COPs and power for a Carnot refrigerator/heat pump Given: A Carnot refrigerator maintains a cold space at 5 °C while rejecting heat to ambient at 35 °C. Cooling load Q̇L = 2.00 kW. Find COPR, required power Ẇin, and COPHP. Assumptions: Reversible operation (Carnot), steady state, negligible KE/PE.

  • Convert temperatures: TL = 5 + 273.15 = 278.15 K; TH = 35 + 273.15 = 308.15 K.
  1. Formula: COPR,Carnot = TL / (TH − TL) Numbers: COPR = 278.15 K / (308.15 − 278.15) K = 278.15 / 30.00 = 9.2717 (dimensionless)
  2. Formula: Ẇin = Q̇L / COPR Numbers: Ẇin = 2.00 kW / 9.2717 = 0.2157 kW
  3. Formula: COPHP = COPR + 1 (same TH, TL) Numbers: COPHP = 9.2717 + 1 = 10.2717 Final: COPR = 9.272 (–), Ẇin = 0.216 kW, COPHP = 10.272 (–)

Example 2 (GATE-type): Engine performance, entropy generation, coupled refrigerator capacity A heat engine receives heat at a rate Q̇H = 600 kW from a 900 K source and rejects heat to a 300 K sink. Its actual thermal efficiency is 40%. Determine: (a) the maximum possible efficiency; (b) the rate of entropy generation of the universe due to the engine; (c) if the engine drives a reversible refrigerator operating between 300 K and 270 K, the maximum cooling capacity Q̇L,max. Assumptions: Steady operation; reservoirs at fixed temperatures; ambient at 300 K; negligible KE/PE; reversible refrigerator in part (c). Given: TH(engine) = 900 K, TL(engine) = 300 K, Q̇H = 600 kW, ηactual = 0.40; Refrigerator TL = 270 K, TH = 300 K. (a) Maximum possible efficiency (Carnot)

  1. Formula: ηCarnot = 1 − TL / TH Numbers: ηCarnot = 1 − 300/900 = 1 − 0.3333 = 0.6667 Final (a): ηCarnot = 0.6667 (66.67%)

(b) Entropy generation rate of universe due to the engine First find actual Ẇout and Q̇out. 2) Formula: Ẇout = ηactual · Q̇H Numbers: Ẇout = 0.40 × 600 kW = 240 kW 3) Formula: Q̇out = Q̇H − Ẇout Numbers: Q̇out = 600 − 240 = 360 kW Entropy rate change of reservoirs (system is cyclic, so Ṡsys = 0): 4) Source entropy change: Ṡsource = − Q̇H / TH Numbers: Ṡsource = − 600 kW / 900 K = −0.6667 kW/K 5) Sink entropy change: Ṡsink = + Q̇out / TL Numbers: Ṡsink = + 360 kW / 300 K = +1.2000 kW/K 6) Entropy generation: Ṡgen = Ṡsource + Ṡsink (since Ṡsys = 0) Numbers: Ṡgen = (−0.6667 + 1.2000) kW/K = 0.5333 kW/K Final (b): Ṡgen = 0.533 kW/K

(c) Maximum cooling capacity of a reversible refrigerator driven by the engine 7) Work available to drive refrigerator: Ẇin,ref = Ẇout = 240 kW 8) Reversible refrigerator COP between 270 K and 300 K: COPR,Carnot = TL / (TH − TL) Numbers: COPR = 270 / (300 − 270) = 270 / 30 = 9.0 9) Maximum cooling capacity: Q̇L,max = COPR · Ẇin Numbers: Q̇L,max = 9.0 × 240 kW = 2160 kW Final (c): Q̇L,max = 2.16 MW

Common mistakes

  • Using Celsius in Carnot formulas; always convert to Kelvin.
  • Mixing definitions: writing COPHP = COPR rather than COPHP = COPR + 1 for the same TH and TL.
  • Treating COP > 1 as “impossible” for heat pumps/refrigerators; COP is not an efficiency and can exceed 1.
  • Forgetting that ηCarnot depends only on reservoir temperatures, not on working fluid or cycle details.
  • Applying ηCarnot or COPCarnot to real devices without acknowledging irreversibilities; Carnot is an unattainable upper bound.
  • Sign confusion: forgetting that for a heat engine Qout = Qin − Wout and for refrigerators Ẇin = Q̇H − Q̇L with all terms taken as positive magnitudes.
  • Clausius inequality misuse: writing ∮ δQ/T ≥ 0 instead of ≤ 0; equality holds only for internally reversible cycles.
  • Computing ΔSsys with ∫ δQ/T for irreversible processes indiscriminately; only ∫ δQrev/T equals ΔS. For actual heat transfer across finite ΔT, use property data or entropy balance with Sgen ≥ 0.
  • Misnaming PMMs: calling a Kelvin–Planck violator PMM1; it is PMM2. PMM1 violates the first law (creates energy).

For GATE ME

  • Quick conceptual: Identify which statement (Kelvin–Planck vs Clausius) is violated by a proposed device; equivalence arguments; direction of heat flow and spontaneity.
  • Numerical bounds: Compute ηCarnot, COPR,Carnot, COPHP,Carnot for given TH, TL; compare with given device performance; find second-law efficiency ηII.
  • Entropy balances: Rate of entropy generation for engines/refrigerators given Q̇ and reservoir temperatures; check feasibility of a claimed performance via Sgen ≥ 0 or by comparing to Carnot limits.
  • Coupled devices: Engine driving a refrigerator/heat pump; determine maximum heating/cooling capacity given engine output and reversible COP; or minimum required power for a refrigerator/heat pump delivering specified Q̇.
  • Practice tips: Always convert to Kelvin; draw energy and entropy balance diagrams; mark magnitudes and directions of Q̇, Ẇ; state assumptions (steady, negligible KE/PE, reservoirs).

Quick check

  1. State the Kelvin–Planck statement of the second law in one sentence.
  2. A refrigerator operates between 250 K and 300 K. What is the maximum possible COPR?
  3. An actual engine receives 1 MW at 800 K and rejects heat at 300 K with η = 0.35. Is this below the Carnot limit, and what is the rate of entropy generation of the universe? Answers: 1) No cyclic device can convert heat from a single reservoir entirely into work. 2) COPR,max = 250/(300 − 250) = 5.0. 3) ηCarnot = 1 − 300/800 = 0.625, so 0.35 is below; Ṡgen = −Q̇H/TH + Q̇out/TL with Q̇out = 1 − 0.35 = 0.65 MW ⇒ Ṡgen = −1/800 + 0.65/300 MW/K = −0.00125 + 0.002167 = 0.000917 MW/K = 0.917 kW/K.

Finished this topic? Mark it so your progress, study plan and readiness keep up.

Stuck on something here?