“Know how to solve every problem that has been solved.” “What I cannot create, I do not understand.” — Richard Feynman

Recursion strategies for Gaussian integrals: Obara-Saika and McMurchie-Davidson

Quantum Chemistry

Quantum chemistry on a Gaussian basis ends up computing 2-electron repulsion integrals over Cartesian-Gaussian primitives — billions of them per SCF cycle, for a real molecule. The Boys/Gaussian-product machinery handles the pure-s case (), but real basis sets have orbitals with polynomial prefactors that don't disappear under the Gaussian Product Theorem. The integrand becomes a (high-degree polynomial) times Gaussian, and direct algebraic expansion blows up combinatorially with angular momentum. You need a recurrence scheme.

Two recurrence schemes dominate the literature:

Both compute the same integrals to machine precision via different intermediates. The Obara-Saika and McMurchie-Davidson pages each work through the same example — a integral on four distinct centers — and arrive at the same number () by recurrences that share no intermediate quantities. That's a clean cross-check.

Which to use

How to read Helgaker

Helgaker, Jørgensen & Olsen's Molecular Electronic-Structure Theory chapter 9 is the canonical reference. It's also where most people drown — chapter 9 introduces both schemes in full multi-index recurrence generality without ever saying "these are two different ways of solving the same problem." The framing on these two sub-pages is the missing chapter zero. Read OS first (the recurrence is more direct), then MD (the basis change pays off when you see why), then go back to Helgaker. The dense notation collapses into "OS recurrence on " or "MD -table plus -table" and the chapter becomes navigable.

Related on this site

References