Module 5 · 12 min read · Free chapter
Work, heat, internal energy and the first law of thermodynamics
Start from zero: energy that moves
Rub your hands and they warm up. Pump a bicycle tyre and the pump barrel gets hot. Burn petrol in an engine and the car moves. In each case energy moves from one place to another, either as heat or as work.
Thermodynamics is the bookkeeping of these energy movements. It does not ask what the molecules are doing one by one. It asks what goes in, what comes out, and what is stored.
This chapter builds the first law, which says energy is never created or destroyed. It shows how to calculate work for gases, why enthalpy is defined, how heat capacity and adiabatic changes work, and why the air in a rising cloud cools.
System, surroundings and state functions
The system is the part of the universe we study, such as a gas in a cylinder or a reaction in a flask. Everything else is the surroundings. An open system exchanges both matter and energy; a closed system exchanges only energy; an isolated system exchanges neither.
A state function depends only on the present state, not on how the system got there. Pressure, volume, temperature, internal energy U, enthalpy H, entropy S and Gibbs energy G are state functions. Climbing a hill gives a good picture: your height gain depends only on start and finish, but the distance walked depends on the route.
Heat q and work w are not state functions. They are energy in transit and describe the route, not the destination. Mathematically, dU is an exact differential, so round any cycle, while the small amounts δq and δw are inexact.
Properties are also extensive (proportional to amount: V, U, H, mass) or intensive (independent of amount: T, p, density, molar quantities). The ratio of two extensive properties is intensive.
| Process | What is held fixed |
|---|---|
| Isothermal | temperature (ΔT = 0) |
| Isobaric | pressure (Δp = 0) |
| Isochoric | volume (ΔV = 0) |
| Adiabatic | no heat exchange (q = 0) |
| Cyclic | returns to the start (ΔU = 0) |
The first law and the work of expansion
Internal energy U is the total energy stored in the system: molecular motion, vibrations, rotations, electronic and nuclear energy, and intermolecular potential energy. Its absolute value cannot be measured, but its change can. The first law says energy is conserved:
We use the IUPAC convention: q and w are positive when energy enters the system. Heat absorbed (q > 0) and work done on the system (w > 0) both raise U. A system that absorbs 50 kJ of heat and does 30 kJ of work has ΔU = +50 − 30 = +20 kJ. Older physics books write ΔU = q − w with w as work done by the system; the physics is the same.
Work against a constant external pressure. When a gas pushes a piston against an external pressure p_ext, the work done on the gas is
Expansion (ΔV > 0) gives negative w, because the gas loses energy. Expansion into a vacuum (p_ext = 0) does no work at all.
Reversible isothermal work. If the external pressure is always only infinitesimally less than the gas pressure, the expansion is reversible. For an ideal gas at constant T, , and
The reversible path gives the maximum work by the gas, because at every step the gas pushes against the largest pressure it can still overcome. On a p-V diagram the work is the area under the path, so different paths between the same two states give different work.
Worked example 1 (UPSC 2019). One mole of an ideal gas at 273.15 K expands from 2.24 L to 22.4 L against a constant 1 atm. Find w, ΔU, ΔH and ΔS. The initial pressure is about 10 atm and the final 1 atm at the same temperature, so the change is isothermal. Then w = −1 atm × 20.16 L = −20.16 L atm = −2043 J. Since T is unchanged, ΔU = 0 and ΔH = 0 for an ideal gas, so q = +2043 J. Entropy is a state function, so use a reversible path: = +19.1 J K⁻¹.
Worked example 2 (UPSC 2020). One mole of a monatomic ideal gas at 300 K doubles its volume against a constant pressure equal to the final pressure. The final pressure is , so = −1247 J. ΔU = 0 (isothermal ideal gas), so the heat absorbed is q = +1247 J. A reversible expansion would have absorbed RT ln 2 = 1729 J, which is more.
Worked example 3 (UPSC 2023). An ideal gas expands reversibly and isothermally at 25 °C from 0.05 L and 8 atm to 0.40 L and 1 atm. Here nRT = pV = 0.40 L atm, so = −0.832 L atm = −84.3 J. ΔU = ΔH = 0 and q = +84.3 J. ΔS = = 0.283 J K⁻¹. Here q ≠ ΔH, because ΔH = q only at constant pressure, and the pressure fell from 8 atm to 1 atm.
Worked example 4 (UPSC 2018). A gas goes from 3.00 atm, 500 cm³ to 1.00 atm, 2000 cm³ by two two-step paths. Path (a): expand at 3.00 atm to 2000 cm³, then cool at constant volume to 1.00 atm; w = −3.00 × 1.50 L = −4.50 L atm = −456 J. Path (b): cool at constant volume to 1.00 atm, then expand at 1.00 atm; w = −1.00 × 1.50 = −1.50 L atm = −152 J. The constant-volume steps do no work. The end states are the same, yet the work differs threefold: work is a path function.
Enthalpy, ΔU versus ΔH, and calorimetry
At constant volume no expansion work is done, so ΔU = q_V. A bomb calorimeter, a sealed steel vessel, therefore measures ΔU. Most chemistry happens in open vessels at constant pressure, so we define enthalpy:
For solids and liquids pV is tiny, so ΔH ≈ ΔU. For reactions involving gases, treat the gases as ideal: , where Δn_g is moles of gaseous products minus moles of gaseous reactants. Burning a hydrocarbon to liquid water usually has Δn_g < 0, so ΔH is slightly more negative than ΔU.
Worked example 5 (UPSC 2025). Burning 0.500 g of benzoic acid (Δ_cU = −3227 kJ mol⁻¹) raises a bomb calorimeter's temperature by 1.236 K; 0.300 g of naphthalene raises it by 1.128 K. Find naphthalene's heat of combustion. Heat from benzoic acid = = 13.21 kJ, so the calorimeter constant is = 10.69 kJ K⁻¹. Naphthalene releases 10.69 × 1.128 = 12.06 kJ from = 2.341 × 10⁻³ mol, so Δ_cU = −5152 kJ mol⁻¹. For C₁₀H₈(s) + 12O₂ → 10CO₂ + 4H₂O(l), Δn_g = −2, so Δ_cH = −5152 − 2 × 2.48 = −5157 kJ mol⁻¹.
Worked example 6 (UPSC 2018). Find ΔU when 1.00 mol of water is warmed from 25.0 °C to 30.0 °C at 1 atm (C_p,m = 75.3 J K⁻¹ mol⁻¹). ΔH = q_p = 75.3 × 5.0 = 376.5 J. Taking the given densities 0.9970 and 0.9956 g cm⁻³ for the two temperatures, the molar volume changes from 18.069 to 18.095 cm³, so pΔV = 101325 × 2.5 × 10⁻⁸ m³ = 0.0026 J. Thus ΔU = 376.5 − 0.003 ≈ 376 J: for liquids ΔU and ΔH are practically equal.
Worked example 7 (UPSC 2025). 100 g of ice at 0 °C sits in a humid room at 40 °C, and all the heat comes from vapour condensing into the container. How much water condenses by the time the ice has melted and reached 40 °C? Heat needed = 100 × 334 + 100 × 4.184 × 40 = 33 400 + 16 736 = 50 136 J. The condensing water releases 2260 J g⁻¹ and stays at 40 °C, so mass = = 22.2 g.
Heat capacity, adiabatic changes and free expansion
Heat capacity is the heat needed per kelvin. Because heat depends on the path, there are two:
C_p is larger, because at constant pressure part of the heat goes into expansion work. For an ideal gas, H = U + nRT, which gives . A monatomic gas has and γ = ; a diatomic gas near room temperature has and γ = .
Adiabatic changes. With q = 0, ΔU = w: any work done by the gas comes out of its own internal energy, so it cools. For a reversible adiabatic change of an ideal gas, integrates to
An isothermal curve obeys pV = constant because heat flows in to keep T fixed. On an adiabat the gas also cools, so its pressure falls faster; adiabats are steeper than isotherms by the factor γ. For a reversible adiabatic change, w = ΔU = .
Irreversible adiabatic expansion against constant p_ext. Here , with . The gas cools less than in the reversible case, because it does less work.
Worked example 8 (UPSC 2022). A tyre holds air at 320 kPa and 20 °C. The valve is removed and the air expands adiabatically against 100 kPa until its pressure equals 100 kPa (). Per mole, . Solving, = 235.6 K (about −38 °C). A reversible adiabatic path would give 293.15 × = 210 K, colder still.
Physical meaning (UPSC 2018). Rising air meets lower outside pressure, expands, and does work with almost no heat exchange, so it cools by about 10 K per km. When it cools to the dew point, vapour condenses and a cloud forms; the released latent heat then slows the cooling. Cold air sinking from mountain tops into a valley is compressed adiabatically and warms, which is why valley winds such as the föhn and chinook are warm and dry. Pumping a tyre warms the air for the same reason.
Joule's free expansion. A gas expands from one bulb into an evacuated bulb inside an insulated bath. Nothing pushes back, so w = 0, and the bath shows no change, so q = 0; hence ΔU = 0. For an ideal gas the temperature also stays the same, so U depends only on T: . The process is still irreversible: the gas never returns to one bulb by itself, and its entropy rises by .
Mains lens: how UPSC asks this
The first law appears almost every year, usually as a 10-mark numerical. Recent examples: a bomb calorimeter with benzoic acid and naphthalene (2025); ice melting by condensation (2025); isothermal reversible expansion with q versus ΔH (2023); an adiabatic tyre (2022); expansion against constant pressure (2020, 2019); rising clouds, two p-V paths, adiabats and valley winds (2018).
Expect:
- Numericals (5 to 20 marks): w, q, ΔU, ΔH for isothermal, isobaric and adiabatic changes; calorimeter constants; ΔH from ΔU.
- Explanations (5 marks): why work depends on path, why adiabats are steeper, rising air and valley winds.
- Derivations (10 marks): C_p − C_V = R, = constant.
Model answer plan: "Derive = constant for a reversible adiabatic expansion of an ideal gas" (10 marks).
- First law with q = 0: dU = δw = −p dV.
- Ideal gas: dU = and , so .
- Integrate: ; with , = constant.
- Substitute to get = constant.
- Interpret: the gas pays for work from U, so it cools; sketch the steeper adiabat beside an isotherm.
Quick revision
- State functions (U, H, S, G, p, V, T) depend only on state; q and w depend on path.
- First law: ΔU = q + w; q, w positive when energy enters.
- Work: w = −p_ext ΔV; reversible isothermal (maximum work).
- ΔU = q_V (bomb); ΔH = q_p; .
- ; γ = 1.67 (monatomic), 1.40 (diatomic).
- Reversible adiabatic: and constant; against constant p_ext use .
- Free expansion: q = w = ΔU = 0; ideal gas ΔT = 0 so .