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 UU, enthalpy HH, entropy SS and Gibbs energy GG behave this way. Path functions depend on how the process is actually carried out. Heat qq and work ww 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 Δ\Delta (ΔU\Delta U, ΔH\Delta H), while qq and ww 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.

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 ww defined as work done on the system, the First Law reads ΔU=q+w\Delta U = q + w. Individually qq and ww 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 Jq_1 = 200\ \text{J}, w1=−60 Jw_1 = -60\ \text{J}, so ΔU=200−60=140 J\Delta U = 200 - 60 = 140\ \text{J}.
  • Route 2: q2=350 Jq_2 = 350\ \text{J}, and w2w_2 is unknown.


Both routes end at the same state B, so ΔU\Delta U is again 140 J140\ \text{J}. Then w2=ΔU−q2=140−350=−210 Jw_2 = \Delta U - q_2 = 140 - 350 = -210\ \text{J}: the system does 210 J210\ \text{J} of work on its surroundings along route 2. Note what moved and what did not. The heat changed by 350−200=150 J350-200 = 150\ \text{J} and the work changed by −210−(−60)=−150 J-210-(-60) = -150\ \text{J}; the two shifts are equal and opposite, which is exactly what keeps ΔU\Delta U pinned at 140 J140\ \text{J}.

The same idea for enthalpy

Because HH 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\text{X}\rightarrow\text{Y} has ΔH=−25 kJ mol−1\Delta H = -25\ \text{kJ mol}^{-1} and Y→Z\text{Y}\rightarrow\text{Z} has ΔH=+60 kJ mol−1\Delta H = +60\ \text{kJ mol}^{-1} at the same temperature and pressure. Then X→Z\text{X}\rightarrow\text{Z} has ΔH=−25+60=+35 kJ mol−1\Delta H = -25 + 60 = +35\ \text{kJ mol}^{-1}, and the reverse process Z→X\text{Z}\rightarrow\text{X} has ΔH=−35 kJ mol−1\Delta H = -35\ \text{kJ mol}^{-1}. Reversing a step flips the sign; scaling a step by a factor scales ΔH\Delta H by the same factor.



Which of the following changes in a thermodynamic system is a state function?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

The formation of CO2(g)\text{CO}_2(g) from graphite and O2(g)\text{O}_2(g) can be written as a single direct reaction or as a two-step pathway through carbon monoxide:

Step 1: C(graphite)+12O2(g)→CO(g)\text{C(graphite)} + \tfrac{1}{2}\text{O}_2(g) \rightarrow \text{CO}(g), ΔH1=−110.5 kJ/mol\Delta H_1 = -110.5\ \text{kJ/mol}

Step 2: CO(g)+12O2(g)→CO2(g)\text{CO}(g) + \tfrac{1}{2}\text{O}_2(g) \rightarrow \text{CO}_2(g), ΔH2=−283.0 kJ/mol\Delta H_2 = -283.0\ \text{kJ/mol}

Because enthalpy is a state function, calculate ΔH\Delta H for the direct reaction C(graphite)+O2(g)→CO2(g)\text{C(graphite)} + \text{O}_2(g) \rightarrow \text{CO}_2(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.

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.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

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\Delta U=q+w, with ww positive for work done on the gas and qq 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.

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.

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors