Gibbs-Duhem Equation
The Gibbs-Duhem Equation: Why a Binary Mixture Has Only One Independent Component
A binary mixture has two components, so it is tempting to treat their thermodynamic properties as two independent functions of composition. They are not.
The Gibbs-Duhem equation is the statement that they are tied together, and most of its usefulness comes from that single fact: measure one component across composition and, with a specified standard state and boundary value, infer the other component's profile.
Where the constraint comes from
The Gibbs energy of a mixture is extensive, so at fixed T and P it can be written as G=∑iniμi. Differentiating that product gives dG=∑iμidni+∑inidμi. The fundamental equation for G gives, independently, dG=−SdT+VdP+∑iμidni. The two expressions must agree, so
That is the general Gibbs-Duhem equation. Hold temperature and pressure fixed and the first two terms vanish:
For two components this is x1dμ1+x2dμ2=0. Read it carefully. The equation allows both differentials to be zero. When they are nonzero, their signs are opposite and their ratio is dμ2/dμ1=−x1/x2. Thus, when a composition change raises μ1, it lowers μ2 by the mole-fraction-weighted factor x1/x2.
The same constraint in the forms you actually use
Substituting μi=μi∘+RTlnai at fixed T and P turns the chemical-potential form into an activity form, because dμi=RTdlnai:
Writing ai=γixi splits lnai into lnγi+lnxi. The mole-fraction piece drops out on its own, since x1dlnx1+x2dlnx2=dx1+dx2=0, leaving
The identical derivation applied to any partial molar quantity Yˉi=(∂Y/∂ni)T,P,nj gives x1dYˉ1+x2dYˉ2=0; with Y=V this is the partial-molar-volume form.
Worked example 1: partial molar volumes
In a binary liquid mixture at fixed T and P, a small composition change near x1=0.25 raises the partial molar volume of component 1 by 0.240 cm3mol−1. Then
Two habits are worth forming here. First, the weighting factor is the ratio of mole fractions, so the minority component's partial molar quantity swings much harder than the majority component's - at x1=0.25 the change in Vˉ2 is only a third as large.
Second, this is a local, differential statement; it is valid for a small step and should not be applied across a wide composition interval without integrating.
Worked example 2: getting one activity coefficient from the other
Suppose measurements over the whole range are well fitted by lnγ1=Ax22 with A=0.65, both components referred to their pure liquids. Impose the constraint. With dlnγ1=2Ax2dx2 and dx2=−dx1,
which integrates to lnγ2=Ax12 once the boundary condition γ2→1 as x2→1 fixes the constant of integration. So the symmetric two-parameter-free form is forced on component 2; you do not get to choose it.
At x1=0.20 this gives lnγ1=0.65(0.80)2=0.416, so γ1=1.5159, and lnγ2=0.65(0.20)2=0.026, so γ2=1.0263. Here the dilute component 1 deviates more strongly from ideality than the abundant component 2, but that contrast follows from this positive-A Margules model rather than from Gibbs-Duhem itself: the constraint fixes only the mole-fraction-weighted changes in lnγ, and an ideal mixture with γ1=γ2=1 at every composition satisfies it exactly.
Notice which subscript goes where. The activity coefficient of component 1 is controlled by x2, the amount of the other species, because non-ideality is an interaction effect. Copying the formula across without swapping the subscript is the single most common error in this calculation.
Consistency testing, and the Raoult-Henry link
Dividing the activity-coefficient form by dx1 gives a testable relation between slopes:
Because x1 and x2 are both positive, the two slopes must carry opposite signs wherever either is nonzero. At fixed T and P, activity-coefficient functions whose two slopes have the same nonzero sign are thermodynamically inconsistent. For functions inferred from vapour-liquid-equilibrium data, apply this check only after correcting for any temperature or pressure variation along the measurement path.
For an ideal vapour in vapour-liquid equilibrium with the liquid, each component's vapour fugacity may be replaced by its partial pressure, and the same relation written in terms of dlnPi is the Duhem-Margules equation.
It delivers a result worth remembering: if component 1 obeys Raoult's law throughout a composition interval, then component 2 must obey Henry's law throughout that same interval. Keep the two halves of that sentence apart, though.
The general conclusion, which needs no vapour-phase assumption at all, is that γ2 is constant across the interval; the familiar partial-pressure form P2=K2x2 is its ideal-vapour specialization, and without ideal vapour it survives only as f2=K2x2 in fugacities.
Either way, ideal-dilute behaviour of the solute is not an independent empirical law bolted on beside Raoult's law; it is what the constraint forces once the solvent behaves ideally.
What an integration still needs
The constraint gives you dlnγ2, not lnγ2. Recovering the function requires three further things: the data must span the range you integrate over, a boundary condition must fix the constant of integration (usually γ→1 at the pure component for a Raoult-law standard state), and T and P must be the same throughout, since the dropped SdT and VdP terms are exactly what was assumed away.
A set measured along a boiling curve, where T drifts with composition, does not satisfy the last condition without correction.
For a binary liquid mixture at fixed temperature and pressure, a proposed thermodynamic model over 0.3<x1<0.7 predicts that both γ1 and γ2 rise steadily with x1. Both components are referred to their pure liquids. What should a reviewer conclude?
A binary liquid mixture is held at 298 K and 1 bar. Near the composition x1=0.40, a small change in composition is found to increase the partial molar volume of component 1 by 0.150 cm3mol−1. The step is small enough that the mole fractions may be treated as unchanged at x1=0.40 and x2=0.60.
What is the accompanying change in the partial molar volume of component 2, in cm3mol−1? Enter a decimal number to three decimal places, including the sign.
Give your answer in cm^3/mol.