{
  "id": "gibbs-duhem-equation",
  "title": "Gibbs–Duhem Equation",
  "lang": "en",
  "source_lang": "en",
  "summary": "The Gibbs–Duhem equation relates changes in temperature, pressure, and chemical potentials, constraining the thermodynamic properties of mixtures and phases.",
  "category": "science",
  "subcategory": "chemistry",
  "type": "concept",
  "aliases": [
    "Gibbs–Duhem relation"
  ],
  "generated_at": "2026-11-05",
  "model": "pro/gpt-6.1-sol",
  "url": "https://aiwiki.page/en/gibbs-duhem-equation/",
  "translations": {
    "zh-Hans": {
      "url": "https://aiwiki.page/zh/gibbs-duhem-equation/",
      "json": "https://aiwiki.page/zh/gibbs-duhem-equation.json"
    }
  },
  "sections": [
    {
      "heading": "",
      "text": "The Gibbs–Duhem equation is an identity in thermodynamics that relates changes in the intensive properties of a homogeneous equilibrium phase. In its standard form,\n\n\\[S\\,dT-V\\,dp+\\sum_{i=1}^{c}n_i\\,d\\mu_i=0,\\]\n\nwhere \\(S\\) is entropy, \\(T\\) is temperature, \\(V\\) is volume, \\(p\\) is pressure, \\(n_i\\) is the amount of component \\(i\\), and \\(\\mu_i\\) is its chemical potential. The equation shows that temperature, pressure, and the chemical potentials cannot all vary independently. It is particularly important in the thermodynamics of mixtures, where it constrains activity coefficients, partial molar properties, and phase-equilibrium models."
    },
    {
      "heading": "Physical meaning",
      "text": "An extensive property scales with the size of a system: doubling the amounts of all components at unchanged intensive conditions doubles its volume, entropy, and energy. An intensive property, such as temperature or chemical potential, does not change under this scaling.\n\nThe Gibbs–Duhem equation follows from this distinction. Although a mixture has a chemical potential for each component, these potentials describe a common thermodynamic system rather than independent substances. Their changes must therefore satisfy a collective constraint.\n\nAt constant temperature and pressure, the equation becomes\n\n\\[\\sum_{i=1}^{c}n_i\\,d\\mu_i=0.\\]\n\nDividing by the total amount \\(n=\\sum_i n_i\\) gives\n\n\\[\\sum_{i=1}^{c}x_i\\,d\\mu_i=0, \\qquad x_i=\\frac{n_i}{n},\\]\n\nwhere \\(x_i\\) is the mole fraction.\n\nFor a binary mixture,\n\n\\[x_1\\,d\\mu_1+x_2\\,d\\mu_2=0.\\]\n\nConsequently, in the interior of the composition range,\n\n\\[d\\mu_2=-\\frac{x_1}{x_2}\\,d\\mu_1.\\]\n\nThus, when one chemical potential changes with composition, the other cannot remain arbitrarily fixed. This does not mean that the chemical potentials are equal; equality of a given component’s chemical potential between coexisting phases is a separate equilibrium condition."
    },
    {
      "heading": "Derivation from extensivity",
      "text": "For a homogeneous, simple compressible phase whose only mechanical work is pressure–volume work, the fundamental differential of internal energy is\n\n\\[dU=T\\,dS-p\\,dV+\\sum_i\\mu_i\\,dn_i.\\]\n\nIn the bulk thermodynamic limit, \\(U\\) is a first-degree homogeneous function of its extensive variables:\n\n\\[U(\\lambda S,\\lambda V,\\lambda n_1,\\ldots,\\lambda n_c) =\\lambda U(S,V,n_1,\\ldots,n_c).\\]\n\nEuler’s theorem for homogeneous functions therefore gives\n\n\\[U=TS-pV+\\sum_i\\mu_i n_i.\\]\n\nDifferentiating this expression yields\n\n\\[dU=T\\,dS+S\\,dT-p\\,dV-V\\,dp +\\sum_i\\mu_i\\,dn_i+\\sum_i n_i\\,d\\mu_i.\\]\n\nComparison with the fundamental differential cancels the terms involving changes in extensive variables, leaving\n\n\\[S\\,dT-V\\,dp+\\sum_i n_i\\,d\\mu_i=0.\\]\n\nAn equivalent derivation uses Gibbs free energy:\n\n\\[G=\\sum_i n_i\\mu_i, \\qquad dG=-S\\,dT+V\\,dp+\\sum_i\\mu_i\\,dn_i.\\]\n\nDifferentiating the first expression and comparing it with the second produces the same identity.\n\nThe Gibbs–Duhem equation is therefore not an empirical approximation or an additional equation of state. It follows from the fundamental thermodynamic differential and the extensivity of the bulk system."
    },
    {
      "heading": "Partial molar properties",
      "text": "A partial molar property describes the change in an extensive property when a small amount of one component is added while temperature, pressure, and the amounts of other components remain fixed. For an extensive property \\(M\\),\n\n\\[\\overline M_i= \\left(\\frac{\\partial M}{\\partial n_i}\\right)_{T,p,n_{j\\ne i}}.\\]\n\nExtensivity implies\n\n\\[M=\\sum_i n_i\\overline M_i.\\]\n\nAt fixed temperature and pressure,\n\n\\[dM=\\sum_i\\overline M_i\\,dn_i.\\]\n\nDifferentiating the Euler expression for \\(M\\) and comparing the results gives\n\n\\[\\sum_i n_i\\,d\\overline M_i=0,\\]\n\nor equivalently\n\n\\[\\sum_i x_i\\,d\\overline M_i=0.\\]\n\nThis is often called a generalized Gibbs–Duhem relation. It applies, for example, to partial molar volume and partial molar enthalpy. Chemical potential is the partial molar Gibbs energy, so the familiar constant-temperature, constant-pressure equation is a special case.\n\nThese relations allow one component’s partial molar property to be inferred from another’s composition dependence, provided suitable boundary information is available."
    },
    {
      "heading": "Activities and activity coefficients",
      "text": "The chemical potential of a component can be expressed using its dimensionless thermodynamic activity:\n\n\\[\\mu_i=\\mu_i^\\circ+RT\\ln a_i,\\]\n\nwhere \\(R\\) is the gas constant and \\(\\mu_i^\\circ\\) refers to a specified standard state.\n\nAt fixed temperature and pressure, with composition-independent standard states,\n\n\\[d\\mu_i=RT\\,d\\ln a_i.\\]\n\nThe Gibbs–Duhem equation then becomes\n\n\\[\\sum_i x_i\\,d\\ln a_i=0.\\]\n\nFor a mole-fraction activity convention,\n\n\\[a_i=x_i\\gamma_i,\\]\n\nwhere \\(\\gamma_i\\) is the activity coefficient. Since\n\n\\[\\sum_i x_i\\,d\\ln x_i=\\sum_i dx_i=0,\\]\n\nthe activity coefficients satisfy\n\n\\[\\boxed{\\sum_i x_i\\,d\\ln\\gamma_i=0}\\]\n\nat constant temperature and pressure.\n\nFor a binary mixture,\n\n\\[x_1\\frac{d\\ln\\gamma_1}{dx_1} +x_2\\frac{d\\ln\\gamma_2}{dx_1}=0, \\qquad x_2=1-x_1.\\]\n\nThus, the composition dependence of the two activity coefficients cannot be specified independently.\n\nFor example, an ideal solution has \\(\\gamma_i=1\\) for all components under the relevant standard-state convention. Its chemical potentials still vary with composition through \\(\\ln x_i\\), but their weighted differentials cancel.\n\nChanging temperature or pressure\n\nThe constant-temperature, constant-pressure restriction is essential. If temperature or pressure changes, additional terms appear.\n\nFor mole-fraction activity coefficients defined relative to pure-component standard states at the same temperature and pressure, let \\(g^E\\), \\(h^E\\), and \\(v^E\\) denote molar excess Gibbs energy, enthalpy, and volume. Then\n\n\\[g^E=RT\\sum_i x_i\\ln\\gamma_i\\]\n\nand\n\n\\[\\sum_i x_i\\,d\\ln\\gamma_i =-\\frac{h^E}{RT^2}\\,dT +\\frac{v^E}{RT}\\,dp.\\]\n\nThis reduces to the usual activity-coefficient relation only when both \\(dT\\) and \\(dp\\) vanish."
    },
    {
      "heading": "Applications",
      "text": "Thermodynamic consistency of mixture data\n\nThe Gibbs–Duhem equation provides a necessary consistency condition for experimentally determined mixture properties. For example, activity coefficients inferred from vapor–liquid equilibrium measurements should obey its restrictions when evaluated under the appropriate conditions.\n\nFor a binary liquid mixture at fixed temperature and pressure, with pure-component standard states and regular endpoint behavior, integration gives the area condition\n\n\\[\\int_0^1\\ln\\left(\\frac{\\gamma_1}{\\gamma_2}\\right)\\,dx_1=0.\\]\n\nThis follows by integrating the excess-Gibbs-energy relation and using the fact that the excess Gibbs energy vanishes at both pure-component endpoints.\n\nSuch tests require attention to experimental conditions. Data measured along an isobar generally vary in temperature, while data measured along an isotherm may vary in pressure; the corresponding correction terms cannot automatically be discarded. Passing an integral test is necessary under its assumptions but is not sufficient to establish that every data point is accurate.\n\nConstruction of mixture models\n\nModels for liquid mixtures are often formulated through a common excess Gibbs energy rather than by fitting each activity coefficient independently. Taking the appropriate partial derivatives then makes the resulting activity coefficients satisfy the Gibbs–Duhem equation automatically.\n\nSuch models support calculations of chemical equilibrium, liquid–liquid separation, and vapor–liquid equilibrium, including those used in distillation. Thermodynamic consistency does not, however, guarantee that a model accurately represents a particular mixture or predicts its stability correctly.\n\nPure substances and phase coexistence\n\nFor a pure substance, the equation reduces to\n\n\\[d\\mu=-s_m\\,dT+v_m\\,dp,\\]\n\nwhere \\(s_m\\) and \\(v_m\\) are molar entropy and molar volume.\n\nAlong the coexistence curve of phases \\(\\alpha\\) and \\(\\beta\\), their chemical potentials are equal. Equating their differentials gives\n\n\\[\\frac{dp}{dT} =\\frac{s_m^\\beta-s_m^\\alpha}{v_m^\\beta-v_m^\\alpha} =\\frac{\\Delta h_m}{T\\,\\Delta v_m}.\\]\n\nThis is the Clapeyron equation, which relates the slope of a coexistence curve to the thermodynamic changes accompanying a first-order phase transition.\n\nCounting independent variables\n\nFor a single phase with \\(c\\) independent components, the \\(c+2\\) quantities \\(T,p,\\mu_1,\\ldots,\\mu_c\\) satisfy one Gibbs–Duhem constraint, leaving \\(c+1\\) independent intensive variables. These may ordinarily be chosen as temperature, pressure, and \\(c-1\\) independent mole fractions.\n\nCombined with the equilibrium conditions between phases, this counting underlies the Gibbs phase rule:\n\n\\[F=C-P+2,\\]\n\nfor a system with \\(C\\) independent components and \\(P\\) phases, under the usual assumptions and without additional imposed constraints."
    },
    {
      "heading": "Scope and limitations",
      "text": "The standard equation describes a homogeneous bulk phase in thermodynamic equilibrium. It applies to neighboring equilibrium states; it does not require that the composition remain fixed, and it remains valid whether a particular boundary is open or closed.\n\nSeveral qualifications matter:\n\n- Interfaces and small systems: Surface contributions can be significant, and simple bulk extensivity may fail. Additional variables or modified Euler relations may be needed.\n- Additional work modes: Electrical, magnetic, elastic, and other contributions require a formulation with the appropriate conjugate variables.\n- Reacting mixtures: Chemical potentials remain meaningful, but stoichiometric relations and reaction-equilibrium conditions impose further constraints.\n- Electrolytes: Bulk electroneutrality restricts independent composition changes, and individual ionic chemical potentials require special care. Experimentally accessible descriptions commonly use neutral combinations and mean ionic activities.\n- Nonequilibrium systems: Local versions may be used when local thermodynamic equilibrium is justified, but the bulk equilibrium identity alone does not describe transport or irreversible processes."
    },
    {
      "heading": "Historical background",
      "text": "The equation is named after Josiah Willard Gibbs and Pierre Duhem. Its basis lies in the nineteenth-century development of chemical thermodynamics, especially Gibbs’s treatment of heterogeneous equilibrium and Duhem’s work on thermodynamic potentials. It became a central relation in the systematic description of solutions because it connects measurable mixture properties while limiting how independently those properties can be specified."
    }
  ],
  "links": [
    "thermodynamics",
    "entropy",
    "temperature",
    "pressure",
    "chemical-potential",
    "internal-energy",
    "gibbs-free-energy",
    "enthalpy",
    "thermodynamic-activity",
    "gas-constant",
    "standard-state",
    "activity-coefficient",
    "chemical-equilibrium",
    "distillation",
    "clapeyron-equation",
    "phase-transition",
    "thermodynamic-equilibrium",
    "stoichiometry"
  ],
  "sources": [],
  "license": "https://creativecommons.org/licenses/by/4.0/"
}