Skip to main content

Section 19.6 Spherical Harmonics

The spherical harmonics

\begin{equation*} Y_\ell{}^m(\theta,\phi) = N e^{im\phi} P_\ell{}^m(\cos\theta) \end{equation*}

with \(\ell\) a nonnegative integer and \(m\) an integer satisfying \(|m|\le\ell\) are solutions of the partial differential equation

\begin{equation*} r^2 \nabla^2 Y_\ell{}^m = -\ell(\ell+1) Y_\ell{}^m \end{equation*}

where \(P_\ell{}^m\) is an associated Legendre polynomial, and \(\nabla^2\) is the Laplacian on the sphere, that is

\begin{equation*} \nabla^2 f = \frac{1}{\sin\theta}\frac{\partial}{\partial\theta} \left(\sin\theta\Partial{f}{\theta}\right) + \frac{1}{r^2\sin^2\theta}\frac{\partial^2 f}{\partial\phi^2} \end{equation*}

and \(N\) is a normalization factor.

You can print the first few spherical harmonics using the following Sage code.

You can also explore the graphs of the spherical harmonics using Sage. The code below plots the squared magnitude (probability density) \(|Y_\ell{}^m|^2\) of the first few spherical harmonics in three ways: using color on the unit sphere, as the distance from the origin, and as the distance from the unit sphere.

Here are the (magnitudes of the) real and imaginary parts of the spherical harmonics, along with the overall magnitude.

Here are the signed values of the real and imaginary parts of the spherical harmonics, along with the overall magnitude. (The sign is indicated by color only, not by allowing the radius to become negative.)

Finally, here you can graph (using color only) an arbitrary (complex!) linear combination of spherical harmonics, each entered as “\(Y(\ell,m)\)”. (Use \(I\) for \(i\text{,}\) and submit your combination by pressing Enter.)