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.

7.2. Equilibrium Constants from Microscopic Properties

Course-wide Conventions & Notation

Overview and Learning Objectives

Section 7.1 derived the equilibrium constant from macroscopic thermochemistry: given ΔrH∘\Delta_r H^\circ and ΔrS∘\Delta_r S^\circ (e.g., from NIST/JANAF/ATcT tables), one computes ΔrG∘\Delta_r G^\circ and then K=exp⁡(−ΔrG∘/RT)K = \exp(-\Delta_r G^\circ/RT).

In this section we derive the same KK from microscopic information — molecular masses, rotational and vibrational constants, electronic degeneracies, and bond dissociation energies. This completes the statistical-mechanical bridge built in Chapters 2, 4, and 5: Chapter 4 connected the canonical partition function to the Helmholtz free energy, A=−kBTln⁡QA = -k_{\mathrm B}T\ln Q; Chapter 5 showed that AA is the master potential at constant T,VT,V, generating SS, UU, PP, and — as we now develop — the chemical potentials μi\mu_i. Once we have μi\mu_i in terms of the single-molecule partition functions qiq_i, the equilibrium condition ∑iνiμi=0\sum_i\nu_i\mu_i = 0 gives KK directly in terms of molecular properties.

The payoff: for any gas-phase reaction, we can predict K(T)K(T) from spectroscopic data alone, and we can see which molecular features (masses, moments of inertia, bond strengths) drive the equilibrium.

Learning objectives:

Core Ideas and Derivations

7.2.1 The right potential for equilibrium at constant T,VT,V

Consider a general gas-phase reaction

νAA(g)+νBB(g)⇌νYY(g)+νZZ(g),\nu_A A(g) + \nu_B B(g) \rightleftharpoons \nu_Y Y(g) + \nu_Z Z(g),

under the ideal-gas assumption used throughout this chapter.

Section 5.1 established that at constant TT and VV, the relevant thermodynamic potential is the Helmholtz free energy AA, with differential

dA=−S dT−P dV+∑iμi dni.dA = -S\,dT - P\,dV + \sum_i \mu_i\,dn_i.

At constant TT and VV,

dA=∑iμi dni=(∑iνi μi)dξ,dA = \sum_i \mu_i\,dn_i = \left(\sum_i \nu_i\,\mu_i\right)d\xi,

where the second equality uses dni=νi dξdn_i = \nu_i\,d\xi from § 7.1.1. Equilibrium at fixed T,VT,V occurs at a minimum of AA, so

(∂A∂ξ)T,V=0⟹∑iνi μi=0.\left(\frac{\partial A}{\partial \xi}\right)_{T,V} = 0 \qquad\Longrightarrow\qquad \boxed{\sum_i \nu_i\,\mu_i = 0.}

This is the chemical equilibrium condition written in terms of chemical potentials. It is the same condition as in § 7.1 — the equilibrium position of a reaction does not depend on whether we hold PP or VV fixed, because μi\mu_i is intensive. What changes between the two cases is only which potential is stationary: GG at fixed T,PT,P, AA at fixed T,VT,V.


7.2.2 Partition function of an ideal-gas mixture

From § 2.4 (factorization over independent subsystems) and § 2.5 (indistinguishable particles), the canonical partition function of a mixture of ideal gases factorizes:

Q(T,V,{Ni})=∏iQi(T,V,Ni),Qi(T,V,Ni)=qi(T,V)NiNi!,\boxed{ Q(T,V,\{N_i\}) = \prod_i Q_i(T,V,N_i), \qquad Q_i(T,V,N_i) = \frac{q_i(T,V)^{N_i}}{N_i!}, }

where qiq_i is the single-molecule partition function for species ii. Each species is treated independently because ideal-gas molecules don’t interact.


7.2.3 Chemical potentials from the partition function

Section 4.3 established

A=−kBTln⁡Q,A = -k_{\mathrm B}T\ln Q,

and § 5.1 developed AA as the “master potential” at fixed T,VT,V, with SS, UU, PP all following from its derivatives. The chemical potential μi\mu_i is the natural extension of that derivative machinery to composition:

μi(per molecule)≡(∂A∂Ni)T,V,{Nj≠i}=−kBT(∂ln⁡Q∂Ni)T,V,{Nj≠i}.\mu_i^{\text{(per molecule)}} \equiv \left(\frac{\partial A}{\partial N_i}\right)_{T,V,\{N_{j\neq i}\}} = -k_{\mathrm B}T\left(\frac{\partial \ln Q}{\partial N_i}\right)_{T,V,\{N_{j\neq i}\}}.

Using Eq. (5),

ln⁡Q=∑i(Niln⁡qi−ln⁡Ni!),\ln Q = \sum_i \left(N_i\ln q_i - \ln N_i!\right),

and applying Stirling’s approximation in the thermodynamic limit (ln⁡Ni!≈Niln⁡Ni−Ni\ln N_i! \approx N_i\ln N_i - N_i, as introduced in § 2.5),

(∂ln⁡Q∂Ni)T,V,{Nj≠i}=ln⁡qi−ln⁡Ni=ln⁡ ⁣(qiNi).\left(\frac{\partial \ln Q}{\partial N_i}\right)_{T,V,\{N_{j\neq i}\}} = \ln q_i - \ln N_i = \ln\!\left(\frac{q_i}{N_i}\right).

So the per-molecule chemical potential is

μi(per molecule)=−kBTln⁡ ⁣(qiNi).\mu_i^{\text{(per molecule)}} = -k_{\mathrm B}T\ln\!\left(\frac{q_i}{N_i}\right).

Multiplying by Avogadro’s number NAN_{\mathrm A} to express μi\mu_i on a per-mole basis (as used throughout § 7.1),

μi=−RTln⁡ ⁣(qiNi)=RTln⁡ ⁣(Niqi),\boxed{ \mu_i = -RT\ln\!\left(\frac{q_i}{N_i}\right) = RT\ln\!\left(\frac{N_i}{q_i}\right), }

where R=NAkBR = N_{\mathrm A}k_{\mathrm B}. Equation (11) is the microscopic counterpart of the thermodynamic expression μi=μi∘(T)+RTln⁡(Pi/P∘)\mu_i = \mu_i^\circ(T) + RT\ln(P_i/P^\circ) from § 7.1.3: both express the chemical potential of a gas-phase species, one in terms of partial pressure and a reference μi∘(T)\mu_i^\circ(T), the other in terms of microscopic counting through qi/Niq_i/N_i.


7.2.4 Equilibrium constants from partition functions

Inserting Eq. (11) into the equilibrium condition ∑iνiμi=0\sum_i \nu_i\mu_i=0:

∑iνiln⁡ ⁣(qiNi)=0⟹∏i(qiNi)νi=1.\sum_i \nu_i\ln\!\left(\frac{q_i}{N_i}\right)=0 \qquad\Longrightarrow\qquad \prod_i\left(\frac{q_i}{N_i}\right)^{\nu_i}=1.

Equivalently,

∏iNiνi=∏iqiνi.\boxed{ \prod_i N_i^{\nu_i} = \prod_i q_i^{\nu_i}. }

Relating to KcK_c and KpK_p

Define a number concentration ci=Ni/Vc_i = N_i/V. Dividing Eq. (13) by VΔνV^{\Delta\nu} (with Δν≡∑iνi\Delta\nu \equiv \sum_i \nu_i) gives

Kc≡∏iciνi=∏i ⁣(qiV)νi.K_c \equiv \prod_i c_i^{\nu_i} = \prod_i\!\left(\frac{q_i}{V}\right)^{\nu_i}.

For an ideal gas, Pi=ci kBTP_i = c_i\, k_{\mathrm B}T, so the pressure-based equilibrium constant is

Kp≡∏i(PiP∘)νi=Kc (kBTP∘)Δν.\boxed{ K_p \equiv \prod_i\left(\frac{P_i}{P^\circ}\right)^{\nu_i} = K_c\,\left(\frac{k_{\mathrm B}T}{P^\circ}\right)^{\Delta\nu}. }

The prefactor (kBT/P∘)Δν(k_{\mathrm B}T/P^\circ)^{\Delta\nu} converts between “molecules per unit volume” and “pressure ratios relative to P∘P^\circ.” When Δν=0\Delta\nu = 0, this prefactor is unity and Kp=KcK_p = K_c is dimensionless directly.

So, once you can compute the single-molecule partition functions qiq_i, you can compute KcK_c (and then KpK_p).


7.2.5 Example: HI(g)\mathrm{HI(g)} formation

Consider

H2(g)+I2(g)⇌2HI(g).\mathrm{H_2(g) + I_2(g) \rightleftharpoons 2HI(g)}.

Here,

Δν=2−1−1=0,\Delta\nu = 2 - 1 - 1 = 0,

so Kp=KcK_p = K_c and the equilibrium constant is

K=qHI2qH2 qI2.\boxed{ K = \frac{q_{HI}^2}{q_{H_2}\,q_{I_2}}. }

The Δν=0\Delta\nu = 0 choice is pedagogically convenient: it makes volume factors cancel exactly (see the Worked Example below), so KK depends only on intrinsic molecular properties (masses, rotational and vibrational constants, bond strengths). With Δν≠0\Delta\nu \neq 0 reactions, one would need the (kBT/P∘)Δν(k_{\mathrm B}T/P^\circ)^{\Delta\nu} factor from Eq. (15) to convert between KcK_c and KpK_p.


7.2.6 Single-molecule partition function for a diatomic ideal gas

Within the rigid-rotor/harmonic-oscillator approximations developed in Chapter 2 (see § 2.8 for the summary table), the single-molecule partition function for a diatomic gas factors as

q=qtrans qrot qvib qelec.q = q_{\mathrm{trans}}\,q_{\mathrm{rot}}\,q_{\mathrm{vib}}\,q_{\mathrm{elec}}.

Putting the four factors together (cf. § 2.8):

qdiatomic=VΛ3⏟qtrans  Tσ Θrot⏟qrot  e−Θvib/(2T)1−e−Θvib/T⏟qvib  g1 eD0/(RT)⏟qelec.\boxed{ q_{\text{diatomic}} = \underbrace{\frac{V}{\Lambda^3}}_{q_{\mathrm{trans}}} \;\underbrace{\frac{T}{\sigma\,\Theta_{\mathrm{rot}}}}_{q_{\mathrm{rot}}} \;\underbrace{\frac{e^{-\Theta_{\mathrm{vib}}/(2T)}}{1-e^{-\Theta_{\mathrm{vib}}/T}}}_{q_{\mathrm{vib}}} \;\underbrace{g_1\,e^{D_0/(RT)}}_{q_{\mathrm{elec}}}. }

where the thermal de Broglie wavelength is

Λ≡h22πmkBT.\Lambda \equiv \sqrt{\frac{h^2}{2\pi m k_{\mathrm B}T}}.

Notes on parameters


7.2.7 KK for H2+I2⇌2HI\mathrm{H_2 + I_2 \rightleftharpoons 2HI} in terms of molecular parameters

Substituting Eq. (20) into K=qHI2/(qH2 qI2)K = q_{HI}^2/(q_{H_2}\,q_{I_2}), and using the fact that volume cancels when Δν=0\Delta\nu=0 (see Worked Example), yields

K=(mHI2mH2 mI2)3/2  σH2σI2σHI2 ΘrotH2 ΘrotI2(ΘrotHI)2  (1−e−ΘvibH2/T)(1−e−ΘvibI2/T)(1−e−ΘvibHI/T)2  exp⁡ ⁣(2D0HI−D0H2−D0I2RT).\boxed{ K = \left(\frac{m_{HI}^2}{m_{H_2}\,m_{I_2}}\right)^{3/2} \; \frac{\sigma_{H_2}\sigma_{I_2}}{\sigma_{HI}^2}\, \frac{\Theta_{\mathrm{rot}}^{H_2}\,\Theta_{\mathrm{rot}}^{I_2}}{\left(\Theta_{\mathrm{rot}}^{HI}\right)^2} \; \frac{\bigl(1-e^{-\Theta_{\mathrm{vib}}^{H_2}/T}\bigr)\bigl(1-e^{-\Theta_{\mathrm{vib}}^{I_2}/T}\bigr)}{\bigl(1-e^{-\Theta_{\mathrm{vib}}^{HI}/T}\bigr)^2} \; \exp\!\left(\frac{2D_0^{HI}-D_0^{H_2}-D_0^{I_2}}{RT}\right). }

With σH2=σI2=2\sigma_{H_2}=\sigma_{I_2}=2 and σHI=1\sigma_{HI}=1, the symmetry-number prefactor is σH2σI2/σHI2=4\sigma_{H_2}\sigma_{I_2}/\sigma_{HI}^2 = 4; vibrational zero-point factors have cancelled in pairs under the chosen energy zero, leaving only the (1−e−Θvib/T)(1-e^{-\Theta_{\mathrm{vib}}/T}) “hot-mode” factors.

Equation (22) makes the microscopic physics very explicit:


7.2.8 Numerical evaluation: K(700 K)K(700\,\mathrm{K}) from spectroscopic data

To see the microscopic-to-macroscopic bridge at work, we evaluate Eq. (22) at T=700 KT = 700\ \mathrm{K} using standard spectroscopic constants (e.g., from Herzberg or the NIST WebBook):

speciesMM (g/mol)Θrot\Theta_{\mathrm{rot}} (K)Θvib\Theta_{\mathrm{vib}} (K)D0D_0 (kJ/mol)σ\sigmag1g_1
H2\mathrm{H_2}2.01687.66332432.0721
I2\mathrm{I_2}253.8080.0537308148.8121
HI\mathrm{HI}127.9129.253266294.6711
import numpy as np

R = 8.314462618      # J mol^-1 K^-1

# Spectroscopic / thermochemical constants
mol = {
    "H2": dict(M=2.016e-3,   Theta_rot=87.6,   Theta_vib=6332.0, D0=432.07e3, sigma=2),
    "I2": dict(M=253.808e-3, Theta_rot=0.0537, Theta_vib=308.0,  D0=148.81e3, sigma=2),
    "HI": dict(M=127.912e-3, Theta_rot=9.25,   Theta_vib=3266.0, D0=294.67e3, sigma=1),
}
T = 700.0  # K

# Mass factor (translational)
mass_factor = (mol["HI"]["M"]**2 / (mol["H2"]["M"] * mol["I2"]["M"]))**1.5

# Rotational factor
rot_factor = (mol["H2"]["sigma"] * mol["I2"]["sigma"] / mol["HI"]["sigma"]**2) \
             * (mol["H2"]["Theta_rot"] * mol["I2"]["Theta_rot"]
                / mol["HI"]["Theta_rot"]**2)

# Vibrational factor: "hot-mode" (1 - exp(-Th_vib/T)) factors
def vfac(Tvib): return 1 - np.exp(-Tvib/T)
vib_factor = (vfac(mol["H2"]["Theta_vib"]) * vfac(mol["I2"]["Theta_vib"])
              / vfac(mol["HI"]["Theta_vib"])**2)

# Bond-energy factor: exp((2 D0_HI - D0_H2 - D0_I2)/RT)
dD0 = 2*mol["HI"]["D0"] - mol["H2"]["D0"] - mol["I2"]["D0"]  # J/mol
bond_factor = np.exp(dD0 / (R*T))

K = mass_factor * rot_factor * vib_factor * bond_factor

print(f"T = {T:.0f} K")
print(f"  Mass (translational) factor:       {mass_factor:10.3f}")
print(f"  Rotational factor:                 {rot_factor:10.4f}")
print(f"  Vibrational factor:                {vib_factor:10.4f}")
print(f"  Bond-energy factor exp(dD0/RT):    {bond_factor:10.4f}")
print(f"  2 D0(HI) - D0(H2) - D0(I2):        {dD0/1e3:+.2f} kJ/mol")
print()
print(f"  K(700 K) from molecular constants: {K:.1f}")
print(f"  Experimental K (Bodenstein, ~700 K): ~54")
T = 700 K
  Mass (translational) factor:          180.817
  Rotational factor:                     0.2199
  Vibrational factor:                    0.3627
  Bond-energy factor exp(dD0/RT):        4.2784
  2 D0(HI) - D0(H2) - D0(I2):        +8.46 kJ/mol

  K(700 K) from molecular constants: 61.7
  Experimental K (Bodenstein, ~700 K): ~54

Discussion. The predicted K≈62K \approx 62 compares to an experimental value near 54 at 700 K. Agreement at the ~15 % level is about what one should expect from the rigid-rotor/harmonic-oscillator approximation combined with uncertainties in Θrot\Theta_{\mathrm{rot}}, Θvib\Theta_{\mathrm{vib}}, and D0D_0 — corrections for anharmonicity, vibration–rotation coupling, and centrifugal distortion (none of which are in our model) would each shift KK by a few percent.

More importantly, the decomposition makes the physics transparent:

The lesson: every digit of KK can be traced back to a specific molecular property, and the relative sizes of the four factors tell us which part of molecular structure matters most for this particular equilibrium. A student who computed ΔrG∘\Delta_r G^\circ from thermochemical tables (§ 7.1.6) and a student who computed KK from spectroscopic constants (§ 7.2.8) would arrive at the same number by very different routes — and each route teaches something different about why the equilibrium sits where it does.


Worked Example

Why volume cancels when Δν=0\Delta\nu=0: H2+I2⇌2HI\mathrm{H_2+I_2\rightleftharpoons 2HI}

Writing each single-molecule partition function as qi=qtrans,i qint,iq_i = q_{\mathrm{trans},i}\,q_{\mathrm{int},i} with qtrans,i=V/Λi3q_{\mathrm{trans},i}=V/\Lambda_i^3 (and qint,iq_{\mathrm{int},i} collecting the rotational, vibrational, and electronic factors, all of which are VV-independent):

K=qHI2qH2 qI2=(V/ΛHI3)2 qint,HI2(V/ΛH23)(V/ΛI23) qint,H2 qint,I2.K = \frac{q_{HI}^2}{q_{H_2}\,q_{I_2}} = \frac{(V/\Lambda_{HI}^3)^2\,q_{\mathrm{int},HI}^2}{(V/\Lambda_{H_2}^3)(V/\Lambda_{I_2}^3)\,q_{\mathrm{int},H_2}\,q_{\mathrm{int},I_2}}.

Because Δν=2−1−1=0\Delta\nu = 2-1-1 = 0, the volume factors cancel:

V2V⋅V=1,\frac{V^2}{V\cdot V}=1,

leaving

K=(ΛH23ΛI23ΛHI6) qint,HI2qint,H2 qint,I2.K=\left(\frac{\Lambda_{H_2}^3\Lambda_{I_2}^3}{\Lambda_{HI}^6}\right)\, \frac{q_{\mathrm{int},HI}^2}{q_{\mathrm{int},H_2}\,q_{\mathrm{int},I_2}}.

Since Λ∝m−1/2\Lambda\propto m^{-1/2}, the translational contribution collapses to the mass factor (mHI2/(mH2mI2))3/2\left(m_{HI}^2/(m_{H_2}m_{I_2})\right)^{3/2} seen in Eq. (22).

Result. For reactions with Δν=0\Delta\nu=0, KK is independent of volume (and pressure) in the ideal-gas model; microscopic physics enters through masses and internal partition functions only. For reactions with Δν≠0\Delta\nu\ne 0, the uncancelled factors of VV reappear as the (kBT/P∘)Δν(k_{\mathrm B}T/P^\circ)^{\Delta\nu} conversion in Eq. (15).

Concept Checks

  1. Why is the Helmholtz free energy the relevant potential for equilibrium at constant T,VT,V, and why does the resulting condition ∑iνiμi=0\sum_i\nu_i\mu_i=0 match the condition derived in § 7.1 at constant T,PT,P?

  2. Where does Stirling’s approximation enter the derivation of μi=−RTln⁡(qi/Ni)\mu_i = -RT\ln(q_i/N_i), and what physical limit makes it reasonable?

  3. In Eq. (20), how would the vibrational factor change if we chose the energy zero at the bottom of the potential well rather than at v=0v=0? Show that KK is unchanged by this rechoice (as it must be).

  4. Vibrational contributions to KK often matter most at high temperatures. Why? Reason from the temperature dependence of (1−e−Θvib/T)(1-e^{-\Theta_{\mathrm{vib}}/T}).

  5. Suppose all three species in a Δν=0\Delta\nu=0 reaction had identical masses, moments of inertia, vibrational frequencies, and g1g_1 values, but different D0D_0 values. What would KK reduce to, and what does this limit teach you about when “bond counting” arguments are quantitatively trustworthy?

Key Takeaways