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

Three representations of 1/r₁₂ (and what they each compute)

Quantum Chemistry

The Coulomb kernel shows up in every 2-electron integral in quantum chemistry, in the Hartree-Fock Fock matrix, in every correlation calculation, in DFT exchange-correlation functionals. It's singular at and slowly decaying at infinity — neither tractable as a direct integrand nor in any standard function space (not , not ). To compute integrals over it, you replace it with one of three integral representations. The choice of representation determines the algorithm.

Each representation comes from a different identity:

All three are equal as functions of away from the singularity at zero. They differ in how they encode that singularity and where they're convenient. Picking which one to substitute into an integral IS picking the algorithm:

The Laplace representation: where the Boys function comes from

The Laplace identity follows from a Gaussian-moment calculation. Start with the Gaussian integral (for ), rearrange, and you have . Trivial as identities go. What's remarkable is what it lets you do: if you substitute this into a 2-electron Coulomb integral against two Gaussian densities, the integrand becomes a product of three Gaussians (the two electron densities plus the Laplace-rep Gaussian ). All three are functions of Cartesian coordinates with quadratic exponents, so the 6D spatial integral collapses via the Gaussian product theorem applied twice. What's left is a single integral over the parameter :

where , , and is the distance between the Gaussian-product centers of the two electron-pair densities. The Boys function is a smooth, well-behaved 1D function — everything you compute via the Laplace representation eventually grounds out in evaluations and the angular-momentum recurrences of OS or MD. The "magic" of the Boys function is really the magic of the Laplace representation: it turns a 6D singular integral into a 1D smooth integral.

The Fourier representation needs regularization

The Fourier identity says , but this is not a classical Fourier transform. is not in (the integral over diverges at infinity, since doesn't decay) and not in either (same reason but worse). The naive Fourier integral doesn't converge. So where does come from?

The Yukawa regularization

Multiply by a screening factor for some small . The resulting Yukawa potential decays exponentially at infinity, so it's in for any , and its Fourier transform exists classically. Direct calculation in spherical coordinates with the polar axis along :

This is everywhere finite. The singularity at is regularized — at we get , which is large but finite. Now take :

The limit is well-defined pointwise for and blows up at . The pointwise limit is not a function in any classical sense — but it IS a tempered distribution. So is meant distributionally, as the limit of classical Fourier transforms.

# Yukawa regularization in action: the Fourier transform of e^(-εr)/r is
# 4π/(k² + ε²), finite everywhere. As ε → 0 we recover 4π/k², singular at 0.
import math
import numpy as np
from scipy.integrate import quad

# Compute the FT of e^{-εr}/r at a few k values for shrinking ε:
ks = [0.1, 0.5, 1.0, 2.0]
for eps in [1.0, 0.1, 0.01, 0.001, 0.0]:
    fts = []
    for k in ks:
        if eps == 0.0:
            # The ε=0 case: 4π/k² (distributional)
            fts.append(4 * math.pi / k**2)
        else:
            fts.append(4 * math.pi / (k**2 + eps**2))
    print(f"ε = {eps:>6}:  F[e^{{-εr}}/r](k) at k = {ks}")
    print(f"            = {[f'{v:.4f}' for v in fts]}")
ε =    1.0:  F[e^{-εr}/r](k) at k = [0.1, 0.5, 1.0, 2.0]
            = ['12.4444', '10.0531', '6.2832', '2.5133']
ε =    0.1:  F[e^{-εr}/r](k) at k = [0.1, 0.5, 1.0, 2.0]
            = ['628.3185', '48.3322', '12.4444', '3.0807']
ε =   0.01:  F[e^{-εr}/r](k) at k = [0.1, 0.5, 1.0, 2.0]
            = ['1244.4337', '50.2401', '12.5663', '3.1417']
ε =  0.001:  F[e^{-εr}/r](k) at k = [0.1, 0.5, 1.0, 2.0]
            = ['1256.5163', '50.2655', '12.5664', '3.1416']
ε =    0.0:  F[e^{-εr}/r](k) at k = [0.1, 0.5, 1.0, 2.0]
            = ['1256.6371', '50.2655', '12.5664', '3.1416']

Watch the regularized FT approach its limit. At large every gives essentially the same answer ( dominates over ). At small , the IR behavior depends sharply on : as shrinks the value at climbs from 12 to 1257, blowing up eventually. The singularity at is real but it's the limit of finite quantities, not a problem to be diagnosed and fixed.

Why "infinite singularity, finite answer" works

Now the question that's been hovering: how can integrating against a singular kernel produce finite numbers? Three nested reasons, each operator-theoretic.

The volume element saves you in 3D

Look at the Fourier-rep Coulomb integral against two Gaussian pair densities :

The integrand has a singularity at the origin. But the volume element in 3D spherical coordinates is — the Jacobian exactly cancels the in the kernel. What's left is a radial integrand that's smooth at :

The singularity is removable by 3D-spherical geometry. This is also why the Coulomb potential is logarithmic in 2D (where , only one factor of to cancel , leaving which integrates logarithmically) and linear in 1D (no in the volume element, stays singular). Coulomb in 3D is geometrically blessed: the kernel's IR singularity is exactly the strength needed for the Jacobian to remove it.

The Coulomb kernel as a distribution acting on test functions

Distributions don't have pointwise values; they have action on test functions. The kernel is an "improper" function (singular at zero), but it's a perfectly good distribution: paired with a Schwartz function , the result is finite as long as is smooth enough at the origin. Gaussian-derived s are Schwartz functions — exponentially fast-decaying at infinity, smooth and bounded at the origin — so the pairing is finite by construction.

Operator-theoretically: is the integral kernel of on . The Laplacian has continuous spectrum , with no eigenvalues. The inverse is unbounded (it sends the spectral edge at zero to infinity), but it's well-defined as a map between appropriate function spaces.

The Yukawa regularization shifts the spectrum: has spectrum , bounded below by , so is a bounded operator with norm . Its integral kernel is exactly , the Yukawa potential. Removing the regularization means letting the spectral edge return to zero, which is when the resolvent picks up its long-range Coulomb tail. The "singularity" of at large is the spectral edge of the Laplacian sitting at zero — a structural fact about the operator, not an algebraic accident.

The IR singularity is about charge neutrality

The singularity at is the Fourier-space encoding of the tail in position space. It only causes trouble when a calculation involves non-neutral charge distributions — because is the total charge. For neutral systems (), the singularity is multiplied by zero at the problematic point, and everything stays finite.

This is exactly why the Madelung sum for a periodic ionic crystal is conditionally convergent term by term but finite overall: the long-range Coulomb tail is suppressed by neutrality of the unit cell. Ewald summation makes this manifest by splitting the Coulomb interaction into a short-range part (handled in real space, convergent locally) and a long-range part (handled in -space, where the condition kills the singularity for neutral systems). Molecular QC dodges this whole story because molecules sit in vacuum and have fast-decaying densities, but the operator-theoretic substrate is identical.

Is this a resummation?

Strictly, no — there's no divergent series being tamed. But the Yukawa regularization is structurally the same move as Abel summation: introduce a smoothing parameter (, or for Abel: for ), compute the well-defined regularized object, then take the limit (, or ) while extracting the finite part. The "result" is whatever the regularized object converges to as the regulator vanishes, and this is independent of which regulator you use — Yukawa (), Gaussian (), or analytic continuation in a dimensional parameter all give the same Coulomb FT.

This regulate-then-take-limit pattern is everywhere in physics:

The unifying principle in all of these: when a "naive" computation diverges, the divergence is often spurious — the limit of a sequence of well-defined regularized objects gives a finite answer that's regulator-independent. The Yukawa derivation of isn't deeper than this pattern; it's an instance of it. So calling it "a kind of resummation" isn't crazy — it's the right intuition, just in the integral-representation flavor rather than the summed-series flavor.

Numerical verification: Laplace = Fourier

A concrete check: compute the same integral two ways. Use two Gaussian pair densities centered at and with combined exponents and . The Laplace route is the closed-form Boys-function expression; the Fourier route is direct radial quadrature of the -space integrand.

# Compute the (ss|ss) Coulomb integral two ways: Laplace and Fourier.
# Both should produce the same number to machine precision.
import math
import numpy as np
from scipy.special import hyp1f1
from scipy.integrate import quad

# Two Gaussian pair densities ρ(r) = exp(-α|r - X|²) centered at P, Q
p, q = 0.8, 1.0
P = np.array([0.0, 0.0, 0.0])
Q = np.array([0.0, 0.0, 1.5])
R = np.linalg.norm(P - Q)
eta = p * q / (p + q)
T = eta * R ** 2

def boys(n, T):
    return (1.0 / (2 * n + 1)) * hyp1f1(n + 0.5, n + 1.5, -T)

# (1) Laplace rep:  closed form via Boys function (this is the OS/MD route)
I_laplace = (2 * math.pi ** 2.5) / (p * q * math.sqrt(p + q)) * boys(0, T)

# (2) Fourier rep:  ∫ d³k (1/k²) ρ̃*(k) ρ̃(k) integrated in spherical coords;
#                   the d³k = k² dk dΩ Jacobian cancels the 1/k² singularity.
sigma2 = 1.0 / (4 * eta)
radial = quad(lambda k: math.exp(-sigma2 * k**2)
                       * (math.sin(k * R) / (k * R) if k > 0 else 1.0),
              0.0, np.inf, limit=400)[0]
I_fourier = (math.pi / p) ** 1.5 * (math.pi / q) ** 1.5 * (2 / math.pi) * radial

print(f"T = η R² = {T}")
print(f"F_0(T) = {boys(0, T):.10f}")
print(f"I (Laplace)  = {I_laplace:.12e}")
print(f"I (Fourier)  = {I_fourier:.12e}")
print(f"diff         = {abs(I_laplace - I_fourier):.2e}")
T = η R² = 1.0
F_0(T) = 0.7468241328
I (Laplace)  = 2.434427140244e+01
I (Fourier)  = 2.434427140244e+01
diff         = 7.11e-15

Same number to 14 digits, computed via completely different machinery — one uses the Boys-function table, the other does a 1D radial -space integral with the singular kernel handled implicitly by the volume element. Demonstrates that the choice of representation is operational, not mathematical: the answer is the same; the work is reorganized.

The multipole expansion is the Fourier rep, in disguise

To close the loop: the three representations aren't independent facts. The multipole expansion follows from the Fourier representation by doing the angular part of the integral first using the spherical-wave expansion of the plane wave:

Substituting into the Fourier representation of and doing the angular integrals (which picks up ) gives a radial -integral over spherical Bessel functions, which evaluates to the multipole structure term by term. So the Fourier representation is the multipole expansion's discrete angular sum turned into a continuous spherical-harmonic completeness relation. Two costumes of the same decomposition.

Similarly, the Laplace representation is the Fourier representation with the spatial integral done in a different order (radial first). All three are operationally equivalent ways to encode the same singular kernel; the choice is which order to do the integrals in, and that choice is the algorithm.

Related on this site

References