What Is a State Function, and How Can You Identify One?
At a glance
- 1. Define the state
A state function assigns a value to each equilibrium state of the system.
- 2. Compare paths
For the same initial and final states, its change must be identical for every allowed process.
- 3. Check exactness
For a differential expression, test whether it is exact; in two variables, compare the relevant partial derivatives.
- 4. Use endpoints
Calculate the change from the initial and final values, not from the route taken.
A state function is a property of a system whose value depends only on its current equilibrium state. It does not depend on the process or history that brought the system there. This article explains the definition, how to recognize state functions, and how exact differentials provide a mathematical test.
Definition of a state function
A thermodynamic state is described by enough state variables to specify the system’s condition—for example, pressure, volume, temperature, and composition. A state function assigns a definite value to each such state. Internal energy , enthalpy , entropy , pressure , and volume are familiar examples.
If a system moves from state 1 to state 2, the change in a state function is
Only the endpoint values matter. If two different processes take the system between the same states, both must give the same . Equivalently, the total change in a state function around any closed cycle is zero:
The system must return to the same state for this statement to apply. That includes relevant details such as composition and phase, not merely matching one measurement such as temperature.
How to determine whether a quantity is a state function
There are three useful approaches.
- Use the definition or a thermodynamic model. If a quantity is specified as a property of the system’s equilibrium state, it is a state function. A formula such as makes this explicit, provided the variables specify the state and the formula gives a unique value.
- Compare different paths. Consider processes with the same initial and final states. If the quantity’s change is the same for every allowed path, it is path-independent and behaves as a state function. A single pair of matching results does not prove path independence for all possible paths, but different results disprove it.
- Test the differential expression. If the proposed change is written in terms of state variables, check whether the differential is exact. This gives a mathematical test under stated regularity and domain conditions.
In thermodynamics, exact differentials are conventionally written with , as in or . Heat and work are transfers during a process, not properties stored in a state; their inexact differentials are often written and .
Exact-differential test
Suppose a proposed differential in two variables is
If is a well-behaved state function, its mixed second partial derivatives must agree. Thus, on a suitable simply connected domain, a standard test is
If the equality fails, the expression is not an exact differential on that domain, so it cannot be the differential of a state function there. If it holds and the coefficient functions are sufficiently smooth on a simply connected domain, the expression is exact. On domains with holes or other restrictions, the derivative test alone may not guarantee global path independence; the domain and possible closed-loop integrals also matter.
Worked example: checking exactness
Let and describe a state, and suppose a quantity has the proposed differential
Here and . Their cross-partials are
They agree. To find , integrate with respect to :
where is a function to be determined. Differentiating with respect to gives . Matching this to gives , so . Therefore,
For a change from to , the state-function change is
Any path between those endpoints gives the same change. For example, going first from to and then to gives . Reversing the order gives .
Thermodynamic example: internal energy
For a fixed composition of an ideal gas, internal energy is determined by temperature and amount of gas. If the heat capacity at constant volume is constant over the temperature range, then, at fixed and composition, , where is an additive reference constant. At fixed ,
The gas may be heated at constant volume or taken through a process involving expansion and compression. If both processes start and end at the same temperatures, they produce the same change in internal energy. The heat supplied and work done can differ between paths; that does not make path-dependent.
Common mistakes
- Calling heat or work state functions: Heat and work describe energy transferred during a process. Their values generally depend on the path, even when the endpoints are fixed.
- Confusing a state function with a constant: A state function can change as the system changes state. Path independence concerns its change between fixed endpoints, not whether its value stays the same.
- Assuming one measurement decides the issue: A value measured at one state cannot establish path independence. Use the definition, a valid model, or a general path-independence or exactness argument.
- Treating the derivative test as unconditional: The simple cross-partial test assumes suitable smoothness and a suitable domain. State-space restrictions can matter, and the equality is a test for an exact differential—not a rule that every expression involving state variables is exact.
References
- Thermodynamics and an Introduction to Thermostatistics, 2nd ed. — Herbert B. Callen
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.