Laws of Thermodynamics
The zeroth, first, second and third laws define temperature, energy conservation, the direction of processes and absolute zero. Learn energy balances for closed and open (steady-flow) systems and what the second law forbids.
Four laws govern all energy conversion. The first says energy can't be created or destroyed. The second says it naturally degrades — heat flows from hot to cold, and no engine can turn all heat into work. Together they explain why power stations need cooling towers and cars waste most of their fuel.
Energy balances based on the first law are the everyday calculation of mechanical engineers: heaters, boilers, turbines, compressors, HVAC.
An analogy
First law: you can't get something for nothing (energy bank balance). Second law: you can't even break even (every transaction charges a fee in lost work quality).
Zeroth law
If A and B are each in thermal equilibrium with C, they are in equilibrium with each other. This is why a thermometer (C) can compare temperatures.
First law — energy conservation
Heat added minus work done by the system equals the change in stored energy. Sign convention here: Q in is +, W out is +. For a cycle, ΔU = 0 so net heat in = net work out.
Steady-flow devices
For turbines, compressors, pumps, nozzles, heat exchangers and throttles, mass flow in = out and the steady-flow energy equation applies. Turbines: w = h₁ − h₂. Throttling valves: h₁ = h₂. Nozzles: enthalpy drop becomes kinetic energy.
Second law statements
Kelvin–Planck: no cyclic device can produce work from a single heat reservoir (100 % efficient engines are impossible). Clausius: heat can't flow from cold to hot without work input (refrigerators need power). Both are equivalent.
Third law and exergy
The entropy of a perfect crystal at 0 K is zero, fixing absolute entropy values. Combining the first and second laws gives exergy — the maximum useful work obtainable relative to the environment. Exergy analysis pinpoints where real plants waste potential work (typically the boiler combustion).
Formulas
- First law (closed system):
Q − W = ΔU (+ΔKE + ΔPE) - Steady-flow energy equation:
Q̇ − Ẇ = ṁ[(h₂ − h₁) + (V₂² − V₁²)/2 + g(z₂ − z₁)] - Sensible heat:
Q = m · c · ΔT - Second law (Clausius inequality):
∮ δQ/T ≤ 0
Worked example: Heating water in a kettle
Given: 2 kg water, 20 → 80 °C; c = 4.18 kJ/kg·K; Kettle 2 kW, no losses
Find: Heat and time.
- Q = 2 × 4.18 × 60 = 501.6 kJ
- t = 501.6/2 = 251 s ≈ 4.2 min
Answer: 502 kJ, ≈ 4.2 min
Worked example: Steam turbine power
Given: ṁ = 10 kg/s; h₁ = 3232 kJ/kg, h₂ = 2193 kJ/kg; Adiabatic, negligible KE/PE
Find: Power output.
- w = h₁ − h₂ = 1039 kJ/kg
- Ẇ = 10 × 1039 = 10.4 MW
Answer: ≈ 10.4 MW
Common mistakes
- Wrong: Mixing sign conventions for Q and W. — Right: State your convention (Q in +, W out +) and stick to it.
- Wrong: Thinking a 'perfect' engine could reach 100 % efficiency. — Right: The second law caps efficiency at the Carnot limit 1 − T_L/T_H.
Applications
- HVAC load calculations: Heating and cooling capacity from Q̇ = ṁ c ΔT for air and water flows.
- Power-plant heat balance: Each component — boiler, turbine, condenser — has a steady-flow energy balance.
- Battery thermal management: Heat generation vs coolant flow and temperature rise.
Key takeaways
- Q − W = ΔU; for cycles net Q = net W.
- Steady flow: q − w = Δh + ΔKE + ΔPE.
- Second law: engines must reject heat; heat flows hot → cold.
- Absolute zero is the entropy reference.
Going further
- Transient (unsteady) systems: Filling or emptying tanks uses mass and energy balances with time-varying contents.
- Exergy destruction: Gouy–Stodola: lost work = T₀ S_gen. It ranks components by waste of useful energy.
- Statistical view: Entropy counts microscopic arrangements, S = k ln Ω, explaining why disorder increases.