Let us consider a system immersed in a heat bath that can exchange particles with the bath, which therefore acts also as a particle reservoir. We saw in Sec.
that the flow of particles is governed by the chemical potential, just as the flow of energy is determined by the temperature in an isolated system. Here we want to work out the conditions that establish equilibrium w.r.t the exchange of particles between the system and the reservoir.
Figure:
A system exchanging energy and particles with a heat bath and particle reservoir. The Volume
of thee system is kept constant.
|
|
Let the total number of particles be
,
the number of particles of the system and
the number of particles in the reservoir. In analogy with the assumption that the heat bath is so large than exchange of energy with the system does no affect its temperature, we will make the assumption that the particle reservoir is so large that the chemical potential is unaffected by the exchange of particles with the system. Recall that the chemical potential measures the change of energy as one particle is added to the system, which in general may depend on how many particles the system already has. Indeed, in the previous section we have seen that two systems in contact with different chemical potentials will exchange particles until the two chemical potentials are equal. The above assumption then means that
is so large compared to
that a small change of
causes a negligible change to the value of its chemical potential: the particle reservoir sets the chemical potential. Moreover, using relation
, which establishes that in the absence of internal constraints two systems that can exchange particles have the same chemical potential, the chemical potential of the system is equal to that of the particle reservoir.
We now generalise Eq.
, by including terms in the expansion that depend on the number of particles:
We have not explicitly written the quadratic terms because they involve derivatives of the temperature and of the chemical potential, which because of our assumption of size of the heat bath and particle reservoir are constant. Note that now the energy has two subscripts,
and
. This is because the ensemble of energy levels available to the system depends on the number of particles in it. The probability that the system is in one particular microstate
with energy
and number of particles
is therefore a generalisation of
:
 |
(3.47) |
which is known as the Gibbs distribution for the gran canonical ensemble, which is characterised by constant
. The gran partition function
is the normalisation constant of
:
 |
(3.48) |
which is a function of
and
. Here
and
determine the energy levels
, and
and
the distribution of the energy and the number of particles between the system and the reservoir.
Eq.
can also be rearranged as:
 |
(3.49) |
with
the partition function of the system with
particles. We see that the grand partition function is a weighted average of the canonical partition functions over all possible number of particles.
As for the Boltzmann probability, if the energy levels
have degeneracy
, and
, the probability for the system to have energy
is:
![$\displaystyle p(N,E_{N,r}) = \frac{1}{ \mathcal{Z} }\exp \{\beta [N\mu- E_{N,r} + TS(E_{N,r})]\}.$](img270.svg) |
(3.50) |
The probability for the system to have
particles, regardless of its energy, can be obtained by summing
over all microstates for each value of
:
![$\displaystyle p(N) = \sum_r \frac{1}{ \mathcal{Z} }\exp \{\beta [N\mu- E_{N,r}]\} = \frac{1}{ \mathcal{Z} } \exp \{\beta N\mu\} \sum_r \exp \{-\beta E_{N,r}\} =$](img271.svg) |
|
 |
(3.51) |