The Gibbs-Duhem Equation
Pour a splash of ethanol into water and the total volume does not simply add up. The two partial molar volumes shift together, and neither is free to change on its own. The Gibbs-Duhem equation is the precise mathematical statement of that coupling. It matters because every mixture property, chemical potential, volume, enthalpy, entropy, obeys the same constraint. Once you know how one component's partial molar quantity varies with composition, the equation fixes how the other's must vary. This is not a modeling assumption; it follows directly from the definition of extensive state functions. This article derives the Gibbs-Duhem equation from the total differential of Gibbs energy. It shows how the equation constrains chemical potentials and partial molar volumes in a binary mixture. It ends with two worked numerical examples, common pitfalls, and a preview of how the equation lets you build one activity coefficient from another.
- The Gibbs-Duhem equation states that at constant and , mole-weighted changes in chemical potential across all components must sum to zero.
- It is a direct consequence of Euler's theorem for extensive, first-order homogeneous functions like .
- It applies to any partial molar quantity, not just chemical potential: volume, enthalpy, entropy all obey the same form.
- In a binary mixture it lets you compute one component's activity coefficient curve from the other's, a technique used constantly in vapor-liquid equilibrium work.
- It also explains why partial molar volumes of the two components in a binary mixture always move in opposite directions relative to mole fraction.
- Key idea: Because total (or , , ...) is fully determined by the mole-weighted sum of partial molar quantities, those partial molar quantities cannot vary independently of composition.
Because the Gibbs energy of a mixture is exactly with no leftover term, differentiating this identity forces the mole-weighted sum of chemical potential changes to vanish at fixed and , so the components' properties are mathematically chained together rather than free to vary independently.
The physical picture
Start with the chemical potential of a mixture component, defined as the partial molar Gibbs energy,
This is a prerequisite idea: chemical potential tells you how much the total Gibbs energy changes per mole of added, holding everything else fixed. Partial molar volume is defined the same way for . The subtlety is that is not a fixed number for a substance. It depends on composition. In an ideal solution, , so as changes, changes too. The Gibbs-Duhem equation asks: if changes by some amount as composition shifts, how much must change in response? The answer comes from a bookkeeping fact. Total Gibbs energy of a mixture is exactly the mole-weighted sum of the chemical potentials,
with no extra term. This is because is an extensive, first-order homogeneous function of the at fixed — doubling every mole number exactly doubles . Euler's theorem then guarantees the sum above is exact, not approximate. Differentiating that exact identity and comparing it against the general total differential of forces a constraint. That constraint is the Gibbs-Duhem equation. Physically: in a binary liquid mixture, if adding component 2 lowers (say, by dilution), the equation guarantees must simultaneously rise in exactly the compensating amount, weighted by mole fractions. Neither chemical potential curve is independent; one determines the other up to an integration constant.
The core relations
where: is moles of component , the differential change in its chemical potential.
where: is mole fraction; dividing through by total moles gives the intensive, per-mole form.
where: this is the two-component version used in essentially all worked problems.
where: rewriting as a derivative with respect to composition at fixed , the practical form used to relate activity coefficient slopes.
where: the same relation holds for any partial molar property (volume, enthalpy, entropy), not only chemical potential.
Goal. Show that the mole-weighted differentials of chemical potential must sum to zero at constant and .
Step 1. Write the general differential of . For a mixture, depends on , , and all mole numbers . The total differential is
This is the fundamental equation of mixture thermodynamics, following from the definitions of , , and .
Step 2. Write the exact Euler sum for . Because is extensive and first-order homogeneous in the at fixed — scaling all by scales by — Euler's theorem gives an exact identity, not an approximation:
Step 3. Differentiate the Euler sum completely. Take the total differential of , treating both and as variables (product rule on each term):
Step 4. Compare the two expressions for . At constant and , Step 1 reduces to . Setting this equal to the Step 3 result:
Step 5. Cancel and isolate the constraint. The terms cancel from both sides, leaving
Dividing by total moles converts this to intensive mole fractions, since :
The identical argument applied to or gives the same structure for any partial molar quantity, since none of the steps used any property specific to or .
Worked examples
Example 1 — Partial molar volumes in a binary liquid mixture (foundational). An experimentalist measures the partial molar volume of water in an ethanol-water mixture at and finds . Nearby, at , (a decrease of as water mole fraction rises, typical of the contraction seen in this system). Estimate the corresponding change in over the same interval. Step 1 — set up the Gibbs-Duhem relation for volume.
Let component 1 = water, component 2 = ethanol. At the midpoint of the interval, , so . Step 2 — insert the measured change.
Step 3 — solve for .
Sanity check. Water's partial molar volume fell while ethanol's rose — exactly the compensating behavior Gibbs-Duhem requires. The magnitudes differ because they are weighted by the other component's mole fraction (), not by symmetry. This matches the qualitative shape in the figure above: as (ethanol) increases from this point, should keep gently falling while rises.
Example 2 — Predicting an activity coefficient curve from Gibbs-Duhem (applied, exam-level). For a binary mixture at fixed and , the activity coefficient of component 1 is found experimentally to follow the two-suffix Margules form
with over the whole composition range. Use the Gibbs-Duhem equation to find the corresponding expression for , and evaluate both activity coefficients at . Step 1 — write in terms of activity coefficients.
so
Step 2 — insert into the Gibbs-Duhem constraint at constant .
Since (using and ), those terms cancel identically, leaving the activity-coefficient-only form:
Step 3 — differentiate the given . With , treat as a function of :
Step 4 — solve for .
Step 5 — integrate.
The physical boundary condition as (i.e., ) forces :
Step 6 — evaluate numerically at , so .
Sanity check. The dilute component (component 1, , more "diluted" relative to its own reference than component 2 is) shows the larger deviation from ideality (), while the more concentrated component 2 sits closer to . Both curves derived from a single Margules parameter automatically satisfy Gibbs-Duhem — this is exactly the symmetric Margules model, and the consistency is not a coincidence but the whole point of the derivation.
Limiting cases & common traps
| Situation | What Gibbs-Duhem tells you |
|---|---|
| Ideal mixture, all | automatically satisfies ; check it as a consistency test. |
| Dilute limit, | Component 2's chemical potential can vary steeply (Henry's law regime) while component 1 barely changes, since demands only a tiny compensating shift. |
| Single-component system | The equation is trivially satisfied (, no coupling partner) — Gibbs-Duhem has no content for pure substances. |
| Non-isothermal, non-isobaric change | The simple form does not apply; you must retain the terms. |
| Ternary and higher mixtures | The same relation holds with an extra term per component: , still just one constraint equation. |
The chemist behind it
The equation bears two names because it was derived independently by two physical chemists working on different sides of the Atlantic in the 1870s-1880s. Josiah Willard Gibbs established the general thermodynamic framework of chemical potential and phase equilibrium in his monumental 1876-1878 papers "On the Equilibrium of Heterogeneous Substances," effectively inventing the mathematics of multicomponent thermodynamics from scratch. Pierre Duhem, a French physicist and philosopher of science, developed closely related relations for mixtures and extended thermodynamic potential theory in his own systematic treatises around 1886. Their combined names now label this constraint precisely because both approached the same extensivity argument from independent directions, arriving at the identical mole-weighted sum rule.
Origins · 1 minJosiah Willard Gibbs and how this was discovered
Ask the tutor: How do I use the Gibbs-Duhem equation to derive Henry's law constant from a solvent's Raoult's law behavior?
Does the Gibbs-Duhem equation apply only to chemical potential?
No. It applies to any partial molar quantity because the derivation never used a property specific to or . The same Euler-theorem argument works for partial molar volume, enthalpy, entropy, or heat capacity. For volume the relation reads at constant , which is exactly what Example 1 used to link water's and ethanol's partial molar volumes.
Why does the equation require constant temperature and pressure?
The full differential of includes terms alongside the composition terms. Only when and do those extra terms vanish, leaving the clean mole-weighted sum over chemical potentials. If temperature or pressure varies during the process, the complete relation must retain and contributions for each component, and the simple form no longer holds.
How is Gibbs-Duhem used to test experimental activity coefficient data for consistency?
If you measure and independently across a composition range, say from vapor pressure data, the Gibbs-Duhem equation predicts they cannot be arbitrary. Plotting against composition should give zero everywhere. Large deviations flag experimental error or an inconsistent data set, making this one of the standard consistency checks in vapor-liquid equilibrium research.
Can Gibbs-Duhem be used to derive Henry's law?
Yes, in the dilute limit. If the solvent obeys Raoult's law behavior () as , the Gibbs-Duhem equation forces the solute's activity coefficient to approach a constant, non-unity limiting value rather than 1. That constant limiting behavior, chemical potential linear in with a solute-specific reference state, is precisely the thermodynamic content of Henry's law, and it emerges directly from integrating the Gibbs-Duhem constraint in the dilute regime.
What happens to the equation in a pure single-component system?
It becomes trivial. With only one component, always, so there is no other mole fraction to weight against, and the "constraint" reduces to , meaning is fixed by and alone, which is simply the ordinary behavior of a pure substance. Gibbs-Duhem only carries genuine content once two or more components are present and can vary relative to each other.