Section 19.6 Spherical Harmonics
The spherical harmonics
with \(\ell\) a nonnegative integer and \(m\) an integer satisfying \(|m|\le\ell\) are solutions of the partial differential equation
where \(P_\ell{}^m\) is an associated Legendre polynomial, and \(\nabla^2\) is the Laplacian on the sphere, that is
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.)