Maxwell relations


The Maxwell relations are a set of four equations in thermodynamics regarding a system's energy when subject to a reversible thermodynamic transformation. They exist for several equations of state: internal energy UU, enthalpy HH, Helmholtz free energy AA and Gibbs free energy GG. These shouldn't be confused with Maxwell's equations, which are the description of electromagnetism. There are many forms for Maxwell relations, depending on which system energy is chosen.

U(S,V):dU=TdSPdVH(S,P):dH=TdSVdPA(V,T):dA=SdTPdVG(P,T):dG=SdT+VdP\begin{align} U(S,V)&:& dU=TdS-PdV \\ H(S,P)&:& dH=TdS-VdP \\ A(V,T)&:& dA=-SdT-PdV \\ G(P,T)&:& dG=-SdT+VdP \end{align}

Here TT is temperature, SS is entropy, PP is pressure and VV is volume.

Mnemonic

Maxwell relations can be rendered graphically in a square diagram:

50%

The system energy is at the center of the sides and can be expressed in function of the two variables at its sides. The arrows refer to what the constant quantities are: starting at one of the variables, follow the arrow to find the constant. If you go in the direction of the arrow, it's a positive term, else it's negative. For instance, UU is between SS and VV so it will be U(S,V)U(S,V). An arrow connects VV to PP and we go against the arrow, so one term will be PdV-PdV. The other arrow points from SS to TT and we go alongside it, so the other term will be TdSTdS. In total, we have U(S,V)=TdSPdVU(S,V)=TdS-PdV.

Derivations

The difference between exact differentials (dd) and inexact differentials (δ\delta) here is somewhat important. This assumes reversible transformations and therefore exact differentials.

For all of these, we use dW=PdVdW=PdV and dS=dQ/TdS=dQ/T.

Internal energy

We get

T=(US)VP=(UV)ST=\left( \frac{ \partial U }{ \partial S } \right)_{V}\qquad P=\left( \frac{ \partial U }{ \partial V } \right)_{S}

Enthalpy

From HH we get

dH=dU+d(PV)=dQdW+PdV+VdP=TdS+VdPdH=dU+d(PV)=dQ-\cancel{ dW }+\cancel{ PdV }+VdP=TdS+VdP

We get

T=(HS)PV=(HP)ST=\left( \frac{ \partial H }{ \partial S } \right)_{P}\qquad V=\left( \frac{ \partial H }{ \partial P } \right)_{S}

Helmholtz free energy

From AA we get

dA=dUd(TS)=dQdWTdSSdTdA=dU-d(TS)=\cancel{ dQ }-dW-\cancel{ TdS }-SdT

so

dA=PdVSdTdA=-PdV-SdT

Since A=A(V,T)A=A(V,T), we get

P=(AV)TS=(AT)VP=-\left( \frac{ \partial A }{ \partial V } \right)_{T}\qquad S=-\left( \frac{ \partial A }{ \partial T } \right)_{V}

Gibbs free energy

From GG we get

dG=dA+d(PV)=SdTPdV+PdV+VdPdG=dA+d(PV)=-SdT-\cancel{ PdV }+\cancel{ PdV }+VdP

and so

dG=VdPSdTdG=VdP-SdT

We get

S=(GT)PV=(GP)TS=-\left( \frac{ \partial G }{ \partial T } \right)_{P}\qquad V=\left( \frac{ \partial G }{ \partial P } \right)_{T}