The goal of this section is to obtain the density operator
 |
(72) |
with
 |
(73) |
that maximizes the entropy
ln |
(74) |
subject to the constraints of fixed volume V, average internal energy
 |
(75) |
and average number of particles
 |
(76) |
Such density operator describes the maximum entropy ensemble distribution for a grand canonical ensemble --i.e., a collection of replica systems in thermal equilibrium with a heat reservoir whose temperature is
as well as in equilibrium with respect to exchange of particles with a ``particle'' reservoir where the temperature is
and the chemical potential of the particles is
. This problem is solved in terms of the Method of Lagrange Multipliers by maximizing the function
ln |
(77) |
where
,
and
are Lagrange Multipliers. Solving for
from the following equation
ln |
(78) |
we obtain
Introducing the quantities
and
we obtain the generalized Boltzmann distribution
 |
(80) |
where
 |
(81) |
is the grand canonical partition function.
The goal of the remaining of this section is to find the relation between the canonical and the grand canonical partition functions,
and
, respectively.
Substituting Eq. (80) into Eq. (74) we obtain
ln |
(82) |
and solving for
ln
from Eq. (82) we obtain
ln |
(83) |
Therefore,
ln |
(84) |
and
 |
(85) |