Chemical thermodynamics: free energies and equilibrium
Anchor (Master): Callen, *Thermodynamics and an Introduction to Thermostatistics*, 2e (1985); McQuarrie, *Statistical Mechanics* (2000)
Intuition [Beginner]
Will a reaction happen? That is the central question of chemical thermodynamics. The answer depends on the Gibbs free energy , defined as where is enthalpy (heat content), is temperature, and is entropy (disorder).
At constant temperature and pressure, the change in Gibbs free energy tells you everything. If , the reaction is **spontaneous** -- it will proceed on its own. If , the reaction is non-spontaneous. If , the system is at equilibrium -- the forward and reverse reactions occur at the same rate, and the composition stops changing.
The equation shows that spontaneity is a tug-of-war between enthalpy and entropy. A reaction that releases heat () and increases disorder () is spontaneous at all temperatures. A reaction that absorbs heat () and decreases disorder () is never spontaneous. The interesting cases are the mixed ones, where temperature determines the outcome.
Visual [Beginner]
Picture four scenarios in a grid. The rows are (exothermic) and (endothermic). The columns are (more disorder) and (less disorder).
| Spontaneous at all | Spontaneous at low | |
| Spontaneous at high | Never spontaneous |
The boundary between spontaneous and non-spontaneous occurs at , where .
Worked example [Beginner]
The Haber process: . Compute at 298 K and find .
Step 1. Look up standard Gibbs energies of formation (all in kJ/mol): , , .
Step 2. Compute from :
is large, meaning the equilibrium strongly favours at 298 K.
Step 3. Why does the industrial process run at high temperature ( K) and high pressure? The reaction is exothermic ( kJ/mol), so raising the temperature shifts equilibrium toward reactants (Le Chatelier). But at 298 K the reaction is too slow. High temperature is needed for kinetics, not thermodynamics. High pressure favours because the reaction reduces the number of gas molecules (4 mol reactant gas 2 mol product gas), and Le Chatelier's principle says increasing pressure shifts equilibrium toward fewer gas moles.
Check your understanding [Beginner]
Formal definition [Intermediate+]
The Gibbs free energy is a thermodynamic potential defined by
Its natural variables are temperature , pressure , and composition (moles of each species). The differential of for a closed system with composition change is
where is the chemical potential of species .
At constant and , . The system minimises at equilibrium: any spontaneous process at constant , satisfies , with equality only at equilibrium.
For a chemical reaction (products positive, reactants negative), the Gibbs energy of reaction is
At equilibrium, . Under standard-state conditions (1 bar reference pressure, unit activity for all species), the standard reaction Gibbs energy is .
The equilibrium constant. The reaction quotient is
where is the activity of species (approximately the partial pressure for gases, concentration for solutes). The relation between and is
At equilibrium, and , giving
Le Chatelier's principle. If a system at equilibrium is disturbed, it responds to partially counteract the disturbance. Formally:
Temperature change: The van't Hoff equation gives . For exothermic reactions (), decreases with (equilibrium shifts toward reactants). For endothermic reactions (), increases with .
Pressure change: For gas-phase reactions with a change in total moles (), increasing total pressure shifts equilibrium toward the side with fewer gas moles. For the Haber process, , so high pressure favours .
Concentration change: Adding a reactant increases , driving the reaction forward until returns to .
Standard-state conventions
Standard-state properties (denoted by the superscript) refer to: pure substance at 1 bar pressure, or unit activity in solution, at a specified temperature (usually 298.15 K unless stated otherwise). Standard Gibbs energies of formation are tabulated for most compounds; for elements in their reference form (, , , C(graphite), etc.).
Key theorem with proof [Intermediate+]
Theorem (Equilibrium condition from Gibbs energy minimisation). For a closed system at constant and undergoing a single chemical reaction , the equilibrium composition satisfies
where is the equilibrium constant.
Proof. The Gibbs energy of the system is . As the reaction proceeds by an extent , the mole numbers change by , and
At equilibrium, is minimised, so , which requires .
Now express each chemical potential as (the fundamental relation between chemical potential and activity). Then
Setting at equilibrium gives and .
Corollary (van't Hoff equation). Differentiating with respect to and using the Gibbs-Helmholtz equation gives
For exothermic reactions (), decreases with increasing . For endothermic reactions (), increases with .
Worked example at intermediate level
For the Haber process at 700 K: compute given kJ/mol and J/(mol K).
At 298 K, . At 700 K, . The equilibrium has shifted enormously toward reactants, confirming Le Chatelier's prediction for this exothermic reaction. The industrial process compensates by using high pressure (150-300 atm) to push the equilibrium back toward .
Exercises [Intermediate+]
The four laws, thermodynamic potentials, and Maxwell relations [Master]
Chemical thermodynamics rests on four laws, each a constraint on the energy and entropy bookkeeping of macroscopic systems. The zeroth law establishes temperature as a well-defined equivalence-class label on states in mutual thermal equilibrium: if and are each in equilibrium with , they are in equilibrium with each other. This sounds bookkeeping but is the foundational reason that thermometers work and that "temperature" is a property of a single body rather than a relation between two. The first law writes the differential energy balance for a closed system as , where is heat added and is work performed on the system; the inexact differentials and are path-dependent, but their sum is an exact differential because is a state function. For a simple compressible system the reversible work is and the reversible heat is , so in the absence of composition change.
The second law asserts the existence of an extensive state function (entropy) satisfying with equality for reversible processes; equivalently, the entropy of an isolated system never decreases. Clausius's 1865 formulation in terms of the integral around any cyclic process gives entropy as the path-independent integral . The third law (Nernst-Planck) fixes the entropy zero: for a perfect crystalline solid in its ground state. Without the third law, entropy is defined only up to an additive constant; with it, is computable from heat-capacity measurements, and tabulated standard entropies are physical quantities.
For a single-component open system with composition change, the Gibbs equation writes the fundamental relation as $$ dU = T,dS - P,dV + \mu,dN, $$ where the chemical potential measures the energy cost of adding one particle at fixed entropy and volume. For a multicomponent mixture is one chemical potential per species, and generalises to a sum. The natural variables of are — these are the variables in which is a characteristic function in Gibbs's sense, meaning every thermodynamic property of the system can be derived from as a function of by differentiation, with no additional information needed.
The other three potentials are obtained from by Legendre transforms, the standard mathematical operation for swapping a natural variable from an extensive coordinate to its conjugate intensive variable while preserving the characteristic-function property. For a convex function , the Legendre transform has the property that if , then ; the conjugate variables and trade places. Applied to we get: $$ \begin{aligned} H(S, P, N) &= U + PV = \text{enthalpy} \quad \text{(Legendre-transform } V \leftrightarrow P), \ F(T, V, N) &= U - TS = \text{Helmholtz free energy} \quad (S \leftrightarrow T), \ G(T, P, N) &= U - TS + PV = \text{Gibbs free energy} \quad (S \leftrightarrow T, V \leftrightarrow P). \end{aligned} $$
Each new potential has its own fundamental differential, obtained by direct manipulation of : $$ \begin{aligned} dH &= T,dS + V,dP + \mu,dN, \ dF &= -S,dT - P,dV + \mu,dN, \ dG &= -S,dT + V,dP + \mu,dN. \end{aligned} $$ Each potential is minimised at equilibrium when its natural variables are held constant: at constant , at constant , at constant , and at constant . The Gibbs energy is the central object of chemical thermodynamics because most laboratory and biological reactions occur at constant temperature and pressure — open to the atmosphere, in a thermostatted vessel or a cellular cytoplasm.
Maxwell relations as exterior-derivative consistency. Each fundamental differential is a closed one-form on the thermodynamic state-space manifold. For at fixed composition, is a one-form on the two-dimensional submanifold parameterised by . Because is a state function, the one-form is exact: . The exterior derivative of an exact form vanishes (), so . Expanding: $$ d(dG) = d(-S,dT + V,dP) = -\left(\frac{\partial S}{\partial P}\right)_T dP \wedge dT + \left(\frac{\partial V}{\partial T}\right)_P dT \wedge dP = 0, $$ which gives the Maxwell relation $$ \boxed{\left(\frac{\partial S}{\partial P}\right)_T = -\left(\frac{\partial V}{\partial T}\right)_P.} $$
The same exterior-derivative argument applied to produces three more Maxwell relations: $$ \begin{aligned} \left(\frac{\partial T}{\partial V}\right)_S &= -\left(\frac{\partial P}{\partial S}\right)_V \quad &\text{(from } dU\text{)}, \ \left(\frac{\partial T}{\partial P}\right)_S &= +\left(\frac{\partial V}{\partial S}\right)_P \quad &\text{(from } dH\text{)}, \ \left(\frac{\partial S}{\partial V}\right)_T &= +\left(\frac{\partial P}{\partial T}\right)_V \quad &\text{(from } dF\text{)}. \end{aligned} $$ Each Maxwell relation is the closure condition for the corresponding potential's fundamental one-form, and each lets experimentally hard-to-measure quantities (like ) be replaced by experimentally easy ones (like , which is the thermal expansion coefficient times the volume). The chemistry-physics literature treats Maxwell relations as a coordinate-algebra identity; the differential-geometric content is that they are the components of the structure equation on the thermodynamic-state-space manifold. Hermann Weyl's 1949 Philosophy of Mathematics and Natural Science and Souriau's 1970 Structure des systèmes dynamiques gave the modern geometric formulations; the chemistry presentation hides the exterior-algebra machinery under the coordinate-partial-derivative notation but the content is identical.
The Gibbs-Duhem equation. Extensivity of in the variables at fixed forces, by the Euler theorem for homogeneous functions of degree one,
$$
G(T, P, N_1, \ldots, N_n) = \sum_i N_i, \mu_i(T, P, N_1, \ldots, N_n).
$$
Differentiating both sides and comparing with produces
$$
S,dT - V,dP + \sum_i N_i,d\mu_i = 0,
$$
the Gibbs-Duhem equation. At constant and it reduces to : in a multicomponent system at equilibrium, the chemical potentials cannot all vary independently. For a binary mixture, this couples and through the mole fractions, which is the origin of the Duhem-Margules equation relating activity coefficients in binary phase equilibria. The chemistry 11.01.02 pending thermodynamic-potentials cross-link develops the same machinery from the physics side; the present treatment privileges because chemistry uses constant- reaction conditions while general thermodynamics gives equal weight to all four potentials.
Stability conditions from . Equilibrium requires not only but in every accessible direction (a minimum, not a saddle or maximum). The Hessian of with respect to its natural extensive variables yields the standard stability criteria: (positive heat capacity — the system resists temperature fluctuations); (positive isothermal compressibility — the system resists volume fluctuations); (chemical stability — adding a component raises its own chemical potential). Violations of these criteria are not mathematical curiosities: they signal real instabilities. A region of negative compressibility is the spinodal regime inside a phase coexistence loop, where the homogeneous mixture is unstable to spontaneous phase separation. A region of is the chemical analog: the mixture lowers its Gibbs energy by demixing into two distinct phases of different composition. These instability conditions are derived in standard treatments via convexity arguments on ; the geometric content is that the equilibrium states form the lower convex envelope of the raw fundamental relation, and points above the envelope are accessible only as metastable states that eventually relax to the envelope through nucleation or spinodal decomposition.
Chemical equilibrium, the reaction quotient, and the van't Hoff equation [Master]
A chemical reaction — with stoichiometric coefficients positive for products and negative for reactants — proceeds by an extent variable such that . The instantaneous Gibbs energy as a function of at fixed is
and the reaction Gibbs energy is its derivative:
Equilibrium occurs when — the Gibbs energy is stationary with respect to reaction progress. The chemical-potential expansion , where is the activity of species (approximately the partial pressure for gases at low density, the molar concentration for dilute solutes, or unity for pure solids and pure liquids), yields the central result of reaction thermodynamics:
is the reaction quotient — the product of activities raised to stoichiometric powers, evaluated at whatever composition the system currently has. Setting at equilibrium with the equilibrium activities gives
This is the central insight of chemical equilibrium: the equilibrium constant is a Boltzmann-factor function of the standard Gibbs energy of reaction. depends only on temperature (through ); the equilibrium composition that realises depends on the total amounts and the choice of standard state. Putting these together, the reaction quotient serves as a thermodynamic compass: if the system is reactant-rich relative to equilibrium and , so the reaction proceeds forward; if the system is product-rich and , so the reaction reverses; at the system is at equilibrium and .
Le Chatelier's principle as a derivative inequality. The qualitative statement that "a system at equilibrium responds to a perturbation in the direction that partially counteracts the perturbation" is rigorously derived from the second-derivative stability conditions on . Take temperature as the perturbation. The temperature dependence of follows from differentiating with respect to and applying the Gibbs-Helmholtz identity : $$ \boxed{\frac{d \ln K}{dT} = \frac{\Delta_r H^\circ}{RT^2} \quad \text{(van't Hoff equation, 1884)}.} $$ For exothermic reactions (), decreases with increasing — raising the temperature shifts equilibrium toward reactants. For endothermic reactions (), increases with — equilibrium shifts toward products. The foundational reason is heat-capacity bookkeeping: treating heat as a stoichiometric participant ( for exothermic), Le Chatelier's qualitative response identifies with the van't Hoff equation's quantitative direction. Pressure perturbations on gas-phase reactions follow the analogous derivative when is expressed in mole fractions; high pressure favours the side with fewer moles of gas, as the Haber process exploits.
Integrated van't Hoff and the temperature dependence of . If is approximately temperature-independent over the interval , the van't Hoff equation integrates to $$ \ln!\left(\frac{K(T_2)}{K(T_1)}\right) = -\frac{\Delta_r H^\circ}{R}!\left(\frac{1}{T_2} - \frac{1}{T_1}\right). $$ A plot of versus is a straight line of slope and intercept (from ). This is the basis of the experimental determination of from equilibrium measurements at multiple temperatures, complementing direct calorimetric measurement and providing the cross-check on tabulated standard enthalpies of reaction.
For a real example, consider the protein folding equilibrium where U is the unfolded denatured state and F is the native folded state. At physiological temperature, is on the order of kJ/mol — modestly negative, so K is moderately large but not astronomical. is typically around to kJ/mol (hydrogen bonds and van der Waals contacts in the folded core), while is around to J/(mol K) (loss of chain conformational entropy upon folding). The two terms nearly cancel — this is the entropy-enthalpy compensation that gives proteins their characteristic "marginal stability" near body temperature. The compensation is not coincidental: a folded protein with much larger would be too stable to permit the conformational dynamics required for catalysis and signalling, and the cell would not be able to degrade it readily. Evolution selects for kJ/mol precisely because that is the regime where folding is reliable but not irreversible.
Entropy-enthalpy tradeoff in chemistry. The compensation pattern recurs across many reactions: hydrophobic effect in aqueous solutions (positive entropy of water release upon hydrophobic association compensates against unfavourable enthalpy or vice versa, depending on temperature); ligand binding to receptors (enthalpic contacts versus entropic loss of translational and rotational freedom of the bound ligand); ATP hydrolysis (small but large positive from the release of inorganic phosphate). The compensation can be misleading: comparing two ligands on the basis of alone is unreliable because and are correlated through a common physical mechanism. The thermodynamic gold standard is , which is what actually determines binding affinity. Modern isothermal titration calorimetry (ITC) measures directly and computes from the simultaneous measurement; both are reported, but only matters for the equilibrium ratio.
The connection to mass-action kinetics. Chemical kinetics 14.08.01 writes forward and reverse rates as and . At equilibrium , so
$$
K_c = \frac{k_\text{f}}{k_\text{r}} = \prod_i c_i^{\nu_i}\big|\text{eq}.
$$
The thermodynamic equilibrium constant (derivable from free energies) equals the ratio of forward and reverse rate constants — a beautiful synthesis of thermodynamics and kinetics. Importantly, this identifies a thermodynamic ratio with a microscopic-rate ratio without claiming that thermodynamics determines the absolute rate. Catalysts lower the activation energy of both forward and reverse reactions equally, leaving unchanged but accelerating approach to the same equilibrium. The bridge is the Arrhenius form: $k\text{f} = A_\text{f} e^{-E_\text{a,f}/RT}k_\text{r} = A_\text{r} e^{-E_\text{a,r}/RT}E_\text{a,f} - E_\text{a,r} = \Delta_r U^\circ \approx \Delta_r H^\circ$. The Arrhenius-Eyring transition-state perspective recovers the van't Hoff equation through the rate-constant ratio, and the central insight is that thermodynamics determines the destination while kinetics determines the path and pace.
Phase equilibria, chemical potential, and the Clausius-Clapeyron equation [Master]
Phase equilibrium is the simplest instance of chemical equilibrium: the "reaction" is a phase transition of a pure substance, and the equilibrium condition is equality of chemical potentials between coexisting phases. For a single-component system with phases labelled and , the equilibrium condition at temperature and pressure is $$ \mu_\alpha(T, P) = \mu_\beta(T, P). $$ At any off the phase boundary, one phase has a lower chemical potential and is the stable phase; the other is metastable or absent. The boundary in the plane is the locus of points where the two potentials are equal; it is a one-dimensional curve (or, when three phases coexist, a single point — the triple point). The complete picture is encoded in the Gibbs phase rule: , where is the number of independent components, the number of phases, and the number of intensive degrees of freedom. For a one-component, two-phase system : the coexistence curve has one degree of freedom, which we conventionally take as .
Derivation of the Clausius-Clapeyron equation. Suppose we move infinitesimally along the coexistence curve from to . The chemical potentials of the two phases must remain equal: . Using (the molar form of , valid for a pure substance because ): $$ -S_{m,\alpha},dT + V_{m,\alpha},dP = -S_{m,\beta},dT + V_{m,\beta},dP. $$ Solving for the slope of the coexistence curve: $$ \boxed{\frac{dP}{dT}\bigg|\text{coex} = \frac{S{m,\beta} - S_{m,\alpha}}{V_{m,\beta} - V_{m,\alpha}} = \frac{\Delta S_\text{trans}}{\Delta V_\text{trans}} = \frac{\Delta H_\text{trans}}{T,\Delta V_\text{trans}},} $$ where the last step uses at the reversible phase transition (since on the coexistence curve). This is the Clapeyron equation — fully exact for any phase transition of a pure substance. For a transition involving a gas with and ideal-gas behaviour , we get the Clausius-Clapeyron equation: $$ \frac{d \ln P}{dT} = \frac{\Delta H_\text{vap}}{RT^2}, $$ which integrates (assuming temperature-independent ) to $$ \ln!\left(\frac{P_2}{P_1}\right) = -\frac{\Delta H_\text{vap}}{R}!\left(\frac{1}{T_2} - \frac{1}{T_1}\right). $$ The structural parallel to the van't Hoff equation is exact: both arise from the same Gibbs-Helmholtz identity, both express how an equilibrium "constant" (a vapor pressure or an equilibrium constant ) depends on temperature through the corresponding enthalpy change. The bridge is that a phase transition is just a chemical reaction in which the "products" and "reactants" are the same substance in different phases.
Worked numeric example. For water at C ( K), the vapour pressure is kPa and kJ/mol. Predict the vapor pressure at C ( K) — the normal boiling point, where kPa. Apply Clausius-Clapeyron: $$ \ln!\left(\frac{P_2}{P_1}\right) = -\frac{44,000}{8.314}!\left(\frac{1}{373} - \frac{1}{298}\right) = -5294 \times (-6.74 \times 10^{-4}) = 3.57, $$ giving , so kPa. The measured value is 101.3 kPa — a 10% overprediction, attributable to the temperature variation of (which decreases from 44.0 kJ/mol at 25C to 40.7 kJ/mol at 100C). Using the average kJ/mol gives kPa — within 1% of measured. The lesson: Clausius-Clapeyron is exact within its assumptions (ideal-gas vapour, condensed-phase volume negligible, constant); the approximations dominate the small residual discrepancies, but the equation captures the dominant exponential dependence of vapour pressure on temperature.
Binodal and spinodal curves in mixtures. For binary mixtures the chemical-potential picture extends naturally. Plot as a function of mole fraction at fixed . A homogeneous single-phase mixture is stable when is convex; a region of that is locally concave is unstable to phase separation. The binodal is the common-tangent construction: two compositions and such that the tangent line to at also touches at — these are the equilibrium compositions of the two coexisting phases, with the common tangent being the locus of the mixed-phase Gibbs energy as the relative amounts of and vary. The spinodal is the inflection-point locus — the boundary between locally stable (positive curvature) and locally unstable (negative curvature) homogeneous mixtures. Between the binodal and the spinodal, the homogeneous mixture is metastable: it survives small perturbations but decomposes once a critical fluctuation nucleates a new phase. Inside the spinodal, it is unstable to any perturbation and decomposes spontaneously — spinodal decomposition — producing a characteristic mesoscopic pattern of intertwined phases that the Cahn-Hilliard equation (1958) models quantitatively as a fourth-order diffusion equation for the composition field. Spinodal decomposition is the chemistry-side analog of the unstable-mode growth in early-universe cosmology and in Turing-pattern morphogenesis.
Eutectic phase diagrams. A eutectic point is the lowest-melting composition in a binary solid-liquid system. Below the eutectic temperature the mixture is fully solid (two coexisting crystalline phases); above but below the pure-component melting points, a single liquid phase coexists with one of the two pure solids. At the eutectic composition , the system passes directly from a single liquid to two-phase solid at without an intermediate two-phase liquid+solid region — the lowest-temperature liquid in the diagram. The Gibbs phase rule constrains and : with two components and three phases (liquid plus two solids), , but at fixed that becomes , so the eutectic point is a single point in the diagram. Eutectics underlie the metallurgy of solder (Pb-Sn eutectic at 183C, , well below either pure component's melting point), antifreeze (water-ethylene glycol eutectic at C), and many ice-cream-making and food-preservation applications.
Chemical potential as the driver of mass transport. Diffusion and osmosis are driven by gradients in chemical potential, not by gradients in concentration. The thermodynamic flux (linear-response Onsager relation) generalises Fick's law , which is the dilute-solution limit where and . In nonideal solutions, or in the presence of an external field (gravity, electric field, osmotic pressure), diffusion can run "uphill" in concentration if downhill in chemical potential. Membrane biology exploits this constantly: an ion can move from low concentration to high concentration through a passive channel if the membrane potential creates an electrochemical potential gradient in the favourable direction, with the appropriate chemical potential being (the electrochemical potential, with the molar charge and the electric potential).
The statistical-mechanical bridge: partition functions and the molecular origin of free energy [Master]
The macroscopic thermodynamics developed above is empirically grounded but conceptually opaque about why the laws hold and what physical quantities they encode. The statistical-mechanical bridge, due to Boltzmann (1877) and developed by Gibbs (1902 Elementary Principles in Statistical Mechanics), is that macroscopic thermodynamic potentials are logarithms of microscopic partition functions, and equilibrium is the maximum-entropy distribution subject to macroscopic constraints. This identifies thermodynamics as the macroscopic shadow of a deeper microscopic theory.
The canonical ensemble. A system at fixed in thermal contact with a heat bath has its microstates occupied with probabilities
$$
p_i = \frac{e^{-\beta E_i}}{Z}, \qquad Z(T, V, N) = \sum_i e^{-\beta E_i}, \qquad \beta = \frac{1}{k_B T},
$$
where is the energy of microstate and the canonical partition function normalises the distribution. The cross-link to the physics-side derivation is 11.04.01 pending canonical ensemble (pending), where the maximum-entropy principle subject to fixed delivers the Boltzmann factor by Lagrange-multiplier construction with as the multiplier conjugate to energy. The Helmholtz free energy emerges as
$$
\boxed{F(T, V, N) = -k_B T \ln Z(T, V, N).}
$$
This is the foundational reason the partition function controls all thermodynamics: every macroscopic equation of state, every heat capacity, every chemical equilibrium constant is derivable from by differentiation. The mean energy is ; the entropy is ; the pressure is . The mass-action equilibrium constant for a chemical reaction emerges from the appropriate ratios of partition functions, as developed below.
Translational, rotational, vibrational, and electronic partition functions. For a dilute gas of distinguishable non-interacting molecules, the system partition function factors as where is the single-molecule partition function (the corrects for indistinguishability of identical molecules in classical statistics, the Gibbs paradox resolution). The single-molecule factors further as $$ q = q_\text{trans} \cdot q_\text{rot} \cdot q_\text{vib} \cdot q_\text{el}, $$ because the molecular Hamiltonian decouples into independent translational, rotational, vibrational, and electronic pieces to a good approximation (Born-Oppenheimer separation, plus rigid-rotor and harmonic-oscillator approximations for the nuclear motion). Each factor is computable in closed form:
The translational factor for a free particle in a volume is , where is the thermal de Broglie wavelength. For at 298 K, m, and m — astronomically large, reflecting the enormous number of translational microstates available to a gas molecule at room temperature.
The rotational factor for a diatomic with moment of inertia in the rigid-rotor approximation is in the high-temperature limit , where is the symmetry number (2 for homonuclear, 1 for heteronuclear). For , K, so at 298 K we are deep in the classical limit and .
The vibrational factor for a harmonic oscillator of angular frequency is , choosing the zero of energy at the lowest vibrational level. For with K (a very stiff bond), at 298 K we have — essentially no vibrational excitation, which is why at room temperature has heat capacity (translational + rotational ) rather than the that would include vibrational degrees of freedom.
The electronic factor is , the Boltzmann sum over electronic energy levels with degeneracies . For most molecules at room temperature, only the ground electronic state contributes and (the ground-state degeneracy, typically 1 for singlets, 2 for doublets, 3 for triplets like ).
The molecular partition function and the chemical equilibrium constant. The chemical potential of an ideal gas in terms of its molecular partition function is
$$
\mu_i = -k_B T \ln!\left(\frac{q_i}{N_i}\right) = \mu_i^\circ(T) + k_B T \ln!\left(\frac{N_i}{q_i^\circ}\right),
$$
where is the partition function per unit standard-state volume or pressure. For a chemical reaction in an ideal gas mixture, the equilibrium condition combined with the partition-function expression for yields
$$
\boxed{K = \prod_i !\left(\frac{q_i / V}{N_A / V_\text{ref}}\right)^{\nu_i} !!\times, \exp!\left(-\frac{\Delta E_0}{R T}\right),}
$$
where is the difference of molecular ground-state energies (zero-point inclusive) between products and reactants, and the prefactor depends only on the partition-function ratios. This is the statistical-mechanical derivation of the mass-action law. The bridge between quantum chemistry and chemical thermodynamics is laid here: comes from solving the molecular Schrödinger equation (or its computational approximations — Hartree-Fock, DFT, coupled cluster, as developed in 14.05.02 pending for diatomics and generalised to polyatomics); and come from the spectroscopic constants and measured by infrared and microwave spectroscopy; is universal. From these molecular inputs, is computable from first principles for any gas-phase reaction.
A worked microscopic example: H dissociation. Consider . The bond dissociation energy is kJ/mol, giving kJ/mol (endothermic). At 2000 K, the partition-function ratio (using the molecular constants of : K, K) gives a prefactor of order (driven mainly by the translational factor for the dissociated H atoms gaining translational entropy). The exponential factor is . Multiplying, — strongly favouring intact at 2000 K, consistent with experiment. At 5000 K the exponential factor becomes and the prefactor grows, giving — dissociation now favoured, again consistent with experiment. The bridge is exact: chemical thermodynamics built from recovers what statistical mechanics predicts from partition functions, and both recover what spectroscopy measures.
The Boltzmann factor's predictive power. The exponential is the most consequential function in chemistry. It controls reaction rates (Arrhenius factor ), conformational populations of biomolecules (), spectroscopic line intensities (population of upper level in a transition), the population inversion threshold for lasers, the magnetic susceptibility of paramagnets through Curie's law, the dissociation of weak electrolytes, the fraction of high-energy molecules in a gas (Maxwell-Boltzmann velocity distribution), the rate of nuclear fusion in stellar cores (Gamow penetration through Coulomb barriers), the temperature dependence of semiconductor conductivity, the entropy of mixing in alloys and polymers, the Eyring transition-state-theory rate constants, the Marcus theory of electron transfer, and the kinetics of protein unfolding. The Boltzmann factor identifies the macroscopic with the microscopic: macroscopic concentration ratios are microscopic Boltzmann-weighted population ratios, and the temperature is the universal exchange rate between energy and entropy that the second law enforces.
Chemistry emergent from molecular ensembles. The macroscopic concept of a chemical species — "an N molecule" with definite energy levels and partition functions — itself depends on the timescale of observation. The Born-Oppenheimer separation between electronic and nuclear motion that lets us define "the bond energy" as a well-defined quantity rests on the large mass ratio between nuclei and electrons and the consequent timescale separation. Slower timescales (rotational state populations, conformational equilibria, isomerisation) appear in the ensemble as additional partition-function factors; faster timescales (electronic transitions induced by light) appear as time-dependent perturbations not captured by the equilibrium ensemble. The thermodynamic limit — that macroscopic intensive variables become well-defined as with fixed — guarantees that the macroscopic concentrations are sharp (no thermal fluctuations of order unity), while small systems (single molecules, nanoscale aggregates, individual cells) exhibit measurable thermodynamic fluctuations governed by the same statistical mechanics.
Synthesis. Putting these together, chemical thermodynamics is the macroscopic average of a microscopic statistical theory, with the partition function as the central object; the Gibbs energy is in the appropriate ensemble; the equilibrium constant is a ratio of molecular partition functions weighted by a Boltzmann factor of the energy difference. The central insight is that this bridge identifies macroscopic equilibrium with microscopic maximum entropy, and the bridge is exact in the thermodynamic limit. The pattern recurs across every domain where statistical mechanics applies: builds toward the canonical-ensemble framework 11.04.01 pending, generalises to the Maxwell-Boltzmann velocity distribution 11.02.01 pending, and is dual to the grand-canonical ensemble used for open systems where particle number fluctuates. Appears again in the connection between the molecular partition function and quantum chemistry 14.04.01 pending, where the molecular energy levels that feed into are computed by solving the electronic Schrödinger equation.
Full proof set [Master]
Proposition 1 (Equilibrium condition from Gibbs energy minimisation). For a closed system at constant and undergoing a single chemical reaction , the equilibrium composition satisfies , where is the equilibrium constant.
Proof. The Gibbs energy of the system at composition is . As the reaction proceeds by extent , the mole numbers change by , so $$ dG = \sum_i \mu_i, dN_i = \left(\sum_i \nu_i \mu_i\right) d\xi = \Delta_r G, d\xi. $$ At equilibrium at constant , is minimised with respect to , so requires . Substituting : $$ \Delta_r G = \sum_i \nu_i \mu_i^\circ + RT \sum_i \nu_i \ln a_i = \Delta_r G^\circ + RT \ln Q, $$ where . Setting at equilibrium with : $$ \Delta_r G^\circ + RT \ln K = 0 \implies \Delta_r G^\circ = -RT \ln K. \quad \square $$
Proposition 2 (van't Hoff equation). The temperature dependence of the equilibrium constant satisfies .
Proof. From Proposition 1, . Differentiate with respect to : $$ \frac{d \ln K}{dT} = -\frac{1}{R}, \frac{d}{dT}!\left(\frac{\Delta_r G^\circ}{T}\right). $$ The Gibbs-Helmholtz equation (proved by direct calculation from and ) applied to gives . Substituting: $$ \frac{d \ln K}{dT} = -\frac{1}{R} \cdot \left(-\frac{\Delta_r H^\circ}{T^2}\right) = \frac{\Delta_r H^\circ}{RT^2}. \quad \square $$
Proposition 3 (Clausius-Clapeyron equation). Along the liquid-vapour coexistence curve of a pure substance, assuming the vapour behaves as an ideal gas and the condensed-phase molar volume is negligible compared to that of the vapour, .
Proof. Equality of chemical potentials across the coexistence curve: . Differentiating along the curve, . Substituting the molar Gibbs differential : $$ -S_{m,\text{liq}} dT + V_{m,\text{liq}} dP = -S_{m,\text{vap}} dT + V_{m,\text{vap}} dP. $$ Rearranging: $$ \frac{dP}{dT} = \frac{S_{m,\text{vap}} - S_{m,\text{liq}}}{V_{m,\text{vap}} - V_{m,\text{liq}}} = \frac{\Delta S_\text{vap}}{\Delta V_\text{vap}}. $$ At the reversible phase transition , so , giving the Clapeyron equation . Assuming , . Assuming ideal-gas behaviour for the vapour, , so $$ \frac{dP}{dT} = \frac{P \Delta H_\text{vap}}{R T^2} \implies \frac{d \ln P}{dT} = \frac{\Delta H_\text{vap}}{RT^2}. \quad \square $$
Proposition 4 (Helmholtz free energy from the canonical partition function). For a system in the canonical ensemble at temperature , volume , and particle number , the Helmholtz free energy is , where is the canonical partition function.
Proof. The canonical probability of microstate is with . The Gibbs entropy is $$ S = -k_B \sum_i p_i \ln p_i = -k_B \sum_i p_i (-\beta E_i - \ln Z) = k_B \beta \langle E \rangle + k_B \ln Z = \frac{U}{T} + k_B \ln Z. $$ Solving: , hence . The left side is the Helmholtz free energy by definition, so .
Corollary (Boltzmann's entropy formula in the microcanonical limit). For an isolated system with accessible microstates at fixed energy, (Boltzmann's entropy formula). Inside the microcanonical ensemble, all microstates are equiprobable, so the Gibbs entropy collapses to .
Connections [Master]
Thermodynamic potentials and Legendre transforms
11.01.02pending. The physics-side treatment of the four thermodynamic potentials develops the Legendre-transform machinery in detail and gives the geometric framing of Maxwell relations as closed-form identities on the thermodynamic state-space manifold. The chemistry-side treatment here builds on that foundation by specialising to constant- chemical-reaction conditions where is the natural object. The cross-link is reciprocal: the physics unit develops the abstract structure; this unit develops the chemical-reaction specialisation.Canonical ensemble
11.04.01pending. The statistical-mechanical bridge developed in §4 of this unit (partition function , Helmholtz free energy ) is grounded in the canonical ensemble. The peer unit derives the Boltzmann distribution from the maximum-entropy principle with energy constraint; this unit applies that derivation to molecular partition functions and reaction equilibria. The cross-link is the foundational reason chemical equilibrium constants emerge from microscopic dynamics: is a ratio of partition-function factors weighted by a Boltzmann factor of the energy-level difference.Maxwell-Boltzmann distribution
11.02.01pending. The Boltzmann factor that controls equilibrium populations of energy levels in chemical equilibrium is the same factor that controls the velocity distribution of a classical gas. The bridge is that both are special cases of the canonical-ensemble probability , with being electronic+vibrational+rotational energy for chemical equilibrium or kinetic energy for the velocity distribution. The peer unit develops the Maxwell-Boltzmann case in detail; this unit's partition-function machinery generalises to all degrees of freedom.Hydrogen-atom quantum chemistry
14.04.01pending. The molecular ground-state energy that enters the partition-function expression for the equilibrium constant is computed by solving the electronic Schrödinger equation. For chemistry beyond hydrogen, the methods are Hartree-Fock, density-functional theory, and post-HF correlation methods (CI, CC, MP perturbation), developed in the MO theory unit14.05.02pending. The bridge from quantum chemistry to chemical thermodynamics is: molecular electronic-structure calculations produce and the spectroscopic constants (, ); these feed into the molecular partition function ; the equilibrium constant is then computable from first principles.Molecular orbital theory
14.05.02pending. The bond dissociation energies and zero-point energies that enter in the partition-function derivation of are direct outputs of molecular orbital calculations. The MO unit gives the methodology for computing for diatomics and polyatomics; this unit gives the framework in which controls the macroscopic equilibrium constant. The cross-link is essential for ab initio prediction of equilibrium constants without empirical fitting.Stoichiometry and gas laws
14.03.01provide the balanced equations, mole-fraction algebra, and ideal-gas law that underpin standard-state calculations throughout this unit. The stoichiometric coefficients in are the same as those in the balanced reaction equation, and the ideal-gas law underlies the relation for gas-phase species.Chemical kinetics
14.08.01. Thermodynamics predicts where equilibrium lies (the destination); kinetics predicts how long it takes to get there (the path and pace). The rate constants and of the forward and reverse reactions satisfy at equilibrium — a beautiful identification of a thermodynamic ratio with a microscopic-rate ratio. The Arrhenius factor in the rate constants is the same Boltzmann factor that governs the partition-function ratios.Acid-base equilibrium
14.10.01is a direct application of the equilibrium constant to proton-transfer reactions. The acid dissociation constant , the base ionisation constant , and the water self-ionisation constant are all instances of the general framework developed here, with pH being a logarithm of a chemical potential.Electrochemistry
14.11.01applies to redox reactions, identifying the cell potential with the Gibbs energy of the redox reaction. The Nernst equation is the electrochemical analog of , with the bridge being .Metabolic thermodynamics
17.04.01. Living cells run reactions at constant body temperature and constant cytoplasmic pressure — exactly the conditions where Gibbs energy is the natural variable. ATP hydrolysis ( kJ/mol at pH 7) drives coupled reactions that would otherwise be non-spontaneous, exploiting the additivity of across coupled reactions. The cellular maintenance of metabolic concentration ratios far from chemical equilibrium is the macroscopic signature of life as a non-equilibrium thermodynamic system.Origin of life and prebiotic thermodynamics
19.15.01pending. The free-energy landscape of prebiotic chemistry — the reducing conditions of the early Earth that made organic synthesis thermodynamically favourable, the disequilibrium environments (hydrothermal vents, atmosphere-ocean interfaces) that powered the first metabolisms — is governed by the same framework developed here. The bridge between geochemistry and biochemistry runs through chemical thermodynamics.Biomolecules in cells overview
17.01.01. The condensation and hydrolysis reactions that assemble and disassemble biological macromolecules — peptide bonds, phosphodiester bonds, glycosidic bonds — are governed by the same framework developed here. ATP coupling, the central thermodynamic mechanism in living systems, is introduced in the biomolecules unit as the strategy by which cells drive thermodynamically unfavourable polymerisation reactions, and the additivity of across coupled reactions explains how catabolic exergonicity powers anabolic endergonicity.Membrane transport — passive and active
17.02.02. The Nernst equation derived here for electrochemical cells is the same equation that governs ion electrochemical potentials across biological membranes. The free-energy framework used to quantify passive and active transport in17.02.02is a direct application of the chemical-potential and equilibrium thermodynamics developed in this unit. Active transport (Na+/K+-ATPase, V-type ATPase) consumes ATP's free energy to move ions against their electrochemical gradients, illustrating coupled-reaction thermodynamics at the membrane scale.
Historical & philosophical context [Master]
The concept of free energy emerged from the problem of reconciling the first and second laws of thermodynamics for chemical processes. Hermann von Helmholtz [Helmholtz1882] introduced the function (now Helmholtz free energy) in 1882 in his treatise Die Thermodynamik chemischer Vorgänge, identifying it as the maximum work obtainable from a closed system at constant temperature. Josiah Willard Gibbs [Gibbs1878] developed the complete framework of chemical thermodynamics in his 1876-78 monograph On the Equilibrium of Heterogeneous Substances, published in the obscure Transactions of the Connecticut Academy. Gibbs introduced the chemical potential , the phase rule , the conditions for chemical equilibrium , and the geometric construction of phase diagrams from the common-tangent method on the Gibbs energy surface. His work was so mathematically dense that it took decades to be fully appreciated in Europe; Wilhelm Ostwald's 1892 German translation and Pierre Duhem's 1893 French commentary were instrumental in its dissemination, and Le Châtelier's 1899 French translation made Gibbs accessible to the chemical-engineering community.
Le Chatelier [LeChatelier1884] published his principle in 1884, and Karl Ferdinand Braun independently stated a similar result in 1887. The combined Le Chatelier-Braun principle is a qualitative statement of what the van't Hoff equation (also 1884) quantifies: the temperature dependence of follows from the sign of . The formal proof that Le Chatelier's principle follows from thermodynamic stability conditions () was given by Prigogine and Defay in their 1954 Chemical Thermodynamics. Jacobus Henricus van't Hoff [vantHoff1884] derived the equation in his 1884 Études de Dynamique Chimique, building on his earlier 1874 La Chimie dans l'Espace (which introduced stereochemistry) and on his identification of osmotic pressure with gas pressure through the law — a deep insight that won him the inaugural 1901 Nobel Prize in Chemistry.
The Clausius-Clapeyron equation has a more complicated history. Émile Clapeyron published the equation for general phase transitions in 1834, working within the caloric theory of heat that predated the first law; Clausius reformulated it in modern thermodynamic language in 1850 and applied it to the liquid-vapour equilibrium with the ideal-gas approximation that gives the modern Clausius-Clapeyron form. The phase-diagram methodology of binary mixtures was developed by H. W. Bakhuis Roozeboom in the 1890s-1910s in his five-volume Die heterogenen Gleichgewichte vom Standpunkte der Phasenlehre, applying Gibbs's phase rule to metallurgy, geology, and chemistry.
The statistical-mechanical bridge that identifies thermodynamic potentials with logarithms of partition functions is due to Ludwig Boltzmann (1877) [Boltzmann1877], who derived the entropy formula from the combinatorial counting of microstates, and Josiah Willard Gibbs again, in his 1902 Elementary Principles in Statistical Mechanics. Gibbs introduced the modern ensemble formalism (microcanonical, canonical, grand canonical) and proved that the canonical-ensemble Helmholtz energy equals . The Boltzmann-Gibbs framework was challenged by the ergodicity question — does the time average over a trajectory equal the ensemble average over phase space? — which was settled in important special cases by Birkhoff (1931) and von Neumann (1932) [vonNeumann1932] in the mathematical ergodic theorem; the general case remains open for most realistic chemical systems but the framework's empirical predictions are unambiguous.
The distinction between thermodynamic spontaneity () and kinetic feasibility (reasonable reaction rate) is one of the most important conceptual points in chemistry. The hydrogen-oxygen reaction to form water has kJ/mol at 298 K, yet a mixture of and is kinetically stable at room temperature because the activation barrier is about 400 kJ/mol. A spark provides the activation energy, and the reaction proceeds explosively. This distinction motivates the entire field of catalysis: lowering the activation barrier without changing is what makes industrially viable conversion of thermodynamically favourable reactions possible.
The Haber-Bosch process is a case study in the thermodynamics-kinetics tension. Fritz Haber and Carl Bosch developed the high-pressure, moderate-temperature process between 1908 and 1913 [Haber1909], using an iron catalyst to achieve reasonable rates at temperatures where equilibrium is still moderately favourable. Bosch's engineering of the high-pressure equipment was as significant as Haber's chemistry; the process earned Haber the 1918 Nobel Prize and Bosch the 1931 Nobel Prize. The Haber-Bosch process now produces around 200 million tonnes of ammonia per year and supports an estimated half of the world's food production via synthetic nitrogen fertilisers — perhaps the single most consequential application of chemical thermodynamics in human history.
Bibliography [Master]
@article{Gibbs1878,
author = {Gibbs, J. W.},
title = {On the Equilibrium of Heterogeneous Substances},
journal = {Transactions of the Connecticut Academy of Arts and Sciences},
volume = {3},
year = {1876-1878},
pages = {108-248, 343-524}
}
@article{Helmholtz1882,
author = {Helmholtz, H. von},
title = {Die Thermodynamik chemischer Vorgänge},
journal = {Sitzungsberichte der Königlich Preussischen Akademie der Wissenschaften zu Berlin},
year = {1882},
pages = {22-39}
}
@article{LeChatelier1884,
author = {Le Chatelier, H.},
title = {Sur un énoncé général des lois des équilibres chimiques},
journal = {Comptes Rendus de l'Académie des Sciences},
volume = {99},
year = {1884},
pages = {786-789}
}
@book{vantHoff1884,
author = {van't Hoff, J. H.},
title = {Études de Dynamique Chimique},
publisher = {Frederik Muller and Co., Amsterdam},
year = {1884}
}
@article{Boltzmann1877,
author = {Boltzmann, L.},
title = {Über die Beziehung zwischen dem zweiten Hauptsatze der mechanischen Wärmetheorie und der Wahrscheinlichkeitsrechnung respektive den Sätzen über das Wärmegleichgewicht},
journal = {Wiener Berichte},
volume = {76},
year = {1877},
pages = {373-435}
}
@book{GibbsStatMech1902,
author = {Gibbs, J. W.},
title = {Elementary Principles in Statistical Mechanics},
publisher = {Yale University Press, New Haven},
year = {1902}
}
@article{Haber1909,
author = {Haber, F.},
title = {Über die Darstellung des Ammoniaks aus Stickstoff und Wasserstoff},
journal = {Zeitschrift für Elektrochemie und angewandte physikalische Chemie},
volume = {16},
year = {1910},
pages = {244-246}
}
@book{vonNeumann1932,
author = {von Neumann, J.},
title = {Mathematische Grundlagen der Quantenmechanik},
publisher = {Springer, Berlin},
year = {1932}
}
@article{Clapeyron1834,
author = {Clapeyron, B. P. É.},
title = {Mémoire sur la puissance motrice de la chaleur},
journal = {Journal de l'École Polytechnique},
volume = {14},
year = {1834},
pages = {153-190}
}
@article{Clausius1850,
author = {Clausius, R.},
title = {Über die bewegende Kraft der Wärme und die Gesetze, welche sich daraus für die Wärmelehre selbst ableiten lassen},
journal = {Annalen der Physik und Chemie},
volume = {79},
year = {1850},
pages = {368-397, 500-524}
}
@article{CahnHilliard1958,
author = {Cahn, J. W. and Hilliard, J. E.},
title = {Free energy of a nonuniform system. I. Interfacial free energy},
journal = {Journal of Chemical Physics},
volume = {28},
year = {1958},
pages = {258-267}
}
@book{Callen1985,
author = {Callen, H. B.},
title = {Thermodynamics and an Introduction to Thermostatistics},
edition = {2},
publisher = {Wiley, New York},
year = {1985}
}
@book{McQuarrie2000,
author = {McQuarrie, D. A.},
title = {Statistical Mechanics},
publisher = {University Science Books, Sausalito},
year = {2000}
}
@book{AtkinsPaula2023,
author = {Atkins, P. and de Paula, J.},
title = {Physical Chemistry},
edition = {12},
publisher = {Oxford University Press},
year = {2023}
}
@book{Tro2023,
author = {Tro, N. J.},
title = {Chemistry: A Molecular Approach},
edition = {6},
publisher = {Pearson},
year = {2023}
}
@book{PrigogineDefay1954,
author = {Prigogine, I. and Defay, R.},
title = {Chemical Thermodynamics},
publisher = {Longmans, London},
year = {1954}
}
Cycle 6 Track B deepening of the Wave 3 chemistry unit (originally produced by claude-glm-5.1 in Wave 3). Master tier expanded from a single sub-section (1000 words) to four named H2 sub-sections (9000 words combined) per the Cycle 4 style-parity contract. Status promoted to shipped. Prerequisites trimmed to the one shipped/pending-registered ID (11.04.01 canonical ensemble); other foundation cross-links moved to Connections. Lean status remains none with an expanded mathlib_gap that names the differential-forms hierarchy and the Legendre-transform library as the specific Mathlib modules whose gluing to chemistry-specific concepts would be required for a meaningful formalisation. All hooks_out targets remain proposed; promotion to confirmed awaits cross-domain reviewer audit per CHEMISTRY_PLAN §6.