Grand canonical ensemble

From Wikipedia, the free encyclopedia

Statistical mechanics
Microcanonical ensemble
Canonical ensemble
Grand canonical ensemble
Isothermal–isobaric ensemble
Isoenthalpic–isobaric ensemble
edit

In statistical mechanics, the grand canonical ensemble is a statistical 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 the canonical ensemble, where systems are only allowed to exchange energy (but not particles). And the chemical potential (or fugacity) 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 or fermions, 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.


Contents

[edit] 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, N\,

 \mathcal{Z}(z,  V, T) = 
\sum_{N=0}^{\infty} z^N \, Z(N, V, T) \, 
=\sum_{N=0}^{\infty} \sum_i z^N \, \exp(-E_i/ k_B T) \,

where  Z(N, V, T) \, denotes the partition function of the canonical ensemble at temperature T\,, of volume V\,, and with the number of particles fixed at N\,. (In the last step, we have expanded the canonical partition function, and k_B \, is the Boltzmann constant, the second sum is performed over all microscopic states, denoted by i\, with energy E_i\,. )

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, i\,. Therefore the partition function can be written as

 \mathcal{Z}(z,  V, T) = \sum_i z^{N_i} \, \exp(-E_i/ k_B T) \,

The parameter z\, is called fugacity (the easiness of adding a new particle into the system). The chemical potential is directly related to the fugacity through

\mu = k_B T \ln z\,.

And the chemical potential is the Gibbs 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. )

[edit] Thermodynamic quantities

The average number of particles of the ensemble is obtained as

 \langle N \rangle  = z\frac{\partial} {\partial z} \ln \mathcal{Z}(z, V, T).

And the average internal energy is

 \langle E \rangle  = k_B T^2 \frac{\partial} {\partial T} \ln \mathcal{Z}(z, V, T).


The partition function itself is the product between pressure P\, and volume, divided by k_B T\,

 P V  = k_B T  \ln \mathcal{Z}


Other thermodynamic potentials can be obtained through linear combination of above quantites. For example, the Helmholtz free energy F\, (some people use A\,) can be obtained as

 F= N \mu - PV = - k_B T \ln( \mathcal{Z}/z^N).


[edit] 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 or fermions. 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

  \sum_n z^n \exp(- n \epsilon/ k_B T) \, = (1 \pm z \exp(- \epsilon/ k_B T))^{\pm1}

The \epsilon \, is the energy of the mode. For fermions, n\, can be 0 or 1 (no particle or one particle in the mode). For bosons, n=0,1,2,...\,. 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.

[edit] 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

\rho = \sum_k p_k |\psi_k \rangle \langle \psi_k|

where pk is the probability of a system chosen at random from the ensemble will be in the microstate

 |\psi_k \rangle.

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 = where H is the Hamiltonian of the system. Thus the density matrix describing ρ is diagonal in the energy representation.

Suppose

 H = \sum_n E_i |\psi_i \rangle \langle \psi_i|

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

 N = \sum_n n_i |\psi_i \rangle \langle \psi_i|.

From classical considerations, we know that the state

|\psi_i \rangle

has (unnormalized) probability

p_i = e^{-\beta (E_i - \mu n_i)}  \,.

Thus the grand canonical ensemble is the mixed state

\rho = \sum_i p_i |\psi_i \rangle \langle \psi_i| = \sum_i e^{-\beta (E_i - \mu n_i)} |\psi_i \rangle \langle \psi_i|
= e^{- \beta (H - \mu N)}.

The grand partition, the normalizing constant for Tr(ρ) to be 1, is

 {\mathcal Z} =\mathbf{Tr} [ e^{- \beta (H - \mu N)} ].