Partition Function Calculator
Sum of states in a canonical ensemble.
Formula first
Overview
The partition function is the central quantity in statistical mechanics, representing the sum over all possible microstates of a system weighted by their Boltzmann factors. It serves as the bridge between microscopic quantum states and macroscopic thermodynamic properties like internal energy and entropy.
Symbols
Variables
= Note
Apply it well
When To Use
When to use: Apply this formula when analyzing a system in thermal equilibrium with a heat bath at a constant temperature, known as the canonical ensemble. It is used to calculate the probability of finding a system in a specific state and to derive thermodynamic potentials.
Why it matters: This function is the 'generating function' of thermodynamics; knowing Z allows you to calculate every other thermodynamic variable for the system. It is fundamental in predicting the behavior of gases, the magnetism of materials, and the structural transitions of biological molecules.
Avoid these traps
Common Mistakes
- Summing over particles instead of states.
- Forgetting degeneracy factor.
One free problem
Practice Problem
A physical system at 300 K has two non-degenerate energy levels: a ground state at 0 J and an excited state at 4.14 ×10⁻²¹ J. Using the Boltzmann constant kB = 1.38 × 10⁻²³ J/K, calculate the partition function Z.
Solve for: out
Hint: Calculate the ratio of the excited state energy to the thermal energy kB ×T, then sum the Boltzmann factors for both states.
The full worked solution stays in the interactive walkthrough.
References
Sources
- Callen, Herbert B. Thermodynamics and an Introduction to Thermostatistics. 2nd ed., John Wiley & Sons, 1985.
- McQuarrie, Donald A. Statistical Mechanics. University Science Books, 2000.
- Kittel, Charles, and Herbert Kroemer. Thermal Physics. 2nd ed., W. H. Freeman, 1980.
- Wikipedia: Partition function (statistical mechanics)
- NIST CODATA
- Atkins' Physical Chemistry
- Callen, H. B. Thermodynamics and an Introduction to Thermostatistics
- Callen, Herbert B. Thermodynamics and an Introduction to Thermostatistics. John Wiley & Sons, 1985.