Useful formulas

This section holds a collection of formulae, which are helpful when working with DFTK and plane-wave DFT in general. See also Notation and conventions for a description of the conventions used in the equations.

Fourier transforms

  • The Fourier transform is

    f^(q)=R3eiqxf(x)dx

  • Fourier transforms of centered functions: If f(x)=R(x)Ylm(x/|x|), then

    f^(q)=R3R(x)Ylm(x/|x|)eiqxdx=l=04πilm=llR3R(x)jl(|q||x|)Ylm(q/|q|)Ylm(x/|x|)Ylm(x/|x|)dx=4πYlm(q/|q|)ilR+r2R(r) jl(|q|r)dr=4πYlm(q/|q|)(i)lR+r2R(r) jl(|q|r)dr

    This also holds true for real spherical harmonics.

Spherical harmonics

  • Plane wave expansion formula

    eiqr=4πl=0m=lliljl(|q||r|)Ylm(q/|q|)Ylm(r/|r|)

  • Spherical harmonics orthogonality

    S2Ylm(r)Ylm(r)dr=δl,lδm,m

    This also holds true for real spherical harmonics.

  • Spherical harmonics parity

    Ylm(r)=(1)lYlm(r)

    This also holds true for real spherical harmonics.