Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

2.4. Molecular Partition Functions

See also: Course-wide Conventions & Notation

Run the code: Notebook for Section 2.4, in which you can change and rerun the Python cells of this section in your browser.

Overview and Learning Objectives

Molecular partition functions extend the canonical framework from a single particle to many particles, and then to molecules with internal degrees of freedom. This section shows how distinguishability affects counting (and therefore QQ), introduces the 1/N!1/N! correction for identical particles, and motivates factorization into translational, rotational, vibrational, and electronic contributions.

In Section 2.2 and Section 2.3, we derived the canonical partition function and ensemble averages for the microstates of a general system and applied them to a single two-state particle. Here we extend these ideas to closed systems of many identical, independent particles with internal degrees of freedom. We also introduce indistinguishability, which is central to quantum statistical mechanics.

Learning objectives:

Core Ideas and Derivations

Partition Function for Distinguishable Particles

We take the particles to be independent, meaning that they do not interact with one another. The energy EE of an NN-particle microstate is then the sum of the one-particle energies for the occupied states:

El=εia+εjb+εkc+⋯E_l = \varepsilon_i^a + \varepsilon_j^b + \varepsilon_k^c + \cdots

Here i,j,k,…i, j, k, \ldots index the one-particle microstates occupied by particles a,b,c,…a, b, c, \ldots, and ll indexes the corresponding NN-particle microstate of the system.

The canonical partition function QQ for NN distinguishable, independent particles is given by the sum over all possible microstates:

Q=∑le−βEl=∑i=1M∑j=1M∑k=1M⋯exp⁡ ⁣[−β(εia+εjb+εkc+⋯ )]=(∑i=1Me−βεia)(∑j=1Me−βεjb)(∑k=1Me−βεkc)⋯=qaqbqc⋯\begin{aligned} Q &= \sum_l e^{-\beta E_l} \\ &= \sum_{i = 1}^M \sum_{j = 1}^M \sum_{k = 1}^M \cdots \exp\!\left[-\beta\left(\varepsilon_i^a + \varepsilon_j^b + \varepsilon_k^c + \cdots\right)\right] \\ &= \left(\sum_{i = 1}^M e^{-\beta \varepsilon_i^a}\right) \left(\sum_{j = 1}^M e^{-\beta \varepsilon_j^b}\right) \left(\sum_{k = 1}^M e^{-\beta \varepsilon_k^c}\right)\cdots \\ &= \boxed{q_a q_b q_c \cdots} \end{aligned}

where qaq_a, qbq_b, and qcq_c are the canonical partition functions for the particles aa, bb, and cc, respectively.

If the particles share the same one-particle spectrum so that qa=qb=qc=⋯=qq_a=q_b=q_c=\cdots=q, then

Q=qN.Q = q^N.

Partition Function for Indistinguishable Particles

Particles are identical when they have the same intrinsic properties, such as mass and charge. Identical particles that move through the same volume, such as the molecules of a gas, are indistinguishable. Identical particles held at separate sites, such as the atoms of a crystal, can be labeled by their sites and are treated as distinguishable (Section 2.6).

Figure 2.4.1 places the two counts side by side. Each microstate of the indistinguishable particles corresponds to 2!=22! = 2 microstates of the distinguishable particles, which differ only by the exchange of the labels a and b.

Source
Loading...

Figure 2.4.1:Two particles in a system of four one-particle microstates, with at most one particle per one-particle microstate. Each row shows two microstates of the distinguishable particles a and b that differ only by the exchange of the labels, and the single microstate of indistinguishable particles to which both correspond. The Roman numerals are those of the two tables above. The 12 microstates of the distinguishable particles correspond to 12/2!=612/2! = 6 microstates of the indistinguishable particles.

If the particles are indistinguishable and identical, we can write the canonical partition function as

Q=qNN!.Q = \frac{q^N}{N!}.

The factor of 1/N!1/N! corrects an overcounting. In the NN-fold sum that defines qNq^N, each choice of NN different one-particle states appears N!N! times, once for every way of assigning the labeled particles to those states. For indistinguishable particles, these N!N! terms describe a single microstate, so dividing by N!N! counts it once. The correction is not exact for terms in which two or more particles share a state, but such terms have a negligible effect on ln⁡Q\ln Q when the thermally accessible one-particle states far outnumber the particles. This condition holds for gases at ordinary temperatures and pressures (Section 2.5).

The 1/N!1/N! Factor and Extensive Properties

The Helmholtz free energy, A=−kBTln⁡QA = -k_{\mathrm B}T\ln Q (Section 2.3), is extensive, so ln⁡Q\ln Q must double when the system is doubled at fixed temperature, that is, when N→2NN \to 2N and V→2VV \to 2V. For a gas, the one-particle partition function is proportional to the volume, q=V/Λ3q = V/\Lambda^3, where Λ\Lambda depends only on the temperature and the particle mass (Section 2.5). Without the factor of 1/N!1/N!,

ln⁡Q=Nln⁡(VΛ3),\ln Q = N \ln\left(\frac{V}{\Lambda^3}\right),

and doubling NN and VV gives 2Nln⁡(2V/Λ3)=2ln⁡Q+2Nln⁡22N\ln(2V/\Lambda^3) = 2\ln Q + 2N\ln 2, which is not twice the original value. With the factor of 1/N!1/N! and Stirling’s approximation, ln⁡N!≈Nln⁡N−N\ln N! \approx N\ln N - N,

ln⁡Q=Nln⁡(VΛ3)−ln⁡N!≈Nln⁡(VNΛ3)+N,\ln Q = N \ln\left(\frac{V}{\Lambda^3}\right) - \ln N! \approx N \ln\left(\frac{V}{N\Lambda^3}\right) + N,

which is NN times a function of the ratio V/NV/N and therefore doubles when NN and VV double. The extra term 2Nln⁡22N\ln 2 in the first case would appear as an entropy increase of 2NkBln⁡22Nk_{\mathrm B}\ln 2 when two samples of the same gas at the same temperature and density are combined. This inconsistency is known as the Gibbs paradox, and treating identical particles as indistinguishable removes it.

Partition Function for Molecules

To a good approximation, the total energy of a molecule is the sum of translational, rotational, vibrational, and electronic energies. The translational motion of the center of mass separates exactly. The Born–Oppenheimer approximation separates the electronic motion from the nuclear motion, and the rigid-rotor and harmonic-oscillator models (Section 2.7 and Section 2.6) separate rotation from vibration. The result is

ελ=εitrans+εjrot+εkvib+εmelec\varepsilon_{\lambda} = \varepsilon_i^{\mathrm{trans}} + \varepsilon_j^{\mathrm{rot}} + \varepsilon_k^{\mathrm{vib}} + \varepsilon_m^{\mathrm{elec}}

where ii, jj, kk, and mm label the translational, rotational, vibrational, and electronic states, respectively, and λ\lambda labels the microstate of the molecule, which is specified by all four.

The canonical partition function qq for a molecule is given by the sum over all possible microstates:

q=∑λe−βελ=∑i∑j∑k∑mexp⁡ ⁣[−β(εitrans+εjrot+εkvib+εmelec)]=∑ie−βεitrans∑je−βεjrot∑ke−βεkvib∑me−βεmelec=qtrans qrot qvib qelec,\begin{aligned} q &= \sum_{\lambda} e^{-\beta \varepsilon_{\lambda}} \\ &= \sum_{i} \sum_{j} \sum_{k} \sum_{m} \exp\!\left[-\beta\left(\varepsilon_i^{\mathrm{trans}} + \varepsilon_j^{\mathrm{rot}} + \varepsilon_k^{\mathrm{vib}} + \varepsilon_m^{\mathrm{elec}}\right)\right] \\ &= \sum_{i} e^{-\beta \varepsilon_i^{\mathrm{trans}}} \sum_{j} e^{-\beta \varepsilon_j^{\mathrm{rot}}} \sum_{k} e^{-\beta \varepsilon_k^{\mathrm{vib}}} \sum_{m} e^{-\beta \varepsilon_m^{\mathrm{elec}}} \\ &= q_{\mathrm{trans}}\,q_{\mathrm{rot}}\,q_{\mathrm{vib}}\,q_{\mathrm{elec}}, \end{aligned}

where qtransq_{\mathrm{trans}}, qrotq_{\mathrm{rot}}, qvibq_{\mathrm{vib}}, and qelecq_{\mathrm{elec}} are the canonical partition functions for the translational, rotational, vibrational, and electronic energies, respectively.

Worked Example

Counting microstates and the 1/N!1/N! factor (single occupancy)

Two particles occupy M=4M=4 one-particle microstates, with at most one particle per microstate.

  1. Distinguishable particles

    The number of distinct arrangements (permutations) is

    Wdist=M!(M−N)!=4!2!=12.W_{\mathrm{dist}}=\frac{M!}{(M-N)!}=\frac{4!}{2!}=12.
  2. Indistinguishable particles

    Exchanging labels does not create a new microstate, so

    Windist=1N!M!(M−N)!=12⋅12=6.W_{\mathrm{indist}}=\frac{1}{N!}\frac{M!}{(M-N)!}=\frac{1}{2}\cdot 12=6.
  3. Connection to partition functions

    If each allowed arrangement has the same energy E0E_0, then the canonical partition function is proportional to the count:

    Qdist=Wdist e−βE0,Qindist=Windist e−βE0=Qdist2!.Q_{\mathrm{dist}} = W_{\mathrm{dist}}\,e^{-\beta E_0},\qquad Q_{\mathrm{indist}} = W_{\mathrm{indist}}\,e^{-\beta E_0}=\frac{Q_{\mathrm{dist}}}{2!}.
  4. Comparison with qN/N!q^N/N!

    If each one-particle microstate has energy E0/2E_0/2, then q=4e−βE0/2q = 4e^{-\beta E_0/2} and

    qNN!=422! e−βE0=8 e−βE0,\frac{q^N}{N!}=\frac{4^2}{2!}\,e^{-\beta E_0}=8\,e^{-\beta E_0},

    compared with Qindist=6 e−βE0Q_{\mathrm{indist}} = 6\,e^{-\beta E_0} from step 3. The formula divides all 42=164^2=16 assignments of two labeled particles by 2!2!, including the assignments in which both particles occupy the same microstate, which steps 1 to 3 exclude. For N=2N=2 and M=1000M=1000, the same comparison gives 499 500499\,500 and 500 000500\,000, so the difference is small when the microstates far outnumber the particles.

Result. The 1/N!1/N! factor corrects overcounting for identical particles and changes the thermodynamics derived from ln⁡Q\ln Q.

Concept Checks

  1. What physical experiment would fail to distinguish two microstates that differ only by swapping particle labels?

  2. Why does QQ factorize for independent particles but not for interacting particles?

  3. What assumption about occupancy is built into the combinatorial formulas in this section?

  4. How would the counting change if multiple occupancy were allowed?

Key Takeaways