State Functions and Path Functions
State Functions vs. Path Functions
State functions depend only on the current state of a system, so a change in a state function is fixed once the initial and final states are fixed.
Internal energy U, enthalpy H, entropy S and Gibbs energy G behave this way. Path functions depend on how the process is actually carried out. Heat q and work w are the two path functions you meet constantly in first-year thermodynamics.
The test to apply
Ask: if I fix the starting state and the finishing state, is this quantity now determined? If yes, it is a state function.
If you can still change its value by choosing a different route between those same two states, it is a path function.
Notation follows the same logic: state functions get a Δ (ΔU, ΔH), while q and w are written without one because there is no "amount of heat" stored in a state to take a difference of.
Pressure-volume diagram showing two different routes, labelled Path 1 and Path 2, that a fixed sample of gas can follow from state A to state B.
Why the First Law is the sharpest example
With w defined as work done on the system, the First Law reads ΔU=q+w. Individually q and w can take a different value for every route between the same two states, yet their sum is always the same. Two path-dependent terms combine into one path-independent total.
Worked example
A gas goes from state A to state B in two ways.
- Route 1: q1=200 J, w1=−60 J, so ΔU=200−60=140 J.
- Route 2: q2=350 J, and w2 is unknown.
Both routes end at the same state B, so ΔU is again 140 J. Then w2=ΔU−q2=140−350=−210 J: the system does 210 J of work on its surroundings along route 2. Note what moved and what did not. The heat changed by 350−200=150 J and the work changed by −210−(−60)=−150 J; the two shifts are equal and opposite, which is exactly what keeps ΔU pinned at 140 J.
The same idea for enthalpy
Because H is also a state function, a reaction enthalpy can be assembled from any set of steps whose sum is the overall reaction, this is Hess's law.
As a labelled hypothetical, suppose a process X→Y has ΔH=−25 kJ mol−1 and Y→Z has ΔH=+60 kJ mol−1 at the same temperature and pressure. Then X→Z has ΔH=−25+60=+35 kJ mol−1, and the reverse process Z→X has ΔH=−35 kJ mol−1. Reversing a step flips the sign; scaling a step by a factor scales ΔH by the same factor.
The formation of CO2(g) from graphite and O2(g) can be written as a single direct reaction or as a two-step pathway through carbon monoxide:
Step 1: C(graphite)+21O2(g)→CO(g), ΔH1=−110.5 kJ/mol
Step 2: CO(g)+21O2(g)→CO2(g), ΔH2=−283.0 kJ/mol
Because enthalpy is a state function, calculate ΔH for the direct reaction C(graphite)+O2(g)→CO2(g).
Give your answer in kJ/mol.
Pressure-volume diagram showing two different routes, labelled Path 1 and Path 2, that a fixed sample of gas can follow from state A to state B.
The figure shows a gas taken from state A to state B either along Path 1 or along Path 2. Assume each plotted curve gives the gas's equilibrium pressure throughout the path, and that pressure-volume work is the only work contribution. Use ΔU=q+w, with w positive for work done on the gas and q positive for heat entering it. Which statement about the internal energy change is correct?
Pressure-volume diagram showing two different routes, labelled Path 1 and Path 2, that a fixed sample of gas can follow from state A to state B.