Lably
Skip to content

Boltzmann distribution

Probability distribution of energy states of a system

  • 8 min read
  • 5 chapters

Related on Lably

Through Mathematics, Probability distribution and Proportionality (mathematics)

The term system here has a 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 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 only depends on the states' energy difference: pipj=exp⁡(−εikBT−−εjkBT)=exp⁡(εj−εikBT).

The Boltzmann distribution is named after Ludwig Boltzmann, who first formulated it in 1868 during his studies of the statistical mechanics of gases in thermal equilibrium. 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 in 1902.

The Boltzmann distribution should not be confused with the Maxwell–Boltzmann distribution 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, 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 that gives the probability of a certain state as a function of that state's energy and temperature of the system to which the distribution is applied. It is given as pi=1Qexp⁡(−εikBT)=exp⁡(−εikBT)∑j=1Mexp⁡(−εjkBT), where

exp() is the exponential function,
pi is the probability of state i,
εi is the energy of state i,
kB is the Boltzmann constant,
T is the absolute temperature of the system,
M is the number of all states accessible to the system of interest,
Q (denoted by some authors by Z) is the normalization denominator, which is the canonical partition functionQ=∑j=1Mexp⁡(−εjkBT). It results from the constraint that the probabilities of all accessible states must add up to 1.

Using Lagrange multipliers, one can prove that the Boltzmann distribution is the distribution that maximizes the entropy S(p1,p2,…,pM)=−∑i=1Mpilog2⁡pi, subject to the normalization constraint that ∑ipi=1 and the constraint that ∑ipiεi equals a particular mean energy value, except for two special cases. (These special cases occur when the mean value is either the minimum or maximum of the energies εi. In these cases, the entropy maximizing distribution is a limit of Boltzmann distributions where T approaches zero from above or below, respectively.)

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 also gives the quantitative relationship between the probabilities of the two states being occupied. The ratio of probabilities for states i and j is given as pipj=exp⁡(εj−εikBT), where

pi is the probability of state i,
pj the probability of state j,
εi is the energy of state i,
εj is the energy of state j.

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. For a system consisting of many particles, the probability of a particle being in state i is practically the probability that picking a random particle from that system will find it 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: pi=NiN, where Ni is the number of particles in state i, and N is the total number of particles in the system. The Boltzmann distribution gives these probability for a system in thermal equilibrium. So the equation that gives the fraction of particles in state i as a function of the energy of that state is NiN=exp⁡(−εikBT)∑j=1Mexp⁡(−εjkBT).

This equation is of great importance to spectroscopy. Spectroscopy observes spectral lines 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. Their fraction can be estimated from the Boltzmann distribution. 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.

The softmax function commonly used in machine learning is related to the Boltzmann distribution: (p1,…,pM)=softmax⁡[−ε1kBT,…,−εMkBT].

Sign in to keep reading

4 more chapters are free with a Lably account.

More in Physics