Physical Chemistry 1 • Chemical Potential & Phase Equilibria

Gibbs-Duhem Relationship

The thermodynamic constraint linking changes in intensive properties across all components of a system.

An atom with a chemistry flask and thermometer for physical chemistry fundamentals.
Inside this lesson 10 sections 5 questions 9 figures

SECTION 1

Historical Context & Motivation

The development of multicomponent thermodynamics in the nineteenth century demanded a rigorous framework for relating the properties of mixtures to those of their individual constituents. While early work on ideal gases and ideal solutions provided useful approximations, the behavior of real mixtures—where intermolecular interactions profoundly affect volatility, solubility, and reactivity—required a far more general treatment. The Gibbs-Duhem relationship emerged from this intellectual landscape as a powerful consistency condition: a constraint that the intensive variables of any thermodynamic system must satisfy, ensuring that the extensive properties of the whole remain self-consistent when expressed in terms of partial molar quantities.

1848 • Duhem's Early Thermodynamic Foundations

Pierre Duhem contributed to the energetics school of thermodynamics in France, articulating general principles about thermodynamic potentials and the relationships between state functions in multicomponent systems.

1876 • Gibbs Publishes 'On the Equilibrium of Heterogeneous Substances'

J. Willard Gibbs published his landmark monograph introducing the concept of chemical potential (μ) and deriving the fundamental equation for multicomponent, multiphase equilibria. This work contained the mathematical seed of the Gibbs-Duhem equation.

1886 • Duhem Formalizes the Constraint

Pierre Duhem explicitly formulated the relationship showing that changes in intensive variables (T, P, μ) across all components of a system at equilibrium are not independent, providing a crucial consistency check for thermodynamic data.

1923 • Lewis and Randall Popularize the Framework

Gilbert N. Lewis and Merle Randall's textbook 'Thermodynamics and the Free Energy of Chemical Substances' made Gibbs's formalism accessible to practicing chemists, integrating the Gibbs-Duhem equation into routine analysis of solutions and phase equilibria.

1950s • Modern Applications in Activity Coefficient Modeling

The Gibbs-Duhem equation became central to validating experimentally measured activity coefficients and developing self-consistent models for non-ideal mixtures, such as the Margules, Van Laar, and later NRTL and UNIQUAC models.

The central question that the Gibbs-Duhem relationship addresses is deceptively simple: if we know how the chemical potential of one component in a mixture changes with composition, what constraints does thermodynamics impose on how the chemical potentials of all other components must change? As we shall see, this seemingly abstract question has profound practical consequences for validating experimental data, constructing phase diagrams, and understanding the thermodynamic behavior of solutions.

SECTION 2

Core Principles & Definitions

To understand the Gibbs-Duhem relationship, one must first appreciate the distinction between extensive properties (which scale with system size, such as total Gibbs energy G, volume V, and entropy S) and intensive properties (which do not depend on system size, such as temperature T, pressure P, and chemical potential μ). The relationship arises directly from the mathematical properties of the Gibbs energy as a homogeneous function of degree one in the mole numbers, combined with Euler's theorem on homogeneous functions.

1

Chemical Potential (μᵢ)

The partial molar Gibbs energy of component i: μᵢ = (∂G/∂nᵢ) at constant T, P, and all other nⱼ. It quantifies how the system's free energy changes when an infinitesimal amount of component i is added.
2

Partial Molar Quantities

For any extensive property Y, the partial molar quantity Ȳᵢ = (∂Y/∂nᵢ) at constant T, P, nⱼ≠ᵢ. These represent each component's effective contribution to the total property in the mixture environment.
3

Euler's Theorem

Since G is a homogeneous function of degree one in {nᵢ}, Euler's theorem gives G = Σᵢ nᵢ μᵢ. This reconstruction equation is the foundation from which the Gibbs-Duhem equation is derived by differentiation.
4

The Gibbs-Duhem Constraint

At constant T and P: Σᵢ nᵢ dμᵢ = 0, or equivalently Σᵢ xᵢ dμᵢ = 0. Changes in chemical potentials across all components are coupled and cannot vary independently.
✦

KEY TAKEAWAY

Think of the Gibbs-Duhem equation like a seesaw constraint in a playground with multiple children. If one child (component) shifts their position (chemical potential), the positions of all other children must adjust to keep the seesaw balanced. The system's total 'balance' (Gibbs energy consistency) is maintained not by each child acting independently, but by the coupled, compensatory movements of everyone. In a binary solution, when one component's chemical potential increases with composition, the other's must decrease—thermodynamics demands it.

SECTION 3

Visual Explanation

Chemical Potential vs. Composition in a Binary System

Mole fraction of component 2 (x₂) →Chemical Potential (μ)Gibbs-Duhem: Coupled μ₁ and μ₂ in a Binary Mixture00.51.0μ₁ (component 1)μ₂ (component 2)x₂ = 0.5CoupledGibbs-Duhem (T, P const.)x₁ dμ₁ + x₂ dμ₂ = 0
In a binary system at constant T and P, the chemical potentials μ₁ (violet curve) and μ₂ (cyan curve) cannot vary independently. As x₂ increases, μ₂ rises while μ₁ falls. The Gibbs-Duhem equation quantifies this coupling: x₁ dμ₁ + x₂ dμ₂ = 0.

The diagram above illustrates the essential content of the Gibbs-Duhem equation for a binary mixture at constant temperature and pressure. The violet curve traces the chemical potential of component 1 as the composition shifts from pure component 1 (x₂ = 0) toward pure component 2 (x₂ = 1). As component 1 becomes increasingly dilute, its chemical potential decreases—reflecting the entropic stabilization of a component present in lower concentration. Simultaneously, the cyan curve shows the chemical potential of component 2 rising as it approaches the pure state. The critical insight from the Gibbs-Duhem equation is that the slopes of these two curves are not independent; at any composition, the relationship x₁(dμ₁/dx₂) + x₂(dμ₂/dx₂) = 0 must hold. This is not merely an empirical observation but a mathematical consequence of the fundamental structure of thermodynamics.

SECTION 4

Mathematical Framework

The derivation of the Gibbs-Duhem equation proceeds from the fundamental equation of thermodynamics for the Gibbs energy and the application of Euler's theorem for homogeneous functions. The Gibbs energy G of an open system is a function of T, P, and the mole numbers n₁, n₂, …, ncn_c. Its total differential gives us a natural starting point.

TOTAL DIFFERENTIAL OF G

dG=−SdT+VdP+ΣiμidnidG = −S dT + V dP + Σᵢ μᵢ dnᵢ

S = entropy, V = volume, μᵢ = chemical potential of component i, nᵢ = moles of component i. This is the master equation for the Gibbs energy in an open, multicomponent system.

Since G is extensive and a homogeneous function of degree one in the mole numbers {nᵢ} at fixed T and P, Euler's theorem on homogeneous functions directly yields the reconstruction equation.

EULER'S THEOREM APPLIED TO G

G=ΣiniμiG = Σᵢ nᵢ μᵢ

This states that the total Gibbs energy can be reconstructed entirely from the mole numbers and their corresponding chemical potentials. It is a direct consequence of extensivity.

Now take the total differential of the reconstruction equation G = Σᵢ nᵢ μᵢ using the product rule: dG = Σᵢ nᵢ dμᵢ + Σᵢ μᵢ dnᵢ. Comparing this with the fundamental equation dG = −S dT + V dP + Σᵢ μᵢ dnᵢ, the Σᵢ μᵢ dnᵢ terms cancel on both sides, leaving us with the general Gibbs-Duhem equation.

GENERAL GIBBS-DUHEM EQUATION

SdT−VdP+Σinidμi=0S dT − V dP + Σᵢ nᵢ dμᵢ = 0

This is the most general form. It relates changes in temperature, pressure, and all chemical potentials. It holds for any single-phase, multicomponent system at equilibrium.

CONSTANT T AND P FORM

Σinidμi=0(equivalently:Σixidμi=0)Σᵢ nᵢ dμᵢ = 0 (equivalently: Σᵢ xᵢ dμᵢ = 0)

At constant temperature and pressure (the most common experimental condition), the equation simplifies dramatically. Dividing through by total moles gives the mole-fraction form. For a binary system: x₁ dμ₁ + x₂ dμ₂ = 0, or dμ₁ = −(x₂/x₁) dμ₂.

ℹ

Degrees of Freedom Implication

The Gibbs-Duhem equation removes one degree of freedom from the description of intensive state. For a c-component system at fixed T and P, only (c − 1) chemical potentials can be varied independently; the remaining one is fixed by the Gibbs-Duhem constraint. This is intimately connected to the Gibbs phase rule F = c − p + 2, where the '−p' reflects one Gibbs-Duhem equation per phase.

SECTION 5

Application to Activity Coefficients

One of the most practically important applications of the Gibbs-Duhem equation is in relating the activity coefficients of different components in a mixture. When we express the chemical potential of each component in terms of an activity coefficient γᵢ via μᵢ = μᵢ° + RT ln(γᵢ xᵢ), the Gibbs-Duhem equation imposes a constraint on how the activity coefficients of all components must vary with composition. This is the basis for the thermodynamic consistency test, which is used to validate experimentally measured vapor-liquid equilibrium (VLE) data. If a set of measured activity coefficients fails to satisfy the integrated Gibbs-Duhem equation, the data contain systematic errors.

GIBBS-DUHEM IN TERMS OF ACTIVITY COEFFICIENTS (BINARY, CONST. T & P)

x1d(lnγ1)+x2d(lnγ2)=0x₁ d(ln γ₁) + x₂ d(ln γ₂) = 0

Substituting μᵢ = μᵢ° + RT ln(γᵢ xᵢ) into the Gibbs-Duhem equation and noting that Σᵢ xᵢ d(ln xᵢ) = 0 identically, we obtain this powerful result. It means that ln γ₁ and ln γ₂ are not independent functions of x₂.

Activity Coefficients and the Gibbs-Duhem Consistency Testx₁ →ln γᵢ00.51.00ln γ₁ln γ₂Consistency Test (Area Test):∫₀¹ ln(γ₁/γ₂) dx₁ ≈ 0If satisfied, data are thermodynamically consistent.Slopes linked:x₁ d(ln γ₁) = −x₂ d(ln γ₂)Note: ln γᵢ → 0 as xᵢ → 1 (Raoult's law limit); ln γᵢ → ln γᵢ∞ as xᵢ → 0 (infinite dilution)
Activity coefficients ln γ₁ (amber curve) and ln γ₂ (violet curve) for a positive-deviation (γ > 1) binary system. Each approaches zero at its pure-component limit (Raoult's law). The Gibbs-Duhem equation constrains these curves so that the integral consistency test is satisfied.

The diagram above shows a typical positive-deviation system (both γ₁ > 1 and γ₂ > 1) where intermolecular interactions between unlike molecules are less favorable than those between like molecules. Each activity coefficient approaches unity (ln γ → 0) as the component becomes pure, consistent with Raoult's law. The integral (area) consistency test states that for isothermal-isobaric data, the integral of ln(γ₁/γ₂) over the entire composition range should equal zero. When it does not, the measured data are thermodynamically inconsistent and should be treated with caution or re-measured.

SECTION 6

Worked Example

Consider a binary liquid mixture of components 1 and 2 at constant T and P. Experimental measurements have determined that the activity coefficient of component 2 in the mixture obeys the one-parameter Margules equation: ln γ₂ = A x₁², where A = 1.50. Use the Gibbs-Duhem equation to derive ln γ₁ as a function of composition and determine the activity coefficient of component 1 at x₁ = 0.3.

Deriving ln γ₁ from ln γ₂ via Gibbs-Duhem

  1. 1

    Step 1 — Write the Gibbs-Duhem equation at constant T, P

    At constant temperature and pressure, the Gibbs-Duhem equation in terms of activity coefficients is: x₁ d(ln γ₁) + x₂ d(ln γ₂) = 0. Rearranging: d(ln γ₁) = −(x₂/x₁) d(ln γ₂).
  2. 2

    Step 2 — Differentiate the given expression for ln γ₂

    Given ln γ₂ = A x₁², we differentiate with respect to x₁: d(ln γ₂)/dx₁ = 2A x₁. Since x₂ = 1 − x₁ for a binary system, we can write d(ln γ₂) = 2A x₁ dx₁.
  3. 3

    Step 3 — Substitute into Gibbs-Duhem and integrate

    Substituting: d(ln γ₁) = −(x₂/x₁) × 2A x₁ dx₁ = −2A x₂ dx₁ = −2A(1 − x₁) dx₁. Integrate from x₁ = 1 (where γ₁ = 1, so ln γ₁ = 0) to arbitrary x₁: ln γ₁ = −2A ∫₁^x₁ (1 − x₁') dx₁' = −2A [(x₁' − x₁'²/2)]₁^x₁ = −2A [(x₁ − x₁²/2) − (1 − 1/2)] = −2A [x₁ − x₁²/2 − 1/2]. Simplifying: ln γ₁ = −2A × (−1/2)(1 − x₁)² + 0 = A(1 − x₁)² = A x₂².
    ln γ₁ = A x₂² = A(1 − x₁)²
  4. 4

    Step 4 — Verify the one-parameter Margules symmetry

    We have obtained ln γ₁ = A x₂² and ln γ₂ = A x₁². This is the well-known symmetric (one-parameter) Margules model, where both components share the same parameter A. This symmetric form is a direct consequence of the Gibbs-Duhem equation when one starts from a quadratic dependence.
  5. 5

    Step 5 — Evaluate at x₁ = 0.3

    At x₁ = 0.3, x₂ = 0.7: ln γ₁ = 1.50 × (0.7)² = 1.50 × 0.49 = 0.735. Therefore γ₁ = e0.735e^{0.735} ≈ 2.085.
    γ₁(x₁ = 0.3) ≈ 2.09
💡

Self-Consistency Check

Notice that at x₁ = 1 (pure component 1), ln γ₁ = A × 0² = 0, giving γ₁ = 1 (Raoult's law). At x₁ = 0 (infinite dilution), ln γ₁∞ = A × 1² = 1.50, giving γ₁∞ = e1.5e^{1.5} ≈ 4.48. These boundary conditions are physically required, and the Gibbs-Duhem derivation automatically ensures they are satisfied.

SECTION 7

Strengths, Limitations & Common Pitfalls

AspectStrengthsLimitations
Data ValidationProvides a rigorous thermodynamic consistency test for experimentally measured VLE data.The area test is necessary but not sufficient; data can pass the integral test while still containing compensating local errors.
Predictive PowerAllows calculation of one component's activity coefficient from measured data on the other, reducing required experiments.Requires accurate data over the full composition range for reliable integration; extrapolation to dilute regions can be unreliable.
GeneralityApplies to any extensive thermodynamic property (V, H, S, G) and any number of components.Applies only within a single phase; multiphase systems require a separate Gibbs-Duhem equation per phase.
Model BuildingForces thermodynamic models (Margules, Van Laar, Wilson, NRTL, UNIQUAC) to be internally consistent.Does not itself provide a model; it only constrains models. The functional form must come from molecular theory or empirical fitting.

Strengths and limitations of the Gibbs-Duhem relationship in practical applications

✦

KEY TAKEAWAY

The Gibbs-Duhem equation is analogous to a conservation law in accounting: if a company has multiple revenue streams that must sum to a known total, then knowing how all but one stream changes automatically determines the remaining one. It does not tell you why the revenues change (that requires a business model), but it guarantees internal consistency. In thermodynamics, this 'accounting identity' is not optional—it is mandated by the mathematical structure of the Gibbs energy and applies universally to any single-phase system at equilibrium.

SECTION 8

Connections to Advanced Theory

The Gibbs-Duhem equation connects to several advanced areas of thermodynamics and is a precursor to deeper theoretical developments. Understanding these connections provides a roadmap for further study in physical chemistry, chemical engineering thermodynamics, and materials science.

ConceptGibbs-Duhem ConnectionAdvanced Extension
Gibbs Phase RuleEach phase has one Gibbs-Duhem equation, reducing the number of independently variable intensive properties.F = c − p + 2 follows directly from counting variables and Gibbs-Duhem constraints across all phases.
Clapeyron EquationApplying Gibbs-Duhem to each of two coexisting phases at equilibrium (dμᵅ = dμᵝ) yields the Clapeyron slope dP/dT.Clausius-Clapeyron approximation for vaporization; generalized to multicomponent systems via the Gibbs-Konovalov theorems.
Excess Gibbs Energy ModelsAny valid GEG^E model must produce activity coefficients that satisfy Gibbs-Duhem; this is guaranteed when γᵢ values are derived as partial derivatives of a single GEG^E function.Modern models (NRTL, UNIQUAC, UNIFAC) are constructed to be inherently Gibbs-Duhem consistent by design.
Solution ThermodynamicsExtends to partial molar volumes (Σ xᵢ dV̄ᵢ = 0) and partial molar enthalpies, enabling cross-checks on volumetric and calorimetric data.Kirkwood-Buff theory connects partial molar quantities to molecular pair correlation functions, linking macroscopic Gibbs-Duhem to molecular structure.

How the Gibbs-Duhem relationship connects to advanced thermodynamic concepts

Looking forward, the Gibbs-Duhem equation serves as a bridge between classical macroscopic thermodynamics and modern computational approaches. In molecular simulation, the Gibbs-Duhem integration technique allows the calculation of coexistence curves by numerically integrating the Clapeyron equation along a phase boundary, starting from a known point. In CALPHAD modeling (Calculation of Phase Diagrams), the Gibbs-Duhem constraint ensures that thermodynamic databases used for alloy design and materials processing remain internally consistent across the entire composition and temperature space.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

In a ternary liquid mixture at constant T and P, you measure that both μ₁ and μ₂ increase as the composition changes along a particular path. What does the Gibbs-Duhem equation tell you about the behavior of μ₃ along this same path? Explain your reasoning.
Show answer
At constant T and P, the Gibbs-Duhem equation requires x₁ dμ₁ + x₂ dμ₂ + x₃ dμ₃ = 0. If both dμ₁ > 0 and dμ₂ > 0, then x₁ dμ₁ + x₂ dμ₂ > 0 (since mole fractions are always positive). To satisfy the constraint, we must have x₃ dμ₃ < 0, which means dμ₃ < 0. The chemical potential of component 3 must decrease. This illustrates the coupling nature of the Gibbs-Duhem equation: in a multicomponent system, not all chemical potentials can increase simultaneously at constant T and P.

Question 2: BASIC CALCULATION

For a binary mixture, the activity coefficient of component 1 follows the two-parameter Margules model: ln γ₁ = x₂²[A₁₂ + 2(A₂₁ − A₁₂)x₁]. Use the Gibbs-Duhem equation to derive the corresponding expression for ln γ₂.
Show answer
Starting from x₁ d(ln γ₁) + x₂ d(ln γ₂) = 0, we differentiate the given expression for ln γ₁ with respect to x₁ and substitute. Alternatively, we can use the known result that for any consistent GEG^E model, ln γ₁ = GEG^E/(RT) + x₂ d(GEG^E/RT)/dx₁ and ln γ₂ = GEG^E/(RT) − x₁ d(GEG^E/RT)/dx₁. Working through the Gibbs-Duhem integration or recognizing the two-parameter Margules symmetry, we obtain ln γ₂ = x₁²[A₂₁ + 2(A₁₂ − A₂₁)x₂]. This expression satisfies the boundary condition ln γ₂ → 0 as x₂ → 1 and can be verified by substituting both expressions back into the Gibbs-Duhem equation.

Question 3: INTERMEDIATE

Vapor-liquid equilibrium data for a binary system at 350 K yield the following activity coefficients at x₁ = 0.4: γ₁ = 1.85 and γ₂ = 1.32. At this composition, d(ln γ₁)/dx₁ = −1.20. Use the Gibbs-Duhem equation to calculate d(ln γ₂)/dx₁ at this composition and comment on whether these data appear consistent.
Show answer
From the Gibbs-Duhem equation at constant T and P: x₁ d(ln γ₁)/dx₁ + x₂ d(ln γ₂)/dx₁ = 0. With x₁ = 0.4 and x₂ = 0.6: 0.4 × (−1.20) + 0.6 × d(ln γ₂)/dx₁ = 0, giving d(ln γ₂)/dx₁ = 0.48/0.6 = 0.80. This result is physically reasonable: as x₁ increases, γ₁ decreases (ln γ₁ approaches zero as x₁ → 1), while γ₂ increases (moving toward infinite dilution). The positive slope for ln γ₂ and negative slope for ln γ₁ are consistent with the expected behavior for a positive-deviation system. The data at this single point appear locally consistent with the Gibbs-Duhem equation.

Question 4: APPLIED

A chemical engineer has measured isothermal VLE data for ethanol(1)–water(2) at 78.15°C and fitted ln γ₁ to the expression ln γ₁ = 0.50 x₂². She then independently fits ln γ₂ = 1.20 x₁². Apply the Gibbs-Duhem area consistency test to determine whether these fitted expressions are thermodynamically consistent. If not, explain the nature of the inconsistency.
Show answer
The Gibbs-Duhem area test at constant T and P requires ∫₀¹ ln(γ₁/γ₂) dx₁ = 0. Computing: ln(γ₁/γ₂) = ln γ₁ − ln γ₂ = 0.50(1 − x₁)² − 1.20 x₁². Expanding: 0.50 − 1.00 x₁ + 0.50 x₁² − 1.20 x₁² = 0.50 − 1.00 x₁ − 0.70 x₁². Integrating from 0 to 1: [0.50 x₁ − 0.50 x₁² − (0.70/3) x₁³]₀¹ = 0.50 − 0.50 − 0.233 = −0.233 ≠ 0. The expressions are thermodynamically inconsistent. The inconsistency arises because the two coefficients (0.50 and 1.20) are not equal; a one-parameter Margules model requires A₁₂ = A₂₁. The engineer should either use a two-parameter Margules model with properly coupled expressions or re-examine the experimental data for systematic errors.

Question 5: CRITICAL THINKING

Prove that for any binary system at constant T and P, if ln γ₁ and ln γ₂ are both derived as partial derivatives of a single molar excess Gibbs energy function gEg^E(x₁) = GEG^E/(n_total RT), then the Gibbs-Duhem equation is automatically satisfied. Discuss why this result is important for thermodynamic model development.
Show answer
Begin with gEg^E = x₁ ln γ₁ + x₂ ln γ₂ (from GEG^E = Σ nᵢ RT ln γᵢ divided by n_total RT). If we define gEg^E as a known function of x₁, then the activity coefficients are derived via: ln γ₁ = gEg^E + (1 − x₁) dgEdg^E/dx₁ and ln γ₂ = gEg^E − x₁ dgEdg^E/dx₁ (the Margules relations). Now compute x₁ d(ln γ₁)/dx₁ + x₂ d(ln γ₂)/dx₁. After carrying through the derivatives (product rule), all terms cancel identically, yielding zero. This is because the total differential d(gEg^E) = ln γ₁ dx₁ + ln γ₂ dx₂ + x₁ d(ln γ₁) + x₂ d(ln γ₂) must also equal dgEdg^E/dx₁ × dx₁, and the Gibbs-Duhem condition emerges from equating these. The practical importance is profound: by constructing models from a single GEG^E function rather than independently fitting γ₁ and γ₂, thermodynamic consistency is guaranteed by construction. This is precisely the strategy employed by all modern activity coefficient models (Wilson, NRTL, UNIQUAC, UNIFAC).

SUMMARY

Summary

Summary

The Gibbs-Duhem equation is a fundamental constraint in thermodynamics, derived from the Euler's theorem applied to the Gibbs energy as a homogeneous function of degree one. In its most general form, S dT − V dP + Σᵢ nᵢ dμᵢ = 0, it couples changes in temperature, pressure, and chemical potential across all components. At constant T and P, it simplifies to Σᵢ xᵢ dμᵢ = 0, meaning that changes in the chemical potentials (or equivalently, activity coefficients) of different components are not independent but are linked by composition-weighted constraints.

The practical applications of this relationship are far-reaching: it provides the thermodynamic consistency test for validating experimental VLE data, enables the calculation of one component's properties from measured data on the others, underpins the derivation of the Gibbs phase rule, and ensures that modern excess Gibbs energy models (Margules, NRTL, UNIQUAC) are internally self-consistent. Mastery of the Gibbs-Duhem relationship is essential for any student proceeding to advanced study in phase equilibria, solution thermodynamics, or chemical engineering process design.

Varsity Tutors • Physical Chemistry 1 • Gibbs-Duhem Relationship