# Statistical Mechanics/Boltzmann and Gibbs factors and Partition functions/The Grand Partition Function

From Wikibooks, open books for an open world

It's useful to consider the following function, the Grand Partition function:

ξ(T,N) = Σ_{N} Σ_{s(N)} exp((Nμ-ε_{s})/T)

We can then note that if we define the probabilty as the following via examination of the Boltzmann factor:

P(N_{1},ε_{1}) = exp((N_{1}μ-ε_{1})/T)/ξ

If we sum P over s, we get ξ/ξ, which is indeed 1, and thus this is a valid probability function.

Then, using our knowledge of statistical averages, we can consider thermal averages, and calculate energy and various other properties using the Partition function. In general, given the thermodynamic property X, its thermodynamic property is:

X = <x> = (Σ_{N} Σ_{s(N)} x_{s}exp((Nμ-ε_{s})/T)) / ξ