Statistical Ensembles
Statistical Ensembles
Statistical Ensembles
The Ensembles
In this chapter we discuss the three ensembles of statistical mechanics, the
microcanonical ensemble, the canonical ensemble and the grand canonical ensemble. Here canonical means simply standard or acceptable and the canonical
ensemble therefore holds the central place in statistical mechanics. Logically the
canonical ensemble should be introduced first. The microcanonical and grand
canonical ensembles then follow as a special case (all systems having identical
energies) and an extension (to systems having variable number of particles) of
the canonical ensemble, respectively. However to keep step with Chapter 2 and
to emphasize the physics, we introduce the microcanonical ensemble first and
the grand canonical ensemble last. An ensemble here means an assembly of
systems.
In section 2.4 we described the thermodynamics of an isolated system in
which U, V and the number of particles N had to be constant. The appropriate thermodynamic function to describe the isolated system was the entropy,
S = S(U, V, N ). Since the independent variables of S are constant for an
isolated system, S itself must take a single, constant value at equilibrium and
is therefore an appropriate function to use. In section 2.5 we reviewed the thermodynamics of a system in contact with a heat bath in which energy could be
exchanged between the heat bath and the system. In this case T, V and N
of the system were constant and the appropriate thermodynamic function to
describe the system was the Helmholtz free energy F = F (T, V, N ). Since at
equilibrium the T, V, N are constant, F takes a single, non-fluctuating value at
equilibrium. Finally, in section 2.6 we reviewed the thermodynamics of a system
in contact with a heat and particle bath. In this case heat and particles can be
exchanged between the system and the bath (its surroundings) at constant T
and constant chemical potential In this case the appropriate thermodynamic
function is the thermodynamic potential, = (T, V, ) which takes a single,
minimum value at equilibrium.
In this chapter we will see that:
(1) The Microcanonical ensemble describes an isolated system.
(2) The Canonical ensemble describes a system in contact with a heat bath.
1
Statistical Mechanics.
(3) The Grand Canonical ensemble describes a system in contact with a heat
and particle bath.
Thus the appropriate ensemble to use depends upon the physical circumstances.
Also, when there is particle exchange between the system and its surroundings
but the fluctuations from some average value N are vanishingly small, then there
is little difference between the constant N and variable N cases. In this case the
canonical ensemble and grand canonical ensembles would give the same result.
Noticing this it is sometimes convenient, for calculation purposes, to use the
grand canonical ensemble when N is constant and later impose the restriction
that fluctuations from N are insignificant. The appropriate ensemble to use is
therefore also a question of convenience.
Finally, we have already introduced the canonical ensemble in detail in
Chapter 5 in describing Gibbs statistical mechanics. Gibbs interpretation is
the canonical ensemble method of statistical mechanics. Also, we introduced
the grand canonical ensemble in sections 5.3 and 5.4 to calculate the partition
function for the perfect quantum gases. We did that because it was easier to
evaluate the grand canonical partition function in which N could vary than
to calculate the canonical partition function for fixed N . Thus we have really
already seen most of the physics and mathematics of the ensembles. The purpose
of this chapter is to collect the results in a coherent form and to emphasize the
formal connection between the ensembles themselves and between the ensembles
and thermodynamics.
6.1
(6.1)
PS = 1,
(6.2)
Chapter 6.
we must have
1
.
(6.3)
W
This statistical probability and thermodynamics are related through the
famous Boltzmann relation,
S = k log W
(6.4)
PS =
This could be introduced as a hypothesis but it follows from the relation between
S and PS developed in the next section for the central canonical ensemble. This
is eq. (6.11),
X
S = k
PS log PS
S
= k W (
1
1
log
)
W
W
= k log W (U, V, N )
Thus, as expected, the appropriate thermodynamic function is S(U, V, N )
which is a maximum at equilibrium for an isolated system. This also demonstrates that Boltzmanns relation (eq. 6.4) applies to an isolated system.
An important example of an isolated system that we have already considered was the perfect classical gas of Chapter 3. There we considered a gas at
constant energy and sought the distribution of the individual particles over the
single particle energy or velocity states (the Maxwell-Boltzmann distribution).
We then evaluated the thermodynamic properties of the gas itself and obtained
the Boltzmann relation (eq. 6.4) with
W =
N!
n1 ! n2 ! n3 ! . . .
Here ni is the number of particles in the single particle energy state i . The
equilibrium or most probable state of the gas was that for which W was a maximum. Thus the whole gas can be regarded as an example of a microcanonical
ensemble although in Chapter 3 we were more interested in the statistics of the
individual particles.
Since isolated systems are difficult to realize in practice, the microcanonical ensemble is not often used.
6.2
Statistical Mechanics.
have enough copies that each state is represented at least once in the ensemble.
All copies have the same temperature T , the temperature of the heat bath.
We could imagine constructing the canonical ensemble from the single
system in the microcanonical ensemble of Fig. 2.1 in the following way. We
divide the isolated system in Fig. 2.1 into many (say 109 ) parts. If the original
system contained 1025 particles each part is still large enough to represent the
macroscopic properties of the original system. We take one part as the system
itself and regard the remaining parts as making up the mental copies in the
canonical ensemble. We may also regard the one part as making up the system
and the remaining parts as making up a heat bath. Since the new system is in
good thermal contact with the remaining (surrounding) copies, there is exchange
of heat between system and the heat bath. The exchange of heat serves to keep
the system at constant T .
This canonical ensemble is the Gibbs canonical ensemble we considered in
Chapter 5. Using the Boltzmann combinatorial method to find the probability
of observing the system in energy state ES in this ensemble we found
PS =
where
Z=
1 ES
e
Z
eES
(6.5)
(6.6)
(6.7)
The relations forms the link between the microscopic states ES (V, N ) of the
system and its thermodynamic properties. It also allows us to write PS in the
compact form
PS = e(F ES )
(6.8)
and clearly,
PS = 1 .
(6.9)
Chapter 6.
PS log PS .
(6.11)
PS log PS =
X
1 X
PS F
PS ES )
(
kT
S
1
(F U ) = S/k
kT
(6.12)
This expression for F is often useful if an approximate value for PS being used.
In Quantum Statistical Mechanics the Boltzmann factor PS is often written as an operator,
C = e(F H)
(6.13)
(6.14)
(6.15)
(6.16)
PS AS
X
S
hES | PS AS |ES i
(6.17)
Statistical Mechanics.
hES | C A |ES i
Tr
n
o
C A
(6.18)
Here the trace, Tr, is defined as the sum over the states ES ES . The compact
form (eq. 6.18) is often used to represent averages in the canonical ensemble
and C in eq. (6.13) is called the canonical density operator.
6.3
Here we consider an open system in contact with a heat and particle bath.
The system is open meaning that particles as well as heat can be exchanged
between the bath and the system. An example is a solid or liquid (the system)
in contact with its vapor (the bath) in equilibrium so that particles are freely
exchanged between the liquid and the vapor. Since the vapor and liquid are
in equilibrium, the chemical potential, , is the same in each (and particles
are exchanged to maintain the same in each phase) The grand canonical
ensemble is an assembly of mental copies of this open system. In the ensemble
all possible states of the system are represented; that is, all possible values of
N and all possible energy states ES (N ) for a given N .
We can construct a grand canonical ensemble from the canonical ensemble
depicted in Fig. 6.1. We sub-divide the closed system having N particles in
Fig. 6.1 into two parts; one small part having Na particles in volume Va and
the second having Nb particles in the remaining volume, Vb . We choose Na
Nb = N Na . This division is depicted in Fig. 6.1. The small sub-system
is our open system and particles can be freely exchanged between it and the
remaining N Na particles. The ensemble is then an assembly of mental copies
of this open sub-system.
To develop the statistics for the open system we recall that the probability
of observing the closed system of N particles in energy state ES is from eq. (6.5),
PS = Z 1 eES = e(F ES )
Chapter 6.
Assuming weak mechanical contact between the sub-system (Na particles) and
the remainder of the system (Nb particles) we can write
ES = ESa (Na ) + ESb (Nb )
and
F (T, V, N ) = Fa (T, Va , Na ) + Fb (T, Vb , Nb )
so that
The probability PSa (Na ) of observing the sub-system in energy state ESa (Na )
for any given state of the system b is
X
PSa (Na ) =
PS (N ) = eESa (Na ) e(F Fb )
Sb
where as usual
Fb = kT log
eESb (Nb )
Sb
F
N
Na +
F
V
Va
= Na pa Va
Thus
(6.19)
We have the central result that the probability of observing the open subsystem having Na particles and in energy state ESa (Na ) is proportional to exp
((ES (Na ) Na )). We now focus our attention entirely on the sub-system
and drop the subscript a and write this probability as
PS (N ) e(ES (N )N )
We also define the grand canonical partition function as in section 5.3 by
X
Z=
e(ES (N )N )
(6.20)
S,N
(6.21)
S,N
(6.22)
Statistical Mechanics.
This gives
PS (N ) = Z 1 e(ES (N )N )
(6.23)
and our relation between thermodynamics and statistics for open systems as
pV = kT log Z (T, V, ) .
(6.24)
F
N
T, V
G
N
T, P
(6.26a)
This can be used as the fundamental relation between statistics and thermodynamics for open systems. It is interesting to note that in going from a closed to
an open system (at constant ) we transferred from F to using eq. (6.25) in
our thermodynamic summary in Chapter 2. This gave us a function (T, V, )
of variables T , V , and rather than a function F (T, V, N ) of variables T , V ,
and N . In introducing the grand canonical ensemble we have effectively made
the same transformation of variables by summing over N . That is
Z (T, V, ) =
XX
N
e(ES (N )N )
eN Z(T, V, N )
(6.26b)
Chapter 6.
Hence
PS (N ) =
and
= 1
log Z
ES (N )
ES (N )
N =
= 1
T,V
(log Z)T,V
(6.27)
(6.28)
Also,
X
log Z = Z 1
(ES (N ) N ) e(ES (N )N )
S,N
PS (N ) ES (N ) + N
S,N
so that
U =
(log Z)V, + N
(6.29)
PS (N ) log PS (N ) =
S,N
PS (N )
ES (N ) N
S,N
= U N = T S .
We could also introduce a density operator GC for the grand canonical
ensemble in analogy with C in eq. (6.13) the canonical ensemble. This is
GC = e e(HN )
Average values in the grand canonical ensemble are,
n
o
hAi = Tr GC A
XD
S,N
ES (N ) GC A ES (N )
(6.31)
(6.32)
10
Statistical Mechanics.
The relation eq. (6.11) and eq. (6.30) can be expressed in terms of C and GC
as
S = k Tr {C log C } = k Tr {GC log GC }
(6.33)
e(ES 1 N1 2 N2 ...)
N1 ,N2 ... S
where N1 and 1 are the number and chemical potential of type 1 particles and
so on.
We can also use the grand canonical ensemble to describe a closed system
if this is convenient. In section 5.4 we saw that the RMS fluctuation in the
number of particles N about the average value N in an open system is
h
i1
2 2
(N )RMS N2 (N )
N
Thus the fluctuation in the number of particles is
(N )RMS
1
,
N
N
which is vanishingly small for a large system of particles(N 1023 ). This is
generally true for open systems except near a phase transition or a critical point.
With these exceptions there is essentially no difference between an open and a
closed system containing a macroscopically large number of particles. Thus we
could use a grand ensemble to describe a closed system since we can ignore
all the states having N particles different from the average N . This means we
could calculate Z for a closed system pretending N was variable, if that were
convenient, and ignore all the states N 6= N at the end of the calculation. After
Z is obtained, we approximate (6.26b) by
Z(T, V, ) = eN Z(T, V, N )
(6.34)
to obtain
F = kT log Z = kT log Z N
and
PS = PS (N ) =
log Z(T, V, N )
ES (N )
for the closed system. This is what we did in section 5.3 for the quantum gases.
Thus the choice of the ensemble is also a matter of convenience.
Chapter 6.
11
We can also use the grand ensemble to describe a closed system in which
all the energy states are fixed at ES = U as well as all N = N in this case Z in
eq. (6.34) reduces to
Z = eN
eES (N )
= eN eU W
where W is the degeneracy of the single energy state. Using eq. (6.26a)
= U T S N = N + U kT log W
and
S = k log W (U, V, N )
Thus we can use the grand ensemble in any case should it be convenient provided
N is large.