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

See also: Course-wide Conventions & Notation

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

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 the NIST-JANAF Thermochemical Tables or the Active Thermochemical 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 Modules 2, 4, and 5: Module 4 connected the canonical partition function to the Helmholtz free energy, A=−kBTln⁡QA = -k_{\mathrm B}T\ln Q; Module 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

The Right Potential for Equilibrium at Constant T,VT,V

Consider a general gas-phase reaction

a A(g)+b B(g)⇌y Y(g)+z Z(g),a\,\mathrm{A(g)} + b\,\mathrm{B(g)} \rightleftharpoons y\,\mathrm{Y(g)} + z\,\mathrm{Z(g)},

under the ideal-gas assumption used throughout this module, with the signed stoichiometric coefficients νi\nu_i of Section 7.1.

Section 5.1 established that at constant TT and VV, the relevant thermodynamic potential is the Helmholtz free energy AA. When the amounts of the species can change, its differential acquires a term μi dni\mu_i\,dn_i for each species, as the differential of GG does in Section 6.1:

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 Section 7.1 (under Extent of Reaction ξ\xi). 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 has the same form as the condition of Section 7.1. What differs is the potential that is stationary: GG at fixed T,PT,P, and AA at fixed T,VT,V. The chemical potential can be taken from either potential (the second expression follows from G=A+PVG = A + PV):

μi=(∂G∂ni)T,P,nj≠i=(∂A∂ni)T,V,nj≠i.\mu_i = \left(\frac{\partial G}{\partial n_i}\right)_{T,P,n_{j\neq i}} = \left(\frac{\partial A}{\partial n_i}\right)_{T,V,n_{j\neq i}}.

Concept Check 1 asks why the two conditions agree, and Concept Check 1 of Section 7.1 asks what changes when the volume is held fixed instead of the pressure.


Partition Function of an Ideal-Gas Mixture

From Section 2.4 (factorization over independent subsystems, and the factor 1/N!1/N! for 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.


Chemical Potentials from the Partition Function

Section 4.3 established

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

and Section 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^{\mathrm{(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. (7.2.6),

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 Section 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^{\mathrm{(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 Section 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 (7.2.12) 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 Section 7.1: 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.


Equilibrium Constants from Partition Functions

Inserting Eq. (7.2.12) 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. (7.2.14) 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).

The Simplest Case: A⇌B\mathrm{A} \rightleftharpoons \mathrm{B}

For an isomerization, A⇌B\mathrm{A} \rightleftharpoons \mathrm{B}, Eq. (7.2.14) reads

K=NBNA=qBqA.K = \frac{N_{\mathrm{B}}}{N_{\mathrm{A}}} = \frac{q_{\mathrm{B}}}{q_{\mathrm{A}}}.

Both partition functions are sums over the levels of one molecule, and both measure the energy from the same zero. A molecule that can convert between the two forms therefore has a single set of levels, of which some belong to A and the others to B. At equilibrium every level is populated according to one Boltzmann distribution, and KK is the total population of the levels of B divided by the total population of the levels of A.

Figure 7.2.1 shows a model in which the lowest level of B lies above the lowest level of A, while the levels of B lie closer together. At the lower temperature almost all molecules occupy the lowest levels, which belong to A, and K<1K < 1. At the higher temperature the many levels of B together hold more molecules than the few levels of A, and K>1K > 1. The energy of the lowest level favors A, and the number of accessible levels favors B.

Source
Loading...

Figure 7.2.1:Populations of the levels of a model molecule with two forms, A and B, at (a) kBT=εk_{\mathrm{B}}T = \varepsilon and (b) kBT=4εk_{\mathrm{B}}T = 4\varepsilon. The levels of A lie at 0,2ε,4ε,…0, 2\varepsilon, 4\varepsilon, \dots and those of B at 3ε,3.5ε,4ε,…3\varepsilon, 3.5\varepsilon, 4\varepsilon, \dots. The length of each bar is the population of its level relative to the lowest level, and the dashed curve is the Boltzmann factor e−E/kBTe^{-E/k_{\mathrm{B}}T}, which is the same for both forms. KK is the total population of the levels of B divided by that of the levels of A, Eq. (7.2.17). The sums include the levels above 12ε12\varepsilon, which are not drawn.

In Figure 7.2.2, you can change the temperature and the energy of the lowest level of B in the same model, and follow qAq_{\mathrm{A}}, qBq_{\mathrm{B}}, and KK.

Figure 7.2.2:Populations of the levels of a molecule with two forms, A and B, and the equilibrium constant K=qB/qAK = q_{\mathrm{B}}/q_{\mathrm{A}}. Panel (a) shows the levels of both forms on one energy scale, with a bar for the population of each level. Panel (b) shows KK against temperature for the chosen energy of the lowest level of B, on a logarithmic scale, with the present temperature marked. The dashed line marks K=1K = 1.

Two things to try:

  1. Start from the levels of Figure 7.2.1, and raise the temperature until K=1K = 1. Compare the two partition functions at this temperature, and find the levels that hold most of the molecules of each form.

  2. Set the lowest level of B to the same energy as the lowest level of A, and raise the temperature from its lowest to its highest value. Neither form is now lower in energy. Follow how KK changes, and relate the change to the number of levels of each form that lie within kBTk_{\mathrm{B}}T of the lowest level.


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_{\mathrm{HI}}^2}{q_{\mathrm{H_2}}\,q_{\mathrm{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. (7.2.16) to convert between KcK_c and KpK_p.


Single-Molecule Partition Function for a Diatomic Ideal Gas

Within the rigid-rotor/harmonic-oscillator approximations developed in Module 2 (see Section 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. Section 2.8):

qdiatomic=VΛ3⏟qtrans  Tσ Θrot⏟qrot  11−e−Θvib/T⏟qvib  g1 eD0/(RT)⏟qelec.\boxed{ q_{\mathrm{diatomic}} = \underbrace{\frac{V}{\Lambda^3}}_{q_{\mathrm{trans}}} \;\underbrace{\frac{T}{\sigma\,\Theta_{\mathrm{rot}}}}_{q_{\mathrm{rot}}} \;\underbrace{\frac{1}{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


KK for H2+I2⇌2HI\mathrm{H_2 + I_2 \rightleftharpoons 2HI} in Terms of Molecular Parameters

Substituting Eq. (7.2.23) into K=qHI2/(qH2 qI2)K = q_{\mathrm{HI}}^2/(q_{\mathrm{H_2}}\,q_{\mathrm{I_2}}), and using the fact that volume cancels when Δν=0\Delta\nu=0 (see the 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{ \begin{aligned} K ={}& \left(\frac{m_{\mathrm{HI}}^2}{m_{\mathrm{H_2}}\,m_{\mathrm{I_2}}}\right)^{3/2} \; \frac{\sigma_{\mathrm{H_2}}\sigma_{\mathrm{I_2}}}{\sigma_{\mathrm{HI}}^2}\, \frac{\Theta_{\mathrm{rot}}^{\mathrm{H_2}}\,\Theta_{\mathrm{rot}}^{\mathrm{I_2}}}{\left(\Theta_{\mathrm{rot}}^{\mathrm{HI}}\right)^2} \\[1ex] &\times \frac{\bigl(1-e^{-\Theta_{\mathrm{vib}}^{\mathrm{H_2}}/T}\bigr)\bigl(1-e^{-\Theta_{\mathrm{vib}}^{\mathrm{I_2}}/T}\bigr)}{\bigl(1-e^{-\Theta_{\mathrm{vib}}^{\mathrm{HI}}/T}\bigr)^2} \; \exp\!\left(\frac{2D_0^{\mathrm{HI}}-D_0^{\mathrm{H_2}}-D_0^{\mathrm{I_2}}}{RT}\right). \end{aligned} }

With σH2=σI2=2\sigma_{\mathrm{H_2}}=\sigma_{\mathrm{I_2}}=2 and σHI=1\sigma_{\mathrm{HI}}=1, the symmetry-number prefactor is σH2σI2/σHI2=4\sigma_{\mathrm{H_2}}\sigma_{\mathrm{I_2}}/\sigma_{\mathrm{HI}}^2 = 4. With the energy zero at the separated atoms, the zero-point energies are contained in the D0D_0 values, and the vibrational block holds only the (1−e−Θvib/T)(1-e^{-\Theta_{\mathrm{vib}}/T}) “hot-mode” factors.

Equation (7.2.25) makes the microscopic physics very explicit:


Numerical Evaluation: K(700 K)K(700\,\mathrm{K}) from Spectroscopic Data

To see the microscopic-to-macroscopic bridge at work, we evaluate Eq. (7.2.25) at T=700 KT = 700\ \mathrm{K} using spectroscopic constants. The rotational and vibrational temperatures of H2\mathrm{H_2} and I2\mathrm{I_2} are those of the tables in Section 2.6 and Section 2.7. The values for HI are computed in the same way, from ν~=2309.01 cm−1\tilde{\nu} = 2309.01\ \mathrm{cm^{-1}} and B~=6.4264 cm−1\tilde{B} = 6.4264\ \mathrm{cm^{-1}} (NIST Chemistry WebBook).

SpeciesMM (g mol−1\mathrm{g\,mol^{-1}})Θrot\Theta_{\mathrm{rot}} (K)Θvib\Theta_{\mathrm{vib}} (K)D0D_0 (kJ mol−1\mathrm{kJ\,mol^{-1}})σ\sigmag1g_1
H2\mathrm{H_2}2.01687.556332432.0721
I2\mathrm{I_2}253.8080.05377309148.8121
HI\mathrm{HI}127.9129.253322294.6711
T = 700 K
  Mass (translational) factor:          180.817
  Rotational factor:                     0.2201
  Vibrational factor:                    0.3631
  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.8
  K(700 K) from the NIST-JANAF tables:  56.8
  Measured K (Bodenstein, ~700 K):      ~54

Discussion. The predicted K≈62K \approx 62 compares with K=56.8K = 56.8 from the NIST-JANAF tables at 700 K and with a measured value near 54. Agreement at the 10 to 15 % level is about what one should expect from the rigid-rotor/harmonic-oscillator approximation. The largest single correction comes from the rotation of H2\mathrm{H_2}. With Θrot/T=0.125\Theta_{\mathrm{rot}}/T = 0.125, the high-temperature form qrot=T/(σΘrot)q_{\mathrm{rot}} = T/(\sigma\Theta_{\mathrm{rot}}) of Section 2.7 lies about 4 % below the sum over the rotational levels, and correcting it lowers KK by the same 4 %. Corrections for anharmonicity, vibration–rotation coupling, and centrifugal distortion (none of which are in our model) each shift KK by a few percent or less.

More importantly, the decomposition makes the physics transparent:

The calculation can be repeated at other temperatures. Figure 7.2.3 compares Eq. (7.2.25) with the NIST-JANAF tables between 300 and 1500 K and shows how each of the four factors changes with temperature.

Source
Loading...

Figure 7.2.3:(a) Equilibrium constant of H2+I2⇌2HI\mathrm{H_2 + I_2 \rightleftharpoons 2HI} from Eq. (7.2.25) (line) and from the NIST-JANAF tables (points). The formula lies 8 to 13 % above the tabulated values over the whole range. (b) The four factors of Eq. (7.2.25). In this model the mass and rotational factors do not depend on temperature. The bond-energy factor falls from 30 at 300 K to 2.0 at 1500 K, and the vibrational factor from 0.64 to 0.23.

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 (Computing KK from Tabulated Thermochemistry in Section 7.1) and a student who computed KK from spectroscopic constants (this subsection) would arrive at nearly 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_{\mathrm{HI}}^2}{q_{\mathrm{H_2}}\,q_{\mathrm{I_2}}} = \frac{(V/\Lambda_{\mathrm{HI}}^3)^2\,q_{\mathrm{int,HI}}^2}{(V/\Lambda_{\mathrm{H_2}}^3)(V/\Lambda_{\mathrm{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_{\mathrm{H_2}}^3\Lambda_{\mathrm{I_2}}^3}{\Lambda_{\mathrm{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_{\mathrm{HI}}^2/(m_{\mathrm{H_2}}m_{\mathrm{I_2}})\right)^{3/2} seen in Eq. (7.2.25).

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. (7.2.16).

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 Section 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. (7.2.23), 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