Chemistry / Physical Chemistry Quantum Mechanics, Molecular Orbitals & Statistical Thermodynamics 100% Free Open Access
Chapter 7 • Theory & Derivations

Unit 7: Statistical Mechanics: Microstates, Ensembles & Maxwell-Boltzmann

Microscopic foundations of classical and quantum statistical thermodynamics: phase space dynamics and the ergodic hypothesis, microcanonical, canonical, and grand canonical ensembles, Boltzmann's entropy postulate S = k ln W, derivation of the Maxwell-Boltzmann distribution law via Lagrange undetermined multipliers, the canonical partition function and connections to thermodynamic state functions, energy fluctuations, and the Maxwell-Boltzmann molecular velocity and speed distribution.

§7.1 Microscopic States, Phase Space & The Ergodic Hypothesis

Thermodynamics describes macroscopic systems in terms of bulk state variables (temperature \(T\), pressure \(P\), volume \(V\), chemical potential \(\mu\)). Statistical mechanics bridges the gap by deducing these macroscopic laws directly from the underlying microscopic quantum and classical dynamics of \(N \sim 10^{23}\) constituent particles.

Phase Space Representation

In classical mechanics, the microscopic state (microstate) of a system of \(N\) particles is defined by specifying the positions \(\mathbf{q} = (\mathbf{q}_1, \dots, \mathbf{q}_N)\) and conjugate momenta \(\mathbf{p} = (\mathbf{p}_1, \dots, \mathbf{p}_N)\). This forms a point in a \(6N\)-dimensional phase space (\(\Gamma\)-space). The time evolution of the system traces a continuous trajectory governed by Hamilton's equations of motion:

\[\dot{\mathbf{q}}_i = \frac{\partial H}{\partial \mathbf{p}_i}, \quad \dot{\mathbf{p}}_i = -\frac{\partial H}{\partial \mathbf{q}_i}\]

By Liouville's theorem, the phase space volume element \(d\Gamma = d^{3N}q \, d^{3N}p\) occupied by an ensemble of identical systems is strictly conserved over time:

\[\frac{d\rho}{dt} = \frac{\partial\rho}{\partial t} + \sum_{i=1}^{3N} \left( \frac{\partial\rho}{\partial q_i}\dot{q}_i + \frac{\partial\rho}{\partial p_i}\dot{p}_i \right) = 0\]

Phase space density behaves as an incompressible fluid.

Quantum Microstates

In quantum mechanics, the Heisenberg uncertainty principle \(\Delta q_i \Delta p_i \ge \frac{\hbar}{2}\) precludes the simultaneous specification of exact positions and momenta. The phase space is discretized into elementary quantum cells of volume:

\[\Delta \Gamma_0 = h^{3N}\]

Each independent non-degenerate stationary quantum eigenstate \(|\psi_i\rangle\) of the total \(N\)-particle Hamiltonian \(\hat{H} |\psi_i\rangle = E_i |\psi_i\rangle\) represents an individual distinct quantum microstate.

The Ergodic Hypothesis and Principle of Equal A Priori Probabilities

A macroscopic measurement takes a finite time \(\tau_{\text{obs}}\) (typically milliseconds to seconds), which is enormous compared to microscopic molecular collision times (\(\tau_{\text{coll}} \sim 10^{-13}\text{ s}\)). The observed macroscopic property is the time average:

\[\bar{A}_{\text{time}} = \lim_{\tau \rightarrow \infty} \frac{1}{\tau} \int_0^\tau A(\mathbf{q}(t), \mathbf{p}(t)) dt\]

Because calculating this trajectory for \(10^{23}\) particles is impossible, Willard Gibbs replaced the time average with an ensemble average—an instantaneous average across a vast hypothetical collection of identical macroscopic copies of the system:

\[\langle A \rangle_{\text{ensemble}} = \sum_i P_i A_i\]

The Ergodic Hypothesis asserts that over long times, the system trajectory passes through all accessible microstates, ensuring that the time average equals the ensemble average:

\[\bar{A}_{\text{time}} = \langle A \rangle_{\text{ensemble}}\]

For an isolated system with fixed energy \(E\), volume \(V\), and particle number \(N\), every accessible quantum microstate has the exact same probability:

\[P_i = \begin{cases} \frac{1}{\Omega(E, V, N)} & (E_i \in [E, E + \delta E]) \\ 0 & (\text{otherwise}) \end{cases}\]

This is the Postulate of Equal A Priori Probabilities.

§7.2 Microcanonical, Canonical & Grand Canonical Ensembles

Statistical mechanics organizes systems into three fundamental thermodynamic ensembles depending on their thermal and material boundary conditions with the surroundings.

1. The Microcanonical Ensemble (\(N, V, E\))

Describes a completely isolated system with fixed particle number \(N\), volume \(V\), and total energy \(E\).

  • Walls: Rigid, adiabatic, and impermeable.
  • Fundamental quantity: The total number of accessible microstates \(\Omega(E, V, N)\).
  • Probability distribution: Uniform over all accessible states:
\[P_i = \frac{1}{\Omega}\]

2. The Canonical Ensemble (\(N, V, T\))

Describes a closed system in thermal contact with a large heat reservoir at absolute temperature \(T\).

  • Walls: Rigid, diathermal (heat-permeable), impermeable to matter.
  • The energy of the system fluctuates around a mean value \(\langle E \rangle\).
  • Probability of occupying a specific microstate \(i\) of energy \(E_i\):
\[P_i = \frac{e^{-E_i / k_B T}}{Q(N, V, T)} = \frac{e^{-\beta E_i}}{Q}\]

where \(\beta = \frac{1}{k_B T}\) and the normalization denominator is the Canonical Partition Function:

\[Q(N, V, T) = \sum_i e^{-\beta E_i}\]

3. The Grand Canonical Ensemble (\(\mu, V, T\))

Describes an open system that can exchange both heat and particles with a reservoir at fixed temperature \(T\) and chemical potential \(\mu\).

  • Walls: Rigid, diathermal, permeable to matter.
  • Both energy \(E\) and particle number \(N\) fluctuate.
  • Probability of occupying a microstate with \(N\) particles and energy \(E_{N, i}\):
\[P(N, i) = \frac{e^{-\beta (E_{N, i} - \mu N)}}{\Xi(\mu, V, T)}\]

where \(\Xi\) is the Grand Canonical Partition Function:

\[\Xi(\mu, V, T) = \sum_{N=0}^\infty e^{\beta \mu N} Q(N, V, T) = \sum_{N=0}^\infty z^N Q(N, V, T)\]

with fugacity \(z = e^{\beta \mu}\).

Thermodynamic Equivalence in the Thermodynamic Limit

In macroscopic systems where \(N \rightarrow \infty, V \rightarrow \infty\) with constant density \(\rho = N/V\), relative fluctuations in energy and particle number scale as \(1/\sqrt{N} \sim 10^{-11}\). Consequently, all three ensembles yield identical macroscopic thermodynamic predictions.

§7.3 Boltzmann Entropy Formula: S = k ln W & Maximum Probability

Ludwig Boltzmann provided the profound statistical definition connecting microscopic disorder with macroscopic thermodynamic entropy.

The Boltzmann Formula

For an isolated system with \(\Omega\) (or multiplicity \(W\)) accessible microstates:

\[S = k_B \ln W = k_B \ln \Omega(E, V, N)\]

where \(k_B = 1.380649 \times 10^{-23}\text{ J}\cdot\text{K}^{-1}\) is the Boltzmann constant.

Derivation from Additivity and Multiplicativity

Consider two independent, weakly interacting subsystems 1 and 2 with energies \(E_1\) and \(E_2\) and multiplicities \(W_1\) and \(W_2\).

  1. By the multiplication principle of independent probabilities, the combined system has total multiplicity:
\[W_{\text{total}} = W_1 \times W_2\]
  1. By classical thermodynamics, entropy is an extensive state function:
\[S_{\text{total}} = S_1 + S_2\]

We seek a mathematical function \(S(W)\) such that \(S(W_1 W_2) = S(W_1) + S(W_2)\). Differentiating with respect to \(W_1\):

\[W_2 S'(W_1 W_2) = S'(W_1) \implies W_1 W_2 S'(W_1 W_2) = W_1 S'(W_1) = \text{const} \equiv k_B\]

Integrating yields the unique functional form:

\[S(W) = k_B \ln W\]

Gibbs Entropy for Arbitrary Distributions

For any arbitrary probability distribution \(\{P_i\}\) across microstates, Willard Gibbs generalized the formula to:

\[S = -k_B \sum_i P_i \ln P_i\]
  • In the microcanonical ensemble where all \(\Omega\) states have equal probability \(P_i = 1/\Omega\):
\[S = -k_B \sum_{i=1}^\Omega \frac{1}{\Omega} \ln\left(\frac{1}{\Omega}\right) = -k_B \ln\left(\frac{1}{\Omega}\right) = k_B \ln \Omega\]

recovering Boltzmann's equation.

  • In information theory, Claude Shannon identified \(- \sum P_i \ln P_i\) as the informational entropy (the measure of missing information). Thermodynamic entropy is the measure of microscopic information hidden by macroscopic averaging.

§7.4 Derivation of Maxwell-Boltzmann Distribution via Lagrange Multipliers

Consider a system of \(N\) distinguishable independent particles distributed among discrete energy levels \(\varepsilon_1, \varepsilon_2, \dots, \varepsilon_i, \dots\) with degeneracies \(g_1, g_2, \dots, g_i, \dots\). Let \(N_i\) be the number of particles in energy level \(\varepsilon_i\).

Thermodynamic Probability (Multiplicity)

The number of distinct microscopic ways to place \(N\) particles into the energy levels such that there are \(N_i\) particles in level \(i\) (with degeneracy \(g_i\)) is:

\[W(\{N_i\}) = N! \prod_i \frac{g_i^{N_i}}{N_i!}\]

Taking the natural logarithm and applying Stirling's approximation (\(\ln x! \approx x \ln x - x\) for \(x \gg 1\)):

\[\ln W = \ln N! + \sum_i [N_i \ln g_i - \ln N_i!] \approx N \ln N - N + \sum_i [N_i \ln g_i - (N_i \ln N_i - N_i)]\]

Since \(\sum N_i = N\), the linear terms \(-N + \sum N_i = 0\) cancel:

\[\ln W = N \ln N - \sum_i N_i \ln\left(\frac{N_i}{g_i}\right)\]

Optimization Under Physical Constraints

The most probable macroscopic state corresponds to the distribution \(\{N_i^*\}\) that maximizes \(\ln W\) subject to two rigid physical conservation laws:

1. Total particle conservation: \(\phi_1 \equiv \sum_i N_i - N = 0\)

2. Total internal energy conservation: \(\phi_2 \equiv \sum_i N_i \varepsilon_i - E = 0\)

Using the method of Lagrange Undetermined Multipliers, we introduce multipliers \(\alpha\) and \(\beta\) and construct the unconstrained objective function:

\[\mathcal{F}(\{N_i\}) = \ln W - \alpha \left(\sum_i N_i - N\right) - \beta \left(\sum_i N_i \varepsilon_i - E\right)\]

Differentiating with respect to an arbitrary occupation number \(N_k\) and setting to zero:

\[\frac{\partial \mathcal{F}}{\partial N_k} = -\left[ \ln\left(\frac{N_k}{g_k}\right) + N_k \frac{1}{N_k} \right] - \alpha - \beta \varepsilon_k = 0\]
\[-\ln\left(\frac{N_k}{g_k}\right) - 1 - \alpha - \beta \varepsilon_k = 0 \implies \ln\left(\frac{N_k}{g_k}\right) = -(1 + \alpha) - \beta \varepsilon_k\]

Exponentiating both sides:

\[\frac{N_k}{g_k} = e^{-(1 + \alpha)} e^{-\beta \varepsilon_k} = A e^{-\beta \varepsilon_k}\]

Normalization and Identification of Multipliers

Summing over all levels:

\[N = \sum_k N_k = A \sum_k g_k e^{-\beta \varepsilon_k} \equiv A q\]

where \(q = \sum_k g_k e^{-\beta \varepsilon_k}\) is the molecular partition function. Thus, \(A = \frac{N}{q}\), yielding the canonical Maxwell-Boltzmann Distribution Law:

\[N_i = \frac{N g_i e^{-\beta \varepsilon_i}}{q}\]

By evaluating the thermodynamic identity \(dS = \left(\frac{\partial S}{\partial E}\right)_{V, N} dE = \frac{1}{T} dE\), we find:

\[\beta = \frac{1}{k_B T}\]

Hence:

\[\frac{N_i}{N} = \frac{g_i e^{-\varepsilon_i / k_B T}}{\sum_j g_j e^{-\varepsilon_j / k_B T}}\]

At absolute zero (\(T \rightarrow 0\)), all particles collapse into the lowest energy ground state. At infinite temperature (\(T \rightarrow \infty\)), particles populate all states proportionally to their degeneracies \(g_i\).

§7.5 Partition Function & Bridge to Thermodynamic State Functions

The canonical partition function \(Q(N, V, T)\) serves as the master generating function connecting microscopic quantum energy spectra \(\{E_i\}\) to all macroscopic thermodynamic state functions.

The Canonical Partition Function

\[Q(N, V, T) = \sum_i e^{-\beta E_i(V)}, \quad \text{where } \beta = \frac{1}{k_B T}\]

For an ideal gas of \(N\) independent particles with single-particle molecular partition function \(q(V, T)\):

  • Distinguishable particles (e.g., localized atoms in a crystal lattice):
\[Q_{\text{dist}} = q^N\]
  • Indistinguishable particles (e.g., delocalized gas molecules):
\[Q_{\text{indist}} = \frac{q^N}{N!}\]

The Gibbs correction factor \(1/N!\) eliminates the Gibbs paradox and restores the extensivity of entropy.

Fundamental Thermodynamic Relations

From \(Q\), all state functions are generated by straightforward differentiation:

1. Internal Energy \(U\):

\[U = \langle E \rangle = \sum_i E_i P_i = \frac{\sum_i E_i e^{-\beta E_i}}{Q} = -\frac{1}{Q} \frac{\partial Q}{\partial \beta} = -\left( \frac{\partial \ln Q}{\partial \beta} \right)_{V, N} = k_B T^2 \left( \frac{\partial \ln Q}{\partial T} \right)_{V, N}\]

2. Helmholtz Free Energy \(A\):

\[A = -k_B T \ln Q\]

This is the central bridge equation of statistical thermodynamics!

3. Entropy \(S\):

From \(A = U - TS \implies S = \frac{U - A}{T}\):

\[S = k_B \ln Q + k_B T \left( \frac{\partial \ln Q}{\partial T} \right)_{V, N} = -\left( \frac{\partial A}{\partial T} \right)_{V, N}\]

4. Pressure \(P\):

From \(P = -\left( \frac{\partial A}{\partial V} \right)_{T, N}\):

\[P = k_B T \left( \frac{\partial \ln Q}{\partial V} \right)_{T, N}\]

5. Enthalpy \(H\) and Gibbs Free Energy \(G\):

\[H = U + P V = k_B T^2 \left( \frac{\partial \ln Q}{\partial T} \right)_{V} + k_B T V \left( \frac{\partial \ln Q}{\partial V} \right)_{T}\]
\[G = A + P V = -k_B T \ln Q + k_B T V \left( \frac{\partial \ln Q}{\partial V} \right)_{T}\]

6. Isochoric Heat Capacity \(C_V\):

\[C_V = \left( \frac{\partial U}{\partial T} \right)_V = 2 k_B T \left( \frac{\partial \ln Q}{\partial T} \right)_V + k_B T^2 \left( \frac{\partial^2 \ln Q}{\partial T^2} \right)_V = \frac{\langle E^2 \rangle - \langle E \rangle^2}{k_B T^2}\]

§7.6 Energy and Particle Number Fluctuations in Ensembles

In the canonical ensemble, the system's energy is not strictly fixed; it fluctuates due to continuous thermal exchange with the reservoir.

Derivation of Energy Variance

The average energy is:

\[\langle E \rangle = \frac{1}{Q} \sum_i E_i e^{-\beta E_i} = -\frac{\partial \ln Q}{\partial \beta}\]

Differentiating \(\langle E \rangle\) with respect to \(\beta\):

\[\frac{\partial \langle E \rangle}{\partial \beta} = \frac{\partial}{\partial \beta} \left( \frac{1}{Q} \sum_i E_i e^{-\beta E_i} \right) = -\frac{1}{Q^2} \left( \frac{\partial Q}{\partial \beta} \right) \sum_i E_i e^{-\beta E_i} + \frac{1}{Q} \sum_i (-E_i^2) e^{-\beta E_i}\]

Using \(\frac{\partial Q}{\partial \beta} = -Q \langle E \rangle\):

\[\frac{\partial \langle E \rangle}{\partial \beta} = \langle E \rangle^2 - \langle E^2 \rangle = -(\langle E^2 \rangle - \langle E \rangle^2) = -\sigma_E^2\]

where \(\sigma_E^2 = \langle (E - \langle E \rangle)^2 \rangle\) is the energy variance. Now express the left-hand side in terms of temperature \(T\):

\[\frac{\partial \langle E \rangle}{\partial \beta} = \frac{\partial \langle E \rangle}{\partial T} \frac{dT}{d\beta} = C_V \left( -\frac{1}{k_B \beta^2} \right) = -k_B T^2 C_V\]

Equating the two expressions:

\[\sigma_E^2 = \langle E^2 \rangle - \langle E \rangle^2 = k_B T^2 C_V\]

The standard deviation of energy fluctuations is:

\[\sigma_E = \sqrt{k_B T^2 C_V}\]

Relative Fluctuation and the Thermodynamic Limit

Because both energy \(\langle E \rangle\) and heat capacity \(C_V\) are extensive variables proportional to particle number \(N\) (\(\langle E \rangle \propto N, C_V \propto N\)):

\[\frac{\sigma_E}{\langle E \rangle} = \frac{\sqrt{k_B T^2 C_V}}{\langle E \rangle} \propto \frac{\sqrt{N}}{N} = \frac{1}{\sqrt{N}}\]

For a typical macroscopic molar sample (\(N \sim 10^{23}\)):

\[\frac{\sigma_E}{\langle E \rangle} \sim \frac{1}{\sqrt{10^{23}}} \approx 3 \times 10^{-12}\]

Relative energy fluctuations are on the order of parts per trillion. The energy probability distribution is extraordinarily sharply peaked around its mean value \(\langle E \rangle\), demonstrating why canonical and microcanonical ensembles are observationally indistinguishable for macroscopic matter.

§7.7 Maxwell-Boltzmann Molecular Speed Distribution & Effusion

For an ideal gas of point particles of mass \(m\) at thermal equilibrium, the translational kinetic energy is \(\varepsilon = \frac{1}{2} m (v_x^2 + v_y^2 + v_z^2) = \frac{p^2}{2m}\).

Velocity Probability Density

Because motion in \(x, y, z\) is isotropic and mutually independent, the three-dimensional velocity probability density factors into three 1D Gaussians:

\[f(v_x, v_y, v_z) dv_x dv_y dv_z = \left(\frac{m}{2\pi k_B T}\right)^{3/2} \exp\left[ -\frac{m(v_x^2 + v_y^2 + v_z^2)}{2 k_B T} \right] dv_x dv_y dv_z\]

Transformation to Molecular Speed \(v\)

Speed is the scalar magnitude \(v = \sqrt{v_x^2 + v_y^2 + v_z^2} \ge 0\). Transforming velocity space into spherical coordinates \((v, \theta, \phi)\) where the volume element is \(dv_x dv_y dv_z = v^2 \sin\theta \, dv \, d\theta \, d\phi\), integrating over all solid angles \(\int_0^{4\pi} d\Omega = 4\pi\) gives the Maxwell-Boltzmann Speed Distribution:

\[f(v) dv = 4\pi \left(\frac{m}{2\pi k_B T}\right)^{3/2} v^2 \exp\left( -\frac{m v^2}{2 k_B T} \right) dv\]

Characteristic Molecular Speeds

1. Most Probable Speed \(v_{\text{mp}}\): Setting \(\frac{df}{dv} = 0\):

\[\frac{d}{dv} [v^2 e^{-m v^2 / 2 k_B T}] = \left( 2v - \frac{m v^3}{k_B T} \right) e^{-m v^2 / 2 k_B T} = 0 \implies v_{\text{mp}} = \sqrt{\frac{2 k_B T}{m}} = \sqrt{\frac{2 R T}{M}}\]

2. Mean (Average) Speed \(\langle v \rangle\):

\[\langle v \rangle = \int_0^\infty v f(v) dv = \sqrt{\frac{8 k_B T}{\pi m}} = \sqrt{\frac{8 R T}{\pi M}} \approx 1.128 v_{\text{mp}}\]

3. Root-Mean-Square Speed \(v_{\text{rms}}\):

\[v_{\text{rms}} = \sqrt{\langle v^2 \rangle} = \sqrt{\int_0^\infty v^2 f(v) dv} = \sqrt{\frac{3 k_B T}{m}} = \sqrt{\frac{3 R T}{M}} \approx 1.225 v_{\text{mp}}\]

Ordering: \(v_{\text{mp}} < \langle v \rangle < v_{\text{rms}}\).

Molecular Effusion Rate

When gas molecules effuse through an orifice with area \(A\) whose diameter is smaller than the mean free path, the effusion rate \(Z_{\text{eff}}\) (number of collisions per unit wall area per second) is:

\[Z_{\text{wall}} = \frac{1}{4} \rho \langle v \rangle = \frac{P}{\sqrt{2\pi m k_B T}}\]

This directly yields Graham's Law of Effusion:

\[\text{Effusion Rate} \propto \frac{1}{\sqrt{M}}\]

§7.8 Brownian Motion, Langevin Dynamics & Fluctuation-Dissipation

Brownian motion provides direct macroscopic observational proof of the discrete atomic nature of matter.

The Langevin Equation

Paul Langevin formulated the stochastic equation of motion for a Brownian colloidal particle of mass \(M\) and velocity \(v(t)\) suspended in a fluid:

\[M \frac{dv}{dt} = -\gamma v(t) + \xi(t)\]

1. Deterministic Drag Force: \(-\gamma v(t)\), where Stokes' law gives \(\gamma = 6\pi \eta a\) for a sphere of radius \(a\) in a fluid of dynamic viscosity \(\eta\). This force dissipates kinetic energy into heat.

2. Stochastic Thermal Force: \(\xi(t)\), arising from random, uncorrelated molecular collisions.

Statistical properties of the thermal white noise:

\[\langle \xi(t) \rangle = 0\]
\[\langle \xi(t) \xi(t') \rangle = 2 D_v M^2 \delta(t - t')\]

Velocity Autocorrelation and Mean Square Displacement

Solving Langevin's equation:

\[v(t) = v(0) e^{-\gamma t / M} + \frac{1}{M} \int_0^t e^{-\gamma (t - t') / M} \xi(t') dt'\]

The velocity autocorrelation function decays exponentially with relaxation time \(\tau_M = M/\gamma\):

\[\langle v(0) v(t) \rangle = \langle v(0)^2 \rangle e^{-\gamma t / M} = \frac{k_B T}{M} e^{-\gamma t / M}\]

Integrating to find the position \(x(t)\):

  • Short times (\(t \ll \tau_M\), Ballistic regime):
\[\langle (\Delta x)^2 \rangle \approx \langle v^2 \rangle t^2 = \frac{k_B T}{M} t^2 \implies \Delta x_{\text{rms}} \propto t\]
  • Long times (\(t \gg \tau_M\), Diffusive regime):
\[\langle (\Delta x)^2 \rangle = 2 D t \implies \Delta x_{\text{rms}} \propto \sqrt{t}\]

where \(D\) is the macroscopic diffusion coefficient.

The Einstein-Smoluchowski Relation & Fluctuation-Dissipation Theorem

Equating the long-time Langevin mean square displacement \(\langle (\Delta x)^2 \rangle = \frac{2 k_B T}{\gamma} t\) with the diffusive law \(2 D t\) yields the Einstein Relation:

\[D = \frac{k_B T}{\gamma} = \frac{k_B T}{6\pi \eta a}\]

This relation is the prototypical example of the Fluctuation-Dissipation Theorem:

  • Thermal fluctuations (represented by diffusion coefficient \(D\))
  • are directly proportional to frictional dissipation (represented by drag coefficient \(\gamma\))
  • mediated by thermal energy \(k_B T\).

In 1908, Jean Perrin used Einstein's equation to measure the displacement of gamboge particles, determining Avogadro's number \(N_A\) experimentally and earning the 1926 Nobel Prize in Physics.


## Advanced Mathematical Supplement: Jaynes MaxEnt & von Neumann Entropy

Information Theoretic MaxEnt Formulation & The von Neumann Density Matrix

In 1957, Edwin Jaynes re-founded statistical mechanics on Claude Shannon's Information Theory: statistical distributions are not physical assumptions, but rather the unique mathematically unbiased inference consistent with incomplete macroscopic information (Maximum Entropy Principle, MaxEnt).

The von Neumann Density Operator

In quantum statistical mechanics, a mixed quantum state is described by a Hermitian, positive-semidefinite density operator \(\hat{\rho}\):

\[\hat{\rho} = \sum_i P_i |\psi_i\rangle\langle \psi_i|, \quad \text{Tr}(\hat{\rho}) = 1, \quad \hat{\rho} \ge 0\]

The expectation value of any physical observable \(\hat{A}\) is:

\[\langle A \rangle = \text{Tr}(\hat{\rho} \hat{A})\]

For a pure state, \(\hat{\rho}^2 = \hat{\rho}\) (\(\text{Tr}(\hat{\rho}^2) = 1\)); for a mixed state, \(\text{Tr}(\hat{\rho}^2) < 1\).

The von Neumann Quantum Entropy

The quantum mechanical extension of Gibbs and Shannon entropy is:

\[S_{\text{vN}}[\hat{\rho}] = -k_B \text{Tr}(\hat{\rho} \ln \hat{\rho})\]

Properties:

  1. \(S_{\text{vN}} \ge 0\), with \(S_{\text{vN}} = 0\) if and only if the state is pure.
  2. Invariant under unitary transformations: \(S_{\text{vN}}[\hat{U}\hat{\rho}\hat{U}^\dagger] = S_{\text{vN}}[\hat{\rho}]\).
  3. Subadditive: For a composite bipartite system \(A B\), \(S(A B) \le S(A) + S(B)\).
Derivation of the Canonical Density Matrix via MaxEnt

We maximize \(S_{\text{vN}}\) subject to two physical constraints:

  1. Normalization: \(\text{Tr}(\hat{\rho}) = 1\) (multiplier \(\lambda_0\))
  2. Average internal energy: \(\text{Tr}(\hat{\rho} \hat{H}) = U\) (multiplier \(\beta\))

Construct the variational functional:

\[\mathcal{L}[\hat{\rho}] = -k_B \text{Tr}(\hat{\rho} \ln \hat{\rho}) - \lambda_0 (\text{Tr}(\hat{\rho}) - 1) - \beta (\text{Tr}(\hat{\rho}\hat{H}) - U)\]

Setting the functional derivative to zero:

\[\frac{\delta \mathcal{L}}{\delta \hat{\rho}} = -k_B (\ln \hat{\rho} + \hat{I}) - \lambda_0 \hat{I} - \beta \hat{H} = 0 \implies \ln \hat{\rho} = -(1 + \lambda_0 / k_B)\hat{I} - \frac{\beta}{k_B} \hat{H}\]

Exponentiating:

\[\hat{\rho} = \frac{e^{-\beta \hat{H}}}{\text{Tr}(e^{-\beta \hat{H}})} = \frac{e^{-\beta \hat{H}}}{Q}\]

where the canonical partition function is \(Q = \text{Tr}(e^{-\beta \hat{H}})\). Thermal equilibrium emerges as the state of maximal missing information given knowledge only of the average internal energy.


## Research Monograph: Non-Equilibrium Statistical Mechanics & The Jarzynski Equality

Breakthroughs in Non-Equilibrium Thermodynamics

For over a century, classical thermodynamics was restricted to quasi-static, reversible paths. The Second Law asserted the inequality:

\[\langle W \rangle \ge \Delta F\]

where \(\langle W \rangle\) is the average work done on a system and \(\Delta F\) is the free energy difference. Any rapid irreversible process dissipates work as entropy, making the determination of equilibrium free energy landscapes from non-equilibrium measurements appear fundamentally impossible.

The Jarzynski Equality (1997)

In 1997, Christopher Jarzynski proved an exact equality holding for arbitrary non-equilibrium processes arbitrarily far from thermal equilibrium:

\[\left\langle \exp\left( -\frac{W}{k_B T} \right) \right\rangle = \exp\left( -\frac{\Delta F}{k_B T} \right)\]

Significance:

  • Holds regardless of how violently or rapidly the system is driven out of equilibrium!
  • By Jensen's inequality (\(\langle e^x \rangle \ge e^{\langle x \rangle}\)), \(\langle e^{-W/k_B T} \rangle \ge e^{-\langle W \rangle / k_B T} \implies \langle W \rangle \ge \Delta F\), recovering the classical Second Law as a simple corollary!

The Crooks Fluctuation Theorem (1999)

Gavin Crooks generalized Jarzynski's discovery by comparing the work probability distribution \(P_F(W)\) of a forward process to the work distribution \(P_R(-W)\) of the time-reversed process:

\[\frac{P_F(W)}{P_R(-W)} = \exp\left( \frac{W - \Delta F}{k_B T} \right)\]

At the crossing point where forward and reverse work distributions intersect (\(P_F(W) = P_R(-W)\)):

\[W = \Delta F\]

Using optical tweezers and atomic force microscopy (AFM), biophysicists routinely pull single RNA and protein molecules mechanically, recording non-equilibrium force-extension curves and extracting equilibrium folding free energies via Crooks' theorem.

Worked Problems & Step-by-Step Quantum Derivations

Multi-step solved problems covering Planck distribution, photoelectric kinetics, Compton shift, de Broglie wavelengths, uncertainty relations, and Hermitian operator commutation algebra.

Advanced Example 7.1: Statistical Multiplicity and Entropy of Mixing for Ideal Gases

Consider two distinct non-reacting ideal gases A and B at identical temperature \(T\) and pressure \(P\), initially separated by a partition in volumes \(V_A\) and \(V_B\) containing \(N_A\) and \(N_B\) molecules. The partition is removed, allowing the gases to mix into total volume \(V = V_A + V_B\).

  1. Express the statistical multiplicity of each pure gas before mixing.
  2. Calculate the statistical multiplicity of the mixed system.
  3. Derive the molar entropy of mixing \(\Delta S_{\text{mix}}\) and evaluate it for an equimolar binary mixture (\(x_A = x_B = 0.5\)).

Comprehensive Multi-Step Solution:

Step 1: Initial Multiplicity Before Mixing

The number of microstates for an ideal gas of \(N\) particles in volume \(V\) is proportional to \(\Omega \propto \frac{V^N}{N!}\). Before mixing, the subsystems are independent:

\[W_{\text{initial}} = W_A \times W_B \propto \frac{V_A^{N_A}}{N_A!} \times \frac{V_B^{N_B}}{N_B!}\]

Using Boltzmann's formula \(S = k_B \ln W\):

\[S_{\text{initial}} = S_A + S_B = k_B [N_A \ln V_A - \ln N_A!] + k_B [N_B \ln V_B - \ln N_B!] + \text{const}\]

Step 2: Final Multiplicity After Mixing

After removing the partition, both gases expand to fill the entire combined volume \(V = V_A + V_B\). Because particles of gas A remain distinguishable from particles of gas B:

\[W_{\text{final}} \propto \frac{V^{N_A}}{N_A!} \times \frac{V^{N_B}}{N_B!}\]

The final entropy is:

\[S_{\text{final}} = k_B [N_A \ln V - \ln N_A!] + k_B [N_B \ln V - \ln N_B!] + \text{const}\]

Step 3: Derivation of Entropy of Mixing \(\Delta S_{\text{mix}}\)

Subtracting the initial from the final entropy:

\[\Delta S_{\text{mix}} = S_{\text{final}} - S_{\text{initial}} = k_B \left[ N_A \ln\left(\frac{V}{V_A}\right) + N_B \ln\left(\frac{V}{V_B}\right) \right]\]

Because both gases start at identical temperature and pressure, \(P V_A = N_A k_B T\) and \(P V_B = N_B k_B T\). Thus, the volume fractions equal the mole fractions:

\[\frac{V_A}{V} = \frac{N_A}{N_A + N_B} = x_A, \quad \frac{V_B}{V} = \frac{N_B}{N_A + N_B} = x_B\]

Therefore, \(\frac{V}{V_A} = \frac{1}{x_A}\) and \(\frac{V}{V_B} = \frac{1}{x_B}\). Substituting into the entropy formula with total particles \(N = N_A + N_B\):

\[\Delta S_{\text{mix}} = k_B [N_A \ln(1/x_A) + N_B \ln(1/x_B)] = -k_B [N_A \ln x_A + N_B \ln x_B]\]

In terms of total moles \(n = n_A + n_B\) where \(N k_B = n R\):

\[\Delta S_{\text{mix}} = -n R \left( x_A \ln x_A + x_B \ln x_B \right)\]

For an equimolar mixture (\(x_A = x_B = 0.5\)):

\[\Delta S_{\text{mix}} = -n R [0.5 \ln(0.5) + 0.5 \ln(0.5)] = -n R \ln(0.5) = n R \ln(2)\]

For 1 mole of total mixture (\(n = 1\)):

\[\Delta S_{\text{mix}} = (8.3145\text{ J}\cdot\text{mol}^{-1}\cdot\text{K}^{-1}) \times \ln(2) \approx 8.3145 \times 0.69315 \approx 5.763\text{ J}\cdot\text{mol}^{-1}\cdot\text{K}^{-1}\]

Because \(\ln x_i < 0\) for all \(x_i \in (0, 1)\), the entropy of mixing is strictly positive (\(\Delta S_{\text{mix}} > 0\)), driving spontaneous and irreversible mixing.

Advanced Example 7.2: Canonical Partition Function and Average Energy of a 2-Level and 3-Level System

Consider a system with discrete, non-degenerate energy levels:

  1. For a two-level system with energies \(\varepsilon_0 = 0\) and \(\varepsilon_1 = \varepsilon\), derive the canonical partition function \(q\), the average energy \(\langle \varepsilon \rangle\), and the heat capacity \(C_V(T)\).
  2. For a three-level system with energies \(\varepsilon_0 = 0\), \(\varepsilon_1 = \varepsilon\), and \(\varepsilon_2 = 2\varepsilon\), derive the partition function \(q\) and average energy.
  3. Compute the high-temperature limit (\(T \rightarrow \infty\)) and low-temperature limit (\(T \rightarrow 0\)) of \(\langle \varepsilon \rangle\) for both systems.

Comprehensive Multi-Step Solution:

Step 1: Two-Level System

Given \(\varepsilon_0 = 0, \varepsilon_1 = \varepsilon\), let \(\beta = \frac{1}{k_B T}\):

1. Partition function:

\[q = \sum_i e^{-\beta \varepsilon_i} = e^0 + e^{-\beta \varepsilon} = 1 + e^{-\beta \varepsilon}\]

2. Average energy:

\[\langle \varepsilon \rangle = -\frac{\partial \ln q}{\partial \beta} = -\frac{1}{q} \frac{dq}{d\beta} = -\frac{-\varepsilon e^{-\beta \varepsilon}}{1 + e^{-\beta \varepsilon}} = \frac{\varepsilon e^{-\beta \varepsilon}}{1 + e^{-\beta \varepsilon}} = \frac{\varepsilon}{e^{\beta \varepsilon} + 1}\]

3. Heat capacity (Schottky anomaly):

\[C_V = \frac{d\langle \varepsilon \rangle}{dT} = \frac{d\langle \varepsilon \rangle}{d\beta} \left( -\frac{1}{k_B T^2} \right) = \frac{\varepsilon^2 e^{\beta \varepsilon}}{(e^{\beta \varepsilon} + 1)^2} \frac{1}{k_B T^2} = k_B \left( \frac{\varepsilon}{k_B T} \right)^2 \frac{e^{\varepsilon / k_B T}}{(e^{\varepsilon / k_B T} + 1)^2}\]

Step 2: Three-Level System

Given \(\varepsilon_0 = 0, \varepsilon_1 = \varepsilon, \varepsilon_2 = 2\varepsilon\):

1. Partition function:

\[q = 1 + e^{-\beta \varepsilon} + e^{-2\beta \varepsilon}\]

Let \(x = e^{-\beta \varepsilon}\). Then \(q = 1 + x + x^2\).

2. Average energy:

\[\langle \varepsilon \rangle = \frac{\sum_i \varepsilon_i e^{-\beta \varepsilon_i}}{q} = \frac{0 + \varepsilon e^{-\beta \varepsilon} + 2\varepsilon e^{-2\beta \varepsilon}}{1 + e^{-\beta \varepsilon} + e^{-2\beta \varepsilon}} = \varepsilon \frac{x + 2x^2}{1 + x + x^2}\]

Step 3: Limiting Behaviors

1. Low-Temperature Limit (\(T \rightarrow 0 \implies \beta \rightarrow \infty, x \rightarrow 0\)):

  • For 2-level: \(\langle \varepsilon \rangle \rightarrow \frac{\varepsilon \times 0}{1 + 0} = 0\)
  • For 3-level: \(\langle \varepsilon \rangle \rightarrow \frac{0 + 0}{1} = 0\)

At \(T = 0\), the system is frozen in the ground state \(\varepsilon_0 = 0\) with 100% certainty.

2. High-Temperature Limit (\(T \rightarrow \infty \implies \beta \rightarrow 0, x \rightarrow 1\)):

  • For 2-level: \(\langle \varepsilon \rangle \rightarrow \frac{\varepsilon}{1 + 1} = \frac{\varepsilon}{2}\)

(both states become equally populated: \(P_0 = P_1 = 1/2\)).

  • For 3-level: \(\langle \varepsilon \rangle \rightarrow \varepsilon \frac{1 + 2(1)}{1 + 1 + 1} = \varepsilon \frac{3}{3} = \varepsilon\)

(all three states become equally populated: \(P_0 = P_1 = P_2 = 1/3\), so \(\langle \varepsilon \rangle = \frac{0 + \varepsilon + 2\varepsilon}{3} = \varepsilon\)).

Advanced Example 7.3: Evaluation of Lagrange Multipliers alpha and beta

In the statistical derivation of the Maxwell-Boltzmann distribution:

\[\ln\left(\frac{N_i}{g_i}\right) = -(1 + \alpha) - \beta \varepsilon_i\]
  1. Determine the normalization multiplier \(\alpha\) in terms of total particle number \(N\) and molecular partition function \(q\).
  2. From the differential of entropy \(dS = k_B d(\ln W)\), derive the fundamental thermodynamic relation connecting \(\beta\) to absolute temperature \(T\).
  3. Prove that \(\beta = \frac{1}{k_B T}\).

Comprehensive Multi-Step Solution:

Step 1: Evaluation of Multiplier \(\alpha\)

From the distribution equation:

\[N_i = g_i e^{-(1 + \alpha)} e^{-\beta \varepsilon_i}\]

Summing over all energy levels \(i\):

\[\sum_i N_i = e^{-(1 + \alpha)} \sum_i g_i e^{-\beta \varepsilon_i}\]

Using \(\sum N_i = N\) and defining \(q = \sum_i g_i e^{-\beta \varepsilon_i}\):

\[N = e^{-(1 + \alpha)} q \implies e^{-(1 + \alpha)} = \frac{N}{q}\]

Taking natural logarithms:

\[-(1 + \alpha) = \ln\left(\frac{N}{q}\right) \implies \alpha = -\ln\left(\frac{N}{q}\right) - 1\]

Step 2: Relation Between \(d(\ln W)\) and Energy \(dE\)

Recall Stirling's expression for \(\ln W\):

\[\ln W = N \ln N - \sum_i N_i \ln\left(\frac{N_i}{g_i}\right)\]

Consider an infinitesimal quasi-static change in the populations \(\{dN_i\}\) at constant volume (so \(\{g_i\}\) and \(\{\varepsilon_i\}\) remain fixed):

\[d(\ln W) = -\sum_i \left[ \ln\left(\frac{N_i}{g_i}\right) dN_i + N_i \frac{dN_i}{N_i} \right] = -\sum_i \ln\left(\frac{N_i}{g_i}\right) dN_i - \sum_i dN_i\]

Because total particle number is conserved, \(\sum dN_i = dN = 0\). Now substitute \(\ln(N_i / g_i) = -(1 + \alpha) - \beta \varepsilon_i\):

\[d(\ln W) = -\sum_i [-(1 + \alpha) - \beta \varepsilon_i] dN_i = (1 + \alpha) \sum_i dN_i + \beta \sum_i \varepsilon_i dN_i\]

Since \(\sum dN_i = 0\) and \(\sum \varepsilon_i dN_i = dE\) (the change in internal energy at constant volume):

\[d(\ln W) = \beta dE\]

Step 3: Identification of \(\beta = 1 / k_B T\)

Using Boltzmann's entropy definition \(S = k_B \ln W\):

\[dS = k_B d(\ln W) = k_B \beta dE\]

Rearranging:

\[\left( \frac{\partial S}{\partial E} \right)_{V, N} = k_B \beta\]

From the fundamental thermodynamic relation \(dE = T dS - P dV + \mu dN\):

\[\left( \frac{\partial S}{\partial E} \right)_{V, N} = \frac{1}{T}\]

Equating the statistical and thermodynamic derivatives:

\[k_B \beta = \frac{1}{T} \implies \beta = \frac{1}{k_B T}\]

This mathematically establishes the identity of \(\beta\) as inverse thermal energy.

Advanced Example 7.4: Thermodynamic Functions of an Independent N-Particle Harmonic Lattice

Consider an Einstein crystal consisting of \(N\) distinguishable 1D harmonic oscillators, each of vibrational frequency \(\nu\), with quantum energy levels \(\varepsilon_v = \left(v + \frac{1}{2}\right) h \nu\) (\(v = 0, 1, 2, \dots\)).

  1. Derive the single-oscillator partition function \(q\) and total lattice partition function \(Q\).
  2. Calculate the internal energy \(U(T)\) and Helmholtz free energy \(A(T)\).
  3. Derive the molar heat capacity \(C_V(T)\) and evaluate its high-temperature limit (Dulong-Petit law).

Comprehensive Multi-Step Solution:

Step 1: Single-Oscillator and Lattice Partition Functions

The energy of a single harmonic oscillator is \(\varepsilon_v = \left(v + \frac{1}{2}\right) h\nu\). Let \(u = \beta h\nu = \frac{h\nu}{k_B T}\):

\[q = \sum_{v=0}^\infty e^{-\beta (v + 1/2) h\nu} = e^{-u/2} \sum_{v=0}^\infty (e^{-u})^v\]

Using the infinite geometric series sum \(\sum_{v=0}^\infty x^v = \frac{1}{1 - x}\) for \(x = e^{-u} < 1\):

\[q = \frac{e^{-u/2}}{1 - e^{-u}} = \frac{e^{-\beta h\nu / 2}}{1 - e^{-\beta h\nu}}\]

Because the lattice sites are localized and therefore distinguishable, the total partition function is:

\[Q = q^N = \left( \frac{e^{-\beta h\nu / 2}}{1 - e^{-\beta h\nu}} \right)^N\]

Step 2: Internal Energy \(U(T)\) and Helmholtz Free Energy \(A(T)\)

1. Logarithm of \(Q\):

\[\ln Q = N \left[ -\frac{\beta h\nu}{2} - \ln(1 - e^{-\beta h\nu}) \right]\]

2. Internal energy \(U\):

\[U = -\frac{\partial \ln Q}{\partial \beta} = -N \left[ -\frac{h\nu}{2} - \frac{h\nu e^{-\beta h\nu}}{1 - e^{-\beta h\nu}} \right] = N h\nu \left[ \frac{1}{2} + \frac{1}{e^{\beta h\nu} - 1} \right]\]

Notice the zero-point energy contribution \(\frac{1}{2} N h\nu\).

3. Helmholtz free energy \(A\):

\[A = -k_B T \ln Q = N k_B T \left[ \frac{h\nu}{2 k_B T} + \ln(1 - e^{-h\nu / k_B T}) \right] = \frac{1}{2} N h\nu + N k_B T \ln(1 - e^{-h\nu / k_B T})\]

Step 3: Molar Heat Capacity and High-Temperature Limit

Differentiating \(U\) with respect to \(T\):

\[C_V = \frac{\partial U}{\partial T} = N h\nu \frac{\partial}{\partial T} \left( \frac{1}{e^{h\nu / k_B T} - 1} \right) = N h\nu \left( -\frac{1}{(e^{h\nu / k_B T} - 1)^2} \right) e^{h\nu / k_B T} \left( -\frac{h\nu}{k_B T^2} \right)\]
\[C_V = N k_B \left( \frac{h\nu}{k_B T} \right)^2 \frac{e^{h\nu / k_B T}}{(e^{h\nu / k_B T} - 1)^2}\]

For a 3D solid with \(3N\) vibrational modes, \(C_{V, 3D} = 3 C_V\). For 1 mole (\(N = N_A\)):

\[C_{V, \text{molar}} = 3 R \left( \frac{\theta_E}{T} \right)^2 \frac{e^{\theta_E / T}}{(e^{\theta_E / T} - 1)^2}\]

where \(\theta_E = \frac{h\nu}{k_B}\) is the Einstein temperature.

High-Temperature Limit (\(T \gg \theta_E \implies x = \theta_E / T \ll 1\)): Taylor expand \(e^x \approx 1 + x\):

\[e^x - 1 \approx x \implies (e^x - 1)^2 \approx x^2\]
\[\lim_{T \rightarrow \infty} C_{V, \text{molar}} = 3 R \lim_{x \rightarrow 0} x^2 \frac{1 + x}{x^2} = 3 R \times 1 = 3 R \approx 24.94\text{ J}\cdot\text{mol}^{-1}\cdot\text{K}^{-1}\]

This precisely recovers the classical Dulong-Petit law.

Advanced Example 7.5: Maxwell-Boltzmann Speeds for Nitrogen and Helium at 300 K

For molecular nitrogen (\(\text{N}_2\), molar mass \(M = 28.013\text{ g/mol}\)) and helium (\(\text{He}\), molar mass \(M = 4.003\text{ g/mol}\)) at \(T = 300.0\text{ K}\):

  1. Calculate the most probable speed \(v_{\text{mp}}\), mean speed \(\langle v \rangle\), and root-mean-square speed \(v_{\text{rms}}\) for both gases.
  2. Determine the ratio of root-mean-square speeds \(v_{\text{rms}}(\text{He}) / v_{\text{rms}}(\text{N}_2)\).
  3. Compute the fraction of \(\text{N}_2\) molecules with speeds exceeding \(1000\text{ m/s}\) at \(300\text{ K}\).

Comprehensive Multi-Step Solution:

Step 1: Characteristic Speeds at \(300\text{ K}\)

The formulas in SI units are:

\[v_{\text{mp}} = \sqrt{\frac{2 R T}{M}}, \quad \langle v \rangle = \sqrt{\frac{8 R T}{\pi M}}, \quad v_{\text{rms}} = \sqrt{\frac{3 R T}{M}}\]

Given \(R = 8.31446\text{ J}\cdot\text{mol}^{-1}\cdot\text{K}^{-1}\) and \(T = 300.0\text{ K}\):

\[R T = 8.31446 \times 300 = 2494.34\text{ J/mol}\]

1. For Nitrogen (\(\text{N}_2\), \(M = 0.028013\text{ kg/mol}\)):

  • \(v_{\text{mp}} = \sqrt{\frac{2 \times 2494.34}{0.028013}} = \sqrt{\frac{4988.68}{0.028013}} = \sqrt{178084} \approx 422.0\text{ m/s}\)
  • \(\langle v \rangle = \sqrt{\frac{8 \times 2494.34}{\pi \times 0.028013}} = \sqrt{\frac{19954.7}{0.088005}} = \sqrt{226745} \approx 476.2\text{ m/s}\)
  • \(v_{\text{rms}} = \sqrt{\frac{3 \times 2494.34}{0.028013}} = \sqrt{\frac{7483.02}{0.028013}} = \sqrt{267127} \approx 516.8\text{ m/s}\)

2. For Helium (\(\text{He}\), \(M = 0.004003\text{ kg/mol}\)):

  • \(v_{\text{mp}} = \sqrt{\frac{4988.68}{0.004003}} = \sqrt{1246235} \approx 1116.3\text{ m/s}\)
  • \(\langle v \rangle = \sqrt{\frac{19954.7}{\pi \times 0.004003}} = \sqrt{\frac{19954.7}{0.012576}} = \sqrt{1586729} \approx 1259.7\text{ m/s}\)
  • \(v_{\text{rms}} = \sqrt{\frac{7483.02}{0.004003}} = \sqrt{1869353} \approx 1367.2\text{ m/s}\)

Step 2: Speed Ratio
\[\frac{v_{\text{rms}}(\text{He})}{v_{\text{rms}}(\text{N}_2)} = \sqrt{\frac{M(\text{N}_2)}{M(\text{He})}} = \sqrt{\frac{28.013}{4.003}} = \sqrt{6.998} \approx 2.645\]

Light helium atoms travel over 2.6 times faster on average than nitrogen molecules at the same temperature.


Step 3: High-Speed Fraction for \(\text{N}_2\)

The speed distribution is \(f(v) = 4\pi (a/\pi)^{3/2} v^2 e^{-a v^2}\) where \(a = \frac{m}{2 k_B T} = \frac{1}{v_{\text{mp}}^2} = \frac{1}{(422.0)^2} \approx 5.615 \times 10^{-6}\text{ s}^2/\text{m}^2\). Let \(u = v / v_{\text{mp}} = 1000 / 422.0 \approx 2.370\). The cumulative fraction exceeding \(u_0 = 2.370\) is:

\[P(u > u_0) = \frac{4}{\sqrt{\pi}} \int_{u_0}^\infty u^2 e^{-u^2} du = 1 - \operatorname{erf}(u_0) + \frac{2}{\sqrt{\pi}} u_0 e^{-u_0^2}\]

With \(u_0^2 \approx 5.617\) and \(e^{-u_0^2} \approx 0.003636\):

\[\frac{2}{\sqrt{\pi}} (2.370) (0.003636) \approx 1.1284 \times 2.370 \times 0.003636 \approx 0.00972\]

And \(1 - \operatorname{erf}(2.370) \approx 0.00085\). Total fraction:

\[P(v > 1000\text{ m/s}) \approx 0.00085 + 0.00972 = 0.01057 \approx 1.06\%\]

Roughly 1.1% of nitrogen molecules travel faster than \(1000\text{ m/s}\) at room temperature.

Advanced Example 7.6: Relative Energy Fluctuations in the Canonical Ensemble

Consider an ideal monatomic gas in a container of fixed volume \(V\) at temperature \(T\).

  1. State the internal energy \(U\) and heat capacity \(C_V\) for \(N\) particles.
  2. Calculate the exact standard deviation \(\sigma_E\) and relative energy fluctuation \(\frac{\sigma_E}{U}\).
  3. Evaluate the relative fluctuation numerically for:
  • A microscopic cluster of \(N = 100\) atoms
  • A macroscopic sample of \(N = 1\text{ mole} = 6.022 \times 10^{23}\) atoms.

Comprehensive Multi-Step Solution:

Step 1: Internal Energy and Heat Capacity

For an ideal monatomic gas:

\[U = \frac{3}{2} N k_B T, \quad C_V = \left(\frac{\partial U}{\partial T}\right)_V = \frac{3}{2} N k_B\]

Step 2: Energy Standard Deviation and Relative Fluctuation

The energy variance in the canonical ensemble is:

\[\sigma_E^2 = k_B T^2 C_V = k_B T^2 \left( \frac{3}{2} N k_B \right) = \frac{3}{2} N (k_B T)^2\]

Taking the square root:

\[\sigma_E = \sqrt{\frac{3}{2} N} k_B T\]

The relative energy fluctuation is:

\[\frac{\sigma_E}{U} = \frac{\sqrt{\frac{3}{2} N} k_B T}{\frac{3}{2} N k_B T} = \frac{\sqrt{3/2}}{\frac{3}{2} \sqrt{N}} = \sqrt{\frac{2}{3 N}}\]

Step 3: Numerical Evaluation

1. For \(N = 100\) atoms:

\[\frac{\sigma_E}{U} = \sqrt{\frac{2}{3 \times 100}} = \sqrt{\frac{2}{300}} = \sqrt{0.006667} \approx 0.0816 \approx 8.16\%\]

In microscopic clusters, energy fluctuates significantly (\(\sim 8\%\)).

2. For \(N = 6.022 \times 10^{23}\) atoms (1 mole):

\[\frac{\sigma_E}{U} = \sqrt{\frac{2}{3 \times 6.022 \times 10^{23}}} = \sqrt{\frac{2}{1.8066 \times 10^{24}}} = \sqrt{1.107 \times 10^{-24}} \approx 1.052 \times 10^{-12}\]

The relative fluctuation is about 1 part in a trillion (\(10^{-10}\%\)). Macrostate energy in the canonical ensemble is extraordinarily sharp and deterministic.

Advanced Example 7.7: Barometric Height Formula and Gravitational Distribution

Consider an isothermal column of an ideal gas of molecular mass \(m\) in a uniform gravitational field with acceleration \(g\).

  1. Write the single-particle potential energy \(\varepsilon_{\text{pot}}(z)\) at height \(z\ge 0\).
  2. Using the Maxwell-Boltzmann distribution, derive the density profile \(\rho(z)\) and pressure profile \(P(z)\) (the Barometric Formula).
  3. For Earth's atmosphere at \(T = 280\text{ K}\) with average molecular mass \(M = 28.97\text{ g/mol}\), calculate the scale height \(H\) and determine the altitude at which atmospheric pressure drops to 50% of sea level pressure.

Comprehensive Multi-Step Solution:

Step 1: Potential Energy and Single-Particle Partition Function

The potential energy of a particle at altitude \(z\) is \(\varepsilon_{\text{pot}}(z) = m g z\). The total single-particle energy is \(\varepsilon = \varepsilon_{\text{trans}} + m g z\). The spatial distribution function along the vertical \(z\)-axis is:

\[P(z) dz \propto e^{-m g z / k_B T} dz\]

Step 2: Derivation of the Barometric Formula

Let \(n(z)\) be the number density of gas molecules at height \(z\). At sea level (\(z = 0\)), let the density be \(n_0\). By the Boltzmann distribution law:

\[n(z) = n_0 \exp\left( -\frac{m g z}{k_B T} \right)\]

Since the gas is ideal and isothermal (\(T = \text{const}\)), the ideal gas law \(P(z) = n(z) k_B T\) yields:

\[P(z) = P_0 \exp\left( -\frac{m g z}{k_B T} \right) = P_0 \exp\left( -\frac{M g z}{R T} \right)\]

Defining the atmospheric scale height \(H = \frac{k_B T}{m g} = \frac{R T}{M g}\):

\[P(z) = P_0 e^{-z / H}\]

Step 3: Numerical Scale Height and Half-Pressure Altitude

Given \(R = 8.3145\text{ J}\cdot\text{mol}^{-1}\cdot\text{K}^{-1}\), \(T = 280.0\text{ K}\), \(M = 0.02897\text{ kg/mol}\), and \(g = 9.80665\text{ m/s}^2\):

\[H = \frac{R T}{M g} = \frac{8.3145 \times 280}{0.02897 \times 9.80665} = \frac{2328.06}{0.28410} \approx 8194.5\text{ m} \approx 8.195\text{ km}\]

To find the altitude \(z_{1/2}\) where \(P(z) = 0.50 P_0\):

\[e^{-z_{1/2} / H} = 0.50 \implies \frac{z_{1/2}}{H} = \ln(2)\]
\[z_{1/2} = H \ln(2) = 8194.5\text{ m} \times 0.693147 \approx 5680\text{ m} \approx 5.68\text{ km}\]

Atmospheric pressure drops by half at approximately \(5.68\text{ km}\) (\(\approx 18,600\text{ ft}\)) above sea level.

Advanced Example 7.8: Einstein-Smoluchowski Diffusion Coefficient and Avogadro's Number

In a Jean Perrin Brownian motion experiment at \(T = 293.15\text{ K}\) (\(20^\circ\text{C}\)): Spherical gamboge colloidal particles of radius \(a = 2.12 \times 10^{-7}\text{ m}\) are suspended in water with dynamic viscosity \(\eta = 1.002 \times 10^{-3}\text{ Pa}\cdot\text{s}\).

  1. Calculate the frictional drag coefficient \(\gamma = 6\pi \eta a\).
  2. The experimentally observed mean square displacement along one axis after \(\tau = 60.0\text{ seconds}\) is \(\langle (\Delta x)^2 \rangle = 1.25 \times 10^{-11}\text{ m}^2\). Calculate the diffusion coefficient \(D\).
  3. Using the Einstein-Smoluchowski relation \(D = \frac{k_B T}{\gamma}\), compute Boltzmann's constant \(k_B\) and Avogadro's number \(N_A = R / k_B\) (given \(R = 8.3145\text{ J}\cdot\text{mol}^{-1}\cdot\text{K}^{-1}\)).

Comprehensive Multi-Step Solution:

Step 1: Frictional Drag Coefficient \(\gamma\)

Using Stokes' law:

\[\gamma = 6\pi \eta a = 6 \pi (1.002 \times 10^{-3}\text{ Pa}\cdot\text{s})(2.12 \times 10^{-7}\text{ m})\]
\[\gamma = 6 \pi \times 2.1242 \times 10^{-10} \approx 4.004 \times 10^{-9}\text{ kg/s}\]

Step 2: Experimental Diffusion Coefficient \(D\)

In 1D Brownian diffusion:

\[\langle (\Delta x)^2 \rangle = 2 D \tau \implies D = \frac{\langle (\Delta x)^2 \rangle}{2 \tau}\]

Substitute \(\langle (\Delta x)^2 \rangle = 1.25 \times 10^{-11}\text{ m}^2\) and \(\tau = 60.0\text{ s}\):

\[D = \frac{1.25 \times 10^{-11}\text{ m}^2}{2 \times 60.0\text{ s}} = \frac{1.25 \times 10^{-11}}{120} \approx 1.0417 \times 10^{-13}\text{ m}^2/\text{s}\]

Step 3: Calculation of \(k_B\) and \(N_A\)

From the Einstein relation \(D = \frac{k_B T}{\gamma}\):

\[k_B = \frac{D \gamma}{T}\]

Substitute numerical values:

\[k_B = \frac{(1.0417 \times 10^{-13}\text{ m}^2/\text{s})(4.004 \times 10^{-9}\text{ kg/s})}{293.15\text{ K}} = \frac{4.171 \times 10^{-22}}{293.15} \approx 1.423 \times 10^{-23}\text{ J/K}\]

Now calculate Avogadro's number \(N_A = \frac{R}{k_B}\):

\[N_A = \frac{8.3145\text{ J}\cdot\text{mol}^{-1}\cdot\text{K}^{-1}}{1.423 \times 10^{-23}\text{ J/K}} \approx 5.84 \times 10^{23}\text{ mol}^{-1}\]

Perrin's historic measurement (\(N_A \approx 6 \times 10^{23}\)) provided the decisive empirical proof that convinced skeptics like Wilhelm Ostwald that atoms and molecules are real physical entities.

Advanced Example 7.9: Grand Canonical Particle Fluctuations and Isothermal Compressibility

In the grand canonical ensemble with grand partition function \(\Xi(\mu, V, T)\):

  1. Derive the expression for the average particle number \(\langle N \rangle\) and particle number variance \(\sigma_N^2 = \langle N^2 \rangle - \langle N \rangle^2\) in terms of derivatives of \(\ln\Xi\).
  2. Prove the fluctuation theorem connecting particle number fluctuations to the isothermal compressibility \(\kappa_T = -\frac{1}{V}\left(\frac{\partial V}{\partial P}\right)_T\):
\[\frac{\sigma_N^2}{\langle N \rangle} = \rho k_B T \kappa_T\]

where \(\rho = \langle N \rangle / V\) is number density.

  1. For an ideal gas (\(\kappa_T = 1/P\)), calculate \(\sigma_N^2 / \langle N \rangle\) and explain the physical significance of critical opalescence near liquid-gas critical points.

Comprehensive Multi-Step Solution:

Step 1: Particle Number and Variance Derivatives

The grand canonical partition function is:

\[\Xi = \sum_N \sum_i e^{-\beta (E_{N, i} - \mu N)}\]

The average particle number is:

\[\langle N \rangle = \frac{1}{\Xi} \sum_N \sum_i N e^{-\beta (E_{N, i} - \mu N)} = \frac{1}{\beta} \left( \frac{\partial \ln \Xi}{\partial \mu} \right)_{T, V} = k_B T \left( \frac{\partial \ln \Xi}{\partial \mu} \right)_{T, V}\]

Differentiating \(\langle N \rangle\) with respect to \(\mu\):

\[\left( \frac{\partial \langle N \rangle}{\partial \mu} \right)_{T, V} = \frac{\partial}{\partial \mu} \left( \frac{1}{\Xi} \sum_N N e^{-\beta(E - \mu N)} \right) = \frac{\beta}{\Xi} \sum_N N^2 e^{-\beta(E - \mu N)} - \frac{\beta}{\Xi^2} \left( \frac{\partial \Xi}{\partial \mu} \right) \sum_N N e^{-\beta(E - \mu N)}\]
\[\left( \frac{\partial \langle N \rangle}{\partial \mu} \right)_{T, V} = \beta \langle N^2 \rangle - \beta \langle N \rangle^2 = \beta \sigma_N^2\]

Therefore:

\[\sigma_N^2 = \langle N^2 \rangle - \langle N \rangle^2 = k_B T \left( \frac{\partial \langle N \rangle}{\partial \mu} \right)_{T, V}\]

Step 2: Relation to Isothermal Compressibility \(\kappa_T\)

From the Gibbs-Duhem equation at constant temperature:

\[N d\mu = V dP \implies d\mu = \frac{V}{N} dP = \frac{1}{\rho} dP\]

Therefore:

\[\left( \frac{\partial N}{\partial \mu} \right)_{T, V} = \left( \frac{\partial N}{\partial P} \right)_{T, V} \left( \frac{\partial P}{\partial \mu} \right)_T = \left( \frac{\partial N}{\partial P} \right)_{T, V} \rho\]

Now use the thermodynamic relation for intensive density \(\rho = N/V\):

\[\left( \frac{\partial N}{\partial P} \right)_{T, V} = -\frac{N^2}{V^2} \left( \frac{\partial V}{\partial P} \right)_{T, N} = \rho^2 V \kappa_T\]

where \(\kappa_T = -\frac{1}{V}\left(\frac{\partial V}{\partial P}\right)_T\) is the isothermal compressibility. Substituting into the variance:

\[\sigma_N^2 = k_B T \left( \frac{\partial N}{\partial \mu} \right) = k_B T \rho \left( \rho^2 V \kappa_T \frac{1}{\rho} \right) = k_B T \rho^2 V \kappa_T = N \rho k_B T \kappa_T\]

Dividing by \(\langle N \rangle\):

\[\frac{\sigma_N^2}{\langle N \rangle} = \rho k_B T \kappa_T\]

Step 3: Ideal Gas and Critical Opalescence

1. For an Ideal Gas:

The equation of state is \(P = \rho k_B T\). The isothermal compressibility is:

\[\kappa_T = -\frac{1}{V} \left( -\frac{n R T}{P^2} \right) = \frac{1}{P} = \frac{1}{\rho k_B T}\]

Substitute into the fluctuation ratio:

\[\frac{\sigma_N^2}{\langle N \rangle} = \rho k_B T \left( \frac{1}{\rho k_B T} \right) = 1\]

For an ideal gas, \(\sigma_N^2 = \langle N \rangle\). The particle number follows a Poisson distribution, with relative fluctuation \(\frac{\sigma_N}{N} = \frac{1}{\sqrt{N}}\).

2. Critical Opalescence:

Near a liquid-gas critical point (e.g., \(\text{CO}_2\) at \(31.0^\circ\text{C}, 73.8\text{ bar}\)), the slope of the isotherm flattens: \(\left(\frac{\partial P}{\partial V}\right)_T \rightarrow 0\). Consequently, the isothermal compressibility diverges:

\[\kappa_T \rightarrow \infty \implies \sigma_N^2 \rightarrow \infty\]

Density fluctuations grow to macroscopic length scales comparable to the wavelength of visible light (\(\sim 500\text{ nm}\)). The fluid scatters light violently in all directions, turning completely milky-white and opaque: Critical Opalescence.