- Grand canonical ensemble
In
statistical mechanics , the grand canonical ensemble is astatistical ensemble (a large collection of identically prepared systems), where each system is in equilibrium with an external reservoir with respect to both particle and energy exchange. Therefore both the energy and the number of particles is allowed to fluctuate for each individual system in the ensemble. It is an extension of thecanonical ensemble , where systems are only allowed to exchange energy (but not particles). And thechemical potential (orfugacity ) is introduced to control the fluctuation of the number of particles. (Just like temperature is introduced into the canonical ensemble to control the fluctuation of energy.)It is convenient to use the grand canonical ensemble when the number of particles of the system cannot be easily fixed. Especially in quantum systems, e.g., a collection of
bosons orfermions , the number of particles is an intrinsic property (rather than an external parameter) of each quantum state. And fixing the number of particles will cause certain mathematical inconvenience.The partition function
Classically, the partition function of the grand canonical ensemble is given as a weighted sum of canonical partition functions with different number of particles,
:
where denotes the partition function of the
canonical ensemble at temperature , of volume , and with the number of particles fixed at . (In the last step, we have expanded the canonical partition function, and is theBoltzmann constant , the second sum is performed over all microscopic states, denoted by with energy . )Quantum mechanically, the situation is even simpler (conceptually). For a system of bosons or fermions, it is often mathematically easier to treat the number of particles of the system as an intrinsic property of each quantum (eigen-)state, . Therefore the partition function can be written as
:
The parameter is called
fugacity (the easiness of adding a new particle into the system). Thechemical potential is directly related to the fugacity through :. And the chemical potential is theGibbs free energy per particle. (We haved used fugacity instead of chemical potential in defining the partition function. This is because fugacity is an independent parameter of partition function to control the number of particles, as temperature to control the energy. On the other hand, the chemical potential itself contains temperature dependence, which may lead to some confusion. )Thermodynamic quantities
The average number of particles of the ensemble is obtained as:
And the average internal energy is:
The partition function itself is the product between pressure and volume, divided by
:
Other
thermodynamic potentials can be obtained through linear combination of above quantites. For example, the Helmholtz free energy (some people use ) can be obtained as:Statistics of bosons and fermions
For a
quantum mechanical system, the eigenvalues (energies) and the corresponding eigenvectors (eigenstates) of the Hamiltonian (the energy function) completely describe the system. For a macroscopic system, the number of eigenstates (microscopic states) is enormous. Statistical mechanics provides a way to average all microscopic states to obtain meaningful macroscopic quantities.The task of summing over states (calculating the partition function) appears to be simpler if we do not fix the total number of particles of the system. Because, for a noninteracting system, the partition function of grand canonical ensemble can be converted to a product of the partition functions of individual "modes". This conversion makes the evaluation much easier. (However this conversion can not be done in canonical ensemble, where the total number of particles is fixed. )
Each "mode" is a spatial configuration for an individual particle. There may be none or some particles in each mode.In quantum mechanics, all particles are either
bosons orfermions . For fermions, no two particles can share a same mode. But there is no such constraint for bosons. Therefore the partition function (of grand canonical ensemble) for each mode can be written as:
The is the energy of the mode. For fermions, can be 0 or 1 (no particle or one particle in the mode). For bosons, . The upper (lower) sign is for fermions (bosons) in the last step. The total partition function is then a product of the ones for individual modes.
Quantum mechanical ensemble
An ensemble of quantum mechanical systems is described by a
density matrix . In a suitable representation,a density matrix "ρ" takes the form:
where "pk" is the probability of a system chosen at random from the ensemble will be in the microstate
:
So the trace of "ρ", denoted by Tr("ρ"), is 1. This is the quantum mechanical analogue of the fact that the accessible region of the classical phase space has total probability 1.
It is also assumed that the ensemble in question is "stationary", i.e. it does not change in time. Therefore, by Liouville's theorem, ["ρ", "H"] = 0, i.e. "ρH" = "Hρ" where "H" is the Hamiltonian of the system. Thus the density matrix describing "ρ" is diagonal in the energy representation.
Suppose
:
where "Ei" is the energy of the "i"-th energy eigenstate. If a system "i"-th energy eigenstate has "ni" number of particles, the corresponding observable, the "number operator", is given by
:
From classical considerations, we know that the state
:
has (unnormalized) probability
:
Thus the grand canonical ensemble is the mixed state
:
The grand partition, the normalizing constant for Tr("ρ") to be 1, is
:
Wikimedia Foundation. 2010.