Vibrational Partition Function
Heat a diatomic gas like HCl or CO to 500 K, and the molecule starts to buzz. Bonds stretch and compress with a definite quantum-mechanical rhythm. How much of that thermal energy goes into vibration, rather than translation or rotation? The answer hinges on a single sum: the vibrational partition function. This quantity matters because it converts a discrete ladder of vibrational energy levels into a continuous, temperature-dependent number. That number tells us how populated the excited vibrational states are at a given temperature. It feeds directly into predictions of heat capacity, internal energy, entropy, and even reaction rates through transition-state theory. This article derives the vibrational partition function for a harmonic oscillator using a geometric series. You will see how the choice of energy zero changes the formula's appearance. Then you will see why it never changes any measurable prediction. Two worked numerical examples ground the theory in real vibrational frequencies.
- The vibrational partition function sums Boltzmann factors over the harmonic oscillator ladder
- Because the levels are evenly spaced, the sum is an exact geometric series with a closed form.
- Two conventions exist: measuring energy from the potential minimum (with zero-point energy included) or from the ground vibrational state itself.
- At room temperature, most small-molecule vibrations have , meaning nearly all molecules sit in .
- grows toward only when is comparable to or larger than the vibrational temperature .
- Key idea: the evenly-spaced harmonic ladder turns an infinite sum of Boltzmann factors into one clean closed-form expression, valid until anharmonicity or dissociation intervenes.
Because harmonic oscillator energy levels are equally spaced by , the vibrational partition function is a geometric series in that sums exactly to a closed form; the only subtlety is deciding whether the zero of energy sits at the bottom of the potential well or at the true vibrational ground state.
The physical picture
A diatomic molecule's bond behaves, to a good first approximation, like a mass on a spring. Quantum mechanics quantizes this motion into evenly spaced energy levels,
where is the classical vibrational frequency set by the force constant and reduced mass. The term is the zero-point energy: even in the lowest state , the oscillator never sits still. This is a direct consequence of the uncertainty principle, and it is the same ladder structure used in the quantum treatment of vibrational spectroscopy — but here we ask a thermodynamic question, not a spectroscopic one: how are molecules distributed across these levels at temperature ? At low temperature, essentially every molecule occupies . As rises, higher rungs become thermally accessible, following a Boltzmann distribution. The vibrational partition function is precisely the normalizing sum over this distribution — it counts the "effective number of thermally accessible vibrational states." For most small molecules at room temperature, , so this number stays close to 1: vibration is the "frozen" mode compared to translation and rotation, which is why it plays only a small role in ordinary room-temperature heat capacities.
The second figure shows how itself behaves as a function of the dimensionless ratio , where is the vibrational temperature. This single curve governs every harmonic oscillator, regardless of the specific molecule.
The core relations
where: the sum runs over all vibrational quantum numbers with energies measured from a chosen zero.
where: superscript denotes energy measured from the bottom of the potential well, so the zero-point energy is retained explicitly.
where: this form measures energy from the level itself, absorbing the zero-point energy into the reference.
where: is the vibrational temperature, a convenient benchmark comparing to thermal energy .
where: the two conventions differ only by a temperature-independent-in-form (but -dependent through the exponential) prefactor tied to the zero-point energy.
Goal: obtain a closed-form expression for starting from the definition of the partition function applied to evenly spaced harmonic oscillator levels.
Step 1. Write the defining sum. The partition function for a single vibrational mode is
with measured from the bottom of the potential well.
Step 2. Separate the zero-point term. Because the exponent is a sum, the exponential factors:
The zero-point piece does not depend on , so it factors outside the sum:
Step 3. Recognize the geometric series. Let . Since and , we know for all physical temperatures, so the series
converges absolutely. This is the standard geometric series, summing to .
Step 4. Assemble the result. Substituting back,
Step 5. Shift the energy zero to the ground vibrational state. If instead we measure energies relative to , so , the same steps (without the extra zero-point prefactor) give
Both are legitimate; they differ only by the constant energy shift between the two zero choices, exactly analogous to choosing a reference state for enthalpy. Physical observables built from — internal energy differences, heat capacities, entropy — are insensitive to this choice, because they depend only on derivatives of with respect to , and an additive constant in the exponent (equivalently, a multiplicative factor independent of -derivatives beyond the shift) simply relabels the energy origin.
Worked examples
Example 1 — HCl at 298 K (foundational). HCl has a fundamental vibrational wavenumber . Convert to a vibrational temperature. First, find :
Then
At K, the ratio is
Using the ground-state-referenced formula,
Sanity check: since , we expect , meaning virtually all HCl molecules sit in at room temperature. The result confirms this: only about 1 molecule in 2 million occupies or higher. This is why vibrational modes contribute negligibly to for HCl gas near 298 K — a preview of the heat-capacity discussion to come.
Example 2 — I₂ at 500 K (applied, harder). Iodine's bond is far softer and heavier than HCl's, with . We want at 500 K, and also the fraction of molecules in . Step 1: compute .
Step 2: form the ratio and exponential.
Step 3: evaluate .
Step 4: find the fraction in using (since the Boltzmann factor for referenced to itself is exactly 1).
Step 5: find the fraction in : (24.8%). Sanity check: , leaving about 29.2% spread over , consistent with a slowly decaying geometric distribution rather than a sharply peaked one. Compare to HCl: because I₂'s bond is weaker and heavier ( over an order of magnitude smaller), vibration is thermally "active" at a modest 500 K, giving instead of . This directly foreshadows why heavy, floppy molecules show measurable vibrational heat capacity at temperatures where stiff hydrides do not.
Limiting cases & common traps
| Regime | Behavior | Interpretation |
|---|---|---|
| Vibration frozen; only populated | ||
| Classical equipartition limit, high- expansion of | ||
| Stiff bonds / light atoms (H–X) | Large | near room T (e.g., HCl, HF) |
| Weak bonds / heavy atoms | Small | even at moderate T (e.g., I₂, Br₂) |
| Near dissociation, high | Harmonic formula breaks down | Real potentials are anharmonic (Morse-like); the geometric series overcounts high-lying states |
The chemist behind it
The vibrational partition function belongs to the broader statistical mechanical framework built by Josiah Willard Gibbs and Ludwig Boltzmann, but its molecular, quantized form owes its practical shape to the era of vibrational spectroscopy that followed the birth of quantum mechanics. Once Planck's quantization of oscillator energy and the Bohr–Sommerfeld picture matured into full quantum theory, chemists like Richard C. Tolman and later Henry Eyring applied these evenly spaced vibrational levels directly to gas-phase thermodynamics, linking spectroscopic constants (vibrational wavenumbers measured by infrared and Raman spectroscopy) to bulk heat capacities and equilibrium constants. This synthesis, crystallized in texts by Fowler and Guggenheim and later by McQuarrie, is what allows a single infrared band position to predict a macroscopic thermodynamic property with no adjustable parameters.
Origins · 1 minRichard Chace Tolman and how this was discovered
Ask the tutor: How does differentiating q_vib with temperature give the Einstein heat capacity curve for vibrations?
Why is q_vib often close to 1 at room temperature?
Most common molecules have vibrational wavenumbers of several hundred to a few thousand cm⁻¹, corresponding to vibrational temperatures of hundreds to thousands of kelvin. At 298 K, is typically large, so is tiny and the geometric series barely exceeds its first term. Physically, this means nearly all molecules occupy the ground vibrational state, and excited vibrational levels are thermally inaccessible. Only soft, heavy-atom bonds like I–I or Br–Br have small enough to give noticeably above 1 near room temperature.
Does the choice of energy zero affect the calculated internal energy or heat capacity?
No. Shifting the zero of energy by a constant (here, the zero-point energy ) only adds a constant to 's derivative structure in a trivial, predictable way: it shifts the absolute internal energy by that same constant but leaves completely unchanged, since the constant has zero temperature derivative. Predicted heat capacities, entropies, and equilibrium constants (when computed consistently) come out identical regardless of which convention you use, as long as you are consistent throughout a calculation.
How does q_vib connect to the harmonic oscillator's heat capacity contribution?
Differentiating twice with respect to temperature produces the Einstein-type vibrational heat capacity formula, a bell-shaped function of that rises from zero at low toward the classical value (per mode) at high . This is the direct next step built on this partition function, covered in the treatment of heat capacity contributions from molecular modes. The vibrational partition function is the necessary starting point for that derivative-based analysis.
Is the harmonic oscillator approximation ever seriously wrong for q_vib?
Yes, particularly near dissociation or for highly anharmonic, floppy modes. Real potentials flatten out at large bond extension, so high- levels crowd together rather than remaining evenly spaced, and eventually the molecule dissociates rather than continuing up an infinite ladder. The harmonic geometric-series formula formally sums to infinity and can overestimate at very high temperatures. For most stable molecules well below their dissociation limit, though, the harmonic approximation is excellent and matches spectroscopic data closely.