Statistical Mechanics | Physics
2.1 Microstates and Macrostates
Section titled “2.1 Microstates and Macrostates”A microstate is a complete specification of the state of a system (positions and momenta of all particles). A macrostate is specified by macroscopic variables (energy, volume, particle number).
The fundamental postulate of statistical mechanics states that for an isolated system in equilibrium, every accessible microstate is equally probable.
Definition. The multiplicity is the number of microstates consistent with the macrostate . The statistical entropy is
Proposition 2.1. This definition of entropy agrees with the thermodynamic entropy: .
2.2 The Boltzmann Distribution
Section titled “2.2 The Boltzmann Distribution”Theorem 2.1 (Canonical Ensemble). For a system in thermal equilibrium with a heat bath at temperature The probability of the system being in microstate with energy is
Where the partition function is
Proof. Consider the combined system (system + reservoir) with total energy . The probability of the system being in state is proportional to the number of reservoir microstates compatible with it, which is . Using :
P_i \propto \Omega_R(E_{\mathrm{tot} - E_i) = \exp\left(\frac{S_R(E_{\mathrm{tot} - E_i)}{k_B}\right)}}
Expanding around :
Since . Therefore And normalising gives the result.
2.3 Thermodynamic Quantities from the Partition Function
Section titled “2.3 Thermodynamic Quantities from the Partition Function”Theorem 2.2. The partition function determines all thermodynamic quantities:
Where .
Proof. .
follows from and the identification .
2.4 Ideal Gas
Section titled “2.4 Ideal Gas”Theorem 2.3 (Partition Function of an Ideal Gas). For indistinguishable particles in a 3D box of volume :
Z_N = \frac{1}{N!}\left(\frac{V}{\lambda_{\mathrm{th}^3}\right)^N, \quad \lambda_{\mathrm{th} = \frac{h}{\sqrt{2\pi m k_B T}}}}
Where is the thermal de Broglie wavelength.
Proof. The single-particle energy levels in a 3D box of side () are:
The single-particle partition function is:
For indistinguishable particles (correct Boltzmann counting): .
Corollary 2.4. From We recover the ideal gas law:
F = -k_BT \ln Z_N = -k_BT\left[N\ln\left(\frac{V}{\lambda_{\mathrm{th}^3}\right) - \ln N!\right]}
Giving .
2.5 The Equipartition Theorem
Section titled “2.5 The Equipartition Theorem”Theorem 2.5 (Equipartition). For a classical system in thermal equilibrium, each quadratic degree of freedom in the Hamiltonian contributes to the average energy.
Proof. Consider a single degree of freedom with Hamiltonian (or ). The average energy is:
The same calculation for gives another .
Application. A monatomic ideal gas has 3 translational degrees of freedom: and . A diatomic gas also has 2 rotational degrees of freedom: and (at temperatures where vibration is frozen out).
2.6 Quantum Statistical Distributions
Section titled “2.6 Quantum Statistical Distributions”Fermi—Dirac Statistics (for fermions, particles with half-integer spin):
Where is the chemical potential.
Bose—Einstein Statistics (for bosons, particles with integer spin):
Maxwell—Boltzmann Statistics (classical limit, very negative):
The classical limit applies when the thermal de Broglie wavelength is much smaller than the inter-particle spacing: .
2.7 The Fermi Gas
Section titled “2.7 The Fermi Gas”Definition. The Fermi energy is the chemical potential at :
Where is the particle number density.
Proposition 2.6. At All states with are occupied and all states with are empty. The ground-state energy of a 3D Fermi gas is:
Proof. where is the density of states. Evaluating: .
2.8 Blackbody Radiation
Section titled “2.8 Blackbody Radiation”Planck”s Law gives the spectral energy density of blackbody radiation:
Stefan—Boltzmann Law: The total radiated power per unit area:
Wien’s Displacement Law: The peak frequency satisfies .
2.9 Worked Examples
Section titled “2.9 Worked Examples”Problem. Calculate the Fermi energy and Fermi temperature for copper. Given: electron density , kg.
Solution
The Fermi temperature is much larger than room temperature, confirming that copper electrons are in the degenerate regime.
Worked Example: Entropy of Mixing
Solution. Two ideal gases of particles each, initially separated by a partition, are allowed to mix. Calculate the entropy change.
Before mixing: the total entropy is (for a monatomic gas).
After mixing: each gas occupies volume So the total entropy is:
For 1 mole of each gas: .
Gibbs paradox. If the two gases are identical, the entropy of mixing is zero (no physical change). The resolution is that identical particles are indistinguishable, and the correct counting already accounts for this via the factor in the partition function.
flowchart TD A[2_Statistical Mechanics] --> B[Key Concepts] A --> C[Core Principles] A --> D[Practical Applications] B --> E[Fundamental definitions] C --> F[Design patterns] D --> G[Real-world usage]Intuition
Section titled “Intuition”Statistical mechanics bridges the microscopic world of individual atoms to the macroscopic world we touch and feel. Think of it as the universe’s census: you cannot track every molecule in a gas, but you can count how many microscopic arrangements produce the same temperature and pressure. The partition function is like a grand accounting ledger that tallies every possible microstate, weighted by its probability. The Boltzmann distribution tells us that nature is lazy about energy: low-energy states are much more probable than high-energy ones, but at higher temperatures, the system can afford to explore more states. The equipartition theorem is like splitting energy equally among all available ways to store it. Entropy measures how many microscopic configurations are consistent with what you observe, and it always increases because there are overwhelmingly more ways to be disordered than ordered.
2.10 Common Pitfalls
Section titled “2.10 Common Pitfalls”- The classical limit does not always apply. When Quantum …/4-statistics-and-probability/2_statistics (Fermi-Dirac or Bose-Einstein) must be used. This is critical for electrons in metals and for helium-4 at low temperatures.
- The Boltzmann distribution applies to systems in contact with a heat bath, not isolated systems. For isolated systems, use the microcanonical ensemble (all accessible microstates equally probable).
- The partition function must account for indistinguishability. The factor in is essential for obtaining the correct entropy (otherwise the entropy is not extensive and the Gibbs paradox arises).
Cross-References
Section titled “Cross-References”The Laws of Thermodynamics: Statistical mechanics provides the microscopic foundation for the thermodynamic laws through the partition function and entropy.
The Grand Canonical Ensemble: The grand canonical ensemble extends the canonical formalism to systems that exchange particles with a reservoir.
The Ising Model: The Ising model is a foundational statistical mechanics model for studying phase transitions and magnetic ordering.