We now discuss the connection between the microscopic states of a system and the thermodynamic quantities. We start by assuming that we have a quantum system with discrete energy levels. The passage to classical mechanics will be discussed later. We take as our defining equation the `information theoretic' definition of the entropy:
where
refers to the probability for the system
to exist in the quantum state
. The constant
is Boltzmann's constant which has units of
energy divided by temperature. Our guiding principle
will be to maximize the entropy under various constraints.
First consider an isolated system. If we maximize
Eq. 1.29 with respect to the probabilities, we
find that
is a constant. Let us imagine that there
are exactly
states at energy
(or this many states in a small range of energies centered
about
).
The sum of all probabilities must be one (this is
a constraint), so
and
| (1.30) |
This formula connects the microscopic degeneracy to the
thermodynamic variable
. From Eq. 1.15, we
find that
![]() |
(1.31) |
This is a fundamental equation of statistical mechanics which
relates the temperature to the change in the logarithm of
the degeneracy with energy. Since the degeneracy must increase
with energy, the temperature is a positive quantity. Note
that the combination
is thermodynamically
related to an energy change. The discussion so far relates
to the microcanonical partition function: the case where the
system is completely isolated from the environment.
Next allow the system to exchange energy across a bounding wall which separates it from the surroundings. We maximize the entropy under the constraint that the average energy of the system is a constant. To perform this optimization with constraints, we employ the method of Lagrange multipliers. We consider the entropy expression modified by two constraints (one for the average energy, one for the normalization):
| (1.32) |
Notice that
has units of one over temperature.
When the extremum is obtained, the probability is then
given by
| (1.33) |
The normalization constraint makes the probability
![]() |
(1.34) |
The sum in the denominator is over all states of the system,
and we refer to the sum as the
canonical partition function
.
If we sum over energy levels instead of over all states, then the
partition function becomes
| (1.35) |
Now, what is the connection between the partition function
and thermodynamics? To make this connection, we utilize the
maximum term theorem, which states that the logarithm of the
sum is essentially equal to the logarithm of the largest term
in the sum. This result occurs physically because the
degeneracy
is a rapidly growing
function of
, while the exponential term decreases rapidly
with
(so as to make the terms for high energy go to
zero in the sum). Somewhere in the middle of the energy
range sits the (sharp) maximum. Then
Above we have made the association between
and the entropy. If we differentiate Eq. 1.36
with respect to
, we find
| (1.37) |
so
.
It is then plausible to take the
step
| (1.38) |
Therefore,
| (1.39) |
the Helmholtz free energy. Once we have this connection, other thermodynamic quantities can be derived. For example, the system pressure is
![]() |
(1.40) |
Now that we have the maximum term tool for connecting a partition function to a thermodynamic quantity, we can construct other partition functions which pertain to differing physical circumstances. In addition to modeling a different set of experimental conditions, alternative partition functions may be more suitable for computations of system properties. Here we examine a system which allows heat and particle exchange with the environment, leading to the grand canonical partition function:
![]() |
(1.41) |
where
is the set of all absolute activities
.
Here
is the set of chemical potentials for all
of the system components. The `dot product' leads to a
sum of
terms, one for each component. If we
employ the maximum term method as above, we find the
following thermodynamic connection:
| (1.42) |
This partition function is thus ideally suited for computations of the pressure equation of state.
So far we have expressed the partition functions as discrete sums over the quantum energy levels of the system. For most systems considered in this book, however, classical mechanics is an appropriate level of theory. In the transition from quantum statistical mechanics to the classical picture, the discrete sums are replaced by integrations over particle momenta and coordinates. The transition can be handled rigorously via Wigner distributions, for example, and is discussed in several texts. We simply give the results here.
For a classical system with the set
particles,
the canonical partition becomes
where
| (1.44) |
is Planck's constant,
and
is the particle mass. The expression containing
Planck's constant involves the thermal de Broglie wavelength:
![]() |
(1.45) |
Since there is a product of
de Broglie wavelength terms, those units cancel the units
from the integration variables in
to give a
unitless
in Eq. 1.43.
The energy
is the
classical potential
energy of interaction of all the particles in the system
for a given configuration. If we absorb the terms involving
Planck's constant into the activity, we arrive at
![]() |
(1.46) |
This classical form for the grand canonical partition function naturally leads to series expansions for virial equations of state due to its close resemblance to typical power series.