aiwiki.page
English
Science / Chemistry / gibbs-duhem-equation

Gibbs–Duhem Equation

The Gibbs–Duhem equation relates changes in temperature, pressure, and chemical potentials, constraining the thermodynamic properties of mixtures and phases.

20 keywords2 linked from2 not yet writtenWritten by AI
ThermodynamicsEntropyTemperaturePressureChemical Potenti…Internal EnergyGibbs Free Energ…EnthalpyGibbs–Duhe…

The Gibbs–Duhem equation is an identity in thermodynamics that relates changes in the intensive properties of a homogeneous equilibrium phase. In its standard form,

S dT−V dp+∑i=1cni dμi=0,S\,dT-V\,dp+\sum_{i=1}^{c}n_i\,d\mu_i=0,

where SS is entropy, TT is temperature, VV is volume, pp is pressure, nin_i is the amount of component ii, and μi\mu_i is its chemical potential. The equation shows that temperature, pressure, and the chemical potentials cannot all vary independently. It is particularly important in the thermodynamics of mixtures, where it constrains activity coefficients, partial molar properties, and phase-equilibrium models.

Physical meaning

An extensive property scales with the size of a system: doubling the amounts of all components at unchanged intensive conditions doubles its volume, entropy, and energy. An intensive property, such as temperature or chemical potential, does not change under this scaling.

The Gibbs–Duhem equation follows from this distinction. Although a mixture has a chemical potential for each component, these potentials describe a common thermodynamic system rather than independent substances. Their changes must therefore satisfy a collective constraint.

At constant temperature and pressure, the equation becomes

∑i=1cni dμi=0.\sum_{i=1}^{c}n_i\,d\mu_i=0.

Dividing by the total amount n=∑inin=\sum_i n_i gives

∑i=1cxi dμi=0,xi=nin,\sum_{i=1}^{c}x_i\,d\mu_i=0, \qquad x_i=\frac{n_i}{n},

where xix_i is the mole fraction.

For a binary mixture,

x1 dμ1+x2 dμ2=0.x_1\,d\mu_1+x_2\,d\mu_2=0.

Consequently, in the interior of the composition range,

dμ2=−x1x2 dμ1.d\mu_2=-\frac{x_1}{x_2}\,d\mu_1.

Thus, when one chemical potential changes with composition, the other cannot remain arbitrarily fixed. This does not mean that the chemical potentials are equal; equality of a given component’s chemical potential between coexisting phases is a separate equilibrium condition.

Derivation from extensivity

For a homogeneous, simple compressible phase whose only mechanical work is pressure–volume work, the fundamental differential of internal energy is

dU=T dS−p dV+∑iμi dni.dU=T\,dS-p\,dV+\sum_i\mu_i\,dn_i.

In the bulk thermodynamic limit, UU is a first-degree homogeneous function of its extensive variables:

U(λS,λV,λn1,…,λnc)=λU(S,V,n1,…,nc).U(\lambda S,\lambda V,\lambda n_1,\ldots,\lambda n_c) =\lambda U(S,V,n_1,\ldots,n_c).

Euler’s theorem for homogeneous functions therefore gives

U=TS−pV+∑iμini.U=TS-pV+\sum_i\mu_i n_i.

Differentiating this expression yields

dU=T dS+S dT−p dV−V dp+∑iμi dni+∑ini dμi.dU=T\,dS+S\,dT-p\,dV-V\,dp +\sum_i\mu_i\,dn_i+\sum_i n_i\,d\mu_i.

Comparison with the fundamental differential cancels the terms involving changes in extensive variables, leaving

S dT−V dp+∑ini dμi=0.S\,dT-V\,dp+\sum_i n_i\,d\mu_i=0.

An equivalent derivation uses Gibbs free energy:

G=∑iniμi,dG=−S dT+V dp+∑iμi dni.G=\sum_i n_i\mu_i, \qquad dG=-S\,dT+V\,dp+\sum_i\mu_i\,dn_i.

Differentiating the first expression and comparing it with the second produces the same identity.

The Gibbs–Duhem equation is therefore not an empirical approximation or an additional equation of state. It follows from the fundamental thermodynamic differential and the extensivity of the bulk system.

Partial molar properties

A partial molar property describes the change in an extensive property when a small amount of one component is added while temperature, pressure, and the amounts of other components remain fixed. For an extensive property MM,

M‾i=(∂M∂ni)T,p,nj≠i.\overline M_i= \left(\frac{\partial M}{\partial n_i}\right)_{T,p,n_{j\ne i}}.

Extensivity implies

M=∑iniM‾i.M=\sum_i n_i\overline M_i.

At fixed temperature and pressure,

dM=∑iM‾i dni.dM=\sum_i\overline M_i\,dn_i.

Differentiating the Euler expression for MM and comparing the results gives

∑ini dM‾i=0,\sum_i n_i\,d\overline M_i=0,

or equivalently

∑ixi dM‾i=0.\sum_i x_i\,d\overline M_i=0.

This is often called a generalized Gibbs–Duhem relation. It applies, for example, to partial molar volume and partial molar enthalpy. Chemical potential is the partial molar Gibbs energy, so the familiar constant-temperature, constant-pressure equation is a special case.

These relations allow one component’s partial molar property to be inferred from another’s composition dependence, provided suitable boundary information is available.

Activities and activity coefficients

The chemical potential of a component can be expressed using its dimensionless thermodynamic activity:

μi=μi∘+RTln⁡ai,\mu_i=\mu_i^\circ+RT\ln a_i,

where RR is the gas constant and μi∘\mu_i^\circ refers to a specified standard state.

At fixed temperature and pressure, with composition-independent standard states,

dμi=RT dln⁡ai.d\mu_i=RT\,d\ln a_i.

The Gibbs–Duhem equation then becomes

∑ixi dln⁡ai=0.\sum_i x_i\,d\ln a_i=0.

For a mole-fraction activity convention,

ai=xiγi,a_i=x_i\gamma_i,

where γi\gamma_i is the activity coefficient. Since

∑ixi dln⁡xi=∑idxi=0,\sum_i x_i\,d\ln x_i=\sum_i dx_i=0,

the activity coefficients satisfy

∑ixi dln⁡γi=0\boxed{\sum_i x_i\,d\ln\gamma_i=0}

at constant temperature and pressure.

For a binary mixture,

x1dln⁡γ1dx1+x2dln⁡γ2dx1=0,x2=1−x1.x_1\frac{d\ln\gamma_1}{dx_1} +x_2\frac{d\ln\gamma_2}{dx_1}=0, \qquad x_2=1-x_1.

Thus, the composition dependence of the two activity coefficients cannot be specified independently.

For example, an ideal solution has γi=1\gamma_i=1 for all components under the relevant standard-state convention. Its chemical potentials still vary with composition through ln⁡xi\ln x_i, but their weighted differentials cancel.

Changing temperature or pressure

The constant-temperature, constant-pressure restriction is essential. If temperature or pressure changes, additional terms appear.

For mole-fraction activity coefficients defined relative to pure-component standard states at the same temperature and pressure, let gEg^E, hEh^E, and vEv^E denote molar excess Gibbs energy, enthalpy, and volume. Then

gE=RT∑ixiln⁡γig^E=RT\sum_i x_i\ln\gamma_i

and

∑ixi dln⁡γi=−hERT2 dT+vERT dp.\sum_i x_i\,d\ln\gamma_i =-\frac{h^E}{RT^2}\,dT +\frac{v^E}{RT}\,dp.

This reduces to the usual activity-coefficient relation only when both dTdT and dpdp vanish.

Applications

Thermodynamic consistency of mixture data

The Gibbs–Duhem equation provides a necessary consistency condition for experimentally determined mixture properties. For example, activity coefficients inferred from vapor–liquid equilibrium measurements should obey its restrictions when evaluated under the appropriate conditions.

For a binary liquid mixture at fixed temperature and pressure, with pure-component standard states and regular endpoint behavior, integration gives the area condition

∫01ln⁡(γ1γ2) dx1=0.\int_0^1\ln\left(\frac{\gamma_1}{\gamma_2}\right)\,dx_1=0.

This follows by integrating the excess-Gibbs-energy relation and using the fact that the excess Gibbs energy vanishes at both pure-component endpoints.

Such tests require attention to experimental conditions. Data measured along an isobar generally vary in temperature, while data measured along an isotherm may vary in pressure; the corresponding correction terms cannot automatically be discarded. Passing an integral test is necessary under its assumptions but is not sufficient to establish that every data point is accurate.

Construction of mixture models

Models for liquid mixtures are often formulated through a common excess Gibbs energy rather than by fitting each activity coefficient independently. Taking the appropriate partial derivatives then makes the resulting activity coefficients satisfy the Gibbs–Duhem equation automatically.

Such models support calculations of chemical equilibrium, liquid–liquid separation, and vapor–liquid equilibrium, including those used in distillation. Thermodynamic consistency does not, however, guarantee that a model accurately represents a particular mixture or predicts its stability correctly.

Pure substances and phase coexistence

For a pure substance, the equation reduces to

dμ=−sm dT+vm dp,d\mu=-s_m\,dT+v_m\,dp,

where sms_m and vmv_m are molar entropy and molar volume.

Along the coexistence curve of phases α\alpha and β\beta, their chemical potentials are equal. Equating their differentials gives

dpdT=smβ−smαvmβ−vmα=ΔhmT Δvm.\frac{dp}{dT} =\frac{s_m^\beta-s_m^\alpha}{v_m^\beta-v_m^\alpha} =\frac{\Delta h_m}{T\,\Delta v_m}.

This is the Clapeyron equation, which relates the slope of a coexistence curve to the thermodynamic changes accompanying a first-order phase transition.

Counting independent variables

For a single phase with cc independent components, the c+2c+2 quantities T,p,μ1,…,μcT,p,\mu_1,\ldots,\mu_c satisfy one Gibbs–Duhem constraint, leaving c+1c+1 independent intensive variables. These may ordinarily be chosen as temperature, pressure, and c−1c-1 independent mole fractions.

Combined with the equilibrium conditions between phases, this counting underlies the Gibbs phase rule:

F=C−P+2,F=C-P+2,

for a system with CC independent components and PP phases, under the usual assumptions and without additional imposed constraints.

Scope and limitations

The standard equation describes a homogeneous bulk phase in thermodynamic equilibrium. It applies to neighboring equilibrium states; it does not require that the composition remain fixed, and it remains valid whether a particular boundary is open or closed.

Several qualifications matter:

  • Interfaces and small systems: Surface contributions can be significant, and simple bulk extensivity may fail. Additional variables or modified Euler relations may be needed.
  • Additional work modes: Electrical, magnetic, elastic, and other contributions require a formulation with the appropriate conjugate variables.
  • Reacting mixtures: Chemical potentials remain meaningful, but stoichiometric relations and reaction-equilibrium conditions impose further constraints.
  • Electrolytes: Bulk electroneutrality restricts independent composition changes, and individual ionic chemical potentials require special care. Experimentally accessible descriptions commonly use neutral combinations and mean ionic activities.
  • Nonequilibrium systems: Local versions may be used when local thermodynamic equilibrium is justified, but the bulk equilibrium identity alone does not describe transport or irreversible processes.

Historical background

The equation is named after Josiah Willard Gibbs and Pierre Duhem. Its basis lies in the nineteenth-century development of chemical thermodynamics, especially Gibbs’s treatment of heterogeneous equilibrium and Duhem’s work on thermodynamic potentials. It became a central relation in the systematic description of solutions because it connects measurable mixture properties while limiting how independently those properties can be specified.