next up previous
Next: Partition functions Up: Applications of statistical thermodynamics Previous: Paramagnetism

Mean values

Consider a system in contact with a heat reservoir. The systems in the representative ensemble are distributed over their accessible states in accordance with the Boltzmann distribution. Thus, the probability of occurrence of some state $r$ with energy $E_r$ is given by
\begin{displaymath}
P_r = \frac{\exp(-\beta\, E_r)}{\sum_r \exp(-\beta \,E_r)}.
\end{displaymath} (395)

The mean energy is written
\begin{displaymath}
\overline{E} = \frac{\sum_r \exp(-\beta\, E_r)\, E_r}{\sum_r \exp(-\beta\, E_r)},
\end{displaymath} (396)

where the sum is taken over all states of the system, irrespective of their energy. Note that
\begin{displaymath}
\sum_r \exp(-\beta \,E_r)\,E_r = -\sum_r \frac{\partial}{\pa...
...beta}
\exp(-\beta\, E_r)
= -\frac{\partial Z}{\partial \beta},
\end{displaymath} (397)

where
\begin{displaymath}
Z = \sum_r \exp(-\beta \,E_r).
\end{displaymath} (398)

It follows that
\begin{displaymath}
\overline{E} = - \frac{1}{Z} \frac{\partial Z}{\partial \beta} = - \frac{
\partial \ln Z}{\partial \beta}.
\end{displaymath} (399)

The quantity $Z$, which is defined as the sum of the Boltzmann factor over all states, irrespective of their energy, is called the partition function. We have just demonstrated that it is fairly easy to work out the mean energy of a system using its partition function. In fact, as we shall discover, it is easy to calculate virtually any piece of statistical information using the partition function.

Let us evaluate the variance of the energy. We know that

\begin{displaymath}
\overline{(\Delta E)^2} = \overline{E^2} - \overline{E}^2
\end{displaymath} (400)

(see Sect. 2). Now, according to the Boltzmann distribution,
\begin{displaymath}
\overline{E^2} = \frac{\sum_r \exp(-\beta \,E_r)\, E_r^{~2}}{\sum_r \exp(-\beta \,E_r)}.
\end{displaymath} (401)

However,
\begin{displaymath}
\sum_r \exp(-\beta \,E_r)\,E_r^{~2} = -\frac{\partial}
{\par...
...rtial \beta}\right)^2\! \left[
\sum_r \exp(-\beta E_r)\right].
\end{displaymath} (402)

Hence,
\begin{displaymath}
\overline{ E^2} = \frac{1}{Z} \frac{\partial^2 Z}{\partial \beta^2}.
\end{displaymath} (403)

We can also write
\begin{displaymath}
\overline{ E^2} = \frac{\partial}{\partial \beta}\!\left(
\f...
...frac{\partial \overline{E}}{\partial
\beta} + \overline{E}^2,
\end{displaymath} (404)

where use has been made of Eq. (399). It follows from Eq. (400) that
\begin{displaymath}
\overline{(\Delta E)^2} = -\frac{\partial \overline{E}}{\partial \beta}
= \frac{\partial^2 \ln Z}{\partial \beta^2}.
\end{displaymath} (405)

Thus, the variance of the energy can be worked out from the partition function almost as easily as the mean energy. Since, by definition, a variance can never be negative, it follows that $\partial \overline{E}/\partial \beta \leq 0$, or, equivalently, $\partial \overline{E}/\partial T \geq 0$. Hence, the mean energy of a system governed by the Boltzmann distribution always increases with temperature.

Suppose that the system is characterized by a single external parameter $x$ (such as its volume). The generalization to the case where there are several external parameters is obvious. Consider a quasi-static change of the external parameter from $x$ to $x+dx$. In this process, the energy of the system in state $r$ changes by

\begin{displaymath}
\delta E_r = \frac{\partial E_r}{\partial x} \, dx.
\end{displaymath} (406)

The macroscopic work ${\mathchar'26\mskip-12mud}W$ done by the system due to this parameter change is
\begin{displaymath}
{\mathchar'26\mskip-12mud}W = \frac{ \sum_r \exp(-\beta \,E_...
...-\partial E_r/\partial x\,\, dx)}
{\sum_r \exp(-\beta \,E_r)}.
\end{displaymath} (407)

In other words, the work done is minus the average change in internal energy of the system, where the average is calculated using the Boltzmann distribution. We can write
\begin{displaymath}
\sum_r \exp(-\beta \,E_r)\,\frac{\partial E_r}{\partial x} =...
...,E_r)\right] = -\frac{1}{\beta}
\frac{\partial Z}{\partial x},
\end{displaymath} (408)

which gives
\begin{displaymath}
{\mathchar'26\mskip-12mud}W = \frac{1}{\beta Z}\frac{\partia...
...}\,dx = \frac{1}{\beta}
\frac{\partial \ln Z}{\partial x}\,dx.
\end{displaymath} (409)

We also have the following general expression for the work done by the system
\begin{displaymath}
{\mathchar'26\mskip-12mud}W = \overline{X}\,dx,
\end{displaymath} (410)

where
\begin{displaymath}
\overline{X} = - \overline{\frac{\partial E_r}{\partial x}}
\end{displaymath} (411)

is the mean generalized force conjugate to $x$ (see Sect. 4). It follows that
\begin{displaymath}
\overline{X} = \frac{1}{\beta} \frac{\partial \ln Z}{\partial x}.
\end{displaymath} (412)

Suppose that the external parameter is the volume, so $x=V$. It follows that

\begin{displaymath}
{\mathchar'26\mskip-12mud}W = \overline{p} \,dV = \frac{1}{\beta} \frac{\partial \ln Z}{\partial V}
\,dV
\end{displaymath} (413)

and
\begin{displaymath}
\overline{p} = \frac{1}{\beta} \frac{\partial \ln Z}{\partial V}.
\end{displaymath} (414)

Since the partition function is a function of $\beta$ and $V$ (the energies $E_r$ depend on $V$), it is clear that the above equation relates the mean pressure $\overline{p}$ to $T$ (via $\beta = 1/k\,T$) and $V$. In other words, the above expression is the equation of state. Hence, we can work out the pressure, and even the equation of state, using the partition function.


next up previous
Next: Partition functions Up: Applications of statistical thermodynamics Previous: Paramagnetism
Richard Fitzpatrick 2006-02-02