The Maxwell relations are identities in thermodynamics that connect the partial derivatives of temperature, pressure, volume, and entropy. They follow from the equality of mixed second derivatives of a sufficiently smooth thermodynamic potential. Their practical importance is that they replace derivatives involving entropy, which is difficult to measure directly, with derivatives involving accessible quantities such as pressure, volume, and temperature. Named after James Clerk Maxwell, they are distinct from Maxwell’s equations of electromagnetism.
Physical and mathematical basis
A state function depends only on the equilibrium state of a system, not on the path taken to reach it. A thermodynamic potential is a state function whose derivatives give other thermodynamic variables when expressed in its natural independent variables.
For a closed, simple compressible system of fixed composition, with only pressure–volume work, the fundamental thermodynamic relation is
where is internal energy, is absolute temperature, is entropy, is pressure, and is volume. The sign convention assigns positive work to work done by the system during expansion.
This identity combines the first law and second law for neighboring equilibrium states. It does not assert that heat is a state function or that heat transfer equals during an arbitrary irreversible process.
The mathematical foundation is the equality of mixed partial derivatives. If a function has continuous second derivatives, then
Consequently, if its exact differential is
then
Applying this result to thermodynamic potentials produces the Maxwell relations. The subscripts specify variables held fixed and are essential to each identity.
The four standard relations
The four standard Maxwell relations arise from internal energy, enthalpy, Helmholtz free energy, and Gibbs free energy. Throughout this section, the amount and composition of matter are fixed.
Internal energy
The natural variables of internal energy are entropy and volume:
Thus,
Equality of the mixed derivatives gives
Enthalpy
Enthalpy is defined by
Its differential is
so its natural variables are and . The corresponding relation is
Helmholtz free energy
Helmholtz free energy, written or , is
Its differential is
With natural variables and , it gives
Both coefficients in carry minus signs, so the resulting relation has a positive sign.
Gibbs free energy
Its differential is
With natural variables and , it gives
These potentials are connected by Legendre transformations, which exchange a natural variable for its conjugate variable. Deriving each relation from the appropriate differential helps avoid errors in signs and constraints.
Entropy changes from measurable properties
A central application is the calculation of entropy changes from an equation of state and heat-capacity data.
Define the heat capacities at constant volume and constant pressure by
Writing entropy as , and applying the Helmholtz relation, gives
Alternatively, writing it as gives
These equations allow entropy differences to be calculated without directly measuring entropy. For example, the isothermal entropy change between two pressures is
For a material that expands on heating at constant pressure, the volume derivative is positive; its entropy therefore decreases under isothermal compression within the region considered.
For an ideal gas,
where is the amount of substance and is the gas constant. Hence,
If is constant over the temperature interval,
Here is the heat capacity of the entire fixed amount of gas, not its molar heat capacity.
Energy changes and response functions
Volume dependence of internal energy
Substituting the entropy differential into gives
Therefore,
For an ideal gas, , so this derivative vanishes. Its internal energy depends only on temperature at fixed amount and composition. For a nonideal fluid, the volume dependence of internal energy contains information about intermolecular interactions.
Relation between heat capacities
The Maxwell relations also lead to
Define the volumetric thermal expansion coefficient
and the isothermal compressibility
Then
In a mechanically stable, single-phase state at positive temperature, where , this implies . For an ideal gas, it reduces to .
Isentropic temperature changes
Setting in the pressure-based entropy differential yields
This describes temperature changes during isentropic compression or expansion. A reversible adiabatic process is isentropic; an irreversible adiabatic process need not be.
Generalizations
The four familiar identities are part of a broader family. For a system whose composition can vary,
where is the amount of component , and is its chemical potential expressed consistently with that amount variable.
The Gibbs differential becomes
Equality of mixed derivatives then gives, for example,
Thus, the pressure derivative of a component’s chemical potential equals its partial molar volume when is measured in moles.
Analogous relations connect thermal, electrical, magnetic, elastic, and surface responses when the appropriate conjugate variables are included. Their signs depend on the definitions of the potential and work terms. In magnetic systems especially, the distinction between applied fields, internal fields, and field energy must be specified.
Conditions and limitations
Maxwell relations apply locally where a suitable equilibrium potential is sufficiently smooth and the selected independent variables provide a valid description of the state. Their use requires several qualifications:
- Constraints must be explicit. Fixed temperature, entropy, pressure, and volume are not interchangeable conditions. Additional variables, including composition and external fields, must also be held fixed as required.
- Phase boundaries require care. At a first-order phase transition, first derivatives of a thermodynamic potential can jump. Ordinary derivative identities cannot be applied across that discontinuity as though the potential were smooth.
- Critical behavior can be singular. Near a critical point, response functions may diverge. The identities still constrain their relationships wherever the relevant derivatives exist, but finite-response formulas cannot be assumed to remain regular at the singular point.
- Equilibrium identities are not kinetic laws. They do not specify how quickly a system relaxes toward thermodynamic equilibrium or how it responds during an arbitrary nonequilibrium process.
- Consistency does not guarantee accuracy. A smooth but inaccurate thermodynamic potential can satisfy every Maxwell relation. Conversely, independently fitted equations of state and calorimetric data may violate them, revealing that the datasets or models are not mutually thermodynamically consistent.