In thermodynamics, the Gibbs–Duhem equation describes the relationship between changes in chemical potential for components in a thermodynamic system:
∑ i = 1 I N i d μ i = − S d T + V d p {\displaystyle \sum _{i=1}^{I}N_{i}\mathrm {d} \mu _{i}=-S\mathrm {d} T+V\mathrm {d} p}
where N i {\displaystyle N_{i}} is the number of moles of component i , d μ i {\displaystyle i,\mathrm {d} \mu _{i}} the infinitesimal increase in chemical potential for this component, S {\displaystyle S} the entropy, T {\displaystyle T} the absolute temperature, V {\displaystyle V} volume and p {\displaystyle p} the pressure. I {\displaystyle I} is the number of different components in the system. This equation 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 {\displaystyle I-1} of I {\displaystyle I} components have independent values for chemical potential and Gibbs' phase rule follows. The Gibbs−Duhem equation applies to homogeneous thermodynamic systems. It does not apply to inhomogeneous systems such as small thermodynamic systems, systems subject to long-range forces like electricity and gravity, or to fluids in porous media. The equation is named after Josiah Willard Gibbs and Pierre Duhem.
Derivation The Gibbs–Duhem equation follows from assuming the system can be scaled in amount perfectly. Gibbs derived the relationship based on the thought experiment of varying the amount of substance starting from zero, keeping its nature and state the same. Mathematically, this means the internal energy U {\displaystyle U} scales with its extensive variables as follows:
U ( λ S , λ V , λ N 1 , λ N 2 , … ) = λ U ( S , V , N 1 , N 2 , … ) {\displaystyle U(\lambda S,\lambda V,\lambda N_{1},\lambda N_{2},\ldots )=\lambda U(S,V,N_{1},N_{2},\ldots )}
where S , V , N 1 , N 2 , … {\displaystyle S,V,N_{1},N_{2},\ldots } are all of the extensive variables of system: entropy, volume, and particle numbers. The internal energy is thus a first-order homogenous function. Applying Euler's homogeneous function theorem, one finds the following relation:
U = T S − p V + ∑ i = 1 I μ i N i {\displaystyle U=TS-pV+\sum _{i=1}^{I}\mu _{i}N_{i}}
Taking the total differential, one finds
d U = T d S + S d T − p d V − V d p + ∑ i = 1 I μ i d N i + ∑ i = 1 I N i d μ i {\displaystyle \mathrm {d} U=T\mathrm {d} S+S\mathrm {d} T-p\mathrm {d} V-V\mathrm {d} p+\sum _{i=1}^{I}\mu _{i}\mathrm {d} N_{i}+\sum _{i=1}^{I}N_{i}\mathrm {d} \mu _{i}}
From both sides one can subtract the fundamental thermodynamic relation,
d U = T d S − p d V + ∑ i = 1 I μ i d N i {\displaystyle \mathrm {d} U=T\mathrm {d} S-p\mathrm {d} V+\sum _{i=1}^{I}\mu _{i}\mathrm {d} N_{i}}
yielding the Gibbs–Duhem equation
… excerpt ends here. Continue reading the full article.


