Multipole expansion for electric potentials

For a general charge distribution $ρ(\v x)$ contained within $V = \sb{\v x}{|\v x|<R}$, the potential is, at large $|\v x|\gg R$, $$ \begin{align*} Φ(\v x) = \frac{1}{4πε_0}\left(\frac{Q}{|\v x|} + \frac{\v p\cdot \v x}{|\v x|^3} + \frac{1}{2} \frac{Q_{ij} x_i x_j}{|\v x|^5} + \ldots\right) \end{align*} $$ where the first three multipole moments are

(Derivation)