A multipole expansion is a mathematical series representing a function that depends on angles—usually the two angles used in the spherical coordinate system for
R
3
{\displaystyle \mathbb {R} ^{3}}
(the polar and azimuthal angles). Similarly to Taylor series, multipole expansions are useful because oftentimes only the first few terms are needed to provide a good approximation of the original function. The function being expanded may be real or complex-valued and is defined either...