# Density functional theory

Density functional theory (DFT) is one of the most popular approaches to quantum mechanical many-body electronic structure calculations of molecular and condensed matter systems.

 Contents

## Description of the theory

Traditional methods in electronic structure, like Hartree-Fock theory are based on the complicated many-electron wavefunction. The main objective of density functional theory is to replace the many-body electronic wavefunction with the electronic density as the basic quantity. Whereas the many-body wavefunction is dependent on [itex]3N[itex] variables, three spatial variables for each of the [itex]N[itex] electrons, the density is only a function of three variables and is a simpler quantity to deal with both conceptually and practically.

Although density functional theory has its conceptual roots in the Thomas-Fermi model, DFT was not put on a firm theoretical footing until the Hohenberg-Kohn (HK) theorem which demonstrates the existence of a one-to-one mapping between the ground state electron density and the ground state wavefunction of a many-particle system. Moreover, the HK theorem proves that the ground state density minimizes the total electronic energy of the system. Since the HK theorem holds only for the ground state, DFT is also a ground state theorem.

The Hohenberg-Kohn theorem is only an existence theorem, stating that the mapping exists, but does not provide any such exact mapping. It is in these mappings that approximations are made. The most popular such mapping is local-density approximation (LDA) which gives an approximate mapping from the density of the system to the total energy. The LDA is exact for the uniform electron gas, also known as jellium.

In practise, the HK theorem is not often used to directly make calculations. Instead, the most common present-day implementation of density functional theory is through the Kohn-Sham method. Within the framework of Kohn-Sham DFT, the intractable many-body problem of interacting electrons in a static external potential is reduced to a tractable problem of non-interacting electrons moving in an effective potential. The effective potential includes the external potential and the effects of the Coulomb interactions between the electrons.

In many cases DFT with the local-density approximation gives quite satisfactory results in comparison to experimental data at relatively low computational costs when compared to other ways of solving the quantum mechanical many-body problem.

DFT has been very popular for calculations in solid state physics since the 1970s. However, it was not considered accurate enough for calculations in quantum chemistry until the 1990s, when the approximations used in the theory were greatly refined. DFT is now a leading method for electronic structure calculations in both fields.

However, there are still systems which are not described very well by LDA. The LDA fails to describe properly intermolecular interactions, especially van der Waals forces (dispersion). Another popularly cited result is the underestimation of the band gap in semiconductors, but this strictly, does not demonstrate a failure since DFT is a ground state theory, and the band gap is an excited state property.

## Early models: Thomas-Fermi model

The first true density functional theory was developed by Thomas and Fermi in the 1920s. They calculated the energy of an atom by representing its kinetic energy as a functional of the electron density, combining this with the classical expressions for the nuclear-electron and electron-electron interactions (which can both also be represented in terms of the electron density).

Although this was an important first step, the Thomas-Fermi equation's accuracy was limited because it did not attempt to represent the exchange energy of an atom predicted by Hartree-Fock theory. An exchange energy functional was added by Dirac in 1928.

However, the Thomas-Fermi-Dirac theory remained rather inaccurate for most applications because it is difficult to represent kinetic energy with a density functional, and it neglects electron correlation entirely.

## Derivation and formalism

As usual in many-body electronic structure calculations, the nuclei of the treated molecules or clusters are seen as fixed (Born-Oppenheimer approximation), generating a static external potential [itex]\,\!V[itex] in which the electrons are moving. A stationary electronic state is then described by a wave function [itex]\Psi(\vec r_1,\dots,\vec r_N)[itex] fulfilling the many-electron Schrödinger equation

[itex] H \Psi = \left[{T}+{V}+{U}\right]\Psi =

\left[\sum_i^N -\frac{\hbar^2}{2m}\nabla_i^2 + \sum_i^N V(\vec r_i) + \sum_{i

where [itex]\,\!N[itex] is the number of electrons and [itex]\,\!U[itex] is the electron-electron interaction. The operators [itex]\,\!T[itex] and [itex]\,\!U[itex] are so-called universal operators as they are the same for any system, while [itex]\,\!V[itex] is system dependent or non-universal. As one can see the actual difference between a single-particle problem and the much more complicated many-particle problem just arises from the interaction term [itex]\,\!U[itex]. Now, there are many sophisticated methods for solving the many-body Schrödinger equation, e.g. there is diagrammatic perturbation theory in physics, while in quantum chemistry one often uses configuration interaction (CI) methods, based on the systematic expansion of the wave function in Slater determinants. However, the problem with these methods is the huge computational effort, which makes it virtually impossible to apply them efficiently to larger complex systems.

Here DFT provides an appealing alternative, being much more versatile as it provides a way to systematically map the many-body problem, with [itex]\,\!U[itex], onto a single-body problem without [itex]\,\!U[itex]. In DFT the key variable is the particle density [itex]n(\vec r)[itex] which is given by

[itex]n(\vec r) = N \int{\rm d}^3r_2 \int{\rm d}^3r_3 \cdots \int{\rm d}^3r_N

\Psi^*(\vec r,\vec r_2,\dots,\vec r_N) \Psi(\vec r,\vec r_2,\dots,\vec r_N).[itex]

Hohenberg and Kohn proved in 1964  that the relation expressed above can be reversed, i.e. to a given ground state density [itex]n_0(\vec r)[itex] it is in principle possible to calculate the corresponding ground state wave function [itex]\Psi_0(\vec r_1,\dots,\vec r_N)[itex]. In other words, [itex]\,\!\Psi_0[itex] is a unique functional of [itex]\,\!n_0[itex], i.e.

[itex]\,\!\Psi_0 = \Psi_0[n_0][itex]

and consequently all other ground state observables [itex]\,\!O[itex] are also functionals of [itex]\,\!n_0[itex]

[itex] \left\langle O \right\rangle[n_0] =

\left\langle \Psi_0[n_0] \left| O \right| \Psi_0[n_0] \right\rangle.[itex]

From this follows in particular, that also the ground state energy is a functional of [itex]\,\!n_0[itex]

[itex]E_0 = E[n_0] =

\left\langle \Psi_0[n_0] \left| T+V+U \right| \Psi_0[n_0] \right\rangle[itex],

where the contribution of the external potential [itex]\left\langle \Psi_0[n_0] \left|V\right| \Psi_0[n_0] \right\rangle[itex] can be written explicitly in terms of the density

[itex]V[n] = \int V(\vec r) n(\vec r){\rm d}^3r. [itex]

The functionals [itex]\,\!T[n][itex] and [itex]\,\!U[n][itex] are called universal functionals while [itex]\,\!V[n][itex] is obviously non-universal, as it depends on the system under study. Having specified a system, i.e. [itex]\,\!V[itex] is known, one then has to minimise the functional

[itex] E[n] = T[n]+ U[n] + \int V(\vec r) n(\vec r){\rm d}^3r [itex]

with respect to [itex]n(\vec r)[itex], assuming one has got reliable expressions for [itex]\,\!T[n][itex] and [itex]\,\!U[n][itex]. A successful minimisation of the energy functional will yield the ground state density [itex]\,\!n_0[itex] and thus all other ground state observables.

The variational problem of minimising the energy functional [itex]\,\!E[n][itex] can be solved by applying the Lagrangian method of undetermined multipliers, which was done by Kohn and Sham in 1965 . Hereby, one uses the fact that the functional in the equation above can be written as a fictitious density functional of a non-interacting system

[itex]E_s[n] =

\left\langle \Psi_s[n] \left| T_s+V_s \right| \Psi_s[n] \right\rangle,[itex]

where [itex]\,\!T_s[itex] denotes the non-interacting kinetic energy and [itex]\,\!V_s[itex] is an external effective potential in which the particles are moving. Obviously, [itex]n_s(\vec r)\equiv n(\vec r)[itex] if [itex]\,\!V_s[itex] is chosen to be

[itex]V_s = V + U + \left(T_s - T\right).[itex]

Thus, one can solve the so-called Kohn-Sham equations of this auxiliary non-interacting system

[itex]\left[-\frac{\hbar^2}{2m}\nabla^2+V_s(\vec r)\right] \phi_i(\vec r)

= \epsilon_i \phi(\vec r), [itex]

which yields the orbitals [itex]\,\!\phi_i[itex] that reproduce the density [itex]n(\vec r)[itex] of the original many-body system

[itex]n(\vec r )\equiv n_s(\vec r)=

\sum_i^N \left|\phi_i(\vec r)\right|^2. [itex]

The effective single-particle potential [itex]\,\!V_s[itex] can be written in more detail as

[itex]V_s = V + \int \frac{e^2n_s(\vec r\,')}{|\vec r-\vec r\,'|}

{\rm d}^3r' + V_{\rm XC}[n_s(\vec r)],[itex]

where the second term denotes the so-called Hartree term describing the electron-electron Coulomb repulsion, while the last term [itex]\,\!V_{\rm XC}[itex] is called exchange correlation potential. Here, [itex]\,\!V_{\rm XC}[itex] includes all the many particle interactions. Since the Hartree term and [itex]\,\!V_{\rm XC}[itex] depend on [itex]n(\vec r )[itex], which depends on the [itex]\,\!\phi_i[itex], which in turn depend on [itex]\,\!V_s[itex], the problem of solving the Kohn-Sham equation has to be done in a self-consistent way. Usually one starts with an initial guess for [itex]n(\vec r)[itex], then one calculates the corresponding [itex]\,\!V_s[itex] and solves the Kohn-Sham equations for the [itex]\,\!\phi_i[itex]. From these one calculates a new density and starts again. This procedure is then repeated until convergence is reached.

## Approximations

The major problem with DFT is that the exact functionals for exchange and correlation are not known except for the free electron gas. However, approximations exist which permit the calculation of certain physical quantities quite accurately. In physics the most widely used approximation is the local density approximation (LDA), where the functional depends only on the density at the coordinate where the functional is evaluated:

[itex]E_{XC}[n]=\int\epsilon_{XC}(n){\rm d}^3r.[itex]

The local spin-density approximation (LSDA) is a straightforward generalization of the LDA to include electron spin:

[itex]E_{XC}[n_\uparrow,n_\downarrow]=\int\epsilon_{XC}(n_\uparrow,n_\downarrow){\rm d}^3r.[itex]

Highly accurate formulae for the exchange-correlation energy density [itex]\epsilon_{XC}(n_\uparrow,n_\downarrow)[itex] have been constructed from simulations of a free-electron gas.

Generalized gradient approximations (GGA) are still local but also take into account the gradient of the density at the same coordinate:

[itex]E_{XC}[n_\uparrow,n_\downarrow]=\int\epsilon_{XC}(n_\uparrow,n_\downarrow,\vec{\nabla}n_\uparrow,\vec{\nabla}n_\downarrow){\rm d}^3r.[itex]

Using the latter (GGA) very good results for molecular geometries and ground state energies have been achieved. Many further incremental improvements have been made to DFT by developing better representations of the functionals.

## Relativistic generalization

The relativistic generalization of the DFT formalism leads to a current density functional theory.

## Applications

In practice, Kohn-Sham theory can be applied in two distinct ways depending on what is being investigated. In the solid state, plane wave basis sets are used with periodic boundary conditions. Moreover, great emphasis is placed upon remaining consistent with the idealised model of a 'uniform electron gas', which exhibits similar behaviour to an infinite solid. In the gas and liquid phases, this emphasis is relaxed somewhat, as the uniform electron gas is a poor model for the behaviour of discrete atoms and molecules. Because of the relaxed constraints, a huge variety of exchange-correlation functionals have been developed for chemical applications. The most famous and popular of these is known as B3LYP [3-5]. The adjustable parameters of these functionals are generally fitted to a 'training set' of molecules. Unfortunately, although the results obtained with these functionals are usually relatively accurate for most applications, there is no systematic way of improving them (in contrast to some of the traditional wavefunction-based methods like configuration interaction or coupled cluster method). Hence, in the current DFT approach it is not possible to estimate the error of the calculations without comparing them to other methods or experiment.

## References

 P. Hohenberg and W. Kohn, Phys. Rev. 136 (1964) B864
 W. Kohn and L. J. Sham, Phys. Rev. 140 (1965) A1133
 A. D. Becke, J. Chem. Phys. 98 (1993) 5648
 C. Lee, W. Yang, and R. G. Parr, Phys. Rev. B 37 (1988) 785
 P. J. Stephens, F. J. Devlin, C. F. Chabalowski, and M. J. Frisch, J. Phys. Chem. 98 (1994) 11623

## Literature

• Art and Cultures
• Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
• Space and Astronomy