To find the orbitals which minimize the energy we make the energy stationary with respect to variations of the MO coefficients,
.
If there are m basis functions and n occupied orbitals,
,
then solving the Schrödinger equation will produce (m-n) unoccupied (or virtual) orbitals,
,
which obey
(with the standard notation of using i,j to denote occupied orbitals; a,b for virtual; and p,q to denote any MOs).
At the minimum the energy is stationary with respect to the variation
This variation preserves orbital orthonormality through first order in
.
Substituting equation (1.31) into equation (1.30), picking out the coefficient of
and setting it to zero yields the stationary condition;
It is easier to use these equations when expressed in operator form. We define the Fock operator such that
or, in operator form
where the Coulomb operator,
,
is
and the exchange operator,
,
is
where
is the permutation operator, that is
The Fock operator is therefore an effective one-electron Hamiltonian.
Orbitals that satisfy the condition Fai=0 are obtained by solving the Roothaan-Hall equations [20,21]
The resulting orbitals will not only satisfy Fai=0, but also
This, however, does not matter as the SCF energy is invariant to a mixing of the occupied orbitals. When the Fock matrix is completely diagonal the orbitals are termed canonical.