Module 4 · Thermodynamics

The first law of thermodynamics

Energy is conserved — heat in minus work out equals the change in stored energy — for closed systems and for steady-flow devices.

Notes
On this page
  1. The idea
  2. Everyday intuition
  3. How it works
  4. Key formulas
  5. Worked example
  6. Where it is used
  7. Common misconceptions
  8. Self-check

The idea

The is conservation of energy. For a , heat added minus work done by the system equals the rise in its : Q − W = ΔU. For devices with flow through them, such as turbines and pumps, the same balance uses instead. Energy is never made or destroyed, only converted and moved.

Everyday intuition

A bank account: heat is a deposit, work done by the system is a withdrawal, and internal energy is the balance. The balance changes by deposits minus withdrawals, however you make them.

How it works

  1. Sign convention used here. Heat into the system is positive; work done by the system is positive. So Q − W = ΔU.
  2. Work by a moving boundary. A gas pushing a piston at pressure P through a volume change ΔV does work P ΔV (exact when P is constant).
  3. Internal energy of an ideal gas depends only on temperature: ΔU = m c_v ΔT.
  4. Special cases. Rigid tank: no boundary work, so Q = ΔU. Insulated (): Q = 0, so W = −ΔU — a gas compressed quickly heats up. ideal gas: ΔU = 0, so Q = W.
  5. Cycles. After a full cycle the system is back where it started, ΔU = 0, so net heat in = net work out.
  6. Steady flow. For a device running steadily, heat rate in minus power out equals mass flow times the rise in enthalpy (see the second formula).
gas: ΔU Q = heat in W = work out Q − W = ΔU energy is conserved

Whatever is not used as work raises the internal energy.

Heat in, work out, and what stays as internal energy. Tap the arrows. Energy balance on a gas in a cylinder. Original diagram drawn for this site. Tap labelled parts for an explanation.
Energy balance on a gas in a cylinder

Key formulas

First law for a closed system:

Q−W=ΔUΔU=m cv ΔTQ - W = \Delta U \qquad \Delta U = m\,c_v\,\Delta T

Steady-flow energy equation:

Q˙−W˙=m˙ (h2−h1)\dot Q - \dot W = \dot m\,(h_2 - h_1)
QQ
heat added to the system J
WW
work done by the system J
ΔU\Delta U
change in internal energy J
cvc_v
specific heat at constant volume J/(kg·K)
Q˙\dot Q
heat rate into the device W
W˙\dot W
power out of the device W
m˙\dot m
mass flow rate kg/s
h1, h2h_1,\ h_2
specific enthalpy in and out J/kg

Worked example

Where it is used

  • Engines: heat released by fuel = work out + heat to exhaust and coolant.
  • Turbines, compressors and pumps: the steady-flow form gives power from the enthalpy change.
  • Buildings: heating load = heat lost through walls and air leaks (a first-law balance).
  • Batteries and electronics: electrical work in = heat out when nothing is stored.

Common misconceptions

Self-check

Check A rigid sealed tank is heated with 10 kJ. How much work is done and what is ΔU?

Show answer

W = 0 (no volume change), so ΔU = +10 kJ.

Check A gas is compressed with 30 kJ of work while 10 kJ of heat leaks out. What is ΔU?

Show answer

Q = −10 kJ, W = −30 kJ, so ΔU = −10 − (−30) = +20 kJ.

Check Over one full cycle, what is ΔU?

Show answer

Zero — the system returns to its starting state.

My notes

Private to this browser. Select any text above to highlight it.

↑ ↓ move Enter open Esc close