The canonical partition function is a statistical sum over all microstates in the canonical ensemble, providing the normalisation needed to determine the probability that each state is occupied in a system in thermal equilibrium at a fixed temperature.
It mathematically given by eq135. To explain why it is called a partition function, we need to evaluate in eq133, which defines the functional form of the probability distribution for a microstate in any system in thermal equilibrium with a heat bath.
Consider a thermal bath in contact with two distinct systems, and
, where system
has volume
and particle number
, while system
has a different volume
and particle number
. The microstates of system
are governed by a constant
, such that
, and those of system
are governed by a constant
, with
. Similarly, the combined system
is governed by a single constant,
, with the total energy of a microstate for the combined system equal to the sum of the energies of the individual microstates,
. According to the derived probability distribution, the probability of a microstate of the combined system is:
On the other hand, the probability of finding the combined system in a specific state is also the product of the probabilities of finding each individual system in its corresponding state:
For eq140 and eq141 to be consistent for all possible values of and
, we must have
. As explained in the previous article, eq133 is derived under the postulate that all microstates with equal energy have equal probability of occurring in any system with fixed volume, composition and temperature. This implies that
, and possibly
, may depend on
,
and
. However, the two systems have different
and
, yet share the value of
. Therefore,
cannot depend on
or
. Since the only parameter common to both systems is the temperature of the thermal bath,
can be a function of temperature alone:
.
Question
Explain why is a function of
and
only.
Answer
, the energy corresponding to each microstate, is determined by solving the Schrodinger equation
, where
is the wavefunction that describes the quantum state resulting from the positions and momenta of all
particles in the system. Therefore,
is a function of
and
only.
Building on the above general argument that is solely a function of temperature, consider the special case of two systems with the same
,
and
, as in the canonical ensemble. Applying the same reasoning here, we again find that the systems share the same
, reinforcing that
depends only on temperature. Thus, regardless of whether the systems have identical or differing volumes and particle numbers, as long as they are in thermal equilibrium with the same heat bath,
is a function solely of temperature, independent of the systems’ internal structure or composition.
To determine the exact expression for , we refer to eq120, which is based on the postulate that the macroscopic properties of a system are given by the ensemble average. In other words, the equation applies to the average of any mechanical property
:
Consider the system’s pressure . When we change the volume of the system, the energy
associated with a microstate of the system also changes. The work done on the system is
, where
is the pressure contributed by the
-th microstate of the system. Since the work done on the system corresponds to a mechanical change in the system’s internal energy, we can also write
, or equivalently,
Substituting eq143 back into eq142 gives:
Using the chain rule, the partial differentiation of eq135 yields:
Substituting eq133 and eq145 into eq144 results in:
The partial derivative of with respect to
is:
Substituting eq147 into eq134 gives:
It follows that:
Assuming that the function is continuous over the domain of interest, we can interchange the derivatives:
Substituting eq146 into eq149 yields:
Comparing eq150 with the thermodynamic identity given by eq127 results in:
Using the chain rule and substituting it into eq151 gives:
Substituting into eq152 and using the reciprocal identity yields:
Since and
are functions of
only, the chain rule form of eq153 can be simplified to
, or equivalently,
. When integrated, this results in
, or
, where
is a constant. Therefore,
where is a constant.
Substituting eq154 back into eq135 gives the explicit form of the canonical partition function:
As discussed, the probability of finding a system, which is in thermal equilibrium with a constant temperature heat bath, in a specific microstate with energy
is given by
. Here, the numerator represents the unnormalised statistical weight of microstate
. This weight becomes a meaningful probability only after dividing by
, which represents the total statistical weight of all accessible microstates. In this sense,
enables the partitioning of the total probability of 1 across all microstates, in proportion to their energy. This is why it is called a partition function.