In many physical situations, a system exchanges both energy and particles with a reservoir. The grand canonical ensemble describes such open systems. The macroscopic variables are the chemical potential μThe volume VAnd the temperature T.
Definition. The grand partition function is
Ξ=∑N=0∞∑ie−β(Ei(N)−μN)
Where the outer sum is over all possible particle numbers N and the inner sum is over all states with N particles.
The probability that the system is in state i with N particles is
Pi,N=Ξe−β(Ei(N)−μN)
3.2 Thermodynamic Relations
Theorem 3.1. The grand potential ΦG=−kBTlnΞ satisfies
ΦG=F−μN=−PV
Proof. For a classical ideal gas, Ξ=∑N=0∞eβμNZN where ZN=zN/N! is the canonical partition function. Therefore:
Ξ=∑N=0∞N!(zeβμ)N=exp(zeβμ)
ΦG=−kBTlnΞ=−kBT⋅zeβμ=−PV
The last equality follows from the ideal gas law PV=NkBT with N=zeβμ. More generally, ΦG=−PV holds for all systems. ■
For an ideal gas, ⟨N⟩=zeβμSo ∂⟨N⟩/∂μ=β⟨N⟩Giving relative fluctuations:
⟨N⟩2⟨N2⟩−⟨N⟩2=⟨N⟩1
This is Poisson …/4-statistics-and-probability/2_statistics: fluctuations scale as 1/NNegligible for macroscopic systems.
3.4 Worked Example: Ideal Gas in the Grand Canonical Ensemble
Problem. Compute Ξ, ⟨N⟩And ⟨E⟩ for a classical ideal gas in the grand canonical ensemble.
Solution
The single-particle partition function is z=V/λth3 where λth=h/2πmkBT. The canonical partition function for N indistinguishable particles is ZN=zN/N!. The grand partition function:
Ξ=∑N=0∞N!zNeβμN=∑N=0∞N!(zeβμ)N=ezeβμ
lnΞ=zeβμ=λth3eβμV
Average particle number:
⟨N⟩=β1∂μ∂lnΞ=λth3eβμV
Solving for the chemical potential: μ=kBTln(⟨N⟩λth3/V).