| Statistical mechanics |
|---|
Instatistical mechanics, thegrand canonical ensemble (also known as themacrocanonical ensemble) is thestatistical ensemble that is used to represent the possible states of a mechanical system of particles that are inthermodynamic equilibrium (thermal and chemical) with a reservoir.[1] The system is said to be open in the sense that the system can exchange energy and particles with a reservoir, so that various possible states of the system can differ in both their total energy and total number of particles. The system's volume, shape, and other external coordinates are kept the same in all possible states of the system.
The thermodynamic variables of the grand canonical ensemble arechemical potential (symbol:µ) andabsolute temperature (symbol:T). The ensemble is also dependent on mechanical variables such as volume (symbol:V), which influence the nature of the system's internal states. This ensemble is therefore sometimes called theµVT ensemble, as each of these three quantities are constants of the ensemble.
In simple terms, the grand canonical ensemble assigns a probabilityP to each distinctmicrostate given by the following exponential:whereN is the number of particles in the microstate andE is the total energy of the microstate.k is theBoltzmann constant.
The numberΩ is known as thegrand potential and is constant for the ensemble. However, the probabilities andΩ will vary if differentµ,V,T are selected. The grand potentialΩ serves two roles: to provide a normalization factor for the probability distribution (the probabilities, over the complete set of microstates, must add up to one); and, many important ensemble averages can be directly calculated from the functionΩ(µ,V,T).
In the case where more than one kind of particle is allowed to vary in number, the probability expression generalizes towhereµ1 is the chemical potential for the first kind of particles,N1 is the number of that kind of particle in the microstate,µ2 is the chemical potential for the second kind of particles and so on (s is the number of distinct kinds of particles). However, these particle numbers should be defined carefully (see thenote on particle number conservation below).
The distribution of the grand canonical ensemble is calledgeneralized Boltzmann distribution by some authors.[2]
Grand ensembles are apt for use when describing systems such as theelectrons in aconductor, or thephotons in a cavity, where the shape is fixed but the energy and number of particles can easily fluctuate due to contact with a reservoir (e.g., an electrical ground or adark surface, in these cases). The grand canonical ensemble provides a natural setting for an exact derivation of theFermi–Dirac statistics orBose–Einstein statistics for a system of non-interacting quantum particles (see examples below).
The grand canonical ensemble is the ensemble that describes the possible states of an isolated system that is in thermal and chemical equilibrium with a reservoir (the derivation proceeds along lines analogous to the heat bath derivation of the normalcanonical ensemble, and can be found in Reif[3]). The grand canonical ensemble applies to systems of any size, small or large; it is only necessary to assume that the reservoir with which it is in contact is much larger (i.e., to take themacroscopic limit).
The condition that the system is isolated is necessary in order to ensure it has well-defined thermodynamic quantities and evolution.[1] In practice, however, it is desirable to apply the grand canonical ensemble to describe systems that are in direct contact with the reservoir, since it is that contact that ensures the equilibrium. The use of the grand canonical ensemble in these cases is usually justified either 1) by assuming that the contact is weak, or 2) by incorporating a part of the reservoir connection into the system under analysis, so that the connection's influence on the region of interest is correctly modeled. Alternatively, theoretical approaches can be used to model the influence of the connection, yielding an open statistical ensemble.
Another case in which the grand canonical ensemble appears is when considering a system that is large and thermodynamic (a system that is "in equilibrium with itself"). Even if the exact conditions of the system do not actually allow for variations in energy or particle number, the grand canonical ensemble can be used to simplify calculations of some thermodynamic properties. The reason for this is that various thermodynamic ensembles (microcanonical,canonical) become equivalent in some aspects to the grand canonical ensemble, once the system is very large.[note 1] Of course, for small systems, the different ensembles are no longer equivalent even in the mean. As a result, the grand canonical ensemble can be highly inaccurate when applied to small systems of fixed particle number, such as atomic nuclei.[4]
The partial derivatives of the functionΩ(µ1, …,µs,V,T) give important grand canonical ensemble average quantities:[1][6]
Exact differential: From the above expressions, it can be seen that the functionΩ has theexact differential
First law of thermodynamics: Substituting the above relationship for⟨E⟩ into the exact differential ofΩ, an equation similar to thefirst law of thermodynamics is found, except with average signs on some of the quantities:[1]
Thermodynamic fluctuations: Thevariances in energy and particle numbers are[7][8]
Correlations in fluctuations: Thecovariances of particle numbers and energy are[1]
The usefulness of the grand canonical ensemble is illustrated in the examples below. In each case the grand potential is calculated on the basis of the relationshipwhich is required for the microstates' probabilities to add up to 1.
In the special case of a quantum system of manynon-interacting particles, the thermodynamics are simple to compute.[9]Since the particles are non-interacting, one can compute a series of single-particlestationary states, each of which represent a separable part that can be included into the total quantum state of the system.For now let us refer to these single-particle stationary states asorbitals (to avoid confusing these "states" with the total many-body state), with the provision that each possible internal particle property (spin orpolarization) counts as a separate orbital.Each orbital may be occupied by a particle (or particles), or may be empty.
Since the particles are non-interacting, we may take the viewpoint thateach orbital forms a separate thermodynamic system.Thus each orbital is a grand canonical ensemble unto itself, one so simple that its statistics can be immediately derived here. Focusing on just one orbital labelledi, the total energy for amicrostate ofNi particles in this orbital will beNiϵi, whereϵi is the characteristic energy level of that orbital. The grand potential for the orbital is given by one of two forms, depending on whether the orbital is bosonic or fermionic:
In each case the value gives the thermodynamic average number of particles on the orbital: theFermi–Dirac distribution for fermions, and theBose–Einstein distribution for bosons.Considering again the entire system, the total grand potential is found by adding up theΩi for all orbitals.
In classical mechanics it is also possible to consider indistinguishable particles (in fact, indistinguishability is a prerequisite for defining a chemical potential in a consistent manner; all particles of a given kind must be interchangeable[1]). We can consider a region of the single-particle phase space with approximately uniform energyϵi to be an "orbital" labelledi.
Two complications arise since this orbital actually encompasses many (infinite) distinct states. Briefly:
Due to the1/Ni! overcounting correction, the summation now takes the form of an exponentialpower series,the value corresponding toMaxwell–Boltzmann statistics.
The grand canonical ensemble can be used to predict whether an atom prefers to be in a neutral state or ionized state.An atom is able to exist in ionized states with more or fewer electrons compared to neutral. As shown below, ionized states may be thermodynamically preferred depending on the environment.Consider a simplified model where the atom can be in a neutral state or in one of two ionized states (a detailed calculation also includes excited states and the degeneracy factors of the states[10][11]):
HereΔEI andΔEA are the atom'sionization energy andelectron affinity, respectively;ϕ is the localelectrostatic potential in the vacuum nearby the atom, and−q is theelectron charge.
The grand potential in this case is thus determined byThe quantity−qϕ −µ is critical in this case, for determining the balance between the various states. This value is determined by the environment around the atom.

In order for a particle number to have an associated chemical potential, it must be conserved during the internal dynamics of the system, and only able to change when the system exchanges particles with an external reservoir.
If the particles can be created out of energy during the dynamics of the system, then an associatedµN term must not appear in the probability expression for the grand canonical ensemble. In effect, this is the same as requiring thatµ = 0 for that kind of particle. Such is the case forphotons in a black cavity, whose number regularly change due to absorption and emission on the cavity walls. (On the other hand, photons in a highly reflective cavity can be conserved and caused to have a nonzeroµ.[14])
In some cases the number of particles is not conserved and theN represents a more abstract conserved quantity:
On the other hand, in some cases a single kind of particle may have multiple conserved numbers:
The precise mathematical expression for statistical ensembles has a distinct form depending on the type of mechanics under consideration (quantum or classical), as the notion of a "microstate" is considerably different. In quantum mechanics, the grand canonical ensemble affords a simple description since diagonalization provides a set of distinctmicrostates of a system, each with well-defined energy and particle number. The classical mechanical case is more complex as it involves not stationary states but instead an integral over canonicalphase space.
A statistical ensemble in quantum mechanics is represented by adensity matrix, denoted by. The grand canonical ensemble is the density matrix[citation needed]whereĤ is the system's total energy operator (Hamiltonian),N̂1 is the system's totalparticle number operator for particles of type 1,N̂2 is the totalparticle number operator for particles of type 2, and so on.exp is thematrix exponential operator. The grand potentialΩ is determined by the probability normalization condition that the density matrix has atrace of one,:
Note that for the grand ensemble, the basis states of the operatorsĤ,N̂1, etc. are all states withmultiple particles inFock space, and the density matrix is defined on the same basis. Since the energy and particle numbers are all separately conserved, these operators are mutually commuting.
The grand canonical ensemble can alternatively be written in a simple form usingbra–ket notation, since it is possible (given the mutually commuting nature of the energy and particle number operators) to find a completebasis of simultaneous eigenstates|ψi⟩, indexed byi, whereĤ|ψi⟩ =Ei|ψi⟩,N̂1|ψi⟩ =N1,i|ψi⟩, and so on. Given such an eigenbasis, the grand canonical ensemble is simplywhere the sum is over the complete set of states with statei havingEi total energy,N1,i particles of type 1,N2,i particles of type 2, and so on.
In classical mechanics, a grand ensemble is instead represented by ajoint probability density function defined over multiplephase spaces of varying dimensions,ρ(N1, …Ns,p1, …pn,q1, …qn), where thep1, …pn andq1, …qn are thecanonical coordinates (generalized momenta and generalized coordinates) of the system's internal degrees of freedom. The expression for the grand canonical ensemble is somewhat more delicate than thecanonical ensemble since:[1]
In a system of particles, the number of degrees of freedomn depends on the number of particles in a way that depends on the physical situation. For example, in a three-dimensional gas of monoatomsn = 3N, however in molecular gases there will also be rotational and vibrational degrees of freedom.
The probability density function for the grand canonical ensemble is:where
Again, the value ofΩ is determined by demanding thatρ is a normalized probability density function:This integral is taken over the entire availablephase space for the given numbers of particles.
A well-known problem in the statistical mechanics of fluids (gases, liquids, plasmas) is how to treat particles that are similar or identical in nature: should they be regarded as distinguishable or not? In the system's equation of motion each particle is forever tracked as a distinguishable entity, and yet there are also valid states of the system where the positions of each particle have simply been swapped: these states are represented at different places in phase space, yet would seem to be equivalent.
If the permutations of similar particles are regarded to count as distinct states, then the factorC above is simplyC = 1. From this point of view, ensembles include every permuted state as a separate microstate. Although appearing benign at first, this leads to a problem of severely non-extensive entropy in the canonical ensemble, known today as theGibbs paradox. In the grand canonical ensemble a further logical inconsistency occurs: the number of distinguishable permutations depends not only on how many particles are in the system, but also on how many particles are in the reservoir (since the system may exchange particles with a reservoir). In this case the entropy and chemical potential are non-extensive but also badly defined, depending on a parameter (reservoir size) that should be irrelevant.
To solve these issues it is necessary that the exchange of two similar particles (within the system, or between the system and reservoir) must not be regarded as giving a distinct state of the system.[1][note 5] In order to incorporate this fact, integrals are still carried over full phase space but the result is divided bywhich is the number of different permutations possible. The division byC neatly corrects the overcounting that occurs in the integral over all phase space.
It is of course possible to include distinguishabletypes of particles in the grand canonical ensemble—each distinguishable type is tracked by a separate particle counter and chemical potential. As a result, the only consistent way to include "fully distinguishable" particles in the grand canonical ensemble is to consider every possible distinguishable type of those particles, and to track each and every possible type with a separate particle counter and separate chemical potential.
{{cite web}}: CS1 maint: archived copy as title (link)