Legendre polynomials form the basis for multipole expansion of spatially varying functions. The technique allows for decomposition of the function into two separate parts with one depending on the ...