Laplace's equation imposes that the
Laplacian of a scalar field is zero. (Here the scalar field is understood to be complex, i.e. to correspond to a (smooth) function f:\R^3 \to \Complex.) In
spherical coordinates this is: \nabla^2 f = \frac{1}{r^2} \frac{\partial}{\partial r}\left(r^2 \frac{\partial f}{\partial r}\right) + \frac{1}{r^2 \sin\theta} \frac{\partial}{\partial \theta}\left(\sin\theta \frac{\partial f}{\partial \theta}\right) + \frac{1}{r^2 \sin^2\theta} \frac{\partial^2 f}{\partial \varphi^2} = 0. Consider the problem of finding solutions of the form . By
separation of variables, two differential equations result by imposing Laplace's equation: \frac{1}{R}\frac{d}{dr}\left(r^2\frac{dR}{dr}\right) = \lambda,\qquad \frac{1}{Y}\frac{1}{\sin\theta}\frac{\partial}{\partial\theta}\left(\sin\theta \frac{\partial Y}{\partial\theta}\right) + \frac{1}{Y}\frac{1}{\sin^2\theta}\frac{\partial^2Y}{\partial\varphi^2} = -\lambda. The second equation can be simplified under the assumption that has the form . Applying separation of variables again to the second equation gives way to the pair of differential equations \frac{1}{\Phi} \frac{d^2 \Phi}{d\varphi^2} = -m^2 \lambda\sin^2\theta + \frac{\sin\theta}{\Theta} \frac{d}{d\theta} \left(\sin\theta \frac{d\Theta}{d\theta}\right) = m^2 for some number . A priori, is a complex constant, but because must be a
periodic function whose period evenly divides , is necessarily an integer and is a linear combination of the complex exponentials . The solution function is regular at the poles of the sphere, where . Imposing this regularity in the solution of the second equation at the boundary points of the domain is a
Sturm–Liouville problem that forces the parameter to be of the form for some non-negative integer with ; this is also explained
below in terms of the
orbital angular momentum. Furthermore, a change of variables transforms this equation into the
Legendre equation, whose solution is a multiple of the
associated Legendre polynomial . Finally, the equation for has solutions of the form ; requiring the solution to be regular throughout forces . Here the solution was assumed to have the special form . For a given value of , there are independent solutions of this form, one for each integer with . These angular solutions Y_{\ell}^m : S^2 \to \Complex are a product of
trigonometric functions, here represented as a
complex exponential, and associated Legendre polynomials: Y_\ell^m (\theta, \varphi ) = N e^{i m \varphi } P_\ell^m (\cos{\theta} ) which fulfill r^2\nabla^2 Y_\ell^m (\theta, \varphi ) = -\ell (\ell + 1 ) Y_\ell^m (\theta, \varphi ). Here Y_{\ell}^m:S^2 \to \Complex is called a
spherical harmonic function of degree and order , P_{\ell}^m:[-1,1]\to \R is an
associated Legendre polynomial, is a normalization constant, and and represent colatitude and longitude, respectively. In particular, the
colatitude , or polar angle, ranges from at the North Pole, to at the Equator, to at the South Pole, and the
longitude , or
azimuth, may assume all values with . For a fixed integer , every solution , Y: S^2 \to \Complex, of the eigenvalue problem r^2\nabla^2 Y = -\ell (\ell + 1 ) Y is a
linear combination of Y_\ell^m : S^2 \to \Complex. In fact, for any such solution, is the expression in spherical coordinates of a
homogeneous polynomial \R^3 \to \Complex that is harmonic (see
below), and so counting dimensions shows that there are linearly independent such polynomials. The general solution f:\R^3 \to \Complex to
Laplace's equation \Delta f = 0 in a ball centered at the origin is a
linear combination of the spherical harmonic functions multiplied by the appropriate scale factor , f(r, \theta, \varphi) = \sum_{\ell=0}^\infty \sum_{m=-\ell}^\ell f_\ell^m r^\ell Y_\ell^m (\theta, \varphi ), where the f_{\ell}^m \in \Complex are constants and the factors are known as (
regular)
solid harmonics \R^3 \to \Complex. Such an expansion is valid in the
ball r For r > R, the solid harmonics with negative powers of r (the
irregular solid harmonics \R^3 \setminus \{ \mathbf{0} \} \to \Complex) are chosen instead. In that case, one needs to expand the solution of known regions in
Laurent series (about r=\infty), instead of the
Taylor series (about r = 0) used above, to match the terms and find series expansion coefficients f^m_\ell \in \Complex.
Orbital angular momentum In quantum mechanics, Laplace's spherical harmonics are understood in terms of the
orbital angular momentum \mathbf{L} = -i\hbar (\mathbf{x}\times \mathbf{\nabla}) = L_x\mathbf{i} + L_y\mathbf{j}+L_z\mathbf{k}. The is conventional in quantum mechanics; it is convenient to work in units in which . The spherical harmonics are eigenfunctions of the square of the orbital angular momentum \begin{align} \mathbf{L}^2 &= -r^2\nabla^2 + \left(r\frac{\partial}{\partial r}+1\right)r\frac{\partial}{\partial r}\\ &= -\frac{1}{\sin\theta} \frac{\partial}{\partial \theta}\sin\theta \frac{\partial}{\partial \theta} - \frac{1}{\sin^2\theta} \frac{\partial^2}{\partial \varphi^2}. \end{align} Laplace's spherical harmonics are the joint eigenfunctions of the square of the orbital angular momentum and the generator of rotations about the azimuthal axis: \begin{align} L_z &= -i\left(x\frac{\partial}{\partial y} - y\frac{\partial}{\partial x}\right)\\ &=-i\frac{\partial}{\partial\varphi}. \end{align} These operators commute, and are
densely defined self-adjoint operators on the
weighted Hilbert space of functions
f square-integrable with respect to the
normal distribution as the
weight function on
R3: \frac{1}{(2\pi)^{3/2}}\int_{\R^3} |f(x)|^2 e^{-|x|^2/2}\,dx Furthermore,
L2 is a
positive operator. If is a joint eigenfunction of and , then by definition \begin{align} \mathbf{L}^2Y &= \lambda Y\\ L_zY &= mY \end{align} for some real numbers
m and
λ. Here
m must in fact be an integer, for
Y must be periodic in the coordinate
φ with period a number that evenly divides 2
π. Furthermore, since \mathbf{L}^2 = L_x^2 + L_y^2 + L_z^2 and each of
Lx,
Ly,
Lz are self-adjoint, it follows that . Denote this joint eigenspace by , and define the
raising and lowering operators by \begin{align} L_+ &= L_x + iL_y\\ L_- &= L_x - iL_y \end{align} Then and commute with , and the Lie algebra generated by , , is the
special linear Lie algebra of order 2, \mathfrak{sl}_2(\Complex), with commutation relations [L_z,L_+] = L_+,\quad [L_z,L_-] = -L_-, \quad [L_+,L_-] = 2L_z. Thus (it is a "raising operator") and (it is a "lowering operator"). In particular, must be zero for
k sufficiently large, because the inequality must hold in each of the nontrivial joint eigenspaces. Let be a nonzero joint eigenfunction, and let be the least integer such that L_+^kY = 0. Then, since L_-L_+ = \mathbf{L}^2 - L_z^2 - L_z it follows that 0 = L_-L_+^k Y = (\lambda - (m+k)^2-(m+k))Y. Thus for the positive integer . The foregoing has been all worked out in the spherical coordinate representation, \langle \theta, \varphi| l m\rangle = Y_l^m (\theta, \varphi) but may be expressed more abstractly in the complete, orthonormal
spherical ket basis. ==Harmonic polynomial representation==