In
statistical mechanics
In physics, statistical mechanics is a mathematical framework that applies statistical methods and probability theory to large assemblies of microscopic entities. It does not assume or postulate any natural laws, but explains the macroscopic be ...
and
mathematics
Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, a Boltzmann distribution (also called Gibbs distribution
[ Translated by J.B. Sykes and M.J. Kearsley. See section 28]) is a
probability distribution
In probability theory and statistics, a probability distribution is the mathematical function that gives the probabilities of occurrence of different possible outcomes for an experiment. It is a mathematical description of a random phenomenon i ...
or
probability measure that gives the probability that a system will be in a certain
state
State may refer to:
Arts, entertainment, and media Literature
* ''State Magazine'', a monthly magazine published by the U.S. Department of State
* ''The State'' (newspaper), a daily newspaper in Columbia, South Carolina, United States
* ''Our S ...
as a function of that state's energy and the temperature of the system. The distribution is expressed in the form:
:
where is the probability of the system being in state , is the energy of that state, and a constant of the distribution is the product of the
Boltzmann constant
The Boltzmann constant ( or ) is the proportionality factor that relates the average relative kinetic energy of particles in a gas with the thermodynamic temperature of the gas. It occurs in the definitions of the kelvin and the gas constant, ...
and
thermodynamic temperature
Thermodynamic temperature is a quantity defined in thermodynamics as distinct from kinetic theory or statistical mechanics.
Historically, thermodynamic temperature was defined by Kelvin in terms of a macroscopic relation between thermodynamic wor ...
. The symbol
denotes
proportionality (see for the proportionality constant).
The term ''system'' here has a very wide meaning; it can range from a collection of 'sufficient number' of atoms or a single atom to a macroscopic system such as a
natural gas storage tank. Therefore the Boltzmann distribution can be used to solve a very wide variety of problems. The distribution shows that states with lower energy will always have a higher probability of being occupied.
The ''ratio'' of probabilities of two states is known as the Boltzmann factor and characteristically only depends on the states' energy difference:
:
The Boltzmann distribution is named after
Ludwig Boltzmann
Ludwig Eduard Boltzmann (; 20 February 1844 – 5 September 1906) was an Austrian physicist and philosopher. His greatest achievements were the development of statistical mechanics, and the statistical explanation of the second law of thermodyn ...
who first formulated it in 1868 during his studies of the
statistical mechanics
In physics, statistical mechanics is a mathematical framework that applies statistical methods and probability theory to large assemblies of microscopic entities. It does not assume or postulate any natural laws, but explains the macroscopic be ...
of gases in
thermal equilibrium
Two physical systems are in thermal equilibrium if there is no net flow of thermal energy between them when they are connected by a path permeable to heat. Thermal equilibrium obeys the zeroth law of thermodynamics. A system is said to be in ...
. Boltzmann's statistical work is borne out in his paper “On the Relationship between the Second Fundamental Theorem of the Mechanical Theory of Heat and Probability Calculations Regarding the Conditions for Thermal Equilibrium"
The distribution was later investigated extensively, in its modern generic form, by
Josiah Willard Gibbs
Josiah Willard Gibbs (; February 11, 1839 – April 28, 1903) was an American scientist who made significant theoretical contributions to physics, chemistry, and mathematics. His work on the applications of thermodynamics was instrumental in t ...
in 1902.
The Boltzmann distribution should not be confused with the
Maxwell–Boltzmann distribution
In physics (in particular in statistical mechanics), the Maxwell–Boltzmann distribution, or Maxwell(ian) distribution, is a particular probability distribution named after James Clerk Maxwell and Ludwig Boltzmann.
It was first defined and use ...
or
Maxwell-Boltzmann statistics. The Boltzmann distribution gives the probability that a system will be in a certain ''state'' as a function of that state's energy,
[Atkins, P. W. (2010) Quanta, W. H. Freeman and Company, New York] while the Maxwell-Boltzmann distributions give the probabilities of particle ''speeds'' or ''energies'' in ideal gases. The distribution of energies in a
one-dimensional gas however, does follow the Boltzmann distribution.
The distribution
The Boltzmann distribution is a
probability distribution
In probability theory and statistics, a probability distribution is the mathematical function that gives the probabilities of occurrence of different possible outcomes for an experiment. It is a mathematical description of a random phenomenon i ...
that gives the probability of a certain state as a function of that state's energy and temperature of the
system
A system is a group of Interaction, interacting or interrelated elements that act according to a set of rules to form a unified whole. A system, surrounded and influenced by its environment (systems), environment, is described by its boundaries, ...
to which the distribution is applied.
It is given as
:
where ''p
i'' is the probability of state ''i'', ''ε
i'' the energy of state ''i'', ''k'' the Boltzmann constant, ''T'' the absolute temperature of the system and ''M'' is the number of all states accessible to the system of interest.
The normalization denominator ''Q'' (denoted by some authors by ''Z'') is the
canonical partition function
The adjective canonical is applied in many contexts to mean "according to the canon" the standard, rule or primary source that is accepted as authoritative for the body of knowledge or literature in that context. In mathematics, "canonical exampl ...
:
It results from the constraint that the probabilities of all accessible states must add up to 1.
The Boltzmann distribution is the distribution that maximizes the
entropy
Entropy is a scientific concept, as well as a measurable physical property, that is most commonly associated with a state of disorder, randomness, or uncertainty. The term and the concept are used in diverse fields, from classical thermodynam ...
:
subject to the normalization constraint and the constraint that
equals a particular mean energy value (which can be proven using
Lagrange multipliers
In mathematical optimization, the method of Lagrange multipliers is a strategy for finding the local maxima and minima of a function subject to equality constraints (i.e., subject to the condition that one or more equations have to be satisfied e ...
).
The partition function can be calculated if we know the energies of the states accessible to the system of interest. For atoms the partition function values can be found in the NIST Atomic Spectra Database.
The distribution shows that states with lower energy will always have a higher probability of being occupied than the states with higher energy. It can also give us the quantitative relationship between the probabilities of the two states being occupied. The ratio of probabilities for states ''i'' and ''j'' is given as
:
where ''p
i'' is the probability of state ''i'', ''p
j'' the probability of state ''j'', and ''ε
i'' and ''ε
j'' are the energies of states ''i'' and ''j'', respectively. The corresponding ratio of populations of energy levels must also take their
degeneracies into account.
The Boltzmann distribution is often used to describe the distribution of particles, such as atoms or molecules, over bound states accessible to them. If we have a system consisting of many particles, the probability of a particle being in state ''i'' is practically the probability that, if we pick a random particle from that system and check what state it is in, we will find it is in state ''i''. This probability is equal to the number of particles in state ''i'' divided by the total number of particles in the system, that is the fraction of particles that occupy state ''i''.
:
where ''N
i'' is the number of particles in state ''i'' and ''N'' is the total number of particles in the system. We may use the Boltzmann distribution to find this probability that is, as we have seen, equal to the fraction of particles that are in state i. So the equation that gives the fraction of particles in state ''i'' as a function of the energy of that state is
:
This equation is of great importance to
spectroscopy
Spectroscopy is the field of study that measures and interprets the electromagnetic spectra that result from the interaction between electromagnetic radiation and matter as a function of the wavelength or frequency of the radiation. Matter wa ...
. In spectroscopy we observe a
spectral line
A spectral line is a dark or bright line in an otherwise uniform and continuous spectrum, resulting from emission or absorption of light in a narrow frequency range, compared with the nearby frequencies. Spectral lines are often used to iden ...
of atoms or molecules undergoing transitions from one state to another.
In order for this to be possible, there must be some particles in the first state to undergo the transition. We may find that this condition is fulfilled by finding the fraction of particles in the first state. If it is negligible, the transition is very likely not observed at the temperature for which the calculation was done. In general, a larger fraction of molecules in the first state means a higher number of transitions to the second state. This gives a stronger spectral line. However, there are other factors that influence the intensity of a spectral line, such as whether it is caused by an allowed or a
forbidden transition
In spectroscopy, a forbidden mechanism (forbidden transition or forbidden line) is a spectral line associated with absorption or emission of photons by atomic nuclei, atoms, or molecules which undergo a transition that is not allowed by a particul ...
.
The
softmax function
The softmax function, also known as softargmax or normalized exponential function, converts a vector of real numbers into a probability distribution of possible outcomes. It is a generalization of the logistic function to multiple dimensions, a ...
commonly used in machine learning is related to the Boltzmann distribution:
:
Generalized Boltzmann distribution
Distribution of the form
: