where ψi are the single-electron wave functions known as spin orbitals. The Hartree–Fock energy and the associated state is found by minimizing the energy functional
under the constraint that the spin orbitals remain orthonormal. Here, ψ collectively refers to the entire set of N spin orbitals. Such a constrained minimization is conveniently performed by means of the technique of Lagrange multipliers.
Expressing the energy as the expectation value of the electronic Hamiltonian with respect to a Slater determinant and using the general expressions for matrix elements, we arrive at
Since the first-order variation in the Lagrangian is required to vanish for general variations in the spin orbitals, we have shown that the Hartree–Fock solution is given by
This equation is known as the Hartree–Fock equation and it to be solved for the spin orbitals and the associated Lagrange multipliers. We note that the matrix elements of the Fock operator equal the multipliers
Apart from a trivial overall phase factor, unitary transformations among the occupied orbitals are shown to leave the Hartree–Fock wave function unchanged. We introduce a unitary transformation that diagonalizes the Hermitian Fock matrix
which we recognize as an eigenvalue equation introducing the orbital energies, εi, as the eigenvalues of the Fock operator. With an infinite number of solutions to the Hartree–Fock equation, the Hartree–Fock ground state is given by employing the N spin orbitals with lowest orbital energies in the Slater determinant.
The spatial parts of the spin orbitals, or molecular orbitals (MOs), are expanded as linear combination of atomic orbitals (LCAO). In the basis of spin atomic orbitals, the Fock matrix becomes block diagonal
where the cancellation between Coulomb and exchange terms for j=i has been used in the former case. It thus appears as if εi relates to the energy of an electron interacting with (N−1) other electrons, whereas εa relates to the energy of an electron interacting with N other electrons. In accordance with these observations, it is readily shown from the expressions for matrix elements that the ionization energy (IE) and electron affinity (EA) become
where, in the frozen orbital approximation, EiN−1 is the energy of the system after the removal of the electron in spin orbital i and EaN+1 is the energy of the system after the addition of an electron in spin orbital a.
which shows that there is no coupling between the Hartree–Fock ground state and single excited determinants. This result is known as the Brillouin theorem.
Due to the summation over occupied spin orbitals that expresses the effective electron interactions, the Fock operator depends on its eigenfunctions and the canonical Hartree–Fock equation is therefore solved iteratively by means of a self-consistent field (SCF) procedure, such as the Roothaan–Hall approach:
In the following, we will consider the spin-restricted formulation where α- and β-spin orbitals have identical spatial parts. We also restrict the situation to the common case of a closed-shell system such that