Statistical Mechanics is the branch of physics that connects microscopic descriptions of matter with macroscopic thermodynamic behaviour using probability, statistics and models of large collections of particles. Instead of attempting to track every particle individually, it describes ensembles of possible microscopic states and determines macroscopic quantities from statistical properties of those states. The approach explains why temperature, pressure, Entropy and other thermodynamic quantities emerge from enormous numbers of microscopic degrees of freedom. It is particularly powerful because systems containing astronomical numbers of particles cannot normally be analysed by solving the exact microscopic motion of every constituent.
Statistical Mechanics distinguishes microscopic states called microstates from macroscopic descriptions called macrostates. A microstate specifies the microscopic information required by a particular model, such as particle positions and momenta in classical mechanics or quantum states in quantum mechanics. A macrostate specifies measurable quantities such as energy, volume, particle number and composition. Many different microstates can correspond to the same macrostate. The number and probability of compatible microstates determine macroscopic statistical properties. This many to one relationship explains why macroscopic systems can have stable properties even though microscopic particles are continually moving and interacting.
Statistical ensembles provide mathematical frameworks for describing systems under different constraints. The microcanonical ensemble represents an isolated system with fixed energy, volume and particle number. The canonical ensemble represents a system in thermal contact with a reservoir at fixed temperature and typically fixed volume and particle number. The grand canonical ensemble allows particle exchange and uses temperature, volume and chemical potential as important constraints. These ensembles are not simply different physical theories but alternative statistical descriptions suited to different physical conditions. Under appropriate conditions they produce equivalent macroscopic thermodynamic predictions in the thermodynamic limit.
Statistical Mechanics gives Entropy a microscopic interpretation. In the simplest equal probability formulation the entropy is related to the logarithm of the number of accessible microstates. More generally statistical entropy depends on the probability distribution over microstates. The logarithmic form is important because independent systems have additive entropies when their numbers of accessible configurations multiply. This relationship connects the macroscopic Second Law with microscopic probability. The apparent tendency of macroscopic systems toward higher entropy can therefore be understood statistically as the overwhelming predominance of macrostates corresponding to very large numbers of microscopic configurations.
Partition functions are central mathematical objects in Statistical Mechanics. In the canonical ensemble the partition function sums Boltzmann weighted contributions from accessible microstates. From the partition function researchers can derive thermodynamic quantities such as free energy, average energy, entropy and pressure through appropriate mathematical relationships. The partition function therefore acts as a compact representation of equilibrium statistical information. Calculating it exactly is possible only for certain models, so approximation methods, perturbation techniques, numerical simulations and computational statistical mechanics are often necessary for realistic interacting systems.
Statistical Mechanics explains the microscopic basis of the Kinetic Theory of Gases and many Gas Laws. In an ideal gas particles are modelled as moving independently with negligible intermolecular potential energy except during collisions. The statistical distribution of particle velocities produces measurable quantities such as pressure and temperature. The Maxwell Boltzmann velocity distribution predicts how molecular speeds are distributed at equilibrium. Macroscopic relationships such as the ideal gas law can then be interpreted as consequences of microscopic particle motion rather than as isolated empirical formulas.
Statistical Mechanics has developed alongside both classical and quantum physics. Classical statistical mechanics uses phase space and probability distributions over positions and momenta, while quantum statistical mechanics uses quantum states and operators. Quantum statistics becomes essential when particles are indistinguishable and quantum effects are significant. Bosons obey Bose Einstein statistics and fermions obey Fermi Dirac statistics, while the classical Maxwell Boltzmann approximation becomes appropriate under suitable conditions of low density and sufficiently high temperature. These distinctions explain important phenomena including blackbody radiation, electron behaviour in solids and low temperature quantum matter.
Statistical Mechanics has applications far beyond ideal gases. It is used to understand phase transitions, magnetism, polymers, liquids, solids, chemical systems, biological processes and materials. Modern computational approaches use Monte Carlo methods, molecular dynamics and other numerical techniques to estimate properties of systems that cannot be solved analytically. A central strength of Statistical Mechanics is that it explains how simple microscopic rules can produce complex macroscopic behaviour. Its conclusions nevertheless depend on the microscopic model, assumptions, probability distribution and treatment of interactions, so statistical predictions must be interpreted within the physical conditions for which the model is appropriate.