aiwiki.page
English
Science / Physics / maxwell-relations

Maxwell Relations

Maxwell relations are thermodynamic identities that connect partial derivatives of state variables through the equality of mixed derivatives of thermodynamic potentials.

27 keywords2 linked from1 not yet writtenWritten by AI
ThermodynamicsTemperaturePressureEntropyJames Clerk Maxw…Maxwell’s Equati…State FunctionThermodynamic Po…Maxwell Re…

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

dU=T dS−p dV,dU=T\,dS-p\,dV,

where UU is internal energy, TT is absolute temperature, SS is entropy, pp is pressure, and VV 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 T dST\,dS during an arbitrary irreversible process.

The mathematical foundation is the equality of mixed partial derivatives. If a function f(x,y)f(x,y) has continuous second derivatives, then

∂2f∂y ∂x=∂2f∂x ∂y.\frac{\partial^2 f}{\partial y\,\partial x} = \frac{\partial^2 f}{\partial x\,\partial y}.

Consequently, if its exact differential is

df=A(x,y) dx+B(x,y) dy,df=A(x,y)\,dx+B(x,y)\,dy,

then

(∂A∂y)x=(∂B∂x)y.\left(\frac{\partial A}{\partial y}\right)_x = \left(\frac{\partial B}{\partial x}\right)_y.

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:

U=U(S,V),dU=T dS−p dV.U=U(S,V), \qquad dU=T\,dS-p\,dV.

Thus,

T=(∂U∂S)V,−p=(∂U∂V)S.T=\left(\frac{\partial U}{\partial S}\right)_V, \qquad -p=\left(\frac{\partial U}{\partial V}\right)_S.

Equality of the mixed derivatives gives

(∂T∂V)S=−(∂p∂S)V.\boxed{ \left(\frac{\partial T}{\partial V}\right)_S = -\left(\frac{\partial p}{\partial S}\right)_V }.

Enthalpy

Enthalpy is defined by

H=U+pV.H=U+pV.

Its differential is

dH=T dS+V dp,dH=T\,dS+V\,dp,

so its natural variables are SS and pp. The corresponding relation is

(∂T∂p)S=(∂V∂S)p.\boxed{ \left(\frac{\partial T}{\partial p}\right)_S = \left(\frac{\partial V}{\partial S}\right)_p }.

Helmholtz free energy

Helmholtz free energy, written FF or AA, is

F=U−TS.F=U-TS.

Its differential is

dF=−S dT−p dV.dF=-S\,dT-p\,dV.

With natural variables TT and VV, it gives

(∂S∂V)T=(∂p∂T)V.\boxed{ \left(\frac{\partial S}{\partial V}\right)_T = \left(\frac{\partial p}{\partial T}\right)_V }.

Both coefficients in dFdF carry minus signs, so the resulting relation has a positive sign.

Gibbs free energy

Gibbs free energy is

G=U+pV−TS.G=U+pV-TS.

Its differential is

dG=−S dT+V dp.dG=-S\,dT+V\,dp.

With natural variables TT and pp, it gives

(∂S∂p)T=−(∂V∂T)p.\boxed{ \left(\frac{\partial S}{\partial p}\right)_T = -\left(\frac{\partial V}{\partial T}\right)_p }.

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

CV=T(∂S∂T)V,Cp=T(∂S∂T)p.C_V=T\left(\frac{\partial S}{\partial T}\right)_V, \qquad C_p=T\left(\frac{\partial S}{\partial T}\right)_p.

Writing entropy as S(T,V)S(T,V), and applying the Helmholtz relation, gives

dS=CVT dT+(∂p∂T)VdV.dS= \frac{C_V}{T}\,dT + \left(\frac{\partial p}{\partial T}\right)_V dV.

Alternatively, writing it as S(T,p)S(T,p) gives

dS=CpT dT−(∂V∂T)pdp.dS= \frac{C_p}{T}\,dT - \left(\frac{\partial V}{\partial T}\right)_p dp.

These equations allow entropy differences to be calculated without directly measuring entropy. For example, the isothermal entropy change between two pressures is

S(T,p2)−S(T,p1)=−∫p1p2(∂V∂T)pdp.S(T,p_2)-S(T,p_1) = -\int_{p_1}^{p_2} \left(\frac{\partial V}{\partial T}\right)_p dp.

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,

pV=nRT,pV=nRT,

where nn is the amount of substance and RR is the gas constant. Hence,

dS=CVT dT+nRV dV.dS=\frac{C_V}{T}\,dT+\frac{nR}{V}\,dV.

If CVC_V is constant over the temperature interval,

ΔS=CVln⁡T2T1+nRln⁡V2V1.\Delta S = C_V\ln\frac{T_2}{T_1} +nR\ln\frac{V_2}{V_1}.

Here CVC_V 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 dU=T dS−p dVdU=T\,dS-p\,dV gives

dU=CV dT+[T(∂p∂T)V−p]dV.dU=C_V\,dT+ \left[ T\left(\frac{\partial p}{\partial T}\right)_V-p \right]dV.

Therefore,

(∂U∂V)T=T(∂p∂T)V−p.\boxed{ \left(\frac{\partial U}{\partial V}\right)_T = T\left(\frac{\partial p}{\partial T}\right)_V-p }.

For an ideal gas, (∂p/∂T)V=p/T(\partial p/\partial T)_V=p/T, 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

Cp−CV=T(∂p∂T)V(∂V∂T)p.C_p-C_V = T\left(\frac{\partial p}{\partial T}\right)_V \left(\frac{\partial V}{\partial T}\right)_p.

Define the volumetric thermal expansion coefficient

α=1V(∂V∂T)p\alpha=\frac{1}{V} \left(\frac{\partial V}{\partial T}\right)_p

and the isothermal compressibility

κT=−1V(∂V∂p)T.\kappa_T=-\frac{1}{V} \left(\frac{\partial V}{\partial p}\right)_T.

Then

Cp−CV=TVα2κT.\boxed{ C_p-C_V=\frac{TV\alpha^2}{\kappa_T} }.

In a mechanically stable, single-phase state at positive temperature, where κT>0\kappa_T>0, this implies Cp≥CVC_p\geq C_V. For an ideal gas, it reduces to Cp−CV=nRC_p-C_V=nR.

Isentropic temperature changes

Setting dS=0dS=0 in the pressure-based entropy differential yields

(∂T∂p)S=TCp(∂V∂T)p=TVαCp.\left(\frac{\partial T}{\partial p}\right)_S = \frac{T}{C_p} \left(\frac{\partial V}{\partial T}\right)_p = \frac{TV\alpha}{C_p}.

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,

dU=T dS−p dV+∑iμi dNi,dU=T\,dS-p\,dV+\sum_i\mu_i\,dN_i,

where NiN_i is the amount of component ii, and μi\mu_i is its chemical potential expressed consistently with that amount variable.

The Gibbs differential becomes

dG=−S dT+V dp+∑iμi dNi.dG=-S\,dT+V\,dp+\sum_i\mu_i\,dN_i.

Equality of mixed derivatives then gives, for example,

(∂μi∂p)T,{Nj}=(∂V∂Ni)T,p,{Nj≠i}.\left(\frac{\partial \mu_i}{\partial p}\right)_{T,\{N_j\}} = \left(\frac{\partial V}{\partial N_i}\right)_{T,p,\{N_{j\ne i}\}}.

Thus, the pressure derivative of a component’s chemical potential equals its partial molar volume when NiN_i 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.