Skip to content

Thermodynamic Potentials, Maxwell's Relations and Spontaneity

CSIR NET chemistry: U, H, A and G, the four Maxwell relations, thermodynamic equations of state, Cp − Cv, Gibbs–Helmholtz and criteria of spontaneity.

  • 20 min read
  • Updated
On this page · 15 sections
  1. Prerequisites
  2. The Hook: Measuring the Unmeasurable
  3. The Four Fundamental Equations
  4. Maxwell’s Relations
  5. What the Maxwell Relations Buy You
  6. Gibbs Energy: Temperature and Pressure Dependence
  7. Spontaneity: Which Function, Which Constraints
  8. Open Systems: Chemical Potential
  9. Memory Tricks
  10. Don’t Confuse
  11. Common Mistakes
  12. Practice
  13. Quick Revision Table
  14. Key Takeaways
  15. What’s Next

Prerequisites

The Hook: Measuring the Unmeasurable

The Four Fundamental Equations

Combine the first law \( dU = \delta q + \delta w \) with \( \delta q_{\text{rev}} = T\,dS \) and \( \delta w_{\text{rev}} = -P\,dV \) (closed system, expansion work only):

$$dU = T\,dS - P\,dV$$

Although derived along a reversible path, this relation holds for any change between neighbouring equilibrium states, because it involves only state functions. Three Legendre transforms define the other potentials:

PotentialDefinitionFundamental equationNatural variables
Internal energy \( U \)\( dU = T\,dS - P\,dV \)\( S, V \)
Enthalpy \( H \)\( U + PV \)\( dH = T\,dS + V\,dP \)\( S, P \)
Helmholtz energy \( A \)\( U - TS \)\( dA = -S\,dT - P\,dV \)\( T, V \)
Gibbs energy \( G \)\( H - TS = A + PV \)\( dG = -S\,dT + V\,dP \)\( T, P \)

Reading off the coefficients gives the first derivatives:

$$T = \left(\frac{\partial U}{\partial S}\right)_V = \left(\frac{\partial H}{\partial S}\right)_P, \quad P = -\left(\frac{\partial U}{\partial V}\right)_S = -\left(\frac{\partial A}{\partial V}\right)_T$$$$V = \left(\frac{\partial H}{\partial P}\right)_S = \left(\frac{\partial G}{\partial P}\right)_T, \quad S = -\left(\frac{\partial A}{\partial T}\right)_V = -\left(\frac{\partial G}{\partial T}\right)_P$$

Maxwell’s Relations

Each fundamental equation is an exact differential, so its cross-derivatives are equal (the Euler test from the previous page):

FromMaxwell relation
\( dU = T\,dS - P\,dV \)\( \left(\dfrac{\partial T}{\partial V}\right)_S = -\left(\dfrac{\partial P}{\partial S}\right)_V \)
\( dH = T\,dS + V\,dP \)\( \left(\dfrac{\partial T}{\partial P}\right)_S = \left(\dfrac{\partial V}{\partial S}\right)_P \)
\( dA = -S\,dT - P\,dV \)\( \left(\dfrac{\partial S}{\partial V}\right)_T = \left(\dfrac{\partial P}{\partial T}\right)_V \)
\( dG = -S\,dT + V\,dP \)\( \left(\dfrac{\partial S}{\partial P}\right)_T = -\left(\dfrac{\partial V}{\partial T}\right)_P \)

The last two are by far the most used, because they hold \( T \) constant and turn an entropy derivative into an equation-of-state derivative.

The thermodynamic square

graph LR
    S((S)) --- U[U] --- V((V))
    V --- A[A] --- T((T))
    T --- G[G] --- P((P))
    P --- H[H] --- S

Corners are the variables, sides are the potentials. Read it clockwise from the bottom: “Good Physicists Have Studied Under Very Fine Teachers” gives G, P, H, S, U, V, F (= A), T. Arranged as a square:

SUV
HA
PGT
  • Fundamental equations: a potential’s natural variables are the two corners beside it, and the coefficient of each \( d(\text{corner}) \) is the diagonally opposite corner. In this layout, differentials of the right-hand column (\( dV \), \( dT \)) carry a minus sign and those of the left-hand column (\( dS \), \( dP \)) a plus sign. Check: \( U \) sits between \( S \) and \( V \), so \( dU = T\,dS - P\,dV \); \( A \) sits between \( V \) and \( T \), so \( dA = -P\,dV - S\,dT \).
  • Maxwell relations: once the four fundamental equations are written, cross-differentiate each one. Square-reading rules for Maxwell relations exist, but they depend on how the square is drawn, and a mis-drawn square gives a wrong sign.

Two partial-derivative tools

  • Cyclic (triple-product) rule: \( \left(\dfrac{\partial x}{\partial y}\right)_z \left(\dfrac{\partial y}{\partial z}\right)_x \left(\dfrac{\partial z}{\partial x}\right)_y = -1 \).
  • Response coefficients: expansion coefficient \( \alpha = \dfrac{1}{V}\left(\dfrac{\partial V}{\partial T}\right)_P \); isothermal compressibility \( \kappa_T = -\dfrac{1}{V}\left(\dfrac{\partial V}{\partial P}\right)_T \). The cyclic rule gives
$$\left(\frac{\partial P}{\partial T}\right)_V = \frac{\alpha}{\kappa_T}$$

For an ideal gas, \( \alpha = 1/T \) and \( \kappa_T = 1/P \).

What the Maxwell Relations Buy You

1. Thermodynamic equations of state

From \( dU = T\,dS - P\,dV \), divide by \( dV \) at constant \( T \) and use \( (\partial S/\partial V)_T = (\partial P/\partial T)_V \):

$$\boxed{\left(\frac{\partial U}{\partial V}\right)_T = T\left(\frac{\partial P}{\partial T}\right)_V - P \equiv \pi_T}$$

\( \pi_T \) is the internal pressure. Similarly, from \( dH = T\,dS + V\,dP \) and \( (\partial S/\partial P)_T = -(\partial V/\partial T)_P \):

$$\boxed{\left(\frac{\partial H}{\partial P}\right)_T = V - T\left(\frac{\partial V}{\partial T}\right)_P = V(1 - \alpha T)}$$
Gas\( P \)\( (\partial P/\partial T)_V \)\( \pi_T = (\partial U/\partial V)_T \)
Ideal\( RT/V_m \)\( R/V_m \)\( 0 \)
van der Waals\( \dfrac{RT}{V_m - b} - \dfrac{a}{V_m^2} \)\( \dfrac{R}{V_m - b} \)\( \dfrac{a}{V_m^2} \)

So the energy of an ideal gas depends on \( T \) only (Joule’s law is a consequence of \( PV = nRT \), not an extra assumption), and for a van der Waals gas the energy rises on isothermal expansion because the molecules move apart against their attraction: \( \Delta U_m = a\left(\dfrac{1}{V_{m,1}} - \dfrac{1}{V_{m,2}}\right) \).

2. Entropy as a function of \( T \) and \( V \), or \( T \) and \( P \)

$$dS = \frac{C_V}{T}\,dT + \left(\frac{\partial P}{\partial T}\right)_V dV, \qquad dS = \frac{C_P}{T}\,dT - V\alpha\,dP$$

The second form is the hook: \( (\partial S/\partial P)_T = -V\alpha \). Most substances expand on warming (\( \alpha > 0 \)), so their entropy falls on isothermal compression. Water between 0 °C and 4 °C has \( \alpha < 0 \), and its entropy rises on compression there.

For an ideal gas, \( (\partial S/\partial P)_T = -nR/P \), which integrates to \( \Delta S = -nR\ln(P_2/P_1) \), the result already used on the previous page.

3. The general \( C_P - C_V \)

$$\boxed{C_P - C_V = T\left(\frac{\partial P}{\partial T}\right)_V\left(\frac{\partial V}{\partial T}\right)_P = \frac{TV\alpha^2}{\kappa_T}}$$
  • Ideal gas: \( T \cdot V \cdot (1/T)^2 \cdot P = PV/T = nR \). The familiar result is a special case.
  • Since \( \kappa_T > 0 \) for any stable substance and \( \alpha^2 \geq 0 \), \( C_P \geq C_V \) always, with equality where \( \alpha = 0 \) (water at its density maximum near 4 °C).
  • For solids and liquids the difference is small but not zero; it is what converts a measured \( C_P \) into the \( C_V \) that theory predicts.

4. The Joule–Thomson coefficient (preview)

$$\mu_{\text{JT}} = \left(\frac{\partial T}{\partial P}\right)_H = -\frac{1}{C_P}\left(\frac{\partial H}{\partial P}\right)_T = \frac{T(\partial V/\partial T)_P - V}{C_P} = \frac{V(\alpha T - 1)}{C_P}$$

Zero for an ideal gas (\( \alpha T = 1 \)). Its sign for real gases, and the inversion temperature, are worked out in Ideal and Real Gases.

Gibbs Energy: Temperature and Pressure Dependence

Pressure

$$\left(\frac{\partial G}{\partial P}\right)_T = V$$
PhaseIntegrated form
Ideal gas\( G_m(P) = G_m^\circ + RT\ln(P/P^\circ) \)
Liquid or solid (\( V \) nearly constant)\( \Delta G_m \approx V_m\,\Delta P \)

Compressing 1 mol of ideal gas from 1 to 10 bar at 298 K raises \( G \) by \( RT\ln 10 = 5.70 \) kJ. Compressing 1 mol of liquid water (\( V_m \approx 18 \) cm³) from 1 to 101 bar raises it by only \( 18 \times 10^{-6} \times 100 \times 10^5 = 180 \) J. This is why condensed-phase equilibria barely respond to pressure.

Temperature: the Gibbs–Helmholtz equation

\( (\partial G/\partial T)_P = -S \) and \( G = H - TS \) combine to

$$\boxed{\left(\frac{\partial (G/T)}{\partial T}\right)_P = -\frac{H}{T^2}}, \qquad \text{for a reaction: } \left(\frac{\partial (\Delta G/T)}{\partial T}\right)_P = -\frac{\Delta H}{T^2}$$

Equivalent form: \( \left(\dfrac{\partial (\Delta G/T)}{\partial (1/T)}\right)_P = \Delta H \). With \( \Delta H \) constant:

$$\frac{\Delta G(T_2)}{T_2} = \frac{\Delta G(T_1)}{T_1} + \Delta H\left(\frac{1}{T_2} - \frac{1}{T_1}\right)$$

Since \( \Delta_r G^\circ = -RT\ln K \), this becomes the van ’t Hoff equation on the next page. The analogous result for \( A \) is \( (\partial(A/T)/\partial T)_V = -U/T^2 \).

Spontaneity: Which Function, Which Constraints

Start from the Clausius inequality \( dS \geq \delta q/T \) and the first law \( dU = \delta q - P_{\text{ext}}\,dV + \delta w_{\text{other}} \):

$$T\,dS \geq dU + P\,dV - \delta w_{\text{other}}$$

Hold different pairs of variables constant and the inequality picks out a different function:

ConstraintsCriterion for a spontaneous changeEquilibrium
\( U, V \) constant (isolated)\( dS > 0 \)\( S \) maximum
\( S, V \) constant\( dU < 0 \)\( U \) minimum
\( S, P \) constant\( dH < 0 \)\( H \) minimum
\( T, V \) constant\( dA < 0 \)\( A \) minimum
\( T, P \) constant\( dG < 0 \)\( G \) minimum
Maximum work
  • At constant \( T \): the maximum total work a system can do is \( -\Delta A \) (“A” from German Arbeit, work).
  • At constant \( T \) and \( P \): the maximum non-expansion (useful, e.g. electrical) work is \( -\Delta G \). In a cell, \( \Delta_r G = -nFE \).

The four cases of \( \Delta G = \Delta H - T\Delta S \)

\( \Delta H \)\( \Delta S \)\( \Delta G \)Spontaneous
−+always −at all \( T \)
+−always +never (reverse is spontaneous)
−−− at low \( T \)below \( T^* = \Delta H/\Delta S \)
++− at high \( T \)above \( T^* = \Delta H/\Delta S \)

The crossover temperature \( T^* \) assumes \( \Delta H \) and \( \Delta S \) are roughly constant. Melting is the textbook \( (+,+) \) case: \( T^* \) is the melting point, where \( \Delta G = 0 \).

Open Systems: Chemical Potential

When composition can change, each potential gains a term \( \sum_i \mu_i\,dn_i \):

$$dG = -S\,dT + V\,dP + \sum_i \mu_i\,dn_i, \qquad \mu_i = \left(\frac{\partial G}{\partial n_i}\right)_{T,P,n_{j\neq i}}$$

The same \( \mu_i \) appears in \( dU \), \( dH \) and \( dA \), with their own natural variables held fixed: \( \mu_i = (\partial U/\partial n_i)_{S,V,n_j} = (\partial A/\partial n_i)_{T,V,n_j} \). Only the derivative of \( G \) is a partial molar quantity, because only \( G \)’s natural variables (\( T, P \)) are intensive.

  • Pure substance: \( \mu = G_m \).
  • Matter flows from high \( \mu \) to low \( \mu \). At equilibrium, \( \mu_i \) of each component is the same in every phase where it is present. This drives phase equilibria and the phase rule.
  • Euler’s theorem (extensive \( G \) is homogeneous of degree 1 in the \( n_i \)): \( G = \sum_i n_i\mu_i \).
  • Gibbs–Duhem equation: at constant \( T \) and \( P \), \( \sum_i n_i\,d\mu_i = 0 \). In a binary mixture, \( x_A\,d\mu_A = -x_B\,d\mu_B \): the chemical potentials cannot change independently. This links Raoult’s and Henry’s laws in Ideal and Non-ideal Solutions.

Memory Tricks

Don’t Confuse

ThisvsThat
\( (\partial S/\partial V)_T = +(\partial P/\partial T)_V \)\( (\partial S/\partial P)_T = -(\partial V/\partial T)_P \)
\( -\Delta A \): maximum total work (constant \( T \))\( -\Delta G \): maximum non-expansion work (constant \( T, P \))
\( \mu_i = (\partial G/\partial n_i)_{T,P} \): partial molar\( \mu_i = (\partial A/\partial n_i)_{T,V} \): equal in value, not partial molar
Gibbs–Helmholtz: \( \partial(\Delta G/T)/\partial T = -\Delta H/T^2 \)\( (\partial \Delta G/\partial T)_P = -\Delta S \)
\( \pi_T = 0 \): ideal gas\( \pi_T = a/V_m^2 \): van der Waals gas
\( C_P - C_V = nR \): ideal gas\( C_P - C_V = TV\alpha^2/\kappa_T \): any phase

Common Mistakes

Practice

All questions below are original practice questions written for this page. They are not from any CSIR NET paper. Take \( R = 8.314 \) J K⁻¹ mol⁻¹.

Level 1: Foundation

  1. What are the natural variables of the Helmholtz energy?
  2. Which derivative equals \( (\partial S/\partial V)_T \)?
  3. What is \( (\partial U/\partial V)_T \) for an ideal gas?
Answers
  1. \( T \) and \( V \): \( dA = -S\,dT - P\,dV \).
  2. \( (\partial P/\partial T)_V \), from cross-differentiating \( dA \).
  3. Zero. \( T(\partial P/\partial T)_V - P = T(nR/V) - P = 0 \).

Level 2: Part B Style

Practice Q1. The Maxwell relation derived from the Gibbs energy is:

(a) \( (\partial S/\partial P)_T = (\partial V/\partial T)_P \) (b) \( (\partial S/\partial P)_T = -(\partial V/\partial T)_P \) (c) \( (\partial T/\partial P)_S = (\partial V/\partial S)_P \) (d) \( (\partial S/\partial V)_T = (\partial P/\partial T)_V \)

Answer: (b)

\( dG = -S\,dT + V\,dP \). Cross-differentiate: \( \partial(-S)/\partial P|_T = \partial V/\partial T|_P \), so \( (\partial S/\partial P)_T = -(\partial V/\partial T)_P \). (a) drops the sign; (c) is from \( H \); (d) is from \( A \).

Practice Q2. A process has \( \Delta H = +40 \) kJ mol⁻¹ and \( \Delta S = +100 \) J K⁻¹ mol⁻¹, both independent of temperature. At constant pressure it is spontaneous:

(a) at all temperatures (b) only below 400 K (c) only above 400 K (d) at no temperature

Answer: (c)

\( \Delta G = \Delta H - T\Delta S < 0 \) requires \( T > \Delta H/\Delta S = 40\,000/100 = 400 \) K. With both \( \Delta H \) and \( \Delta S \) positive, entropy wins at high temperature.

Practice Q3. For a van der Waals gas with \( a = 0.40 \) Pa m⁶ mol⁻² at a molar volume of \( 1.0 \times 10^{-3} \) m³ mol⁻¹, the internal pressure \( (\partial U_m/\partial V_m)_T \) is:

(a) 0 (b) \( 4.0 \times 10^2 \) Pa (c) \( 4.0 \times 10^5 \) Pa (d) \( 4.0 \times 10^8 \) Pa

Answer: (c)

\( \pi_T = a/V_m^2 = 0.40/(1.0 \times 10^{-6}) = 4.0 \times 10^5 \) Pa (about 4 bar). (a) is the ideal-gas value; (b) divides by \( V_m \) instead of \( V_m^2 \).

Practice Q4. At 298 K, one mole of an ideal gas and one mole of liquid water (\( V_m = 18 \) cm³ mol⁻¹, incompressible) are each compressed isothermally from 1 bar to 101 bar. The increases in Gibbs energy are closest to:

(a) gas 11.4 kJ, water 180 J (b) gas 5.70 kJ, water 1.80 kJ (c) gas 11.4 kJ, water 1.80 kJ (d) gas 5.70 kJ, water 180 J

Answer: (a)

Gas: \( RT\ln(101/1) = 8.314 \times 298 \times 4.615 = 11.43 \) kJ. Water: \( V_m\Delta P = 18 \times 10^{-6} \times 100 \times 10^5 = 180 \) J.

(d) uses \( RT\ln 10 \), the value for a tenfold compression. The gas responds about sixty times more strongly than the liquid.

Level 3: Part C Style

Practice Q5. A liquid at 300 K has \( \alpha = 2.0 \times 10^{-4} \) K⁻¹, \( \kappa_T = 5.0 \times 10^{-10} \) Pa⁻¹ and \( V_m = 1.0 \times 10^{-4} \) m³ mol⁻¹. Consider the statements:

  1. \( C_{P,m} - C_{V,m} = 2.4 \) J K⁻¹ mol⁻¹.
  2. \( (\partial S_m/\partial P)_T = -2.0 \times 10^{-8} \) J K⁻¹ mol⁻¹ Pa⁻¹.
  3. \( (\partial P/\partial T)_V = 4.0 \times 10^5 \) Pa K⁻¹.
  4. Compressing the liquid isothermally increases its entropy.

Which are correct?

(a) 1, 2 and 3 only (b) 1 and 4 only (c) 2 and 3 only (d) 1, 2, 3 and 4

Answer: (a) 1, 2 and 3 only
  1. \( TV_m\alpha^2/\kappa_T = 300 \times 10^{-4} \times 4.0 \times 10^{-8}/(5.0 \times 10^{-10}) = 2.4 \) J K⁻¹ mol⁻¹. Correct.
  2. \( (\partial S_m/\partial P)_T = -V_m\alpha = -10^{-4} \times 2.0 \times 10^{-4} = -2.0 \times 10^{-8} \) J K⁻¹ mol⁻¹ Pa⁻¹. Correct.
  3. \( \alpha/\kappa_T = 2.0 \times 10^{-4}/5.0 \times 10^{-10} = 4.0 \times 10^5 \) Pa K⁻¹ (4 bar per kelvin: heating a liquid in a sealed rigid container builds pressure fast). Correct.
  4. With \( \alpha > 0 \), \( (\partial S/\partial P)_T < 0 \): compression lowers the entropy. Wrong.

Practice Q6. For a reaction, \( \Delta_r G^\circ = -20.0 \) kJ mol⁻¹ at 300 K and \( \Delta_r H^\circ = -60.0 \) kJ mol⁻¹, independent of temperature. \( \Delta_r G^\circ \) at 400 K and the temperature above which \( \Delta_r G^\circ \) becomes positive are:

(a) −6.67 kJ mol⁻¹ and 450 K (b) −26.7 kJ mol⁻¹ and 450 K (c) −6.67 kJ mol⁻¹ and 600 K (d) +6.67 kJ mol⁻¹ and 350 K

Answer: (a)

Gibbs–Helmholtz with constant \( \Delta H \): \( \dfrac{\Delta G(400)}{400} = \dfrac{-20\,000}{300} + (-60\,000)\left(\dfrac{1}{400} - \dfrac{1}{300}\right) = -66.67 + 50.00 = -16.67 \) J K⁻¹ mol⁻¹, so \( \Delta G(400) = -6.67 \) kJ mol⁻¹.

Check through \( \Delta S \): \( \Delta S^\circ = (\Delta H^\circ - \Delta G^\circ)/T = (-60.0 + 20.0)/300 = -0.1333 \) kJ K⁻¹ mol⁻¹. Then \( \Delta G(400) = -60.0 + 400 \times 0.1333 = -6.67 \) kJ mol⁻¹, and \( \Delta G = 0 \) at \( T = 60.0/0.1333 = 450 \) K. An exothermic reaction with negative \( \Delta S \) loses its drive on heating.

Practice Q7. One mole of a van der Waals gas (\( a = 0.364 \) Pa m⁶ mol⁻²) expands isothermally from 1.0 L to 10.0 L. The change in internal energy is closest to:

(a) 0 (b) +328 J (c) −328 J (d) +364 J

Answer: (b) +328 J

\( \Delta U_m = \int \pi_T\,dV_m = \int_{V_1}^{V_2}\dfrac{a}{V_m^2}\,dV_m = a\left(\dfrac{1}{V_1} - \dfrac{1}{V_2}\right) \). With \( V_1 = 1.0 \times 10^{-3} \) and \( V_2 = 1.0 \times 10^{-2} \) m³: \( 0.364 \times (1000 - 100) = 327.6 \) J.

Positive: separating attracting molecules raises their potential energy. (a) is the ideal-gas answer; (d) forgets the \( 1/V_2 \) term.

Quick Revision Table

IdeaFact
Fundamental equations\( dU = T\,dS - P\,dV \); \( dH = T\,dS + V\,dP \); \( dA = -S\,dT - P\,dV \); \( dG = -S\,dT + V\,dP \)
Natural variablesU(S,V), H(S,P), A(T,V), G(T,P)
Maxwell (from A)\( (\partial S/\partial V)_T = (\partial P/\partial T)_V \)
Maxwell (from G)\( (\partial S/\partial P)_T = -(\partial V/\partial T)_P \)
Maxwell (from U, H)\( (\partial T/\partial V)_S = -(\partial P/\partial S)_V \); \( (\partial T/\partial P)_S = (\partial V/\partial S)_P \)
Internal pressure\( \pi_T = T(\partial P/\partial T)_V - P \): 0 (ideal), \( a/V_m^2 \) (vdW)
\( (\partial H/\partial P)_T \)\( V - T(\partial V/\partial T)_P \)
\( C_P - C_V \)\( TV\alpha^2/\kappa_T \) (\( = nR \) ideal gas)
\( (\partial P/\partial T)_V \)\( \alpha/\kappa_T \)
\( G \) vs \( P \)gas: \( RT\ln(P_2/P_1) \); condensed: \( V_m\Delta P \)
Gibbs–Helmholtz\( \partial(\Delta G/T)/\partial T = -\Delta H/T^2 \)
Spontaneity\( dS_{U,V} > 0 \); \( dA_{T,V} < 0 \); \( dG_{T,P} < 0 \)
Max work\( -\Delta A \) (total), \( -\Delta G \) (non-expansion)
Chemical potential\( \mu_i = (\partial G/\partial n_i)_{T,P,n_j} \); \( G = \sum n_i\mu_i \)
Gibbs–Duhem\( \sum n_i\,d\mu_i = 0 \) at constant \( T, P \)

Key Takeaways

What’s Next