The density functional theory by Hohenberg, Kohn, and Sham384, 481 stems from earlier work by Dirac,225 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.481 It is the Kohn-Sham approach that first made DFT into a practical tool for calculations.
Within the Kohn-Sham formalism,481 the ground state electronic energy, , can be written as
where is the kinetic energy, is the electron–nuclear interaction energy, is the Coulomb self-interaction of the electron density, and is the exchange-correlation energy. Adopting an unrestricted format, the and total electron densities can be written as
where and are the number of alpha and beta electron respectively, and are the Kohn-Sham orbitals. Thus, the total electron density is
Within a finite basis set, the density is represented by738
Minimizing 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)]
Here, and 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 , and similarly for . 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.