# 5.2 Kohn-Sham Density Functional Theory

(June 30, 2021)

The density functional theory by Hohenberg, Kohn, and Sham , stems from earlier work by Dirac, who showed that the exchange energy of a uniform electron gas can be computed exactly from the charge density along. However, while this traditional density functional approach, nowadays called “orbital-free” DFT, makes a direct connection to the density alone, in practice it is constitutes a direct approach where the necessary equations contain only the electron density, difficult to obtain decent approximations for the kinetic energy functional. Kohn and Sham sidestepped this difficulty via an indirect approach in which the kinetic energy is computed exactly for a noninteracting reference system, namely, the Kohn-Sham determinant. It is the Kohn-Sham approach that first made DFT into a practical tool for calculations.

Within the Kohn-Sham formalism, the ground state electronic energy, $E$, can be written as

 $E=E_{\text{T}}+E_{\text{V}}+E_{\text{J}}+E_{\text{XC}}$ (5.1)

where $E_{\text{T}}$ is the kinetic energy, $E_{\mathrm{V}}$ is the electron–nuclear interaction energy, $E_{\text{J}}$ is the Coulomb self-interaction of the electron density, $\rho(\mathbf{r})$ and $E_{\text{XC}}$ is the exchange-correlation energy. Adopting an unrestricted format, the $\alpha$ and $\beta$ total electron densities can be written as

 \displaystyle\begin{aligned} \displaystyle\rho_{\alpha}(\mathbf{r})&% \displaystyle=\sum_{i=1}^{n_{\alpha}}|\psi_{i}^{\alpha}|^{2}\\ \displaystyle\rho_{\beta}(\mathbf{r})&\displaystyle=\sum_{i=1}^{n_{\beta}}|% \psi_{i}^{\beta}|^{2}\end{aligned} (5.2)

where $n_{\alpha}$ and $n_{\beta}$ are the number of alpha and beta electron respectively, and $\psi_{i}$ are the Kohn-Sham orbitals. Thus, the total electron density is

 $\rho(\mathbf{r})=\rho_{\alpha}(\mathbf{r})+\rho_{\beta}(\mathbf{r})$ (5.3)

Within a finite basis set, the density is represented by

 $\rho(\mathbf{r})=\sum_{\mu\nu}P_{\mu\nu}\phi_{\mu}(\mathbf{r})\phi_{\nu}(% \mathbf{r})\;,$ (5.4)

where the $P_{\mu\nu}$ are the elements of the one-electron density matrix; see Eq. (4.24) in the discussion of Hartree-Fock theory. The various energy components in Eq. (5.1) can now be written

 $\displaystyle E_{\mathrm{T}}$ $\displaystyle=$ $\displaystyle\sum_{i=1}^{n_{\alpha}}\left\langle\psi_{i}^{\alpha}\left|-\frac{% 1}{2}\hat{\nabla}^{2}\right|\psi_{i}^{\alpha}\right\rangle+\sum_{i=1}^{n_{% \beta}}\left\langle\psi_{i}^{\beta}\left|-\frac{1}{2}\hat{\nabla}^{2}\right|% \psi_{i}^{\beta}\right\rangle$ (5.5) $\displaystyle=$ $\displaystyle\sum_{\mu\nu}P_{\mu\nu}\left\langle\phi_{\mu}(\mathbf{r})\left|-% \frac{1}{2}\hat{\nabla}^{2}\right|\phi_{\nu}(\mathbf{r})\right\rangle$ $\displaystyle E_{\mathrm{V}}$ $\displaystyle=$ $\displaystyle-\sum_{A=1}^{M}Z_{A}\int\frac{\rho(\mathbf{r})}{|\mathbf{r}-% \mathbf{R}_{A}|}d\mathbf{r}$ (5.6) $\displaystyle=$ $\displaystyle-\sum_{\mu\nu}P_{\mu\nu}\sum_{A}\left\langle\phi_{\mu}(\mathbf{r}% )\left|\frac{Z_{A}}{|\mathbf{r}-\mathbf{R}_{A}|}\right|\phi_{\nu}(\mathbf{r})\right\rangle$ $\displaystyle E_{\mathrm{J}}$ $\displaystyle=$ $\displaystyle\frac{1}{2}\left\langle\rho(\mathbf{r}_{1})\left|\frac{1}{|% \mathbf{r}_{1}-\mathbf{r}_{2}|}\right|\rho(\mathbf{r}_{2})\right\rangle$ (5.7) $\displaystyle=$ $\displaystyle\frac{1}{2}\sum_{\mu\nu}\sum_{\lambda\sigma}P_{\mu\nu}P_{\lambda% \sigma}\left(\mu\nu|\lambda\sigma\right)$ $\displaystyle E_{\mathrm{XC}}$ $\displaystyle=$ $\displaystyle\int f\bigl{[}\rho(\mathbf{r}),\hat{\bm{\nabla}}\rho(\mathbf{r}),% \ldots\bigr{]}\,\rho(\mathbf{r})\;d\mathbf{r}\;.$ (5.8)

Minimizing $E$ with respect to the unknown Kohn-Sham orbital coefficients yields a set of matrix equations exactly analogous to Pople-Nesbet equations of the UHF case, Eq. (4.13), but with modified Fock matrix elements [cf. Eq. (4.27)]

 \displaystyle\begin{aligned} \displaystyle F_{\mu\nu}^{\alpha}&\displaystyle=H% _{\mu\nu}^{\mathrm{core}}+J_{\mu\nu}-F_{\mu\nu}^{\mathrm{XC}\alpha}\\ \displaystyle F_{\mu\nu}^{\beta}&\displaystyle=H_{\mu\nu}^{\mathrm{core}}+J_{% \mu\nu}-F_{\mu\nu}^{\mathrm{XC}\beta}\;.\end{aligned} (5.9)

Here, $\mathbf{F}^{\mathrm{XC}\alpha}$ and $\mathbf{F}^{\mathrm{XC}\beta}$ are the exchange-correlation parts of the Fock matrices and depend on the exchange-correlation functional used. UHF theory is recovered as a special case simply by taking $F_{\mu\nu}^{\mathrm{XC}\alpha}=K_{\mu\nu}^{\alpha}$, and similarly for $\beta$. Thus, the density and energy are obtained in a manner analogous to that for the HF method. Initial guesses are made for the MO coefficients and an iterative process is applied until self-consistency is achieved.