Ideal Gases and Partition Functions
The partition function is the central tool connecting the microscopic world of energy states to the macroscopic thermodynamic quantities you can actually measure. For ideal gases, it lets you derive internal energy, entropy, heat capacity, and more from first principles. For solids, similar ideas apply, but the energy states come from lattice vibrations rather than molecular motion.
Boltzmann Distribution for Ideal Gases
The Boltzmann distribution gives the probability of finding a system in a particular energy state :
where:
- is the energy of state
- is the Boltzmann constant, which relates energy at the particle level to temperature
- is the absolute temperature in Kelvin
- is the partition function, which normalizes the distribution so that all probabilities sum to 1
The exponential factor is called the Boltzmann factor. It tells you that higher-energy states are exponentially less likely to be occupied, and that raising the temperature makes those high-energy states more accessible.
Two classic applications:
- Population of energy levels: At room temperature, most gas molecules sit in low-energy states. As increases, the population spreads out across higher-energy states.
- Maxwell-Boltzmann speed distribution: The familiar bell-shaped curve of molecular speeds in a gas is a direct consequence of the Boltzmann distribution applied to translational kinetic energy.
Partition Functions in Thermodynamics
The partition function sums all Boltzmann factors across every possible energy state:
Think of as a measure of how many states are thermally accessible at temperature . A large means many states are significantly populated; a small means the system is confined to just a few low-energy states.
Factorization for ideal gases. Because the different modes of molecular motion are independent, the total partition function factors into separate contributions:
- Translational (): kinetic energy of the molecule's center-of-mass motion through space. Every gas has this.
- Rotational (): kinetic energy of rotation about molecular axes. Requires at least two atoms.
- Vibrational (): energy stored in stretching and bending of chemical bonds. Becomes significant at higher temperatures.
Which components matter depends on molecular structure:
| Gas type | Examples | Active partition function components |
|---|---|---|
| Monatomic | He, Ne, Ar | Translational only |
| Diatomic | , , HCl | Translational + rotational (+ vibrational at high ) |
| Polyatomic | , , | Translational + rotational + vibrational |
Note that for diatomic gases at moderate temperatures, vibrational modes are often "frozen out" because the vibrational energy spacing is large compared to . They only contribute significantly at high temperatures.

From Partition Function to Thermodynamic Quantities
Once you have , you can extract every equilibrium thermodynamic property through derivatives of . These relations are worth memorizing:
- Helmholtz free energy:
- Internal energy:
- Entropy:
- Heat capacity at constant volume:
The pattern here is that plays the role of a generating function. Successive temperature derivatives give you progressively higher-order thermal properties.
Practical example: For a monatomic ideal gas with only translational degrees of freedom, the equipartition theorem gives and therefore . A diatomic gas at moderate temperatures adds two rotational degrees of freedom, giving . These results follow directly from evaluating the partition function components.
Solids and Density of States

Density of States in Solids
In a solid, energy levels are so closely spaced that they form a near-continuum. Instead of summing over discrete states, you describe the system using the density of states , which gives the number of energy states per unit energy interval.
The partition function then becomes an integral rather than a sum:
The form of depends on what kind of excitation you're considering:
- Electrons in metals: near the Fermi level determines electrical and thermal properties of the conduction band.
- Electrons in semiconductors: separate functions for the valence and conduction bands, with the band gap in between.
- Phonons (quantized lattice vibrations): the phonon density of states governs how a solid absorbs thermal energy, and it's the foundation for the heat capacity models below.
Heat Capacity Models for Solids
At high temperatures, most solids obey the Dulong-Petit law: (or about 25 J/mol·K per mole of atoms). This comes from the equipartition theorem applied to 3 dimensions of vibration, each with kinetic and potential energy. But experiments show that drops well below this value at low temperatures. The Einstein and Debye models explain why.
Einstein Model
Einstein's approach is the simpler one. It assumes every atom in the solid vibrates at the same single frequency .
- Einstein temperature:
- Heat capacity:
At high (), this reduces to the Dulong-Petit value . At low , the heat capacity drops off exponentially. This qualitatively captures the experimental trend, but the exponential decay is too fast compared to what's actually observed in most solids.
Debye Model
Debye improved on Einstein by recognizing that a solid supports a range of vibrational frequencies, from zero up to a maximum cutoff frequency .
- Debye temperature:
- Heat capacity:
The integral must be evaluated numerically in general, but the limiting behavior is what matters most:
- High limit (): recovers (Dulong-Petit)
- Low limit (): predicts
The dependence at low temperatures matches experimental data far better than Einstein's exponential decay. This is the Debye model's main advantage.
Einstein vs. Debye at a glance: Both models agree at high temperatures (Dulong-Petit). They differ at low : Einstein predicts an exponential drop-off, while Debye predicts a power law. Experiments confirm the behavior, making Debye the more accurate model at low temperatures.
Typical Debye temperatures give you a sense of when quantum effects become important: diamond has (so quantum effects persist to high temperatures, and is well below Dulong-Petit even at room temperature), while copper has and silicon has . A solid only reaches the classical Dulong-Petit limit when is well above its Debye temperature.