Skip to main content

Someone wanted to learn this too, so Grasp built them a personal learning path.

You can keep exploring this one or create your own

Deriving Hartree-Fock Equations from the Variational Principle

Hello! Welcome to the first lesson in our module on "Many-Body Mean-Field and Correlation Methods."

In our previous module, we established the fundamental principles for handling systems of identical particles, culminating in our analysis of how indistinguishability creates observable interference effects in scattering. The core takeaway was that the mandatory antisymmetry of the many-electron wavefunction is not just a formal requirement but has profound physical consequences.

Today, we transition from the dynamics of two-particle collisions to the static properties of a much larger system, such as an atom, a molecule, or the electron gas in a solid. Our central challenge is to solve the Schrödinger equation for many interacting electrons. As you know, this is an impossible task to perform exactly for all but the simplest systems. We must therefore rely on approximations.

This lesson addresses the learning outcome: Derive the Hartree-Fock equations for a many-electron system using the variational principle. We will develop the most fundamental and historically important mean-field theory. The "mean-field" idea is to approximate the complex, instantaneous interactions between all electrons with a simpler picture: each electron moves independently in an average potential created by all the other electrons. The exchange effects we saw in scattering will reappear here as a crucial, purely quantum-mechanical component of this average potential.

1. The Challenge and the Ansatz

Our starting point is the full electronic Hamiltonian for an N-electron system. Within the Born-Oppenheimer approximation (where we consider the atomic nuclei to be fixed in space), the Hamiltonian is:

This can be written more compactly as:

where is the single-electron part (kinetic energy and electron-nuclear attraction), and is the two-electron repulsion term. It is this second term that couples the motions of all electrons and makes the problem intractable.

How do we construct an approximate wavefunction for this Hamiltonian? (Here, includes both spatial and spin coordinates, ).

A first, naive guess might be a simple product of single-particle wavefunctions, or spin orbitals . This is known as a Hartree product:

However, this form has a fatal flaw: it violates the antisymmetry principle. Exchanging two electrons, say 1 and 2, results in a different state, which is forbidden for identical fermions.

The correct starting point, or ansatz, is a Slater determinant. It is the simplest possible N-electron wavefunction that correctly incorporates the Pauli exclusion principle.

The properties of determinants automatically ensure that if you swap any two electrons (swapping two rows), the wavefunction picks up a minus sign. It also ensures that if any two electrons occupy the same spin orbital (two columns are identical), the wavefunction vanishes.

To solidify your understanding of these foundational concepts, please watch the following video clips.

3. From many-body to single-particle: Quantum modeling of molecules

This first video from MIT OpenCourseWare provides the physical context, reviewing the Born-Oppenheimer approximation and then providing a brilliant explanation of why electron indistinguishability and the resulting exchange symmetry are so crucial, leading to the Pauli principle.

Please watch from 5:49 to 16:58, which reviews the many-body problem and the Born-Oppenheimer approximation. Then, watch from 22:56 to 39:07, which covers exchange symmetry and the introduction of the exchange (Fock) term.

Intro to Electronic Structure Theory Part 3

This next clip from David Sherrill's channel on Electronic Structure Theory clearly contrasts the incorrect Hartree product with the correct Slater determinant, and then introduces how the variational principle is applied to this determinant.

Please watch from 1:34 to 8:58 to see the construction of the Slater determinant. Then continue watching from 10:09 to 15:27, which explains how the variational principle is used to find the 'best' orbitals for our determinant.

2. The Variational Principle and the Energy Functional

Now that we have our ansatz—the Slater determinant—how do we find the best possible set of spin orbitals that make up this determinant? We use the variational principle. It states that the expectation value of the energy for any trial wavefunction is always greater than or equal to the true ground state energy :

Our goal is to find the set of orthonormal spin orbitals that minimizes this energy functional for a single Slater determinant. The resulting energy will be the best possible approximation to within the limitation that the wavefunction is a single determinant.

Calculating the expectation value is a non-trivial exercise (involving the Slater-Condon rules, which you may have seen). The result for the total energy is:

Here, the two-electron integrals are defined as:

  • Direct (Coulomb) Integral, :
  • Exchange Integral, :

So, the total energy can be written as:

The direct term has a simple classical interpretation: it's the electrostatic repulsion between the charge cloud and the charge cloud . The exchange term has no classical analogue. It is a direct consequence of the antisymmetry of the wavefunction and acts as a correction that lowers the energy. Notice that is non-zero only for electrons of the same spin (the spin part of the integral would otherwise be zero due to orthogonality), which is a manifestation of the Pauli exclusion principle keeping same-spin electrons apart.

3. Deriving the Hartree-Fock Equations

Our task is now to minimize with respect to the choice of orbitals , subject to the constraint that these orbitals remain orthonormal, . This is a constrained optimization problem, which can be solved using the method of Lagrange multipliers.

We seek to minimize the functional:

where are the Lagrange multipliers. Setting the functional derivative to zero for an arbitrary orbital leads to a set of equations. After some algebra, these equations can be written in a compact form:

This is the general Hartree-Fock equation. The operator is called the Fock operator.

It can be shown that there is a unitary transformation of the orbitals that diagonalizes the matrix of Lagrange multipliers without changing the total wavefunction (the Slater determinant). In this new basis, the equations take on a simpler, pseudo-eigenvalue form known as the canonical Hartree-Fock equations:

where are the diagonal elements of the transformed Lagrange multiplier matrix, known as the orbital energies.

The Fock Operator

The Fock operator is an effective one-electron Hamiltonian defined as:

Let's break it down:

  • : The usual one-electron operator (kinetic energy + nuclear attraction).
  • : The effective Hartree-Fock potential.
    • Coulomb (Hartree) Operator : This is a simple local potential. It represents the potential energy of electron 1 due to the average charge distribution of electron .
    • Exchange (Fock) Operator : This is a much stranger object. It is a non-local integral operator: to find its effect on at position , we need to know the value of over all of space.

The following image provides a concise summary of the derivation and the structure of the Fock operator.

Hartree-Fock Equation Derivation and Formulation
This flowchart illustrates the derivation of the Hartree-Fock equation. It begins with the energy functional, applies the variational principle with orbital orthonormality constraints, and arrives at the general matrix form. It then shows the explicit terms in the Fock matrix (kinetic, nuclear attraction, Coulomb, and Exchange) and the final canonical form, which is a pseudo-eigenvalue equation.

Derivation in Second Quantization

Given your interest in advanced many-body theory, it's valuable to see how this derivation is handled in the more powerful formalism of second quantization. The derivation is more abstract but also more elegant.

2 Mean-Field Theory: Hartree-Fock and BCS

The following text by Erik Koch provides a rigorous derivation of the Hartree-Fock equations using the second quantization formalism. This is the standard approach in modern condensed matter and quantum chemistry.

Please read section 3, 'Variational methods', followed by section 3.2, 'Hartree-Fock theory' (pages 14-18). The key steps are: Formulating the variational principle (Eq. 48). Using a unitary transformation (Eq. 55) to vary the Slater determinant. Showing that the stationary condition (the minimum energy) implies that the Hamiltonian has no matrix elements connecting the HF ground state to singly-excited states (Eq. 63). This is the Brillouin theorem. This condition leads directly to the definition of the Fock matrix (Eq. 64) and the requirement that it be diagonal in the basis of the Hartree-Fock orbitals.

The second quantization approach makes it clear that the Hartree-Fock approximation is equivalent to finding a basis of single-particle states where the Hamiltonian does not cause transitions between the ground state and any state with a single particle-hole excitation.

Test your understanding!

Why are the Hartree-Fock equations not standard eigenvalue equations, and why can't we solve them directly?

Show answer

The Hartree-Fock equations, , are not standard eigenvalue equations because the Fock operator itself depends on the solutions we are trying to find. The Coulomb operator and the Exchange operator are constructed from the full set of occupied orbitals. This creates a non-linear, self-referential problem. We cannot know the operator without knowing the solutions, and we cannot find the solutions without knowing the operator.

Conclusion

In this lesson, we have derived the central equations of Hartree-Fock theory. We started with the fundamental challenge of the many-body problem and motivated the use of a single Slater determinant as a physically reasonable starting approximation.

Key Takeaways:

  • The Hartree-Fock method seeks the best single Slater determinant approximation to the true many-electron ground state.
  • The "best" determinant is found by applying the variational principle: we minimize the expectation value of the Hamiltonian by varying the single-particle spin orbitals that constitute the determinant.
  • This constrained minimization leads to the Hartree-Fock equations, a set of effective single-particle Schrödinger equations.
  • The effective Hamiltonian is the Fock operator, which describes an electron moving in the potential of the nuclei plus a mean field generated by all other electrons.
  • This mean field has two parts: a classical-like Coulomb repulsion (the Hartree term) and a purely quantum mechanical, non-local exchange (Fock) term that arises from the wavefunction's antisymmetry.

Preview of the Next Lesson:

The derivation of these equations is only the first step. The next crucial question is: how do we actually solve these non-linear, self-consistent equations? In the next lesson, we will interpret the physical significance of the Hartree and Fock terms in more detail and outline the Self-Consistent Field (SCF) iterative procedure used to solve the Hartree-Fock equations in practice. We will also introduce the concept of correlation energy—precisely what Hartree-Fock theory leaves out.

Can't find a good explanation? Sign up and we'll make it for you

Sign up