Equilibrium Constants from Partition Functions
Consider the gas-phase reaction at 700 K. A spectroscopist can measure the bond length, vibrational frequency, and electronic degeneracy of each species. From those numbers alone, without touching a calorimeter, the equilibrium constant can be predicted to within a few percent. This is one of the great triumphs of statistical thermodynamics. The bridge between molecular structure and macroscopic equilibrium runs through the partition function. Once is known for every species, the Gibbs energy of reaction follows, and from that the equilibrium constant. This closes the loop between spectroscopy and thermodynamics. This article builds the statistical expression for from molecular partition functions. It separates the exponential energy factor from the entropic factor. It shows how to align energy zeros correctly using the reaction zero-point energy difference. It ends with two full numerical calculations of from molecular data.
- The equilibrium constant is built from the ratio of product to reactant partition functions per unit volume, each raised to its stoichiometric power.
- A crucial energy-zero correction appears because each species' partition function is referenced to its own zero-point level, not a common origin.
- This correction is the reaction zero-point energy difference , which enters as .
- Translational and rotational partition functions favor products with more mass and more moments of inertia; this is entropy in disguise.
- The method needs only spectroscopic constants (bond lengths, vibrational frequencies, electronic degeneracies) — no calorimetry required.
- Key idea: The equilibrium constant is the ratio of molecular partition functions per volume, corrected by a Boltzmann factor for the reaction's zero-point energy difference.
For a gas-phase reaction, the equilibrium constant equals a ratio of molecular partition functions (each per unit volume, raised to stoichiometric powers) multiplied by , because every partition function is computed relative to its own molecule's ground vibronic state and these separate zeros must be reconciled onto one energy scale before Boltzmann statistics can compare populations across species.
The physical picture
Statistical thermodynamics computes the Gibbs energy of each gas from its molecular partition function , then combines these into , and finally into . But there is a subtlety unique to reactions: partition functions for different molecules are conventionally referenced to their own zero-point energy. A partition function for HI is built on a ladder of energy levels whose zero is the HI ground vibronic state; a partition function for I₂ uses I₂'s own ground state as zero. When molecules interconvert in a reaction, their electronic and vibrational origins sit at different absolute energies on a true physical scale — set by bond dissociation energies and electronic energies of the separated atoms. To combine partition functions correctly, everything must be re-referenced to one common zero: typically the collection of atoms at rest, infinitely separated, in their ground electronic states. The energy needed to promote reactants (in their own ground vibronic states) into products (in their own ground vibronic states) is the reaction zero-point energy difference, . It plays the same role that or plays in classical thermodynamic tables — it is the reaction enthalpy at , referenced to nuclei-at-rest. Once this energy alignment is made, the equilibrium constant falls out of the condition , using the partition-function expression for the chemical potential of each perfect gas. The result separates cleanly into an entropic piece (a ratio of molecular partition functions, which encodes how much phase space each species has available) and an energetic piece (the Boltzmann factor for ).
The core relations
where: is the standard molar partition function of species (per mole, at ), is the stoichiometric number (positive for products, negative for reactants), and is the reaction zero-point energy difference per mole.
where: translational, rotational, vibrational, and electronic partition functions are separable and multiply for each species.
where: is molecular mass, is the container volume (replaced by for the standard molar quantity).
where: is the zero-point energy of one molecule of measured from the common (separated-atoms) reference.
where: this is the ordinary thermodynamic link connecting the statistical expression for to classical equilibrium thermodynamics.
Goal. Derive the expression for of a general gas-phase reaction
starting from the chemical potential of a perfect gas written in terms of its molecular partition function.
Step 1: Chemical potential from the partition function. For a perfect gas of indistinguishable molecules, the canonical partition function is , and the Helmholtz energy is . Using Stirling's approximation and , one finds
per mole, where is the molar partition function evaluated at the actual volume. To get the standard chemical potential , evaluate at , giving .
Step 2: Insert the zero-point energy explicitly. Every implicitly sums Boltzmann factors measured from that molecule's own ground state. Write this ground state's true energy (on the common, separated-atoms scale) as . Then the chemical potential referenced to the common scale is
where the first term is entropic (from internal, relative energy-level spacing) and the second restores the absolute energy origin.
Step 3: Form the reaction Gibbs energy.
Substituting Step 2 for each species and collecting terms,
where is the molar reaction zero-point energy difference — exactly the quantity depicted in the first figure.
Step 4: Apply . Equating the two expressions for and dividing by ,
Step 5: Exponentiate.
This is the master formula: a ratio of standard molar partition functions per mole, raised to stoichiometric powers, times the Boltzmann factor for the reaction's zero-point energy difference. Each is computed as the product of translational, rotational, vibrational, and electronic factors, with vibrational and electronic partition functions built using each molecule's own ground state as the local zero — consistent with the conventions used when deriving and separately.
Worked examples
Example 1 — Dissociation of I₂: I₂(g) ⇌ 2 I(g), at Data: I₂ bond length pm, vibrational wavenumber , dissociation energy from the ground vibrational state . Both I₂ and I have nondegenerate ground electronic states for this estimate ( from the level including spin-orbit degeneracy, ; we use these as electronic degeneracies). Translational partition functions (per mole, at Pa, so ):
For I atom, .
Numerator: . Denominator: . Ratio , so raised to the 3/2 power: . .
For I₂, , twice , so the translational factor scales as :
Rotational partition function of I₂ (symmetry number , homonuclear):
Numerator: ... computing carefully: ; ; times : product . Denominator: .
Vibrational partition function of I₂ (measured from its own zero-point level):
Electronic partition functions: ; (accounting for spin-orbit degeneracy of ground state I atom, standard tabulated value). Assemble for :
Numerator per-mole ratio: ; squared: ; times (electronic): . Denominator: ; times : gives . Entropic ratio: . Energy factor: (energy to dissociate I₂ from its ground vibrational level into two ground-state I atoms).
This is dimensionless ( referenced to ), meaning I₂ is only weakly dissociated at 1000 K — sensible, since is large. The literature value at 1000 K is close to , confirming the calculation.
Example 2 — Isotope exchange: at This reaction has no electronic contribution difference (all species singlet ground states, ) and, crucially, even though bond order is conserved, because zero-point vibrational energies differ with isotope mass. Approximate vibrational wavenumbers: , , (close to the reduced-mass-scaled estimate). Zero-point energies () contribute:
Using (i.e., in J when in cm⁻¹, times J·cm):
Per mole: (a small, positive value — this reaction is very weakly endothermic at due to imperfect harmonic cancellation).
Now the entropic (partition-function ratio) part. Translational factors: masses are , , (in atomic mass units, ). Since and are common factors that cancel in the ratio (2 HD over H₂ + D₂ has equal mole totals, 2 = 1+1), only the mass-dependence survives:
Rotational factors (using for H₂ and D₂, for heteronuclear HD; moments of inertia scale with reduced mass , bond length essentially isotope-independent, pm): ; ; . Since (high- limit valid at 300 K for these light rotors is marginal, but used here for the estimate, with common),
Using u-values directly: . This factor is close to unity, as expected since rotational symmetry differences (loss of in both reactants, gain of nondegenerate product count doubling) roughly balance mass effects. Vibrational factors are close to 1 at 300 K since for all three (H₂: ), so for each, contributing negligibly to the ratio (each is close to , ratio ). Combining: entropic ratio .
This compares well with the experimental/statistical literature value at 300 K reported in some tables using more refined anharmonic data; the harmonic, rigid-rotor treatment here is an estimate accurate to within the approximations used (rigid rotor at low underestimates rotational populations for H₂). The key qualitative result — of order 1, with a small positive from zero-point energy mismatch — is the physically important takeaway: isotope-exchange constants are governed almost entirely by zero-point energy differences, not by translational or electronic factors.
Limiting cases & common traps
| Situation | Behavior |
|---|---|
| (isodesmic, isotope-only reactions) | is set purely by symmetry numbers, masses, moments of inertia — a "pure entropy" reaction |
| ; approaches the ratio of partition functions' high- growth (often still temperature-dependent through ) | |
| for endothermic () reactions; frozen equilibrium | |
| Forgetting the common energy zero | Using tabulated values referenced to each molecule's own ground state, without adding , gives wildly wrong — often many orders of magnitude off |
| Symmetry number errors | Forgetting for homonuclear diatomics inflates by up to a factor of 2 per such species |
It is tempting to think is simply from a thermodynamic table. It is not — is specifically the difference in zero-point (T = 0, ground vibrational state) energies referenced to separated, stationary atoms. Converting between and the tabulated requires adding the enthalpy-difference integrals for each species — they are numerically close only when heat capacities of products and reactants nearly cancel.
The chemist behind it
This synthesis of spectroscopy and thermodynamics rests on statistical mechanics developed largely by Josiah Willard Gibbs, but its practical use for computing real equilibrium constants from molecular data was pioneered in the early twentieth century as spectroscopic data on diatomic and small polyatomic molecules became available. Henry Eyring and collaborators, working alongside contemporaries applying statistical mechanics to reaction rates and equilibria in the 1930s, helped establish partition-function methods as standard tools for physical chemists — turning band spectra into equilibrium constants without a single calorimetric measurement.
Ask the tutor: How would this formula change for a reaction involving a linear triatomic molecule with two rotational and four vibrational modes?
Why do we divide q by Avogadro's number NA in the formula for K?
The molar partition function used in the chemical potential formula for indistinguishable particles carries a factor from the Stirling approximation to , which effectively divides the naive partition function by per mole (equivalently, converts a per-particle partition function into the correct per-mole thermodynamic quantity). This ensures has the right reference state, consistent with the ideal-gas standard state used throughout classical thermodynamics.
How does this formula relate to the van't Hoff equation?
Differentiating with respect to using the statistical formula reproduces the van't Hoff equation, , once the temperature dependence of the partition-function ratio is included alongside the term. The statistical route additionally predicts the absolute magnitude and temperature dependence of itself, something van't Hoff's phenomenological law alone cannot supply.
Can this method be used for reactions involving polyatomic molecules?
Yes. The same master formula applies; only the individual become more elaborate, with three (or two, for linear molecules) rotational degrees of freedom, multiple vibrational modes each contributing its own factor , and possibly internal rotations treated separately. The essential physics — separate energy zeros reconciled by — is unchanged.
Why did the H2 + D2 example use approximate rather than exact spectroscopic constants?
The calculation illustrates the method transparently using rounded, textbook-level input data; real quantitative work uses anharmonicity-corrected vibrational term values and centrifugal-distortion-corrected rotational constants from high-resolution spectroscopy. The qualitative conclusion — that is close to unity and governed mainly by the small zero-point energy mismatch — is robust to these refinements.
What happens if Δε0 is negative, i.e., the reaction is exothermic at T = 0?
Then , boosting above what the entropic partition-function ratio alone would give. Highly exothermic reactions (large negative ) tend to have very large at low-to-moderate temperature, exactly as expected from the exponential sensitivity of equilibrium to bond energy differences, analogous to the Arrhenius-like sensitivity seen in rate constants.