muPT#

Information

Fig. 6 Open systems are characterized by variable number of particles and energy#

Grand-Canonical distribution

\[\boxed{p(E_i, N) = \frac{e^{-\beta(E_i -\mu N)}}{Z_G}}\]

Where partition function is summed over microstates with different energies and particle numbers!

\[Z_G(\mu, \beta, V) = \sum_i \sum_N e^{-\beta (E_i-\mu N)} \]

Connections with \(NVE\) and \(NVT\)#

Statistical dominance of average energy and numbers of particles

  • Recall that canonical ensemble was an exponentially weighted sum of microcanonical ensemble over energies

  • Likewise, we can show that Grand canonical can be expressed as exponentially weighted (by \(e^{\beta \mu N}\)) summation of canonical partition functions overall particle numbers \(N\)

\[Z_G = \sum^{N=\infty}_{N=0} \Big [ \sum_i e^{-\beta E_i} \Big ]e^{\beta \mu N} = \sum^{N=\infty}_{N=0} Z(N,V,T)e^{\beta \mu N}\]
  • The connection between partition functions and the domination of averages is seen clearly:

\[Z_G \approx e^{-\beta (F-\mu \bar{N})} = e^{-\beta (\bar{E}- TS -\mu \bar{N})} = e^{-\beta \Psi(T,V,\mu)} \]
  • We also identify a new free energy for grand canonical ensemble as a function of thermodynamic variables

\[\boxed{\Psi(T,V, \mu) = E- TS -\mu N}\]

Legendre Transform

The grand-canonical free energy can also be seen as a Legendre transform of Energy concerning Energy and several particles, e.g., swapping the following pairs of conjugate variables \((S\rightarrow T)\) \((N \rightarrow \mu)\).

\[E(S,V,N) \rightarrow E- \Big(\frac{\partial E}{\partial S}\Big) S- \Big(\frac{\partial E}{\partial N} \Big)N = E-TS-\mu N\]

Grand potential

Using Euler’s relation \(E = TS+PV+\mu N\) for extensive thermodynamic variables we obtain an explicit expression for Grand potential in terms of volume and pressure:

\[\boxed{\Psi(T,V, \mu) = -PV}\]

Grand-canonical potential#

  • Using the Gibbs relation, one can show that the independent variables of grand potential are (\(T\), \(V\), \(\mu\))

\[d(E-TS+\mu N) = dE-TdS+Nd\mu+\mu dN\]
\[\boxed{d\Psi(\mu, V, T) = -SdT -p dV -Nd \mu}\]
\[S = -\frac{\partial \Psi}{\partial T}\]
\[p = -\frac{\partial \Psi}{\partial V}\]
\[N = -\frac{\partial \Psi}{\partial \mu}\]

Fluctuations#

\[\langle N \rangle = \sum_i p_i N_i = \frac{\partial log Z_G}{\partial (\beta \mu)}\]
\[\sigma^2_N =\langle N^2\rangle - \langle N \rangle^2 = \frac{\partial^2 log Z_G}{\partial (\beta \mu)^2} = \frac{\partial \langle N \rangle}{\partial (\beta \mu)}\]
\[\sigma^2_N = \frac{N^2 k_B T \kappa_T}{V} \sim O(N)\]

Notice anology with NVT where we found \(\sigma^2_E = k_B T^2 C_v\) for energy fluctuations with \(C_v\geq 0\) implying stability. For particle fluctuataions instead of heat capacity we have the isothermal compressibility \(\kappa_T = -\frac{1}{V}\frac{\partial V}{\partial p} \geq 0\)

\[\frac{\sigma_N}{\langle N \rangle} \sim O(N^{-1/2})\]

Ideal Gas#

\[Z(T,V,N) = \frac{1}{N!} \Big( \frac{V}{\lambda^3} \Big)^N\,\,\,\,\]
  • Thermal wavelength \(\lambda = \frac{h}{(2 \pi mk_B T)^{1/2}}\)

\[Z_G = \sum^{N=\infty}_{N =0} Z(T,V,N) e^{\beta \mu N} = \sum^{N=\infty}_{N =0} \frac{1}{N!} \Big( e^{\beta \mu} \frac{V}{\lambda^3} \Big)^N = exp\Big(z \frac{V}{\lambda^3} \Big)\]
  • Fugacity \(z = e^{\beta \mu}\)

\[\langle N \rangle = \frac{\partial log Z_G}{\partial (\beta \mu)} = \frac{V}{\lambda^3} e^{\beta \mu}\]
\[\mu = k_B T log \frac{N \lambda^3}{V} = k_B T log [(k_B T)\lambda^3 \cdot p ] = \mu^0 (T) + k_B Tlog p \]
\[\sigma^2_N = \frac{N^2 k_B T \kappa_T}{V} = N\]
\[\kappa_T = \frac{NV }{N^2 k_B T} = \frac{1}{p} \geq 0\]

System of dilute uncorrelated particles = ideal gas#

\[\sigma^2_N = \langle N \rangle\]

Molecular adsorption on the surface#

\[Z_G = z^N_G\]

One site one molecule model#

\[z_G = 1 +e^{-\beta (\epsilon-\mu)}\]
\[\langle n \rangle =\frac{0+1\cdot e^{-\beta(\epsilon - \mu)}}{Z_G} = \frac{1}{e^{-\beta(\mu-\epsilon)}+1}\]
\[\langle E \rangle =\frac{0+\epsilon\cdot e^{-\beta(\epsilon - \mu)}}{Z_G} = \epsilon \langle n \rangle \]

For the idea gas \(\mu = k_B T log \frac{p}{p_0}\)

\[\langle n \rangle = \frac{p}{p_0e^{\beta \epsilon}+p}\]

This is known as Langmuir isotherm.

Multi-stide binding of molecular gas with internal states#

  1. Molecule A binds to one site and adopts 2 conformations.

  2. Two molecules of B can bind one site. When one molecle is bound it has one conformation and when two bound there are 5 conformations.

\[z_G = 1 + 2 e^{-\beta(\epsilon_A - \mu_A)}+ e^{-\beta(\epsilon_B - \mu_B)} +5 e^{-2\beta(\epsilon_B - \mu_B)}\]

Phase equilibrium#

Recall that for equilibrium conditions under any ensemble; there is equality of intensive variables across the entire system. E.g., temperature, pressure, and chemical potential throughout the system must be equal. In the Case of the (N,P,T) ensemble commonly used by chemists, this is a consequence of Gibbs free energy minimization.

\[dG = \mu_1 dN_1+\mu_2 dN_2 = 0\]
  • Since one phase interconverts to the other, we have

\[dN_1=-dN_2\]
  • In equilibrium chemical potential of two phases (two conformations, two states, etc) are equal $\(\mu_1(p, T) = \mu_2(p, T)\)$

Chemical equilibrium and mass action law#

Chemical Equilibrium: Athermodynamics point of view

\[aA+bB\rightarrow cC+dD\]
  • Equilibrium is reached when \(\mu_{react}=\mu_{prod}\) or written in terms of potential of each component

\[-n_A \mu_A-n_B\mu_B +n_c \mu_C+n_d\mu_D =0\]
  • Writing more generally by using stoichiometric coeficients with a + sign for reactants and - sign for products we have

\[\sum_j n_j \nu_j =0\]
  • Recall that for ideal gases or dilute solutions with non-interacting species:

\[\mu(p, T) = \mu^o(T) +RTlog c_i = RTlog\gamma_i+ RT log c_i=RT log (\gamma_i c_i)\]
  • Where \(\mu^o(T)\) is a chemical potential corresponding to some standard state of the compound.

\[\sum_i \nu_i \mu_i = \sum_i \nu_i \cdot RT log (\gamma_i c_i)=0\]
\[\Pi_i (\gamma_i c_i)^{\nu_i}=0\]
  • We arrive at mass action law, showing that at equilibrium, the constraints defined as the ratio of reactant and product concentrations depend only on thermodynamic variables of pressure and temperatures.

\[\boxed{K(T, P) = \Pi_i (c_i )^{\nu_i} = \Pi_i (\gamma_i )^{-\nu_i}}\]
  • We can also derive the same result by writing down the condition of chemical equilibrium in terms of free energy change \(\Delta G=\Delta G^o+\sum_i \nu_i \cdot RT log (c_i)=0\)

\[-\Delta G^o = - \sum \nu_i \mu_i = RT log \Bigg(\Pi_i c^{\nu_i}_i\Bigg)\]
  • The side of the left hand does not depend on chemical composition but only on thermodynamic variables, \(T\) and \(P\). We can write this constant as \(K(T,P)\) chemical equilibrium constant

\[\boxed{K(T,P)= e^{-\Delta G^o/RT} = \frac{...c^{\nu_p}_p...}{...c^{\nu_r}_r...}}\]

Equilibrium constants from partition functions

  • We have derived partition functions for mixture of ideal gasses

\[Z=\frac{1}{N_1! N_2!...}z^{N_1}_1 z^{N_2}_2 ...\]
\[F_i = -k_BT log \frac{1}{N_i!} z^{N_i}_i = -k_BT[-N_ilogN_i + N_i+ N_iz]\]
  • Using Stirling’s approximation and taking derivative, we get the chemical potential for individual species:

\[\mu_i = -k_BT (logN_i-logz_i) = -k_B Tlog\Big(\frac{N_i}{z_i}\Big)\]
  • Thus, we have explicitly identified \(\mu^o(T)\) or \(\gamma_i(T)\) factors.

\[\gamma_i = \frac{z_i}{V}\]

Hence, chemical equilibrium constants can be computed in terms of the partition functions of molecules

\[aA+bB\rightarrow cC+dD\]
\[K = \frac{(z_C/V)^c (z_D/V)^d}{(z_A/V)^a (z_B/V)^b}\]

Problems#

\(NVT-NVE-\mu V T\)#

  1. Consider a three level single particle system with five microstates with energies 0, ε, ε, ε, and 2ε. What is \(\Omega(\epsilon n)\) n=0,1,2 for this system? What is the mean energy of the system if is in equilibrium with a heat bath at temperature T ?

  2. Derive an expression for the chemical potential of an ideal gas using clssical mechanics model for energy \(E=\frac{p^2}{2m}\) in the \(\mu VT\) ensemble evaluate the fluctuations in particle number.

  3. Consider a system in equilibrium with a heat bath at temperature \(T\) and a particle reservoir at chemical potential \(\mu\). The system can have a minimum of one and a maximum of four distinguishable particles. The particles in the system do not interact and can be in one of two states with energies zero or \(\Delta\). Determine the (grand) partition function of the system.

  4. Combine the Gibbs formula of Entropy \(S=-k_B \sum_i p_i log p_i\) with the Grand canonical prbability distribution \(P(E_i,N)=\frac{e^{-\beta E_i+ \beta \mu N}}{Z_G}\) to show that \(\beta PV=log Z_G\)

  5. Derive partition function for a pressure ensemble \((T, p, N)\) and show its connection with microcanonical ensemble \(N V E\)

  6. At a given temperature T a surface with \(N_0\) adsorption centers has on average \(N\neq N_0\) number of adsorbed molecules. Suppose hat there are no interactions between molecules.

    • Show that the chemical potential of adsorbed gas is given by: \(\mu = k_B T log \frac{N}{N_0 - N a(T)}\)

    • What is the meaning of \(a(T)\)