Mathwords logoMathwords

Boltzmann Distribution — Definition, Formula & Example

The Boltzmann distribution is a probability distribution that says how likely a system at a fixed temperature is to be found in each of its possible states. Each state's probability falls off exponentially with its energy, and a higher temperature makes the high-energy states more accessible.

Let a system in thermal equilibrium at absolute temperature TT have discrete states ii with energies EiE_i. The Boltzmann distribution assigns state ii the probability pi=e−Ei/(kBT)/Zp_i = e^{-E_i/(k_B T)}/Z. The normalizing constant Z=∑je−Ej/(kBT)Z = \sum_j e^{-E_j/(k_B T)} is the partition function. Among all distributions with a fixed mean energy, this is the one with maximum entropy.

Key Formula

pi=e−Ei/(kBT)Z,Z=∑je−Ej/(kBT)p_i = \frac{e^{-E_i/(k_B T)}}{Z}, \qquad Z = \sum_{j} e^{-E_j/(k_B T)}
Where:
  • pip_i = Probability that the system is in state ii
  • EiE_i = Energy of state ii (SI units, joules, or electron-volts, as is conventional in physics)
  • kBk_B = Boltzmann constant, 1.380649×10−231.380649 \times 10^{-23} J/K, or about 8.617×10−58.617 \times 10^{-5} eV/K
  • TT = Absolute temperature in kelvins
  • ZZ = Partition function, which makes the probabilities sum to 1

Worked Example

Problem: A molecule has three energy levels: 0 eV, 0.05 eV, and 0.10 eV. The temperature makes kBT=0.05k_B T = 0.05 eV (about 580 K). Find the probability of each level.
Step 1: Divide each energy by kBTk_B T to get dimensionless exponents.
EikBT=00.05, 0.050.05, 0.100.05=0, 1, 2\frac{E_i}{k_B T} = \frac{0}{0.05},\ \frac{0.05}{0.05},\ \frac{0.10}{0.05} = 0,\ 1,\ 2
Step 2: Compute each Boltzmann factor and add them to get the partition function.
Z=e0+e−1+e−2≈1+0.3679+0.1353=1.5032Z = e^{0} + e^{-1} + e^{-2} \approx 1 + 0.3679 + 0.1353 = 1.5032
Step 3: Divide each factor by ZZ.
p0=11.5032≈0.6652,p1=0.36791.5032≈0.2447,p2=0.13531.5032≈0.0900p_0 = \frac{1}{1.5032} \approx 0.6652, \quad p_1 = \frac{0.3679}{1.5032} \approx 0.2447, \quad p_2 = \frac{0.1353}{1.5032} \approx 0.0900
Answer: The probabilities are about 0.6652, 0.2447, and 0.0900, and they sum to 1 (up to rounding). The lowest level is e2≈7.39e^{2} \approx 7.39 times as likely as the highest level. That ratio depends only on the energy gap, not on ZZ.

Why It Matters

In chemistry, the Boltzmann factor e−Ea/(kBT)e^{-E_a/(k_B T)} drives the Arrhenius equation, which explains why reaction rates rise sharply with temperature. The same formula appears in machine learning as the softmax function, which turns scores into probabilities. It also appears in simulated annealing, an optimization method that slowly lowers a temperature parameter.

Common Mistakes

Mistake: Plugging the temperature in degrees Celsius or Fahrenheit into kBTk_B T.
Correction: The formula requires absolute temperature. Convert to kelvins first, for example 77∘F=25∘C=298.1577^\circ\text{F} = 25^\circ\text{C} = 298.15 K. Using Celsius gives the wrong value, and at 0∘C0^\circ\text{C} it would divide by zero.

Related Terms