# Gibbs–Duhem equation

In thermodynamics, the Gibbs–Duhem equation describes the relationship between changes in chemical potential for components in a thermodynamical system:[1]

$\sum_{i=1}^I N_i\,\mathrm{d}\mu_i = - S\,\mathrm{d}T + V\,\mathrm{d}p \,$

where $N_i\,$ is the number of moles of component $i\,$, $\mathrm{d}\mu_i\,$ the infinitesimal increase in chemical potential for this component, $S\,$ the entropy, $T\,$ the absolute temperature, $V\,$volume and $p\,$ the pressure. It shows that in thermodynamics intensive properties are not independent but related, making it a mathematical statement of the state postulate. When pressure and temperature are variable, only $I-1\,$ of $I\,$ components have independent values for chemical potential and Gibbs' phase rule follows. The law is named after Josiah Willard Gibbs and Pierre Duhem.

The Gibbs−Duhem equation cannot be used for small thermodynamic systems due to the influence of surface effects and other microscopic phenomena.[2]

## Derivation

Deriving the Gibbs–Duhem equation from basic thermodynamic state equations is straightforward.[3] The total differential of the Gibbs free energy $G\,$ in terms of its natural variables is

$\mathrm{d}G =\left. \frac{\partial G}{\partial p}\right | _{T,N}\,\mathrm{d}p +\left. \frac{\partial G}{\partial T}\right | _{p,N}\,\mathrm{d}T +\sum_{i=1}^I \left. \frac{\partial G}{\partial N_i}\right | _{p,T,N_{j \neq i}}\,\mathrm{d}N_i \,$.

With the substitution of two of the Maxwell relations and the definition of chemical potential, this is transformed into:[4]

$\mathrm{d}G =V \,\mathrm{d}p-S \,\mathrm{d}T +\sum_{i=1}^I \mu_i \, \mathrm{d}N_i \,$

As shown in the Gibbs free energy article, the chemical potential is just another name for the partial molar (or just partial, depending on the units of N) Gibbs free energy, thus

$G = \sum_{i=1}^I \mu_i N_i \,$.

The total differential of this expression is[4]

$\mathrm{d}G = \sum_{i=1}^I \mu_i \, \mathrm{d}N_i + \sum_{i=1}^I N_i \,\mathrm{d}\mu_i \,$

If one takes into account that for a system in thermodynamical equilibrium (and, by definition, in reversible condition) the infinitesimal change in G must be zero (dG = 0) and by subtracting the two expressions for the total differential of the Gibbs free energy gives the Gibbs–Duhem relation:[4]

$\sum_{i=1}^I N_i\,\mathrm{d}\mu_i = - S\,\mathrm{d}T + V\,\mathrm{d}p \,$
↑Jump back a section

## Applications

By normalizing the above equation by the extent of a system, such as the total number of moles, the Gibbs–Duhem equation provides a relationship between the intensive variables of the system. For a simple system with $I\,$ different components, there will be $I+1\,$ independent parameters or "degrees of freedom". For example, if we know a gas cylinder filled with pure nitrogen is at room temperature (298 K) and 25 MPa, we can determine the fluid density (258 kg/m3), enthalpy (272 kJ/kg), entropy (5.07 kJ/kg-K) or any other intensive thermodynamic variable.[5] If instead the cylinder contains a nitrogen/oxygen mixture, we require an additional piece of information, usually the ratio of oxygen-to-nitrogen.

If multiple phases of matter are present, the chemical potentials across a phase boundary are equal.[6] Combining expressions for the Gibbs–Duhem equation in each phase and assuming systematic equilibrium (i.e. that the temperature and pressure is constant throughout the system), we recover the Gibbs' phase rule.

One particularly useful expression arises when considering binary solutions.[7] At constant P (isobaric) and T (isothermal) it becomes:

$0= N_1\,\mathrm{d}\mu_1 + N_2\,\mathrm{d}\mu_2 \,$

or, normalizing by total number of moles in the system $N_1 + N_2 \,$, substituting in the definition of activity coefficient $\gamma\$ and using the identity $x_1 + x_2 = 1\,$:

$x_1 \left. \frac{\partial \ln \gamma_1}{\partial x_1} \right |_{p,T} =-x_2 \left. \frac{\partial \ln \gamma_2}{\partial x_1} \right |_{p,T} \,$[8]

This equation is instrumental in the calculation of thermodynamically consistent and thus more accurate expressions for the vapor pressure of a fluid mixture from limited experimental data.

↑Jump back a section

↑Jump back a section

## References

1. ^ A to Z of Thermodynamics Pierre Perrot ISBN 0-19-856556-9
2. ^ Stephenson, J. (1974). "Fluctuations in Particle Number in a Grand Canonical Ensemble of Small Systems". American Journal of Physics 42 (6): 478–471. doi:10.1119/1.1987755. edit
3. ^ Fundamentals of Engineering Thermodynamics, 3rd Edition Michael J. Moran and Howard N. Shapiro, p. 538 ISBN 0-471-07681-3
4. ^ a b c Salzman, William R. (2001-08-21). "Open Systems". Chemical Thermodynamics. University of Arizona. Archived from the original on 2007-07-07. Retrieved 2007-10-11.
5. ^ Calculated using REFPROP: NIST Standard Reference Database 23, Version 8.0
6. ^ Fundamentals of Engineering Thermodynamics, 3rd Edition Michael J. Moran and Howard N. Shapiro, p. 710 ISBN 0-471-07681-3
7. ^ The Properties of Gases and Liquids, 5th Edition Poling, Prausnitz and O'Connell, p. 8.13, ISBN 0-07-011682-2
8. ^ Engineering and Chemical Thermodynamics, 1st Edition Milo D. Koretsky, p. 335, ISBN 978-0-471-38586-8
↑Jump back a section