Thermodynamic Potentials, \( T\,dS \) Equations, Maxwell Relations & Compressibility Identities

This note provides a systematic, self-contained treatment of the four primary thermodynamic potentials, the two \( T\,dS \) equations, the derivation of Maxwell’s relations, and the important identities connecting heat capacities and compressibilities. Derivations are expanded with intermediate steps, physical insights, and quick-memorize tips.

1. Thermodynamic Potentials

A thermodynamic potential is a state function whose natural variables allow all thermodynamic information of a system to be obtained by differentiation. The four fundamental potentials are:

Internal Energy \( U \)
Natural variables: \( S, V, \{N_i\} \)
Fundamental relation: \( U = U(S,V,\{N_i\}) \)
Enthalpy \( H \)
Definition: \( H = U + PV \)
Natural variables: \( S, P, \{N_i\} \)
Helmholtz Free Energy \( F \) (or \( A \))
Definition: \( F = U - TS \)
Natural variables: \( T, V, \{N_i\} \)
Gibbs Free Energy \( G \)
Definition: \( G = H - TS = U + PV - TS = F + PV \)
Natural variables: \( T, P, \{N_i\} \)

1.1 Differential Forms (Closed System, No Composition Change)

From the combined first and second laws for a reversible process in a closed system (no composition change): $$ dU = T\,dS - P\,dV $$ The other potentials are obtained by Legendre transforms that replace one extensive variable by its intensive conjugate: $$ \begin{align} H &= U + PV &&\Rightarrow&& dH = T\,dS + V\,dP \\ F &= U - TS &&\Rightarrow&& dF = -S\,dT - P\,dV \\ G &= H - TS = U + PV - TS &&\Rightarrow&& dG = -S\,dT + V\,dP \end{align} $$ These are the fundamental thermodynamic relations (Gibbs equations).
Quick memorize – natural variables & signs
Remember the pattern of signs by the Legendre transform: when you subtract \( XY \) you get \( -Y\,dX \) in the differential.
Mnemonic order: \( U(S,V) \), \( H(S,P) \), \( F(T,V) \), \( G(T,P) \).
“S and V → U; then swap V→P to get H; swap S→T to get F or G.”

1.2 Physical Meaning & Usefulness

Equilibrium criteria (for closed systems): Insight: each potential is the appropriate “energy” whose decrease drives spontaneity under the constraints that match its natural variables.

2. The \( T\,dS \) Equations

Starting from \( dU = T\,dS - P\,dV \) and expressing entropy as a function of the experimentally convenient variables \( T,V \) or \( T,P \), one obtains the two fundamental \( T\,dS \) equations.

2.1 First \( T\,dS \) Equation (variables \( T,V \))

Write the total differential of \( S = S(T,V) \): $$ dS = \left(\frac{\partial S}{\partial T}\right)_V dT + \left(\frac{\partial S}{\partial V}\right)_T dV $$ Multiply through by \( T \): $$ T\,dS = T\left(\frac{\partial S}{\partial T}\right)_V dT + T\left(\frac{\partial S}{\partial V}\right)_T dV $$ By definition the heat capacity at constant volume is $$ C_V = T\left(\frac{\partial S}{\partial T}\right)_V $$ The cross derivative is given by a Maxwell relation (derived in §3 from \( dF \)): $$ \left(\frac{\partial S}{\partial V}\right)_T = \left(\frac{\partial P}{\partial T}\right)_V $$ Substitution immediately yields the first \( T\,dS \) equation: $$ T\,dS = C_V\,dT + T\left(\frac{\partial P}{\partial T}\right)_V dV $$
Insight: The second term is the “entropy of expansion.” When a system expands at constant \( T \), the pressure rises with temperature at fixed volume, so the system absorbs heat to keep \( T \) constant.

2.2 Second \( T\,dS \) Equation (variables \( T,P \))

Now take \( S = S(T,P) \): $$ dS = \left(\frac{\partial S}{\partial T}\right)_P dT + \left(\frac{\partial S}{\partial P}\right)_T dP $$ $$ T\,dS = C_P\,dT + T\left(\frac{\partial S}{\partial P}\right)_T dP $$ The Maxwell relation coming from \( dG \) is $$ \left(\frac{\partial S}{\partial P}\right)_T = -\left(\frac{\partial V}{\partial T}\right)_P $$ Hence the second \( T\,dS \) equation: $$ T\,dS = C_P\,dT - T\left(\frac{\partial V}{\partial T}\right)_P dP $$
Quick memorize
Both equations have the form “\( C\,dT \) + (Maxwell term)”.
First: \( +T(\partial P/\partial T)_V\,dV \) (volume change).
Second: \( -T(\partial V/\partial T)_P\,dP \) (pressure change).
The sign is opposite because \( V \) and \( P \) are conjugate with opposite signs in \( dU \).
These equations are extremely useful for calculating entropy changes and for deriving relations between heat capacities and equation-of-state derivatives.

3. Maxwell’s Relations

Maxwell’s relations follow directly from the equality of mixed second partial derivatives of the thermodynamic potentials (Schwarz’s theorem / equality of cross derivatives).

3.1 Derivation – step by step

Because each potential is a state function, its mixed second derivatives are equal.
  1. From \( dU = T\,dS - P\,dV \): $$ \left(\frac{\partial T}{\partial V}\right)_S = \frac{\partial^2 U}{\partial V\,\partial S},\qquad -\left(\frac{\partial P}{\partial S}\right)_V = \frac{\partial^2 U}{\partial S\,\partial V} $$ Equality \(\Rightarrow\) $$ \left(\frac{\partial T}{\partial V}\right)_S = -\left(\frac{\partial P}{\partial S}\right)_V $$
  2. From \( dH = T\,dS + V\,dP \): $$ \left(\frac{\partial T}{\partial P}\right)_S = \left(\frac{\partial V}{\partial S}\right)_P $$
  3. From \( dF = -S\,dT - P\,dV \): $$ \left(\frac{\partial S}{\partial V}\right)_T = \left(\frac{\partial P}{\partial T}\right)_V $$
  4. From \( dG = -S\,dT + V\,dP \): $$ \left(\frac{\partial S}{\partial P}\right)_T = -\left(\frac{\partial V}{\partial T}\right)_P $$
Summary table:
Potential Differential Maxwell Relation
\( U(S,V) \) \( dU = T\,dS - P\,dV \) \( \displaystyle\left(\frac{\partial T}{\partial V}\right)_S = -\left(\frac{\partial P}{\partial S}\right)_V \)
\( H(S,P) \) \( dH = T\,dS + V\,dP \) \( \displaystyle\left(\frac{\partial T}{\partial P}\right)_S = \left(\frac{\partial V}{\partial S}\right)_P \)
\( F(T,V) \) \( dF = -S\,dT - P\,dV \) \( \displaystyle\left(\frac{\partial S}{\partial V}\right)_T = \left(\frac{\partial P}{\partial T}\right)_V \)
\( G(T,P) \) \( dG = -S\,dT + V\,dP \) \( \displaystyle\left(\frac{\partial S}{\partial P}\right)_T = -\left(\frac{\partial V}{\partial T}\right)_P \)
The last two are the most frequently used because they relate entropy derivatives (hard to measure) to \( P \)–\( V \)–\( T \) derivatives (easy to measure from an equation of state).
Quick memorize – “square” method
Write the four variables in a square:
\( T \) \( P \)
\( S \) \( V \)
Going around the square (clockwise or anti-clockwise) with the sign rule “+ when both intensive or both extensive change in the same sense” recovers all four Maxwell relations.
Most useful pair to remember by heart:
\( \bigl(\partial S/\partial V\bigr)_T = \bigl(\partial P/\partial T\bigr)_V \)
\( \bigl(\partial S/\partial P\bigr)_T = -\bigl(\partial V/\partial T\bigr)_P \)

3.2 Applications

4. The Relation \( C_P - C_V = \dfrac{TV\beta^2}{\kappa_T} \)

(Here \( \beta \) denotes the isobaric volume expansivity; the notation \( \alpha \) is also common.)

Definitions: $$ \beta = \frac{1}{V}\left(\frac{\partial V}{\partial T}\right)_P, \qquad \kappa_T = -\frac{1}{V}\left(\frac{\partial V}{\partial P}\right)_T $$ Full derivation Start from the definitions of the two heat capacities: $$ C_P = T\left(\frac{\partial S}{\partial T}\right)_P, \qquad C_V = T\left(\frac{\partial S}{\partial T}\right)_V $$ Therefore $$ C_P - C_V = T\left[\left(\frac{\partial S}{\partial T}\right)_P - \left(\frac{\partial S}{\partial T}\right)_V\right] $$ To relate the two partials we use the triple-product (cyclic) identity for any three variables \( x,y,z \): $$ \left(\frac{\partial x}{\partial y}\right)_z\left(\frac{\partial y}{\partial z}\right)_x\left(\frac{\partial z}{\partial x}\right)_y = -1 $$ A standard thermodynamic identity obtained by expressing \( S = S(T,V) \) and changing independent variables to \( T,P \) yields $$ \left(\frac{\partial S}{\partial T}\right)_P - \left(\frac{\partial S}{\partial T}\right)_V = \left(\frac{\partial S}{\partial V}\right)_T\left(\frac{\partial V}{\partial T}\right)_P $$ Insert the Maxwell relation \( \bigl(\partial S/\partial V\bigr)_T = \bigl(\partial P/\partial T\bigr)_V \): $$ C_P - C_V = T\left(\frac{\partial V}{\partial T}\right)_P\left(\frac{\partial P}{\partial T}\right)_V $$ It remains only to rewrite \( \bigl(\partial P/\partial T\bigr)_V \). Again apply the cyclic relation to \( P,V,T \): $$ \left(\frac{\partial P}{\partial T}\right)_V\left(\frac{\partial T}{\partial V}\right)_P\left(\frac{\partial V}{\partial P}\right)_T = -1 $$ $$ \left(\frac{\partial P}{\partial T}\right)_V = -\frac{(\partial V/\partial T)_P}{(\partial V/\partial P)_T} $$ Introduce the definitions of \( \beta \) and \( \kappa_T \): $$ \left(\frac{\partial V}{\partial T}\right)_P = V\beta, \qquad \left(\frac{\partial V}{\partial P}\right)_T = -V\kappa_T $$ $$ \left(\frac{\partial P}{\partial T}\right)_V = \frac{V\beta}{V\kappa_T} = \frac{\beta}{\kappa_T} $$ Substitute back: $$ C_P - C_V = T\cdot(V\beta)\cdot\frac{\beta}{\kappa_T} = \frac{TV\beta^2}{\kappa_T} $$
Insight & quick check
This is an exact thermodynamic identity, valid for any homogeneous system.
For an ideal gas \( \beta = 1/T \) and \( \kappa_T = 1/P \), so
\( C_P - C_V = TV(1/T)^2/(1/P) = PV = nR \), recovering the familiar result.
Physically \( C_P > C_V \) because part of the heat added at constant pressure goes into expansion work.

5. Isothermal and Adiabatic Compressibilities

Isothermal compressibility $$ \kappa_T = -\frac{1}{V}\left(\frac{\partial V}{\partial P}\right)_T $$ Adiabatic (isentropic) compressibility $$ \kappa_S = -\frac{1}{V}\left(\frac{\partial V}{\partial P}\right)_S $$ \( \kappa_S \) is the relevant quantity for rapid (adiabatic) processes such as the propagation of sound waves, because the compression/rarefaction is too fast for heat exchange.

6. Ratio of Compressibilities: \( \dfrac{\kappa_T}{\kappa_S} = \dfrac{C_P}{C_V} \)

Derivation One clean route uses the general relation between second derivatives that follows from the chain rule / Jacobian identities for the three variables \( P,V,S \): $$ \left(\frac{\partial V}{\partial P}\right)_S = \left(\frac{\partial V}{\partial P}\right)_T + \left(\frac{\partial V}{\partial T}\right)_P\left(\frac{\partial T}{\partial P}\right)_S $$ A more compact and systematic derivation starts from the observation that both heat capacities can be written as Jacobians: $$ C_V = T\frac{\partial(S,V)}{\partial(T,V)}, \qquad C_P = T\frac{\partial(S,P)}{\partial(T,P)} $$ After a short calculation with the properties of Jacobians one obtains the exact identity $$ \left(\frac{\partial V}{\partial P}\right)_S = \frac{C_V}{C_P}\left(\frac{\partial V}{\partial P}\right)_T $$ Taking the definition of the two compressibilities immediately gives $$ \kappa_S = \frac{C_V}{C_P}\kappa_T \qquad\Rightarrow\qquad \frac{\kappa_T}{\kappa_S} = \frac{C_P}{C_V} $$
Physical insight
Since \( C_P > C_V \) for all stable systems, it follows that \( \kappa_T > \kappa_S \).
An isothermal compression is “softer” than an adiabatic compression: heat can leave the system, allowing a larger volume change for the same pressure increase. In an adiabatic compression the temperature rises, which opposes the volume reduction.
Important corollary – speed of sound The speed of sound in a fluid is the adiabatic derivative $$ c = \sqrt{\left(\frac{\partial P}{\partial\rho}\right)_S} = \frac{1}{\sqrt{\rho\,\kappa_S}} = \sqrt{\frac{C_P}{C_V}\frac{1}{\rho\,\kappa_T}} $$ where \( \rho \) is the mass density. The factor \( \gamma = C_P/C_V \) therefore appears naturally in the expression for the speed of sound.
Quick memorize
\( \kappa_T/\kappa_S = C_P/C_V = \gamma \) (for an ideal gas).
Always \( \kappa_T > \kappa_S \).
Sound speed uses \( \kappa_S \), not \( \kappa_T \).

Summary Table of Key Relations

Quantity Expression
Internal energy differential \( dU = T\,dS - P\,dV \)
Enthalpy \( H = U + PV \), \( dH = T\,dS + V\,dP \)
Helmholtz free energy \( F = U - TS \), \( dF = -S\,dT - P\,dV \)
Gibbs free energy \( G = H - TS \), \( dG = -S\,dT + V\,dP \)
First \( T\,dS \) equation \( T\,dS = C_V\,dT + T(\partial P/\partial T)_V\,dV \)
Second \( T\,dS \) equation \( T\,dS = C_P\,dT - T(\partial V/\partial T)_P\,dP \)
\( C_P - C_V \) \( \dfrac{TV\beta^2}{\kappa_T} \)
Compressibility ratio \( \dfrac{\kappa_T}{\kappa_S} = \dfrac{C_P}{C_V} \)