LightMySky

The Boltzmann Factor and the Partition Function

The chance of a state falls exponentially with its energy divided by kT, and summing those factors over all states gives the partition function. Once it is known, the thermal properties follow by differentiation.

No account needed. Progress saves in this browser.

What a learner can do afterwards

  • Writes the Boltzmann factor for a two-level system and finds the ratio of populations
  • Sums the factors to build a partition function for a small set of states
  • Gets the mean energy of a system from its partition function

1 · Read

The chance of a state falls exponentially with its energy divided by kT: that weight is the Boltzmann factor. Lower states win at cold temperatures, while heat levels the field. The two-level system is the perfect lab. The population ratio of upper to lower is the exponential of minus the gap over kT. Cold means nearly all below, hot means nearly even. Every laser, magnet, and chemical equilibrium leans on this ratio.

Try it together

Take two states, E equal to 0 with factor 3 and E equal to 2 with factor 1. The partition function Z sums the factors over every state, so Z equals 4. State odds are each factor over Z: three quarters below, one quarter above. Mean energy weights each energy by its odds: (0 times 3 plus 2 times 1) over 4 gives 0.5. Build Z first and the rest is arithmetic.

Temperature is the price of energy in the marketplace of microstates. As kT grows past the gaps, every exponential nears one and the odds even out, which is exactly the hot leveling you saw. Once Z is known, the thermal properties follow by differentiation: free energy and heat capacity come from the same total with one more derivative each.

Good to know

Run every thermal question through one pipeline. Write the gap over kT and exponentiate for the population ratio. Sum every factor for Z, never just one state. Divide for odds, weight for mean energy. Check the ends: freezing cold piles everything below, blazing hot splits nearly even.

States weigh in by exp(-E/kT), Z sums the weights into odds, and mean energy follows by weighting.

2 · Watch

Take it off screen

Print a worksheetA4 with an answer key page for grown-ups. No screen, no internet.

Where it sits

Then practise

8 questions wait behind this lesson, each with its answer explained. Every answer feeds the sky: stars light as they are learned, and dim when it is time to come back.

Spotted a problem on this page? Tell us
The Boltzmann Factor and the Partition Function · Science, ages 20 to 22 · LightMySky