Electronic Partition Function
Chlorine atoms are yellow-green as a gas, but that is not why their thermodynamics gets interesting. Deep in the electronic structure of atomic chlorine sits a spin-orbit excited state only 881 cm⁻¹ above the ground term. At room temperature this state is partly populated, and it measurably changes the atom's entropy and heat capacity. The electronic partition function, , is the bookkeeping tool that captures this effect. Most textbook problems quietly set , and for closed-shell molecules like H₂O or CO₂ at 298 K that is an excellent approximation. But for open-shell species, radicals, and many transition-metal atoms, low-lying excited electronic states sit close enough in energy to matter. Getting right is often the difference between a calculated entropy that matches experiment and one that is off by several J/mol·K. This article builds from first principles: ground-state degeneracy, Boltzmann population of excited terms, and the practical truncation of an infinite sum. You will see the general formula. Then you will see when it collapses to a single number. Finally you will work through NO and atomic chlorine as concrete, checkable examples.
- sums Boltzmann factors over electronic energy levels, each weighted by its degeneracy .
- Electronic energy gaps are typically thousands of cm⁻¹, so (ground-state degeneracy) for most closed-shell molecules at 298 K.
- Open-shell atoms and radicals (O, Cl, NO) often have low-lying spin-orbit states within a few hundred to a thousand cm⁻¹, giving .
- The reference energy is always set at the ground state, so the ground term contributes exactly with no exponential suppression.
- feeds directly into electronic contributions to entropy, heat capacity, and free energy, and ultimately into equilibrium constants computed from partition functions.
- Key idea: is a finite, temperature-dependent sum over electronic states measured from the ground state, and it is essentially never an infinite or divergent series in practice because upper electronic states lie so high that they never contribute.
The electronic partition function is the degeneracy-weighted Boltzmann sum over electronic energy levels measured from the ground state; because electronic spacings are usually huge compared to it reduces to the ground-state degeneracy, except in the important minority of cases (open-shell atoms, some radicals) where a low-lying excited term contributes a calculable fractional population.
The physical picture
Recall that the total molecular partition function factorizes into translational, rotational, vibrational, and electronic pieces,
because each degree of freedom has its own, independent set of energy levels (see Factorization of the Molecular Partition Function). The electronic partition function handles the population of electronic states — different arrangements of electrons around the nuclei, each with its own energy and degeneracy. Electronic energy differences are large. A typical electronic excitation energy is 20,000–50,000 cm⁻¹, corresponding to visible or ultraviolet light. Compare this to at 298 K, which is about 207 cm⁻¹. The ratio is on the order of 100–200, so is astronomically small — the excited electronic state is essentially unpopulated. This is why chemists almost always write , the degeneracy of the ground electronic state, and move on. The exception is open-shell species with low-lying states arising from spin-orbit coupling or near-degenerate orbital occupancies. Atomic oxygen's ³P ground term splits into sublevels spanning about 226 cm⁻¹. Atomic chlorine's ground term ²P splits into (ground) and (excited, 881 cm⁻¹ above). Nitric oxide, NO, has a low-lying spin-orbit doublet split by 121 cm⁻¹. In all these cases is comparable to or larger than the gap, so the excited state is thermally accessible and must be included explicitly.
The core relations
where: is the degeneracy of electronic level , its energy measured from the ground state (), Boltzmann's constant, absolute temperature.
where: the ground term always contributes exactly because by convention.
where: this is the ordinary closed-shell limit used almost universally for stable molecules at room temperature.
where: is the fraction of molecules or atoms found in electronic level at temperature .
where: these give the electronic contributions to internal energy and entropy once is known.
Goal. Show how the general partition function definition reduces to a finite sum over electronic states, and why truncation after one or two excited terms is normally exact for chemical purposes.
Step 1 — start from the definition. For any set of energy levels accessible to a system, the partition function is
Electronic states often come in degenerate groups — for example, the sublevels of Cl's ²P₃/₂ term are degenerate at zero field. Grouping states of equal energy into levels of degeneracy turns the sum over states into a sum over levels,
Step 2 — fix the energy zero at the ground state. Partition functions are only meaningful up to a choice of energy origin, and the conventional choice for sets for the ground electronic level. This is different from, say, vibrational partition functions referenced to the bottom of the well versus the zero-point level — the choice must always be stated, and here it means the ground level's Boltzmann factor is exactly 1. Consequently
Step 3 — estimate the size of the excited-state terms. For a typical stable closed-shell molecule, the first electronic excitation energy is of order 40,000 cm⁻¹ (a UV transition near 250 nm). At 298 K, cm⁻¹, so
This term is utterly negligible — no realistic measurement could detect its effect on . Hence for the vast majority of stable molecules,
Step 4 — identify when the approximation fails. The approximation breaks down when is only a few hundred to a couple of thousand cm⁻¹ — the regime of spin-orbit splittings in open-shell atoms (O, Cl, F, Br, I) and some diatomic radicals (NO, OH in certain states). There is of order 1–5, and is not negligible. The sum must then be kept to at least two terms:
Step 5 — check convergence and truncation validity. Because degeneracies do not grow without bound (they are set by angular momentum coupling and are typically 1–6), and because energies generally increase monotonically and steeply for successive electronic terms, the series converges rapidly. In practice, once the second excited state lies more than about 5,000 cm⁻¹ above the ground state, its Boltzmann factor is below at room temperature and can be dropped. This justifies truncating the infinite sum to one or two terms — never an approximation of convenience alone, but one that can be checked numerically term by term.
Worked examples
Example 1 — Ground-state degeneracy only: atomic sodium at 298 K. Atomic sodium in its ground state has electron configuration [Ne]3s¹, giving a ²S₁/₂ term. The degeneracy of a term with total angular momentum is , so here . The first excited state (the famous sodium D-line transition, 3s → 3p) lies at about 16,978 cm⁻¹ (the D₂ line, 589.0 nm) above the ground state. Compute the Boltzmann factor at 298 K. First, in cm⁻¹:
Then
The excited-state contribution is
So
to any digit precision that matters chemically. Sanity check: the answer is simply , exactly as the qualitative argument predicts for a species whose first excitation is a genuine electronic (not spin-orbit) transition tens of thousands of cm⁻¹ up. This is the "boring but correct" default outcome for the overwhelming majority of molecules and atoms.
Example 2 — Two-term sum: ground-state atomic chlorine at 298 K and 1000 K. Atomic chlorine's ground configuration is [Ne]3s²3p⁵, giving a ²P term split by spin-orbit coupling into (lower, ground) and (upper). Degeneracies:
The spin-orbit splitting is above the ground level. There are no other electronic states low enough to matter (the next excited terms of Cl lie tens of thousands of cm⁻¹ higher), so a two-term sum is appropriate. At K: as before.
The fraction of Cl atoms in the excited state is
about 0.7% — small, but not zero, and enough to shift the calculated entropy measurably from the naive value. At K (relevant to combustion or high-temperature chlorine chemistry):
Now , roughly 12% of atoms in the excited spin-orbit state — a genuinely significant population that must be included in any serious thermodynamic calculation of Cl atom entropy or heat capacity at combustion temperatures.
Sanity check: increases monotonically with from a low-temperature limit of exactly (all population in the ground level as ) toward a high-temperature limit of (both levels equally accessible relative to their degeneracies as ). Both computed values, 4.028 and 4.563, sit correctly between these bounds and increase with , as required by the physics.
Limiting cases & common traps
| Situation | Behavior of | Practical rule |
|---|---|---|
| Closed-shell molecule (H₂O, CO₂, CH₄) | – cm⁻¹ | (singlet, nondegenerate) |
| Open-shell atom with spin-orbit splitting (O, Cl, F) | – cm⁻¹ | Keep two (or more) terms explicitly |
| All population in ground level | ||
| (or ) | Levels populated by degeneracy ratio | |
| Radical with near-degenerate ground state (NO₂, some transition-metal atoms) | Several low states possible | Sum may need three or more terms |
The chemist behind it
The modern treatment of sits at the intersection of atomic spectroscopy and statistical mechanics, a synthesis most associated with Giuseppe Occhialini's contemporaries in early 20th-century spectroscopy — but the person most directly responsible for connecting electronic term structure to measurable thermodynamic quantities was Robert Mulliken, whose systematic work on electronic states of diatomic molecules gave spectroscopists the term symbols and degeneracies that feed directly into sums used today.
Origins · 1 minRobert S. Mulliken and how this was discovered
Ask the tutor: How does a nonzero q_elec change the calculated standard entropy of atomic chlorine gas compared to using q_elec = 1?
Why doesn't q_elec ever diverge, given that atoms and molecules have infinitely many electronic states?
In principle an atom has infinitely many bound electronic states approaching an ionization limit, plus a continuum above it. In practice, energies increase steeply enough, and is small enough at chemically relevant temperatures, that terms beyond the first one or two excited states contribute a completely negligible Boltzmann factor. The infinite series converges rapidly in the regime chemists care about, so truncating after one or two terms introduces no meaningful error. Divergence becomes a real concern only near ionization or in exotic plasma conditions, well outside standard thermodynamic calculations.
How is q_elec different from q_vib or q_rot in terms of its energy reference?
Vibrational partition functions are commonly referenced either to the bottom of the potential well or to the zero-point vibrational level, and both conventions appear in textbooks with different resulting formulas. Rotational partition functions naturally start from with zero energy. The electronic partition function follows the same logic as rotation: the ground electronic level is defined as the energy zero, so and its Boltzmann factor is always exactly 1, contributing to the sum with no ambiguity.
Does q_elec affect equilibrium constants?
Yes, directly. Equilibrium constants computed from partition functions involve ratios of values for reactants and products, each including its factor. For reactions involving open-shell atoms or radicals — combustion intermediates like O, Cl, OH, or NO — the electronic partition function contributes a real, calculable correction to beyond the dominant translational and rotational terms. This becomes especially important at combustion or atmospheric temperatures where excited spin-orbit states are appreciably populated.
Can q_elec ever be less than the ground-state degeneracy g0?
No. Every term in the sum is positive, and the ground-state term always contributes exactly with . Adding any further positive terms can only increase the total. So always, with equality only in the strict limit where excited states are completely inaccessible, either because or because is enormous compared to .