where u(q) are the single-particle wavefunctions, which are assumed to be orthonormal to each other, ⟨uλ∣uμ⟩=δλμ. As per the variational method, the energy is this state is the minimum of the Functional
E[Ψ]=⟨Ψ∣H^∣Ψ⟩
A given HamiltonianH^ can be split in an independent term H^1 and an interaction term H^2 in the form H^=H^1+H^2. H^1 is given by a sum of single-particle Hamiltonians h^i, whereas H^2 is a sum of interaction terms dependent on the distance between particles. It consists of doing the typical variational method workflow using the Slater determinant as a trial function.
The energy in H^1 is
⟨Ψ∣H^1∣Ψ⟩=λ∑⟨uλ(qi)∣h^i∣uλ(qi)⟩=λ∑Iλ
Meanwhile, the energy in H^2 is
⟨Ψ∣H^2∣Ψ⟩=21λ∑μ∑[⟨uλ(qi)uμ(qj)∣rij1∣uλ(qi)uμ(qj)⟩−⟨uλ(qi)uμ(qj)∣rij1∣uμ(qi)uλ(qj)⟩](direct term Fλμ)(exchange term Kλμ)
The total energy to minimize then is
E[Ψ]=λ∑Iλ+21λ∑μ∑[Fλμ−Kλμ]
If we impose stationariety on this functional we can obtain a set of single-particle eigenvalue equations