Determining Activity Coefficients via Gibbs-Duhem
Imagine measuring the vapor pressure of acetone above an acetone-chloroform mixture across the full composition range. You get beautiful data for one component. But what about chloroform's activity coefficient? You never measured its partial pressure directly. This is where the Gibbs-Duhem equation becomes a practical tool rather than a bookkeeping identity. It says the two components' chemical potentials cannot vary independently. If you know how one component's activity changes with composition, the other's is fixed, up to an integration constant. This lets one careful measurement series yield activity coefficients for both species. This article builds the Gibbs-Duhem method for activity coefficients from the ground up. You will see the general relation restated in terms of activities. Then a working integral formula is derived. Two full numerical examples follow, including a well-known binary system. The article closes by connecting this technique to regular solution theory, where the same integral becomes analytic.
- The Gibbs-Duhem equation constrains at constant , .
- Measuring across composition lets you compute by integration.
- The working formula is , evaluated numerically from data.
- Graphical integration of against is the classical experimental route.
- The method assumes constant and , and requires care near where the integrand can diverge.
- Key idea: Because chemical potentials of coexisting components are thermodynamically coupled, one component's activity coefficient curve mathematically determines the other's, via a single integration across composition.
The Gibbs-Duhem equation forbids the two activity coefficients in a binary mixture from varying independently at fixed and ; integrating the measured curve for one component, weighted by the mole-fraction ratio , reconstructs the activity coefficient of the other without ever measuring it directly.
The physical picture
Consider a binary liquid mixture of components 1 and 2 in equilibrium with its vapor at fixed temperature and total pressure. Suppose you measure the partial pressure of component 1 across the whole mole fraction range, from dilute in 1 to nearly pure 1. From Raoult's law deviations you extract , the activity coefficient of component 1, at every composition. Component 2's activity coefficient is not a free second dataset waiting to be measured independently and then compared for consistency. Thermodynamics ties the two together through the Gibbs-Duhem equation, which originates from the fact that the Gibbs energy of the mixture is a single extensive function of and . Any change in across composition must be accompanied by a compensating change in , weighted by the relative amounts of each species present. Physically: at , component 2 dominates and behaves nearly ideally, so and . As you add component 1, its activity coefficient begins to depart from unity, and that departure — reflected in — dictates precisely how much must depart from zero at the same composition, in the opposite direction. Integrating this coupling from the dilute limit up to any composition of interest gives at that point, using only data.
The core relations
where: are moles and the chemical potentials of components 1 and 2.
where: are mole fractions and are activities, using .
where: are mole-fraction activity coefficients (this uses under the constraint , which cancels the ideal terms).
where: the integral runs from the dilute limit (where ) up to the composition of interest.
Worked examples
Goal. Starting from the Gibbs-Duhem equation, obtain a formula for at any composition using only measured values of across the full range.
Step 1. At constant and , the molar Gibbs energy satisfies the Gibbs-Duhem equation,
Dividing by converts extensive moles into mole fractions,
Step 2. Write each chemical potential using the activity, , with composition-independent at fixed . Then , and substitution gives
Step 3. Split each activity into its ideal and non-ideal parts, , so . Then
Because , the terms and . Since is fixed, , so these two ideal terms cancel exactly:
This is the Gibbs-Duhem equation restated purely in terms of the non-ideality.
Step 4. Solve for ,
Step 5. Integrate from the dilute-in-1 limit, , where component 2 is essentially pure and behaves ideally, so and . This fixes the lower limit of integration and gives the boxed result:
In practice, is tabulated at a series of measured compositions, is plotted against , and the integral is evaluated as the area under that curve, either graphically or by numerical quadrature (trapezoid or Simpson's rule on unevenly spaced data).
Example 1 — Foundational: constructing γ₂ from a simple γ₁(x₁) model. Suppose measurements of component 1's vapor pressure over a binary mixture are well fit, over the whole range, by the one-parameter (one-suffix Margules) form
with (dimensionless), a typical mild positive-deviation value. We want at using the Gibbs-Duhem integral, and we will check it against the known Margules companion relation . Step 1: differentiate the model.
Step 2: insert into the working integral.
Step 3: evaluate.
At : . So (three sig figs).
Sanity check: this matches the known Margules symmetry relation exactly, confirming the integration machinery. Note also the boundary behavior: at , as required; at (pure 1), , the maximum non-ideality for component 2 at infinite dilution, a physically sensible limit.
Example 2 — Applied: acetone (1) / chloroform (2) from tabulated vapor-pressure data. Acetone-chloroform is a classic negative-deviation system (favorable acetone···H–CCl₃ hydrogen bonding). Suppose isothermal total-pressure and partial-pressure measurements at 35.2 °C give the following activity coefficients for acetone, obtained via with Torr:
| 0.00 | 1.000 | 0.000 |
| 0.20 | 0.888 | -0.1188 |
| 0.40 | 0.760 | -0.2744 |
| 0.60 | 0.652 | -0.4272 |
| 0.80 | 0.583 | -0.5397 |
| 1.00 | 0.560 | -0.5798 |
We want (chloroform) at , using only this acetone data plus the Gibbs-Duhem integral. Step 1: tabulate the integrand at each point.
| 0.00 | 0.000 | 0.000 |
| 0.20 | 0.250 | -0.1188 |
| 0.40 | 0.667 | -0.2744 |
| 0.60 | 1.500 | -0.4272 |
Step 2: apply the trapezoidal rule to
using three intervals in (irregular spacing in , but we integrate directly against as the variable, which is the physically correct integration variable). Interval 1 (: 0.00 → 0.20): , average integrand . Contribution: . Interval 2 (: 0.20 → 0.40): , average integrand . Contribution: . Interval 3 (: 0.40 → 0.60): , average integrand . Contribution: . Sum: . Then
So .
Sanity check: chloroform is dilute-ish (mole fraction 0.40) at this composition, and this system shows negative deviations for acetone (), which by the coupling must correspond to also less than 1 typically for negative-deviation systems — but here we obtained , which flags that trapezoidal integration with only four points is coarse. With finer spacing (smaller , more tabulated points), the estimate converges; published literature values for chloroform in this system at give , meaning our four-point trapezoid has real (expected) numerical error from coarse sampling — the qualitative lesson stands: finer data spacing near regions of rapid curvature in is essential for accuracy, especially as grows large.
Limiting cases & common traps
| Situation | Behavior | Consequence |
|---|---|---|
| exactly | Correct lower integration limit; a common error is starting the integral elsewhere | |
| Integrand diverges; must integrate against , not , or use L'Hôpital-safe substitution | ||
| Sparse or noisy data | Integration error compounds | Use closely spaced points, especially where curves sharply |
| Symmetric (one-parameter Margules) mixtures | , | Gibbs-Duhem integral reproduces this analytically, a built-in consistency check |
| Applying at non-constant | Equation as derived does not hold | Must hold and fixed throughout the measured series |
The chemist behind it
Pierre Duhem, working in French thermodynamics in the late nineteenth century, extended and systematized Josiah Willard Gibbs's chemical potential framework into a form directly usable for multicomponent equilibrium. The Gibbs-Duhem relation crystallized the idea that intensive thermodynamic variables in a mixture are never mutually independent — a constraint that, decades later, became the everyday laboratory tool chemists use to cross-check and complete activity coefficient data from partial vapor-pressure or freezing-point measurements, without needing to measure every species directly.
Origins · 1 minPierre Duhem and how this was discovered
Ask the tutor: How does the Gibbs-Duhem consistency check help detect experimental errors in vapor-liquid equilibrium data?
Why can't I just measure γ₂ directly instead of integrating?
You often can, and doing so is the best consistency check available. But sometimes one component is far easier to measure — for instance, a volatile solvent's vapor pressure versus a non-volatile solute, or a spectroscopically accessible species versus one that is not. Gibbs-Duhem integration lets you extract the second coefficient from the first dataset alone, which is valuable when direct measurement is impractical, expensive, or simply unavailable at every composition you need.
Does the Gibbs-Duhem integral require the mixture to be an ideal solution?
No — the entire point is that it applies to any binary solution, ideal or not, at constant temperature and pressure. It exploits only the extensivity of Gibbs energy and the definition of the chemical potential via activity. The "ideal" terms mathematically cancel during the derivation, leaving a relation purely among the non-ideal excess quantities, and , valid for any real solution.
What goes wrong physically as x₁ approaches 1 in this integral?
Nothing goes wrong physically — component 2 becomes infinitely dilute, and its activity coefficient approaches its infinite-dilution limit, a perfectly well-defined finite quantity. The apparent problem is purely mathematical: the weighting factor diverges as . Because typically approaches zero fast enough in that same limit, the product remains integrable, but numerical schemes need fine spacing there to avoid large errors.
How does this connect to regular solution theory, covered next?
Regular solution theory proposes a specific molecular model for the excess Gibbs energy, typically for some interaction parameter . That single model analytically generates both and simultaneously, automatically satisfying Gibbs-Duhem by construction. The graphical integration method here is the model-free, purely experimental counterpart to that analytic shortcut.