For a nonideal chemical solution, write its thermodynamic activities on a mole fraction basis as and . Use composition-independent pure-component reference chemical potentials at the same temperature and pressure:
The activity coefficients describe departure from the ideal solution under that reference convention.[ref]
At fixed temperature and pressure, insert these expressions into the Gibbs-Duhem equation. The ideal solution terms cancel because . What remains is
Thus two independent fits to measured activity coefficients can each look smooth while failing to describe one possible Gibbs free energy. This is a necessary consistency condition; satisfying it alone does not establish experimental accuracy or thermodynamic stability.
For an original algebraic example, suppose at one fixed temperature and pressure that , with dimensionless constant . The constraint requires . With the pure-B normalization , integration gives
For and , the derivatives of the two logarithms are and ; their weighted sum is . Choosing instead would give a weighted sum at that composition, contradicting the Gibbs-Duhem equation. These are invented model functions, with no claim to fit a particular mixture.
The fixed-temperature, fixed-pressure restriction matters. Along a path with changing temperature or pressure, the general equation contains , and the reference chemical potentials and also change. Across phase coexistence, apply the relation separately within each smooth thermodynamic phase; do not differentiate a discontinuous switch between phases as if it were a single composition curve.
Gibbs-Duhem equation Created 2026-09-24 Updated 2026-10-18
The Euler theorem for homogeneous functions applied to an extensive quantity, together with give
The Gibbs-Duhem equation constrains changes of the intensive quantities describing one uniform thermodynamic phase. For a mixture with independently specified component amounts, its molar form is
Here is entropy, is volume, is temperature, is pressure, is the amount of substance of component , and is its molar chemical potential. This assumes a simple compressible system whose bulk internal energy is an extensive quantity; additional work coordinates require additional terms.[ref]
The proof exposes the source of the constraint. For internal energy , replication of the whole thermodynamic phase by a factor gives . The Euler theorem for homogeneous functions and the fundamental differential of internal energy therefore give
Taking the differential of the first equation produces all the terms in the second, plus . Subtraction proves the Gibbs-Duhem equation. Thus the constraint comes from two descriptions of the same state function, rather than an assumed microscopic interaction model.
At fixed temperature and pressure, divide by and introduce the mole fractions :
The chemical potentials cannot be varied independently. In a two-component mixture, put and . Within a smooth single-thermodynamic phase region with ,
One chemical potential fixes the other's change, but determining its absolute value still requires a reference value. This does not say : equality at phase coexistence concerns the same chemical species in different thermodynamic phases. Nor does the constraint say whenever temperature and pressure are fixed; changing composition still contributes to the Gibbs free energy.
The Gibbs free energy of mixing compares the final mixture's Gibbs free energy with that of its initially separate components at the same temperature and pressure. For an ideal solution, subtract the pure-component reference from :
For one mole of the chosen A/B ideal solution at and ,
The individual chemical potential changes are for A and for B. Weighting these by and reproduces the total Gibbs free energy of mixing.
Figure 1.
Chosen ideal binary model: entropy gain and Gibbs energy decrease
. At the same stipulated temperature , one mole of the invented A/B ideal solution has positive entropy of mixing and negative Gibbs free energy of mixing at every interior composition. The marked example gives approximately and . Dashed markers show the extrema at equal mole fractions; both functions vanish at the pure endpoints. These are calculated mixing quantities at a common initial/final pressure, not measured data or a vapor composition plot. Details.
If ideality holds in a neighborhood of the specified temperature and pressure, differentiation at fixed component amounts gives
Thus the ideal mixing Gibbs free energy decrease comes entirely from the entropy increase; the mixing enthalpy and volume changes vanish. Ideality at a single isolated state alone does not determine temperature or pressure derivatives.[ref]
The same formula rules out spontaneous separation into two liquid thermodynamic phases within this model. Per mole, the mixing Gibbs free energy has
Adding the pure-component reference contributions changes only a term linear in . The total molar Gibbs free energy is therefore a strictly convex function: a separated pair of different compositions has a larger composition-weighted Gibbs free energy than the uniform sample with the same inventory. Such phase separation requires physics beyond this ideal solution model.
An ideal solution has molar chemical potentials
where is the molar gas constant and the stars denote pure-component reference values at the same temperature and pressure.[ref]
Hold temperature and pressure fixed. The derivatives with respect to are and , so
Each chemical potential changes, yet their composition-weighted slopes cancel exactly. At , the two slopes are and ; multiplying by and gives and . Near either pure-component endpoint the dilute component's slope diverges, but its weighted contribution remains finite. The endpoint chemical potential itself requires a limiting interpretation because its logarithm diverges.
Figure 1.
Ideal binary chemical potentials change while their weighted slopes cancel
. Original ideal-solution calculations at fixed temperature and pressure. The left panel subtracts each pure-component chemical potential and divides by RT. The right panel shows the two weighted derivatives divided by RT; they sum to zero throughout the open composition interval. Details.
The same constraint has a geometric explanation. Subtract the pure-component reference contribution from the molar Gibbs free energy and divide by to obtain
Its derivative is . At fixed total amount of substance, exchanging a little B for A changes the Gibbs free energy with slope . Consequently the tangent to at has intercepts
at horizontal coordinates and , respectively. The two chemical potentials come from the same curve: choosing two unrelated functions would generally destroy this tangent construction.
Figure 2.
One ideal mixing Gibbs-energy curve determines both chemical potentials
. Original ideal-solution geometry with each pure-component reference subtracted. The tangent at x=0.30 reaches the B chemical-potential shift at x=0 and the A chemical-potential shift at x=1. The plotted curve and tangent are theoretical calculations, not experimental data. Details.
Ideal solution 2026-10-18
An ideal solution is a chemical solution whose component chemical potentials depend on composition through
Here is an amount of substance, its mole fraction, the molar gas constant, and the pure-component liquid reference at the same temperature and pressure . This model applies to every component across the composition range; it is stronger than an approximation valid only near a pure solvent.[ref]
With this pure-liquid standard state convention, the thermodynamic activity satisfies , so an ideal solution has , or activity coefficient .[ref] This statement concerns the liquid. Assuming that a coexisting vapor is an ideal gas mixture is an additional approximation. Its mole fractions generally differ from the liquid mole fractions .
For an original two-component example, stipulate and pure-component vapor pressures and . A and B are invented distinguishable components; these numbers are chosen model inputs, not material data. Combine an ideal solution with an ideal gas vapor, neglect the pure-liquid reference's pressure correction, and exclude other gases. At liquid mole fractions and , Raoult's law and addition of partial pressures give
Thus the coexisting vapor contains about A by amount of substance, although the liquid contains only . The total pressure is neither pure-component vapor pressure, and cannot be substituted for . This enrichment is the basis of distillation.
Figure 1.
Chosen ideal binary model: partial pressures and vapor enrichment
. At the stipulated temperature , the invented pure-component vapor pressures are and . Left: partial pressures and their total versus the liquid mole fraction . Right: the coexisting vapor mole fraction ; the diagonal marks equal compositions. Both panels highlight , giving and . These are model curves, with no measured data. Details.
The usefulness of the ideal solution is that one composition law connects chemical potentials, vapor-liquid equilibrium, entropy of mixing and Gibbs free energy of mixing. Its liquid components can interact strongly: the defining condition is their composition dependence, rather than the absence of all interactions as in an ideal gas model.
Raoult's law 2026-10-18
In the ideal solution and ideal gas vapor approximation, each component's partial pressure equals its liquid mole fraction times its pure-component vapor pressure at the same temperature:
These pressure formulas neglect the change in the pure-liquid reference between its saturation pressure and ; appreciable real gas behavior also requires a more general treatment. The ideal solution definition in terms of chemical potentials does not require either approximation.[ref]
A short derivation explains the reference choice. At vapor-liquid equilibrium, each component has the same chemical potential in the liquid and vapor. For an ideal gas mixture, chemical potential of an ideal gas gives
where is a reference pressure. Approximate by and subtract the pure-component equation from the mixture equation:
Taking the exponential function gives Raoult's law. Summing partial pressures and normalizing gives and ; this last step uses the ideal gas vapor assumption separately from the liquid model.
The law is named after François-Marie Raoult, who measured vapor pressures and freezing behavior of chemical solutions.[ref]