Skip to main content
Chemistry LibreTexts

3.4: Grand Canonical Ensemble

  • Page ID
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)

    For the description of an open system in the thermodynamical sense, i.e., a system that can exchange not only heat, but also matter with its environment, we need to replace particle number \(N\) with another constant of motion. If we would fail to introduce a new constant of motion, we would end up with a system that is not at equilibrium and thus cannot be fully described by time-independent state functions. If we assume that the system is in chemical as well as thermal equilibrium with its environment, the new constant of motion is the chemical potential \(\mu\), or more precisely, a vector \(\vec{\mu}\) of the chemical potentials \(\mu_k\) of all components.

    Concept \(\PageIndex{1}\): Grand Canonical Ensemble

    An ensemble with constant chemical potential \(\mu_k\) of all components, and constant volume \(V\) that is at thermal equilibrium with a heat bath at constant temperature \(T\) and in chemical equilibrium with its environment is called a grand canonical ensemble. It can be considered as consisting of canonical subensembles with different particle numbers \(N\). The grand canonical state energies and partition function contain an additional chemical potential term. With this additional term the results obtained for the canonical ensemble apply to the grand canonical ensemble, too.

    The partition function for the grand canonical ensemble is given by

    \[Z_\mathrm{gc}(\mu, V, T) = \sum_i e^{(\sum_k N_{i,k} \mu_k - \epsilon_i)/k_\mathrm{B} T} \ ,\]

    whereas the probability distribution over the levels and particle numbers is

    \[P_i = \frac{e^{(\sum_k N_{i,k} \mu_k - \epsilon_i)/k_\mathrm{B} T}}{Z_\mathrm{gc}} \ .\]

    Note that the index range \(i\) is much larger than for a canonical ensemble, because each microstate is now characterized by a set of particle numbers \(N_{i,k}\), where \(k\) runs over the components.

    At this point we are in conflict with the notation that is often used in other course. For example, we often define the chemical potential \(\mu\) as a molar quantity, here it is a molecular quantity. The relation is \(\mu_\mathrm{PC I} = N_\mathrm{Av} \mu_\mathrm{PC VI}\). Using the PC I notation in the current lecture notes would be confusing in other ways, as \(\mu\) is generally used in statistical thermodynamics for the molecular chemical potential. A similar remark applies to capital letters for state functions. Capital letters denote either a molecular quantity or a molar quantity. The difference will be clear from the context. We note that in general small letters for state functions (except for pressure \(p\)) denote extensive quantities and capital letters (except for volume \(V\)) denote intensive quantities.

    3.4: Grand Canonical Ensemble is shared under a CC BY-NC 3.0 license and was authored, remixed, and/or curated by Gunnar Jeschke via source content that was edited to conform to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.