Boltzmann distribution Created 2026-09-28 Updated 2026-10-14
The Boltzmann distribution assigns probabilities to individual microstates in a canonical ensemble, a statistical ensemble for thermal contact. The system exchanges energy with a thermal reservoir at fixed positive absolute temperature , while its particle number and external parameters, such as volume, stay fixed. The thermal reservoir is large enough that these exchanges barely change its temperature; the coupling permits thermal equilibrium but contributes negligible interaction energy. All the microstates considered have the same . No chemical potential term is needed in their weights; fixed does not imply that the chemical potential is zero.
For a finite discrete set of microstates with energies , write
Here is the Boltzmann constant, is the inverse temperature, is a Boltzmann factor, and is the partition function. The Boltzmann factor is a weight; dividing by the partition function makes it a probability. [ref]
The useful surprise is that a fixed temperature still permits thermal fluctuations in the system's energy. The Boltzmann distribution predicts their probabilities and expected values without tracking every microscopic exchange. Its exponential function also makes rare excited microstates sensitive to temperature: an energy gap much larger than gives strong Boltzmann suppression, while warming increases their relative populations. A population ratio can therefore reveal a gap or serve as a thermometer, provided thermal equilibrium and the relevant state degeneracies are known.
Historically, Josiah Willard Gibbs's Elementary Principles in Statistical Mechanics (1902) presents the canonical ensemble in Chapter IV. His equations 90–92 give an exponential function of energy and its normalization, in classical phase space. This classical formulation exhibits the same weighting principle. [ref] [ref]
An apolar axis model with pair energy is invariant when each molecular representative is independently reversed. The vector average changes under these replacements, but the nematic order parameter made from second moments does not. In an unbiased statistical ensemble the vector average vanishes; an individual finite representative need not have zero average. For independently chosen signs of a perfectly aligned axis, . This distinguishes exact head-tail invariance of an observable from vanishing only after an average.[ref]
Isothermal-isobaric ensemble Created 2026-10-20 Updated 2026-10-24
An equilibrium statistical ensemble with fixed particle number, pressure and temperature, allowing volume and energy to fluctuate. With a temperature-independent volume measure, its joint weight is proportional to . Its normalization and any temperature-dependent prefactor must be specified when taking thermodynamic derivatives.
A microstate specifies the microscopic state: classically the positions and momenta of all particles, or quantum mechanically an allowed many-body state. A macrostate specifies a few coarse variables such as energy, volume and particle number. Many microstates can give the same macrostate. A statistical ensemble is a probability assignment over hypothetical copies prepared with the same macroscopic constraints; it does not require a sample to be literally divided into many physical copies. An observable's ensemble mean is , with an integral replacing the sum in classical phase space.
For an isolated system at fixed , the microcanonical ensemble assigns equal probability to accessible microstates in a narrow energy shell. If their number is , the Boltzmann entropy is . Thermal contact between two initially isolated systems allows energy to be shared while their sum stays fixed. The most probable division maximizes , so equilibrium requires equal . This gives the statistical temperature definition
For positive temperature, energy tends to flow from lower entropy slope to higher entropy slope until those slopes agree. The narrow energy-shell width represents macroscopic resolution; it must not exclude the physically accessible states.
For a small subsystem exchanging energy with a much larger bath, the bath has energy when subsystem microstate has energy . Expanding its entropy gives . Counting compatible bath states therefore yields the Boltzmann distribution and canonical ensemble:
The exponential weights individual microstates. An energy level of degeneracy has total probability ; a more degenerate excited level can outweigh one ground-state level even though each of its microstates is less probable. The Gibbs entropy gives . The equilibrium energy variance is , linking measurable fluctuations to a macroscopic response.
If particle exchange is also allowed, a reservoir fixes and chemical potential . The grand canonical ensemble weights a state by , with . Mean particle number is , while volume remains a constraint in this version. Thus the ensemble follows the physical exchange conditions: fixed energy, thermal contact, or thermal and particle contact.
In ordinary large short-range systems, relative fluctuations often decrease as and the ensembles give the same bulk thermodynamics away from singular limits. Finite systems, critical fluctuations and long-range interactions require care. Interpreting a time average as an ensemble average additionally requires appropriate sampling or mixing dynamics; it is not guaranteed solely by naming an ensemble. thermal equilibrium probability assignments do not describe every driven or relaxing state.
Differentiation gives . For the origin is the global minimum; for , has and . Therefore, close enough to the transition for the quartic expansion to apply,
The order parameter approaches zero continuously with mean-field critical exponent : the transition is continuous. In the aligned phase a particular direction is chosen. The vector-spin rotation symmetry is spontaneously broken from to , or from to including reflections. The manifold of vector order parameter directions is a sphere, so this is not just a two-state sign choice.[ref]
Figure 1.
Quartic ferromagnetic free energy and the continuous equilibrium magnetization curve
. Details.
The plot uses illustrative and temperature measured in units of . A unit-spin average must satisfy ; if the quartic model is used literally far below the transition, its constrained minimum is . In practice the near-transition expansion is not a controlled prediction of deep low-temperature saturation. Also, a finite zero-field statistical ensemble that averages all directions has even below ; the curve describes the magnitude in a selected ordered state, obtained by appropriate boundary conditions or the thermodynamic limit before removing a small magnetic field.
The independent head-tail reversal symmetry means that the squared dot product interaction energy is unchanged when any individual is replaced by . All configurations , with independently, attain the aligned ground-state pair energy. There is consequently no energetic preference for either end of a molecular axis. Averaging over these equally weighted signs gives and even in the nematically ordered phase. The surviving order is the unoriented axis, represented by a nematic director with . A second-moment tensor can detect this order while a polar vector cannot.[ref]
The word “always” needs the statistical ensemble or apolar interpretation: it is not an identity for each finite configuration. For example, choosing all is also a ground-state representative and gives . In an unbiased sign statistical ensemble the typical residual polar vector has size of order , because for these independent ground-state signs. This does not make polar order an equilibrium nematic order parameter. The tensor below is unchanged by each sign flip and thus removes the arbitrary labeling of rod ends.
An statistical ensemble specifies probabilities of microstates under particular macroscopic constraints. It represents statistical information about a system; the reservoir constraints of equilibrium ensembles specify what it can exchange with its surroundings.
The thermodynamic potentials generate mean quantities and response functions. For example, canonical energy variance is . With short-range interactions and stable bulk phases, relative fluctuations usually vanish for large systems and these ensembles give equivalent bulk predictions after matching their mean variables. Finite systems, constraints and long-range interactions require greater care; the ensembles retain different fluctuating variables.[ref]
The strings in Boltzmann entropy of a two-box occupancy are complete microstates only within the binary toy model. They retain a coarse-grained variable for each particle and omit its exact position within a box and its momentum. An actual classical gas instead occupies continuous phase space; obtaining a dimensionless count from a phase space volume requires a specified cell convention and the appropriate treatment of particle identity. A quantum state count must respect the allowed quantum states and quantum statistics. Thus is not a general count of microstates for a gas obeying quantum ideal-gas statistics. [ref]
For a discrete probability distribution with unequal weights, use the existing Gibbs entropy article; its equal-weight case gives Boltzmann's entropy formula. Shannon entropy uses the corresponding information measure, with the logarithm base setting its units. A count alone cannot replace the specified probability distribution, as the Boltzmann distribution examples demonstrate. [ref]
Overwhelming multiplicity explains why thermodynamic equilibrium is overwhelmingly probable in macroscopic systems under the appropriate statistical assumptions. It does not make low-entropy thermal fluctuations logically impossible. Nor does counting alone derive irreversible macroscopic evolution: one also needs dynamics, an initial preparation, and a reason the system samples the allowed microstates on the timescale of interest. [ref]
Historically, Boltzmann's 1877 paper counted microscopic arrangements, called complexions, and related the natural logarithm of their number to entropy. The Sharp and Matschinsky translation appeared in Entropy 17 (2015), pages 1971–2009, DOI 10.3390/e17041971. Its notation differs from ours: Boltzmann's permutability measure is already logarithmic, whereas here is the count. [ref] Josiah Willard Gibbs's Elementary Principles in Statistical Mechanics (1902) developed the statistical ensemble framework; Chapter XIV compares several statistical definitions of entropy with thermodynamics. [ref] [ref]
Statistical ensemble 2026-10-14
A statistical ensemble describes hypothetical copies of the same system under specified constraints, with a probability distribution over their microstates. An ensemble average is an expected value across those copies. The canonical ensemble fixes temperature and particle number while allowing energy exchange; the microcanonical ensemble fixes energy, and the grand canonical ensemble also allows particle exchange. These choices specify different physical preparations. [ref]