The sum of the last two terms is a measure of the extent of spin contamination in the unrestricted Hartree–Fock approach and is always non-negative – the wave function is usually contaminated to some extent by higher order spin eigenstates unless a ROHF approach is taken. Naturally, there is no contamination if all electrons are the same spin. Also, there
