State function Created 2026-10-14 Updated 2026-10-14
A state function assigns a value to each equilibrium thermodynamic state of a specified thermodynamic system. Its change depends only on the initial and final states. Internal energy , entropy and enthalpy are state functions; here is pressure and is volume. Transferred heat and work belong to a thermodynamic process, rather than to a state. A system stores internal energy; it does not store separate inventories of “heat received” and “work received”.[ref]
Thermodynamics and Propulsion. Thermodynamics and Propulsion, §2.1, points 3–5 and equation 2.2: internal energy, transfer notation and signs
Use the explicit convention for heat entering and for work done by the thermodynamic system on its surroundings. For a closed system with unchanged endpoint bulk kinetic energy and external potential energy, the first law of thermodynamics readsThe notation denotes an exact differential of a state function; and denote incremental transfers. Along a reversible thermodynamic process of a simple compressible system,where is absolute temperature. These are rules for particular thermodynamic processes, not definitions of stored heat or stored work. In particular, a quasistatic process with friction can remain near thermodynamic equilibrium while producing entropy.[ref]
Thermodynamics and Propulsion. Thermodynamics and Propulsion, §5.3: reversible transfer formulas distinguished from relations between state properties
For any state function and two equilibrium states , an integral of its exact differential givesThe proof is telescoping: add the changes along a subdivided path, and all intermediate values cancel. The smooth limit gives the integral. Conversely, if an integrable differential form has zero integral around every accessible closed path in a connected region, define by integrating from a reference state. Two routes differ by a closed path, so the definition is unambiguous. This argument needs every accessible loop, rather than a local test that might miss a hole in the domain; see path independence.
The same cancellation does not hold separately for heat and work. A thermodynamic cycle has but can have nonzero net transfers, with . Nor does the fact that entropy is a state function make its general change: the formula uses a reversible thermodynamic process and its varying temperature.
This distinction makes endpoint calculations powerful. We can compute an internal energy, entropy or enthalpy difference along a convenient reversible reference path even when the actual thermodynamic process is irreversible. Its actual heat and work must still be obtained from its own boundary interactions. The appealing cancellation is visible in two reversible ideal-gas paths between the same states: a different mechanical output requires a matching difference in thermal input, while stored internal energy arrives at the same value.
Thermodynamic process 2026-10-14
A thermodynamic process changes a thermodynamic system between states. A quasistatic process supplies equilibrium intermediate states and therefore a path on equilibrium coordinates. An irreversible thermodynamic process can have equilibrium endpoints while lacking a uniform intermediate temperature or pressure. Endpoint values still determine changes in a state function; computing heat and work requires the actual interaction history.
Thermodynamic state 2026-10-14
An equilibrium thermodynamic state specifies sufficient independent macroscopic properties, together with material identity and constraints, to determine the other equilibrium properties. For a uniform fixed-composition ideal gas, its amount of substance, temperature and volume determine its pressure through the ideal gas law. These properties specify a state, without specifying a thermodynamic process that prepared it.[ref]
Take a closed system consisting of one mole of a classical monatomic gas, idealized as an ideal gas with constant heat capacity at constant volume . Stipulate amount of substance and molar gas constant for this calculation. Set initial temperature and volume , and define and . The specified equilibrium endpoints areThus has volume , temperature and pressure . The fixed material inventory and ideal gas law make these complete endpoint specifications for this model. All numbers below are calculated values, rather than measurements of a particular gas.
Use a frictionless piston, ignore bulk mechanical energy changes, and allow only pressure-volume work. Each step is the limit of a reversible thermodynamic process: adjust loads by infinitesimal pressure differences, and supply heat through infinitesimal temperature differences. Heating with changing temperature requires a succession of matching thermal reservoirs; contact with a single hotter heat bath would give an irreversible finite difference. On a fixed-volume leg the piston is locked. These assumptions justify using the actual equilibrium path's pressure inAn endpoint chord is not the path; substituting a guessed straight line would compute a different thermodynamic process.[ref]
Thermodynamics and Propulsion. Thermodynamics and Propulsion, §1.3.3, Figures 1.10–1.11: external pressure versus equilibrium gas pressure in boundary work
The upper route heats at fixed volume from to , then undergoes isothermal expansion at to . The lower route undergoes isothermal expansion at from to , then heats at fixed volume to . The tuples use the same ordering as the endpoints. Vertical legs do zero expansion work, and the two curved legs have different pressures at every shared intermediate volume.
Two reversible ideal gas paths connect the same equilibrium endpoints
. Original idealized pressure-volume diagram. The upper route is and the lower route is ; the shaded gap is the difference in work, not an experimental uncertainty. Both are reversible thermodynamic processes under the stated piston and thermal reservoir assumptions. Details.The internal energy of an ideal gas gives the same endpoint difference for both routes:On either fixed-volume heating leg, and . On each isothermal expansion, , so the first law of thermodynamics gives . The ideal gas law and the integral of then giveHere is the natural logarithm. Rounded to , the upper route has and the lower route has . Subtracting separately rounded entries can differ by ; the unrounded balances are exact in the stipulated model.
The shaded area between the curves explains the entire difference:Following the upper route forward and the lower route backward makes a thermodynamic cycle with this positive net work and matching net heat. Its internal energy change is zero. The two open routes themselves are reversible, so their different work outputs should not be mistaken for a loss caused by entropy production: they receive different heat transfers at different temperatures.
Two other state functions provide independent endpoint checks. With enthalpy in this model,To obtain the entropy change along either route, integrate on its heating leg, giving , and on its isothermal expansion, giving . Reordering the legs changes their heat totals but leaves the sum of their entropy changes unchanged. In particular, neither route's total divided by its final temperature equals , and neither total equals : both routes include an isothermal expansion, rather than a single fixed-pressure heating step.

