3.2 The first law: heat, work, and internal energy
The first law of thermodynamics is the conservation of energy, written to include heat. A system holds energy in its internal energy — the kinetic and potential energy of its molecules — and that store changes by two routes: heat added, and work done.
Statement
For a closed system (no mass crossing its boundary),
The internal energy rises by the heat added and falls by the work it does . The notation distinguishes two kinds of quantity. , , are state functions: , , are exact differentials, and their change around a cycle is zero. Heat and work are not state functions — there is no “heat content” of a body — so they are written and , path-dependent quantities that have meaning only as flows during a process. The first law’s content is that although and each depend on the path, their difference does not.
The four standard processes
For an ideal gas the equation of state and the first law together fix the energy budget of any process. Four idealised paths recur because along each one a different one of the four quantities (, , , or a state variable) is held fixed:
- Isochoric ( fixed). No work, , so all heat goes to internal energy: . This defines the heat capacity at constant volume.
- Isobaric ( fixed). The work is simply ; the heat must cover both and that work.
- Isothermal ( fixed). For an ideal gas depends only on , so and : every joule of heat in leaves as work.
- Adiabatic (). No heat crosses the boundary, so : the gas does work at the cost of its own internal energy, and cools as it expands.
Each path realises a different bargain among ΔU (internal energy), W (work done by the gas), and Q (heat in). Isothermal: ΔU = 0, so Q = W. Adiabatic: Q = 0, so ΔU = −W. Isobaric: W = p ΔV. Isochoric: W = 0, so Q = ΔU. The first law dQ = dU + dW is the universal balance behind all four.
Pick a process and traverse it on the – diagram. The shaded area under the path is the work ; the readouts accumulate , , and along the way. Because work is the area under the path, a cycle — a closed loop — does net work equal to the area it encloses, even though every state variable returns to its start. That is the principle of the heat engine, and the entry to the second law in 3.5.