Statistical mechanics
Intermediate
What you need first. Nothing else on this path comes first. This page is part of Applications.
In statistical physics, statistical mechanics describe the macroscopic behaviour of many-particle systems by probability distributions on their microscopic states. A gas, a magnet, and a lattice of spins are too large to follow particle by particle. What is observed is a pressure, a magnetisation, a temperature. Statistical mechanics is the probabilistic account of how those macroscopic regularities arise from an enormous number of microscopic configurations. The same functional of a probability distribution reappears as entropy in the mathematical theory of communication. The models are probability models. The subject that uses them is physics, and the tools it shares with statistics are distributions on huge product spaces, Markov dependence, and simulation. A sample survey draws units from a population of people. A statistical-mechanical model puts a probability on the configurations a physical system can occupy. The word sample is a metaphor in the second setting, and the probabilities are part of the physical model rather than a design the investigator chose.[1][2]
Statistical mechanics
| Fact | Value |
|---|---|
| Topic | Applications |
| Listed on | Applications |
Definition
Statistical mechanics describes the equilibrium and the evolution of systems with many components by putting a probability distribution on their microscopic states. Stochastic processes, as a mathematical subject, grew in part from that applied work. Dodge’s history of the stochastic process names the early physical sources as Gibbs, Boltzmann, Poincaré, Smoluchowski, and Langevin, and places the measure-theoretic treatment later, with Doob, Kolmogorov, and others, in the years 1930 to 1940. The scope is the passage from a law for one particle, or one spin, to a law for an average. It is not the same as a sample survey. The configurations are an idealisation of the states a physical system can occupy.[1]
Entropy is the quantity both traditions share. Shannon’s Theorem 2 says that the only uncertainty measure satisfying his three assumptions has the form
with a positive constant. He notes that quantities of this form are the entropy used in formulations of statistical mechanics in which is the probability that the system is in cell of its phase space, and he identifies that quantity with the of Boltzmann’s theorem. A communication system and a physical system are then using one functional of a probability distribution, for different reasons. The constant chooses the unit. If the probabilities are and , the entropy is , which is the two-outcome case plotted against in Shannon’s figure. is zero when one probability is 1 and the others are 0, the case of no uncertainty.[2]
Interpretation
The probabilities in the mechanical model are not frequencies observed in a survey, and they are not degrees of belief attached after an experiment. They are the weights the physical theory puts on configurations. A macroscopic quantity, pressure or magnetisation, is an average of a function of the configuration under that weight. The interpretation of a numerical value is therefore an interpretation inside the model: which configurations are typical, and which macroscopic number those typical configurations share. Shannon’s reading of the same formula is an interpretation inside communication: measures information, choice, and uncertainty of a set of probabilities. He is explicit that the theorem is not required for the communication theory that follows. It is there to make the later definitions plausible, and the justification he accepts is the consequences of the definitions. Using the word entropy for a data set, without a probability distribution on configurations or on messages, imports the name and leaves the functional behind.[2][1]
The two interpretations meet when a probability model is written for a physical system and then used as a statistical model for data from that system. The parameters of the physical distribution can be estimated from measurements, and the entropy can be estimated from the fitted probabilities. The estimate is only as good as the cells of the phase space, or the message alphabet, that were written down. A coarser partition changes , because it changes the . That dependence is a property of the functional, not a defect of the arithmetic. Boltzmann’s and Shannon’s share the sum. They do not share a unit, a single sign convention, or a single reading of what the probabilities mean. The sign in Shannon’s displayed formula is arranged so that is positive when is positive and the logarithm of a probability is negative. A reader who meets the mechanical form with the opposite sign is meeting a different convention for the same sum.[2]
Statistical use
The working objects are distributions on many coordinates and the summaries that survive after most of the coordinates are integrated out. The Ising model is the standard lattice example: binary spins, a probability that favours agreement of neighbours, and macroscopic magnetisation as a function of temperature. A Markov chain is the usual dynamical picture when the next state depends on the present configuration and not on the path that led there. Dodge lists the Markov process, the martingale, the stationary process, and the process of independent increments as the best-known types. The Monte Carlo method estimates averages over those configurations when the normalising constant cannot be written in closed form. Entropy, relative entropy, and the associated inequalities are the analytic tools that say which macroscopic state is typical.[2][1]
A two-state calculation shows the functional without any physics. If a system is in one of two cells with probabilities and , and the logarithm is natural, then
so , in Shannon’s sign convention with , is about . If the two probabilities are and , the sum is , and . The uniform distribution has the larger entropy. That is the content of the functional on the smallest alphabet, and it is the same arithmetic whether the two cells are a toy phase space or a binary message. Nothing in the arithmetic estimates a regression coefficient or a treatment effect. A simulation from an Ising model answers a question about that model. It does not, by itself, estimate a parameter from a survey. None of this replaces a designed experiment on a small sample.[2]
The bridge back into statistical computing is that the same distributions are hard to sample from. The normalising constant of a lattice model is a sum over every configuration, and the number of configurations grows exponentially with the number of sites. Markov-chain Monte Carlo builds a chain whose stationary distribution is the physical distribution, and averages along the chain estimate the macroscopic quantities. The chain is a stochastic process in Dodge’s sense, a family of random variables indexed by time, constructed so that its long-run frequencies match the probabilities the mechanical model assigned. Diagnostics for that chain, mixing, and the Monte Carlo error of the average, are statistical questions about a probability model. They are not a substitute for the physical assumptions that chose the model.[1][2]
Connections
Statistical mechanics is a parent of parts of the theory of stochastic processes and a neighbour of information theory. The Ising model is the lattice example, and it is also a standard test case for Markov chain Monte Carlo, so the subject re-enters statistics as a source of algorithms. The Monte Carlo method is how averages over the configurations are estimated when the normalising constant is unavailable. Entropy here is a property of a probability distribution on configurations, the sum Shannon writes in Theorem 2. It is not a measure of how surprising a data set is unless that data set has been given such a distribution. Confusing the two makes a physical functional sound like a -value. A probability model, in the glossary’s split, predicts relative frequencies of random outcomes. That is the kind of model a mechanical ensemble is. A statistical model that predicts a measured quantity is the other kind, and a pressure gauge reading is a measurement of that second kind, whose relation to the ensemble is an inference, not a definition.[2][1][3]
History
The physical subject is late nineteenth and early twentieth century. Boltzmann’s theorem and Gibbs’s ensembles put probability at the centre of thermodynamics. The mathematicians who built stochastic-process theory did so after, and partly because of, those applications, together with Brownian motion and the other applied sources Dodge groups with statistical mechanics. The theoretical foundations associated with Doob and Kolmogorov come in the 1930s and 1940s, after the physical writings. Shannon’s 1948 paper then recognised the information-theoretic entropy as the same functional, and pointed to the physical reading in which is the probability of a cell in phase space. He names Boltzmann’s theorem as the identification. Later computational work made sampling from those distributions a statistical method in its own right, which is why a lattice model now appears in a course on Markov chains as well as in a course on physics.[1][2]
See also
Abundance estimation · Actuarial science · Astrostatistics · Biostatistics · Business analytics · Censoring · Chemometrics · Computational biology
References
- ^ a b c d e f g a. (p. 521) b. (p. 521) c. (p. 521) d. (p. 521) e. (p. 521) f. (p. 521) g. (p. 521) Dodge, Yadolah (2008). The Concise Encyclopedia of Statistics. Springer. https://doi.org/10.1007/978-0-387-32833-1
- ^ a b c d e f g h i a. (Theorem 2) b. (Theorem 2) c. (Theorem 2) d. (Theorem 2) e. (Theorem 2) f. (Theorem 2) g. (Theorem 2) h. (Theorem 2) i. (Theorem 2) Shannon, C. E. (1948). A Mathematical Theory of Communication. Bell System Technical Journal, 27(3), 379–423. https://doi.org/10.1002/j.1538-7305.1948.tb01338.x
- ^ (Glossary, "model") Heckert, N. A., Filliben, J. J., Croarkin, C. M., Hembree, B., Guthrie, W. F., Tobias, P. & Prinz, J. (2002). Handbook 151: NIST/SEMATECH e-Handbook of Statistical Methods, Glossary. National Institute of Standards and Technology. https://www.itl.nist.gov/div898/handbook/glossary.htm
Cite this page
StatWiki (2026). "Statistical mechanics." StatWiki. Last updated 2 December 2026. https://www.statwiki.io/articles/statistical-mechanics.html
@misc{statwiki_statistical_mechanics,
author = {{StatWiki}},
title = {{Statistical mechanics}},
year = {2026},
url = {https://www.statwiki.io/articles/statistical-mechanics.html},
urldate = {2026-12-02},
note = {StatWiki, last updated 2 December 2026}
}