2.1. Gibbs Free Energy#

Standard Reaction Gibbs Energy#

\[\Delta_r G^o = \Delta_r H^o - T \Delta_r S^o\]

Standard Gibbs Energy of Formation#

The standard reaction Gibbs energy for forming 1 mol of a compound from its constituent elements in their reference states is called the standard Gibbs energy of formation, \(\Delta_f G^o\). As with the standard enthalpy of formation, it is zero for an element in its reference state, and the standard reaction Gibbs energy of any reaction is

(2.1.1)#\[\Delta_r G^o=\sum_i\nu_i\Delta_f G_i^o\]

Applying the equation of the previous section to the formation reaction gives \(\Delta_f G^o=\Delta_f H^o-T\Delta_f S^o\), where \(\Delta_f S^o\) is the standard reaction entropy of the formation reaction. Because the standard entropies of the elements are not zero, \(\Delta_f S^o\) retains the terms for the elements.

Chemical Potential#

The chemical potential of each component determines whether it transfers between phases and in which direction a reaction proceeds. Taking temperature \(T\), pressure \(p\), and, for each component \(i\), its amount of substance \(n_i\) as variables, we can write the differential of the Gibbs free energy \(G(T,p,n_1,\ldots,n_k)\) as

(2.1.2)#\[dG=-S\,dT+V\,dp+\sum_i\mu_i\,dn_i\]

This is the form given in [ThermoCallen1985]. Here \(S\) is the entropy and \(V\) is the volume. The coefficient

(2.1.3)#\[\mu_i=\left(\frac{\partial G}{\partial n_i}\right)_{T,p,n_{j\neq i}}\]

for component \(i\) is called its chemical potential. When a small amount of component \(i\) is added at fixed temperature and pressure and with the amounts of the other components held fixed, this coefficient gives the rate of change of \(G\). Its unit is J/mol.

Relation to Gibbs free energy. At fixed temperature and pressure, multiplying the amounts of all components by \(\lambda\) also multiplies \(G\) by \(\lambda\). Differentiating both sides of \(G(T,p,\lambda n_1,\ldots,\lambda n_k)=\lambda G(T,p,n_1,\ldots,n_k)\) with respect to \(\lambda\) and setting \(\lambda=1\) gives, by Equation (2.1.3),

(2.1.4)#\[G=\sum_i n_i\mu_i\]

For a pure substance, \(\mu=G/n\), so the chemical potential equals the Gibbs free energy per mole. Reaction Gibbs energy. For a reaction \(\sum_i\nu_i\mathrm A_i=0\) (where \(\nu_i\) is the stoichiometric coefficient, positive for products and negative for reactants), let the extent of reaction \(\xi\) (in mol) describe how far the reaction has proceeded. When the reaction advances by \(d\xi\), the amount of substance of each component changes by \(dn_i=\nu_i\,d\xi\). Substituting this into Equation (2.1.2) at fixed temperature and pressure gives

(2.1.5)#\[\Delta_r G\equiv\left(\frac{\partial G}{\partial\xi}\right)_{T,p}=\sum_i\nu_i\mu_i\]

At the current composition, \(\Delta_r G\) is the rate of change of \(G\) for an infinitesimal advance of the reaction. Over a finite advance, the composition changes and so does each \(\mu_i\). The finite change in \(G\) is therefore the integral of Equation (2.1.5) with respect to \(\xi\). When each component is in its standard state, Equation (2.1.5) gives the standard reaction Gibbs energy in the first section of this article, \(\Delta_r G^o=\sum_i\nu_i\mu_i^o\).

Condition for phase equilibrium. Consider two phases, \(\alpha\) and \(\beta\), at the same temperature and pressure. If component \(i\) is transferred in an amount \(dn\) from \(\alpha\) to \(\beta\), Equation (2.1.2) gives

(2.1.6)#\[dG=\left(\mu_i^\beta-\mu_i^\alpha\right)dn\]

At fixed temperature and pressure, spontaneous changes lower \(G\), so the component moves from the phase with higher chemical potential to the phase with lower chemical potential. At equilibrium, for either sign of \(dn\) we have \(dG=0\), so

(2.1.7)#\[\mu_i^\alpha=\mu_i^\beta\]

The same reasoning applies to reactions. At equilibrium, \(\sum_i\nu_i\mu_i=0\). For example, the equilibrium between molecular and atomic oxygen, \(\mathrm O_2\rightleftharpoons2\mathrm O\), implies \(\mu_{\mathrm O}=\mu_{\mathrm O_2}/2\).

Pressure dependence for an ideal gas. Using Equation (2.1.2), we reverse the order of differentiation in the mixed second derivative of \(G\) and obtain \((\partial\mu_i/\partial p)_{T,n}=(\partial V/\partial n_i)_{T,p}\). For a pure substance, the right-hand side is the volume per mole, \(V_{\rm m}\). For an ideal gas, \(V_{\rm m}=RT/p\) (where \(R\) is the gas constant). Integrating from the standard pressure \(p^o=1\,\mathrm{bar}\) to \(p\) therefore gives

(2.1.8)#\[\mu(T,p)=\mu^o(T)+RT\ln\frac{p}{p^o}\]

Here \(\mu^o(T)\) is the value in the standard state at temperature \(T\). For a mixture of ideal gases, replace \(p\) with the partial pressure of the component.

Value per particle. In first-principles calculations and statistical mechanics, the chemical potential is often expressed as an energy per particle (an atom or a molecule). Dividing the value per mole by the Avogadro constant \(N_{\rm A}\) gives the value per particle. Since \(R/N_{\rm A}=k_{\rm B}\) (the Boltzmann constant), the second term in Equation (2.1.8) becomes \(k_{\rm B}T\ln(p/p^o)\). An energy of 1 eV per particle corresponds to 96.485 kJ/mol. Increasing the partial pressure by a factor of 10 raises the chemical potential by \(k_{\rm B}T\ln10\). The increase is 0.0595 eV (5.74 kJ/mol) at 300 K and 0.272 eV at 1100 °C (1373 K). For a surface exchanging atoms with a high-temperature gas phase, changing the partial pressure by just one order of magnitude shifts the chemical potential by more than 0.1 eV.

Chemical potential and total energy of a solid. For an elemental solid, Equation (2.1.4) gives \(\mu=G/N=(E+pV-TS)/N\) (where \(N\) is the number of atoms and \(E\) is the internal energy). At 1 bar, the per-atom term \(pV/N\) is only about \(1\times10^{-5}\) eV even for a volume per atom \(V/N\) of 20 Å3, and can be neglected. At absolute zero, if zero-point vibration is also neglected, \(\mu\) can be approximated by the total energy per atom. This is why first-principles calculations use the total energy of an elemental solid or an isolated molecule as a reference for the chemical potential when comparing energies that involve adding or removing atoms. For the gas phase, add a contribution that depends on temperature and partial pressure to the total energy (see the gas-phase chemical potential in the GaN surface phase diagram calculation example).

Applying the same definition to electrons gives the electron chemical potential that appears in the Fermi–Dirac distribution. When two materials come into contact and electrons can move between them, their Fermi levels align at equilibrium for the same reason as in Equation (2.1.7). The quantities that align are the electron chemical potentials (electrochemical potentials), including the energy due to the electrostatic potential and measured relative to a common energy reference, such as the vacuum level. Values measured relative to a separate reference in each material, such as its valence band maximum, do not align.

References#

[ThermoCallen1985]

H. B. Callen, Thermodynamics and an Introduction to Thermostatistics, 2nd ed., Wiley (1985).