How the competition between the energy cost and the entropy gain of vacancies sets their equilibrium concentration, and how that concentration varies with temperature.
Creating a vacancy costs energy, the enthalpy of formation \(\Delta H_v\), because bonds are broken. It also adds disorder, so the entropy increases. Per atom of the crystal, for a vacancy fraction \(X_v\):
The first term in \(\Delta S\) is the configurational entropy of distributing the vacancies over the lattice sites. The second is the vibrational entropy that each vacancy adds, because the atoms around it vibrate at lower frequencies. Here \(\Delta S_v = 3k_B\ln 1.2 \approx 0.55\,k_B\) is assumed.
The enthalpy rises linearly with \(X_v\), but the configurational entropy rises very steeply from zero (the slope of \(X\ln X\) is infinite at \(X=0\)), so \(\Delta G\) first falls and then rises. The minimum, found from \(d\Delta G/dX_v = 0\) with \(X_v \ll 1\), is the equilibrium concentration:
A crystal is therefore never perfect at any temperature above 0 K. The concentration increases exponentially with T, and a plot of \(\ln X_v^{eq}\) against \(1/T\) is a straight line with slope \(-\Delta H_v/k_B\). This is how \(\Delta H_v\) is measured experimentally. For typical metals, \(X_v\) near the melting point is of the order of \(10^{-4}\) to \(10^{-3}\).