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 TT and PP it can be written as G=∑iniμiG = \sum_i n_i \mu_i. Differentiating that product gives dG=∑iμi dni+∑ini dμidG = \sum_i \mu_i\, dn_i + \sum_i n_i\, d\mu_i. The fundamental equation for GG gives, independently, dG=−S dT+V dP+∑iμi dnidG = -S\,dT + V\,dP + \sum_i \mu_i\, dn_i. The two expressions must agree, so


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


That is the general Gibbs-Duhem equation. Hold temperature and pressure fixed and the first two terms vanish:


∑ini dμi=0,or, dividing by the total amount,∑ixi dμi=0.\sum_i n_i\, d\mu_i = 0, \qquad\text{or, dividing by the total amount,}\qquad \sum_i x_i\, d\mu_i = 0.


For two components this is x1 dμ1+x2 dμ2=0x_1\, d\mu_1 + x_2\, d\mu_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/x2d\mu_2/d\mu_1 = -x_1/x_2. Thus, when a composition change raises μ1\mu_1, it lowers μ2\mu_2 by the mole-fraction-weighted factor x1/x2x_1/x_2.

The same constraint in the forms you actually use

Substituting μi=μi∘+RTln⁡ai\mu_i = \mu_i^{\circ} + RT \ln a_i at fixed TT and PP turns the chemical-potential form into an activity form, because dμi=RT dln⁡aid\mu_i = RT\, d\ln a_i:


x1 dln⁡a1+x2 dln⁡a2=0.x_1\, d\ln a_1 + x_2\, d\ln a_2 = 0.


Writing ai=γixia_i = \gamma_i x_i splits ln⁡ai\ln a_i into ln⁡γi+ln⁡xi\ln \gamma_i + \ln x_i. The mole-fraction piece drops out on its own, since x1 dln⁡x1+x2 dln⁡x2=dx1+dx2=0x_1\, d\ln x_1 + x_2\, d\ln x_2 = dx_1 + dx_2 = 0, leaving


x1 dln⁡γ1+x2 dln⁡γ2=0.x_1\, d\ln \gamma_1 + x_2\, d\ln \gamma_2 = 0.


The identical derivation applied to any partial molar quantity Yˉi=(∂Y/∂ni)T,P,nj\bar{Y}_i = (\partial Y/\partial n_i)_{T,P,n_j} gives x1 dYˉ1+x2 dYˉ2=0x_1\, d\bar{Y}_1 + x_2\, d\bar{Y}_2 = 0; with Y=VY = V this is the partial-molar-volume form.

Worked example 1: partial molar volumes

In a binary liquid mixture at fixed TT and PP, a small composition change near x1=0.25x_1 = 0.25 raises the partial molar volume of component 1 by 0.240 cm3 mol−10.240\ \mathrm{cm^3\,mol^{-1}}. Then


dVˉ2=−x1x2 dVˉ1=−0.250.75(0.240)=−0.080 cm3 mol−1.d\bar{V}_2 = -\frac{x_1}{x_2}\, d\bar{V}_1 = -\frac{0.25}{0.75}(0.240) = -0.080\ \mathrm{cm^3\,mol^{-1}}.


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.25x_1 = 0.25 the change in Vˉ2\bar{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\ln \gamma_1 = A x_2^2 with A=0.65A = 0.65, both components referred to their pure liquids. Impose the constraint. With dln⁡γ1=2Ax2 dx2d\ln\gamma_1 = 2A x_2\, dx_2 and dx2=−dx1dx_2 = -dx_1,


x1(2Ax2 dx2)+x2 dln⁡γ2=0  ⟹  dln⁡γ2=2Ax1 dx1,x_1 (2A x_2\, dx_2) + x_2\, d\ln\gamma_2 = 0 \;\Longrightarrow\; d\ln\gamma_2 = 2A x_1\, dx_1,


which integrates to ln⁡γ2=Ax12\ln\gamma_2 = A x_1^2 once the boundary condition γ2→1\gamma_2 \to 1 as x2→1x_2 \to 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.20x_1 = 0.20 this gives ln⁡γ1=0.65(0.80)2=0.416\ln\gamma_1 = 0.65(0.80)^2 = 0.416, so γ1=1.5159\gamma_1 = 1.5159, and ln⁡γ2=0.65(0.20)2=0.026\ln\gamma_2 = 0.65(0.20)^2 = 0.026, so γ2=1.0263\gamma_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-AA Margules model rather than from Gibbs-Duhem itself: the constraint fixes only the mole-fraction-weighted changes in ln⁡γ\ln\gamma, and an ideal mixture with γ1=γ2=1\gamma_1 = \gamma_2 = 1 at every composition satisfies it exactly.


Notice which subscript goes where. The activity coefficient of component 1 is controlled by x2x_2, 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 dx1dx_1 gives a testable relation between slopes:


x1(∂ln⁡γ1∂x1)T,P=− x2(∂ln⁡γ2∂x1)T,P.x_1 \left(\frac{\partial \ln \gamma_1}{\partial x_1}\right)_{T,P} = -\,x_2 \left(\frac{\partial \ln \gamma_2}{\partial x_1}\right)_{T,P}.


Because x1x_1 and x2x_2 are both positive, the two slopes must carry opposite signs wherever either is nonzero. At fixed TT and PP, 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 dln⁡Pid\ln P_i 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\gamma_2 is constant across the interval; the familiar partial-pressure form P2=K2x2P_2 = K_2 x_2 is its ideal-vapour specialization, and without ideal vapour it survives only as f2=K2x2f_2 = K_2 x_2 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⁡γ2d\ln\gamma_2, not ln⁡γ2\ln\gamma_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\gamma \to 1 at the pure component for a Raoult-law standard state), and TT and PP must be the same throughout, since the dropped S dTS\,dT and V dPV\,dP terms are exactly what was assumed away.


A set measured along a boiling curve, where TT drifts with composition, does not satisfy the last condition without correction.

For a binary liquid mixture held at constant temperature and pressure, which statement correctly expresses what the Gibbs-Duhem equation requires?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

For a binary liquid mixture at fixed temperature and pressure, a proposed thermodynamic model over 0.3<x1<0.70.3 \lt x_1 \lt 0.7 predicts that both γ1\gamma_1 and γ2\gamma_2 rise steadily with x1x_1. Both components are referred to their pure liquids. What should a reviewer conclude?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A binary liquid mixture is held at 298 K298\ \mathrm{K} and 1 bar1\ \mathrm{bar}. Near the composition x1=0.40x_1 = 0.40, a small change in composition is found to increase the partial molar volume of component 1 by 0.150 cm3 mol−10.150\ \mathrm{cm^3\,mol^{-1}}. The step is small enough that the mole fractions may be treated as unchanged at x1=0.40x_1 = 0.40 and x2=0.60x_2 = 0.60.

What is the accompanying change in the partial molar volume of component 2, in cm3 mol−1\mathrm{cm^3\,mol^{-1}}? Enter a decimal number to three decimal places, including the sign.

Give your answer in cm^3/mol.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Extra Practice