For and , evaluate
Move to vector notation and split into three integrals. Write , , and . Then and
with , the same with sine, and . The condition is what makes all three converge.
Kill the sine term by parity. Under the Gaussian is unchanged while flips sign, so the integrand is odd over a domain symmetric about the origin:
The coefficient therefore never appears in the answer.
Evaluate the cosine term as a Fourier transform. The standard 3-D Gaussian transform is
(each Cartesian direction contributes after completing the square). Taking real parts — the imaginary part is exactly — gives
Evaluate the r² term in spherical coordinates. The integrand depends only on , so :
The substitution turns this into a gamma integral:
using . Hence .
Assemble the result.
Note the structure: the -part decays in (a Gaussian in frequency space), while the -part is a pure constant independent of .
Verify numerically. With , , , , , the closed form gives . A -point Gauss-Legendre grid on (the Gaussian is negligible beyond that) gives — agreement to eight digits, including the fact that the term contributes nothing.
Need to solve a different problem like this? Open the solver →