Fiveable

๐Ÿง‚Physical Chemistry II Unit 2 Review

QR code for Physical Chemistry II practice questions

2.5 Statistical Mechanics of Ideal Gases

2.5 Statistical Mechanics of Ideal Gases

Written by the Fiveable Content Team โ€ข Last updated August 2025
Written by the Fiveable Content Team โ€ข Last updated August 2025
๐Ÿง‚Physical Chemistry II
Unit & Topic Study Guides

Equation of state for ideal gas

Derivation using statistical mechanics

Statistical mechanics starts from the behavior of individual particles and builds up to the bulk properties you can measure in a lab. For an ideal gas, the goal is to derive the familiar equation of state purely from microscopic reasoning.

The derivation follows these key steps:

  1. Apply the Boltzmann distribution to describe how particles distribute themselves across available energy states. The probability of a particle occupying a microstate with energy ฯตi\epsilon_i is proportional to eโˆ’ฯตi/kTe^{-\epsilon_i / kT}.
  2. Construct the partition function ZZ, which sums the Boltzmann factors over all accessible microstates. This single quantity encodes everything about the system's thermodynamic behavior at equilibrium.
  3. Connect ZZ to macroscopic observables. Pressure, for instance, is obtained from the derivative of lnโกZ\ln Z with respect to volume: P=kT(โˆ‚lnโกZโˆ‚V)TP = kT \left(\frac{\partial \ln Z}{\partial V}\right)_T. Evaluating this for the translational partition function of an ideal gas yields the equation of state directly.

Resulting equation and consistency with empirical law

The statistical mechanical derivation produces:

PV=NkTPV = NkT

  • PP = pressure
  • VV = volume
  • NN = number of particles
  • kk = Boltzmann constant (1.381ร—10โˆ’23โ€‰Jย Kโˆ’11.381 \times 10^{-23} \, \text{J K}^{-1})
  • TT = absolute temperature

This is exactly the empirical ideal gas law (often written PV=nRTPV = nRT with R=NAkR = N_A k). The fact that a purely statistical argument reproduces a well-known empirical result is a strong validation of the statistical mechanical framework. No assumptions about pressure or collisions with container walls were needed; the result falls out of counting microstates.

Derivation using statistical mechanics, Proteins and Wave Functions: Microstates, macrostates, and the Boltzmann distribution

Partition function for ideal gas

Definition and calculation

The partition function ZZ is the central object in statistical mechanics. It acts as a generating function: once you have ZZ, you can extract essentially any equilibrium thermodynamic property by taking appropriate derivatives.

For an ideal gas, the only relevant degrees of freedom at the simplest level are translational (the particles move freely through the container but don't interact). The translational partition function for a single particle in a box of volume VV is:

Ztrans=(2ฯ€mkTh2)3/2VZ_{\text{trans}} = \left(\frac{2\pi m k T}{h^2}\right)^{3/2} V

  • mm = particle mass
  • hh = Planck's constant
  • VV = volume of the container

The exponent 3/23/2 comes from the three independent spatial dimensions, each contributing a factor of (2ฯ€mkTh2)1/2\left(\frac{2\pi m k T}{h^2}\right)^{1/2}.

For NN indistinguishable particles, the total partition function is:

Z=(Ztrans)NN!Z = \frac{(Z_{\text{trans}})^N}{N!}

The N!N! in the denominator corrects for overcounting. Without it, you'd treat swapping two identical particles as a distinct microstate, which leads to the Gibbs paradox (a non-extensive entropy that grows incorrectly with system size). Dividing by N!N! restores the correct extensive behavior.

Derivation using statistical mechanics, Relating Pressure, Volume, Amount, and Temperature: The Ideal Gas Law โ€“ Atoms First / OpenStax

Relation to thermodynamic properties

Once you have ZZ, thermodynamic quantities follow from standard relations. Working with lnโกZ\ln Z is usually more convenient:

  • Helmholtz free energy: A=โˆ’kTlnโกZA = -kT \ln Z
  • Internal energy: U=kT2(โˆ‚lnโกZโˆ‚T)VU = kT^2 \left(\frac{\partial \ln Z}{\partial T}\right)_V
  • Pressure: P=kT(โˆ‚lnโกZโˆ‚V)TP = kT \left(\frac{\partial \ln Z}{\partial V}\right)_T
  • Entropy: S=klnโกZ+kT(โˆ‚lnโกZโˆ‚T)VS = k \ln Z + kT \left(\frac{\partial \ln Z}{\partial T}\right)_V

Notice that the entropy expression is just S=(Uโˆ’A)/TS = (U - A)/T, which is consistent with the thermodynamic identity A=Uโˆ’TSA = U - TS.

As a concrete check: substituting the translational partition function into the pressure relation gives P=NkT/VP = NkT/V, recovering the ideal gas law. Evaluating the internal energy gives U=32NkTU = \frac{3}{2}NkT, which yields the familiar monatomic ideal gas heat capacity CV=32NkC_V = \frac{3}{2}Nk. These results connect directly to the equipartition theorem, where each translational degree of freedom contributes 12kT\frac{1}{2}kT per particle.

Limitations of ideal gas model

Assumptions and deviations from real gas behavior

The ideal gas model rests on two core assumptions:

  • Particles are point-like (zero volume).
  • Particles experience no intermolecular forces except perfectly elastic collisions.

Real molecules violate both assumptions. They have finite size, and they attract each other at moderate distances (van der Waals/dispersion forces) while repelling at very short distances. These effects become significant under two conditions:

  • High pressures/densities, where particles are packed closely enough that their finite volume matters and repulsive interactions dominate.
  • Low temperatures, where kinetic energy is small relative to attractive intermolecular potential energy, eventually leading to condensation into a liquid phase.

At standard conditions for gases like N2\text{N}_2 or O2\text{O}_2, deviations from ideality are small (compressibility factor Zcomp=PV/NkTโ‰ˆ1Z_{\text{comp}} = PV/NkT \approx 1). But near the critical point or at very high pressures, the ideal model fails qualitatively.

Advanced models and quantum effects

The van der Waals equation offers a first correction:

(P+aVm2)(Vmโˆ’b)=RT\left(P + \frac{a}{V_m^2}\right)(V_m - b) = RT

Here aa accounts for intermolecular attractions and bb for finite molecular volume (VmV_m is the molar volume). This captures phenomena like the liquid-gas phase transition that the ideal gas law cannot.

Beyond intermolecular forces, the ideal gas treatment also assumes a continuous (classical) distribution of energies. This breaks down when the thermal de Broglie wavelength ฮ›=h/2ฯ€mkT\Lambda = h / \sqrt{2\pi m k T} becomes comparable to the average interparticle spacing. At that point, quantum statistics replace classical statistics:

  • Bosons (integer spin) follow Bose-Einstein statistics. At sufficiently low temperatures, they can undergo Bose-Einstein condensation, where a macroscopic fraction of particles occupies the ground state.
  • Fermions (half-integer spin) follow Fermi-Dirac statistics. The Pauli exclusion principle prevents multiple fermions from sharing a quantum state, which is why electrons in metals behave very differently from a classical ideal gas even at room temperature.

For most gases at everyday temperatures and pressures, quantum corrections are negligible and the classical ideal gas partition function works well. It remains the essential starting point: you need to understand the ideal case thoroughly before layering on the corrections that describe real systems.