Gibbs–Duhem equation

{{Short description|Equation in thermodynamics}}

File:Josiah_Willard_Gibbs_-from_MMS-.jpg

In thermodynamics, the Gibbs–Duhem equation describes the relationship between changes in chemical potential for components in a thermodynamic system:{{cite book | last = Perrot | first = Pierre | title = A to Z of Thermodynamics | date = 1998 | publisher = Oxford University Press | isbn = 978-0-19-856556-7 | location = Oxford}}

\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. 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 of 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,{{Cite journal | last1 = Stephenson | first1 = J. | title = Fluctuations in Particle Number in a Grand Canonical Ensemble of Small Systems | doi = 10.1119/1.1987755 | journal = American Journal of Physics | volume = 42 | issue = 6 | pages = 478–481 | year = 1974 }} systems subject to long-range forces like electricity and gravity,{{Cite journal |last=Sørensen |first=Torben Smith |last2=Compañ |first2=Vicente |date=1997 |title=On the Gibbs-Duhem equation for thermodynamic systems of mixed Euler order with special reference to gravitational and nonelectroneutral systems |url=https://linkinghub.elsevier.com/retrieve/pii/S0013468696002095 |journal=Electrochimica Acta |language=en |volume=42 |issue=4 |pages=639–649 |doi=10.1016/S0013-4686(96)00209-5}}{{Cite journal |last=Dunning-Davies |first=J. |date=1983 |title=Extensivity and the Gibbs-Duhem equation |url=https://linkinghub.elsevier.com/retrieve/pii/0375960183906539 |journal=Physics Letters A |language=en |volume=97 |issue=8 |pages=327–328 |doi=10.1016/0375-9601(83)90653-9}} or to fluids in porous media.{{Cite journal |last=Brochard |first=Laurent |last2=Honório |first2=Túlio |date=2020 |title=Revisiting thermo-poro-mechanics under adsorption: Formulation without assuming Gibbs-Duhem equation |url=https://linkinghub.elsevier.com/retrieve/pii/S0020722520300847 |journal=International Journal of Engineering Science |language=en |volume=152 |pages=103296 |doi=10.1016/j.ijengsci.2020.103296}}

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 scales with its extensive variables as follows:{{cite book | first = Herbert B. | last = Callen | author-link = Herbert Callen | year = 1985 | title = Thermodynamics and an Introduction to Thermostatistics | edition = 2nd | publisher = John Wiley & Sons | location = New York | isbn = 978-0-471-86256-7 | pages=61-62 }}

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, \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 = TS - pV + \sum_{i=1}^I \mu_i N_i

Taking the total differential, one finds

\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,

\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

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

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.Calculated using REFPROP: NIST Standard Reference Database 23, Version 8.0 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.Fundamentals of Engineering Thermodynamics, 3rd Edition Michael J. Moran and Howard N. Shapiro, p. 710 {{ISBN|0-471-07681-3}} 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.The Properties of Gases and Liquids, 5th Edition Poling, Prausnitz and O'Connell, p. 8.13, {{ISBN|0-07-011682-2}} 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 :{{ cite book | last = Stølen | first = Svein | title = Chemical Thermodynamics of Materials: Macroscopic and Microscopic Aspects | last2 = Grande | first2 = Tor | last3 = Allan | first3 = Neil L. | date = 2008 | publisher = Wiley |isbn = 978-0-471-49230-6 | edition = Transferred to digital print |location = Chichester | page = 79}}

0 = x_1 \mathrm{d}\ln(\gamma_1) + x_2 \mathrm{d}\ln(\gamma_2)

This equation is instrumental in the calculation of thermodynamically consistent and thus more accurate expressions for the vapor pressure of a binary mixture from limited experimental data. One can develop this further to the Duhem–Margules equation which relates to vapor pressures directly.

Ternary and multicomponent solutions and mixtures

Lawrence Stamper Darken has shown that the Gibbs–Duhem equation can be applied to the determination of chemical potentials of components from a multicomponent system from experimental data regarding the chemical potential \bar {G_2} of only one component (here component 2) at all compositions. He has deduced the following relation{{Cite journal | last1 = Darken | first1 = L. S | title = Application of the Gibbs-Duhem Equation to Ternary and Multicomponent Systems | doi = 10.1021/ja01163a030 | journal = Journal of the American Chemical Society | volume = 72 | issue = 7 | pages = 2909–2914 | year = 1950 }}

\bar{G_2} = G + (1-x_2) \left(\frac{\partial G}{\partial x_2}\right)_{\frac{x_1}{x_3}}

xi, amount (mole) fractions of components.

Making some rearrangements and dividing by (1 – x2)2 gives:

\frac{G}{(1-x_2)^2} + \frac{1}{1-x_2} \left(\frac{\partial G}{\partial x_2}\right)_{\frac{x_1}{x_3}} = \frac{\bar{G_2}}{(1-x_2)^2}

or

\left(\mathfrak{d} \frac{G}{\frac{1 - x_2}{\mathfrak{d} x_2}}\right)_{\frac{x_1}{x_3}} = \frac{\bar{G_2}}{(1 - x_2)^2}

or

\left(\frac {\frac{\partial G}{1-x_2}}{\partial x_2}\right)_{\frac{x_1}{x_3}} = \frac{\bar{G_2}}{(1 - x_2)^2} as formatting variant

The derivative with respect to one mole fraction x2 is taken at constant ratios of amounts (and therefore of mole fractions) of the other components of the solution representable in a diagram like ternary plot.

The last equality can be integrated from x_2 = 1 to x_2 gives:

G - (1 - x_2) \lim_{x_2\to 1} \frac{G}{1 - x_2} = (1 - x_2) \int_{1}^{x_2}\frac{\bar{G_2}}{(1 - x_2)^2} dx_2

Applying LHopital's rule gives:

\lim_{x_2\to 1} \frac{G}{1 - x_2} = \lim_{x_2\to 1} \left(\frac{\partial G}{\partial x_2}\right)_{\frac{x_1}{x_3}} .

This becomes further:

\lim_{x_2\to 1} \frac{G}{1 - x_2} = -\lim_{x_2\to 1} \frac {\bar{G_2} - G}{1 - x_2}.

Express the mole fractions of component 1 and 3 as functions of component 2 mole fraction and binary mole ratios:

x_1 = \frac{1-x_2}{1+\frac{x_3}{x_1}}

x_3 = \frac{1-x_2}{1+\frac{x_1}{x_3}}

and the sum of partial molar quantities

G=\sum _{i=1}^3 x_i \bar{G_i},

gives

G= x_1 (\bar {G_1})_{x_2 =1} + x_3 (\bar {G_3})_{x_2 =1} + (1 - x_2) \int_{1}^{x_2}\frac{\bar{G_2}}{(1 - x_2)^2} dx_2

(\bar{G_1})_{x_2 =1} and (\bar{G_3})_{x_2 =1} are constants which can be determined from the binary systems 1_2 and 2_3. These constants can be obtained from the previous equality by putting the complementary mole fraction x3 = 0 for x1 and vice versa.

Thus

(\bar {G_1})_{x_2 =1} = - \left(\int_{1}^{0}\frac{\bar{G_2}}{(1 - x_2)^2} dx_2 \right)_{x_3=0}

and

(\bar {G_3})_{x_2 =1} = - \left(\int_{1}^{0}\frac{\bar{G_2}}{(1 - x_2)^2} dx_2 \right)_{x_1=0}

The final expression is given by substitution of these constants into the previous equation:

G= (1 - x_2) \left(\int_{1}^{x_2}\frac{\bar{G_2}}{(1 - x_2)^2} dx_2 \right)_{\frac{x_1}{x_3}} - x_1 \left(\int_{1}^{0}\frac{\bar{G_2}}{(1 - x_2)^2} dx_2 \right)_{x_3=0} - x_3 \left(\int_{1}^{0}\frac{\bar{G_2}}{(1 - x_2)^2} dx_2 \right)_{x_1=0}

See also

References

{{reflist}}