# Spherical harmonics

Visual representations of the first few real spherical harmonics. Blue portions represent regions where the function is positive, and yellow portions represent where it is negative. The distance of the surface from the origin indicates the absolute value of ${\displaystyle Y_{\ell }^{m}(\theta ,\phi )}$ in angular direction ${\displaystyle (\theta ,\phi )}$.

In mathematics and physical science, spherical harmonics are special functions defined on the surface of a sphere. They are often employed in solving partial differential equations in many scientific fields.

Since the spherical harmonics form a complete set of orthogonal functions and thus an orthonormal basis, each function defined on the surface of a sphere can be written as a sum of these spherical harmonics. This is similar to periodic functions defined on a circle that can be expressed as a sum of circular functions (sines and cosines) via Fourier series. Like the sines and cosines in Fourier series, the spherical harmonics may be organized by (spatial) angular frequency, as seen in the rows of functions in the illustration on the right. Further, spherical harmonics are basis functions for irreducible representations of SO(3), the group of rotations in three dimensions, and thus play a central role in the group theoretic discussion of SO(3).

Spherical harmonics originates from solving Laplace's equation in the spherical domains. Functions that are solutions to Laplace's equation are called harmonics. Despite their name, spherical harmonics take their simplest form in Cartesian coordinates, where they can be defined as homogeneous polynomials of degree ${\displaystyle \ell }$ in ${\displaystyle (x,y,z)}$ that obey Laplace's equation. The connection with spherical coordinates arises immediately if one uses the homogeneity to extract a factor of radial dependence ${\displaystyle r^{\ell }}$ from the above-mentioned polynomial of degree ${\displaystyle \ell }$; the remaining factor can be regarded as a function of the spherical angular coordinates ${\displaystyle \theta }$ and ${\displaystyle \varphi }$ only, or equivalently of the orientational unit vector ${\displaystyle \mathbf {r} }$ specified by these angles. In this setting, they may be viewed as the angular portion of a set of solutions to Laplace's equation in three dimensions, and this viewpoint is often taken as an alternative definition.

A specific set of spherical harmonics, denoted ${\displaystyle Y_{\ell }^{m}(\theta ,\varphi )}$ or ${\displaystyle Y_{\ell }^{m}({\mathbf {r} })}$, are known as Laplace's spherical harmonics, as they were first introduced by Pierre Simon de Laplace in 1782.[1] These functions form an orthogonal system, and are thus basic to the expansion of a general function on the sphere as alluded to above.

Spherical harmonics are important in many theoretical and practical applications, including the representation of multipole electrostatic and electromagnetic fields, electron configurations, gravitational fields, geoids, the magnetic fields of planetary bodies and stars, and the cosmic microwave background radiation. In 3D computer graphics, spherical harmonics play a role in a wide variety of topics including indirect lighting (ambient occlusion, global illumination, precomputed radiance transfer, etc.) and modelling of 3D shapes.

## History

Spherical harmonics were first investigated in connection with the Newtonian potential of Newton's law of universal gravitation in three dimensions. In 1782, Pierre-Simon de Laplace had, in his Mécanique Céleste, determined that the gravitational potential ${\displaystyle \mathbb {R} ^{3}\to \mathbb {R} }$ at a point x associated with a set of point masses mi located at points xi was given by

${\displaystyle V(\mathbf {x} )=\sum _{i}{\frac {m_{i}}{|\mathbf {x} _{i}-\mathbf {x} |}}.}$

Each term in the above summation is an individual Newtonian potential for a point mass. Just prior to that time, Adrien-Marie Legendre had investigated the expansion of the Newtonian potential in powers of r = |x| and r1 = |x1|. He discovered that if rr1 then

${\displaystyle {\frac {1}{|\mathbf {x} _{1}-\mathbf {x} |}}=P_{0}(\cos \gamma ){\frac {1}{r_{1}}}+P_{1}(\cos \gamma ){\frac {r}{r_{1}^{2}}}+P_{2}(\cos \gamma ){\frac {r^{2}}{r_{1}^{3}}}+\cdots }$

where γ is the angle between the vectors x and x1. The functions ${\displaystyle P_{i}:[-1,1]\to \mathbb {R} }$ are the Legendre polynomials, and they can be derived as a special case of spherical harmonics. Subsequently, in his 1782 memoir, Laplace investigated these coefficients using spherical coordinates to represent the angle γ between x1 and x. (See Applications of Legendre polynomials in physics for a more detailed analysis.)

In 1867, William Thomson (Lord Kelvin) and Peter Guthrie Tait introduced the solid spherical harmonics in their Treatise on Natural Philosophy, and also first introduced the name of "spherical harmonics" for these functions. The solid harmonics were homogeneous polynomial solutions ${\displaystyle \mathbb {R} ^{3}\to \mathbb {R} }$ of Laplace's equation

${\displaystyle {\frac {\partial ^{2}u}{\partial x^{2}}}+{\frac {\partial ^{2}u}{\partial y^{2}}}+{\frac {\partial ^{2}u}{\partial z^{2}}}=0.}$

By examining Laplace's equation in spherical coordinates, Thomson and Tait recovered Laplace's spherical harmonics. (See the section below, "Harmonic polynomial representation".) The term "Laplace's coefficients" was employed by William Whewell to describe the particular system of solutions introduced along these lines, whereas others reserved this designation for the zonal spherical harmonics that had properly been introduced by Laplace and Legendre.

The 19th century development of Fourier series made possible the solution of a wide variety of physical problems in rectangular domains, such as the solution of the heat equation and wave equation. This could be achieved by expansion of functions in series of trigonometric functions. Whereas the trigonometric functions in a Fourier series represent the fundamental modes of vibration in a string, the spherical harmonics represent the fundamental modes of vibration of a sphere in much the same way. Many aspects of the theory of Fourier series could be generalized by taking expansions in spherical harmonics rather than trigonometric functions. Moreover, analogous to how trigonometric functions can equivalently be written as complex exponentials, spherical harmonics also possessed an equivalent form as complex-valued functions. This was a boon for problems possessing spherical symmetry, such as those of celestial mechanics originally studied by Laplace and Legendre.

The prevalence of spherical harmonics already in physics set the stage for their later importance in the 20th century birth of quantum mechanics. The (complex-valued) spherical harmonics ${\displaystyle S^{2}\to \mathbb {C} }$ are eigenfunctions of the square of the orbital angular momentum operator

${\displaystyle -i\hbar \mathbf {r} \times \nabla ,}$

and therefore they represent the different quantized configurations of atomic orbitals.

## Laplace's spherical harmonics

Real (Laplace) spherical harmonics Yℓm for = 0, …, 4 (top to bottom) and m = 0, …, (left to right). Zonal, sectoral, and tesseral harmonics are depicted along the left-most column, the main diagonal, and elsewhere, respectively. (The negative order harmonics ${\displaystyle Y_{\ell (-m)}}$ would be shown rotated about the z axis by ${\displaystyle 90^{\circ }/m}$ with respect to the positive order ones.)
Alternative picture for the real spherical harmonics ${\displaystyle Y_{\ell m}}$.

Laplace's equation imposes that the Laplacian of a scalar field f is zero. (Here the scalar field is understood to be complex, i.e. to correspond to a (smooth) function ${\displaystyle f:\mathbb {R} ^{3}\to \mathbb {C} }$.) In spherical coordinates this is:[2]

${\displaystyle \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 f(r, θ, φ) = R(r) Y(θ, φ). By separation of variables, two differential equations result by imposing Laplace's equation:

${\displaystyle {\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 ^{2}Y}{\partial \varphi ^{2}}}=-\lambda .}$

The second equation can be simplified under the assumption that Y has the form Y(θ, φ) = Θ(θ) Φ(φ). Applying separation of variables again to the second equation gives way to the pair of differential equations

${\displaystyle {\frac {1}{\Phi }}{\frac {d^{2}\Phi }{d\varphi ^{2}}}=-m^{2}}$
${\displaystyle \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 m. A priori, m is a complex constant, but because Φ must be a periodic function whose period evenly divides 2π, m is necessarily an integer and Φ is a linear combination of the complex exponentials e± imφ. The solution function Y(θ, φ) is regular at the poles of the sphere, where θ = 0, π. 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 λ = ( + 1) for some non-negative integer with ≥ |m|; this is also explained below in terms of the orbital angular momentum. Furthermore, a change of variables t = cos θ transforms this equation into the Legendre equation, whose solution is a multiple of the associated Legendre polynomial Pm
(cos θ)
. Finally, the equation for R has solutions of the form R(r) = A r + B r − 1; requiring the solution to be regular throughout R3 forces B = 0.[3]

Here the solution was assumed to have the special form Y(θ, φ) = Θ(θ) Φ(φ). For a given value of , there are 2 + 1 independent solutions of this form, one for each integer m with m. These angular solutions ${\displaystyle Y_{\ell }^{m}:S^{2}\to \mathbb {C} }$ are a product of trigonometric functions, here represented as a complex exponential, and associated Legendre polynomials:

${\displaystyle Y_{\ell }^{m}(\theta ,\varphi )=Ne^{im\varphi }P_{\ell }^{m}(\cos {\theta })}$

which fulfill

${\displaystyle r^{2}\nabla ^{2}Y_{\ell }^{m}(\theta ,\varphi )=-\ell (\ell +1)Y_{\ell }^{m}(\theta ,\varphi ).}$

Here ${\displaystyle Y_{\ell }^{m}:S^{2}\to \mathbb {C} }$ is called a spherical harmonic function of degree and order m, ${\displaystyle P_{\ell }^{m}:[-1,1]\to \mathbb {R} }$ is an associated Legendre polynomial, N is a normalization constant, and θ and φ represent colatitude and longitude, respectively. In particular, the colatitude θ, or polar angle, ranges from 0 at the North Pole, to π/2 at the Equator, to π at the South Pole, and the longitude φ, or azimuth, may assume all values with 0 ≤ φ < 2π. For a fixed integer , every solution Y(θ, φ), ${\displaystyle Y:S^{2}\to \mathbb {C} }$, of the eigenvalue problem

${\displaystyle r^{2}\nabla ^{2}Y=-\ell (\ell +1)Y}$

is a linear combination of ${\displaystyle Y_{\ell }^{m}:S^{2}\to \mathbb {C} }$. In fact, for any such solution, r Y(θ, φ) is the expression in spherical coordinates of a homogeneous polynomial ${\displaystyle \mathbb {R} ^{3}\to \mathbb {C} }$ that is harmonic (see below), and so counting dimensions shows that there are 2 + 1 linearly independent such polynomials.

The general solution ${\displaystyle f:\mathbb {R} ^{3}\to \mathbb {C} }$ to Laplace's equation ${\displaystyle \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 r,

${\displaystyle f(r,\theta ,\varphi )=\sum _{\ell =0}^{\infty }\sum _{m=-\ell }^{\ell }f_{\ell }^{m}r^{\ell }Y_{\ell }^{m}(\theta ,\varphi ),}$

where the ${\displaystyle f_{\ell }^{m}\in \mathbb {C} }$ are constants and the factors r Ym are known as (regular) solid harmonics ${\displaystyle \mathbb {R} ^{3}\to \mathbb {C} }$. Such an expansion is valid in the ball

${\displaystyle r

For ${\displaystyle r>R}$, the solid harmonics with negative powers of ${\displaystyle r}$ (the irregular solid harmonics ${\displaystyle \mathbb {R} ^{3}\setminus \{\mathbf {0} \}\to \mathbb {C} }$) are chosen instead. In that case, one needs to expand the solution of known regions in Laurent series (about ${\displaystyle r=\infty }$), instead of the Taylor series (about ${\displaystyle r=0}$) used above, to match the terms and find series expansion coefficients ${\displaystyle f_{\ell }^{m}\in \mathbb {C} }$.

### Orbital angular momentum

In quantum mechanics, Laplace's spherical harmonics are understood in terms of the orbital angular momentum[4]

${\displaystyle \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 ħ = 1. The spherical harmonics are eigenfunctions of the square of the orbital angular momentum

{\displaystyle {\begin{aligned}\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{aligned}}}

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:

{\displaystyle {\begin{aligned}L_{z}&=-i\left(x{\frac {\partial }{\partial y}}-y{\frac {\partial }{\partial x}}\right)\\&=-i{\frac {\partial }{\partial \varphi }}.\end{aligned}}}

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:

${\displaystyle {\frac {1}{(2\pi )^{3/2}}}\int _{\mathbb {R} ^{3}}|f(x)|^{2}e^{-|x|^{2}/2}\,dx<\infty .}$

Furthermore, L2 is a positive operator.

If Y is a joint eigenfunction of L2 and Lz, then by definition

{\displaystyle {\begin{aligned}\mathbf {L} ^{2}Y&=\lambda Y\\L_{z}Y&=mY\end{aligned}}}

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

${\displaystyle \mathbf {L} ^{2}=L_{x}^{2}+L_{y}^{2}+L_{z}^{2}}$

and each of Lx, Ly, Lz are self-adjoint, it follows that λm2.

Denote this joint eigenspace by Eλ,m, and define the raising and lowering operators by

{\displaystyle {\begin{aligned}L_{+}&=L_{x}+iL_{y}\\L_{-}&=L_{x}-iL_{y}\end{aligned}}}

Then L+ and L commute with L2, and the Lie algebra generated by L+, L, Lz is the special linear Lie algebra of order 2, ${\displaystyle {\mathfrak {sl}}_{2}(\mathbb {C} )}$, with commutation relations

${\displaystyle [L_{z},L_{+}]=L_{+},\quad [L_{z},L_{-}]=-L_{-},\quad [L_{+},L_{-}]=2L_{z}.}$

Thus L+ : Eλ,mEλ,m+1 (it is a "raising operator") and L : Eλ,mEλ,m−1 (it is a "lowering operator"). In particular, Lk
+
: Eλ,mEλ,m+k
must be zero for k sufficiently large, because the inequality λ ≥ m2 must hold in each of the nontrivial joint eigenspaces. Let Y ∈ Eλ,m be a nonzero joint eigenfunction, and let k be the least integer such that

${\displaystyle L_{+}^{k}Y=0.}$

Then, since

${\displaystyle L_{-}L_{+}=\mathbf {L} ^{2}-L_{z}^{2}-L_{z}}$

it follows that

${\displaystyle 0=L_{-}L_{+}^{k}Y=(\lambda -(m+k)^{2}-(m+k))Y.}$

Thus λ = ( + 1) for the positive integer = m + k.

The foregoing has been all worked out in the spherical coordinate representation, ${\displaystyle \langle \theta ,\phi |lm\rangle =Y_{l}^{m}(\theta ,\phi )}$ but may be expressed more abstractly in the complete, orthonormal spherical ket basis.

## Harmonic polynomial representation

The spherical harmonics can be expressed as the restriction to the unit sphere of certain polynomial functions ${\displaystyle \mathbb {R} ^{3}\to \mathbb {C} }$. Specifically, we say that a (complex-valued) polynomial function ${\displaystyle p:\mathbb {R} ^{3}\to \mathbb {C} }$ is homogeneous of degree ${\displaystyle \ell }$ if

${\displaystyle p(\lambda \mathbf {x} )=\lambda ^{\ell }p(\mathbf {x} )}$

for all real numbers ${\displaystyle \lambda \in \mathbb {R} }$ and all ${\displaystyle x\in \mathbb {R} ^{3}}$. We say that ${\displaystyle p}$ is harmonic if

${\displaystyle \Delta p=0,}$

where ${\displaystyle \Delta }$ is the Laplacian. Then for each ${\displaystyle \ell }$, we define

${\displaystyle \mathbf {A} _{\ell }=\left\{{\text{harmonic polynomials }}\mathbb {R} ^{3}\to \mathbb {C} {\text{ that are homogeneous of degree }}\ell \right\}.}$

For example, when ${\displaystyle \ell =1}$, ${\displaystyle \mathbf {A} _{1}}$ is just the 3-dimensional space of all linear functions ${\displaystyle \mathbb {R} ^{3}\to \mathbb {C} }$, since any such function is automatically harmonic. Meanwhile, when ${\displaystyle \ell =2}$, we have a 5-dimensional space:

${\displaystyle \mathbf {A} _{2}=\operatorname {span} _{\mathbb {C} }(x_{1}x_{2},\,x_{1}x_{3},\,x_{2}x_{3},\,x_{1}^{2}-x_{2}^{2},\,x_{1}^{2}-x_{3}^{2}).}$

For any ${\displaystyle \ell }$, the space ${\displaystyle \mathbf {H} _{\ell }}$ of spherical harmonics of degree ${\displaystyle \ell }$ is just the space of restrictions to the sphere ${\displaystyle S^{2}}$ of the elements of ${\displaystyle \mathbf {A} _{\ell }}$.[5] As suggested in the introduction, this perspective is presumably the origin of the term "spherical harmonic" (i.e., the restriction to the sphere of a harmonic function).

For example, for any ${\displaystyle c\in \mathbb {C} }$ the formula

${\displaystyle p(x_{1},x_{2},x_{3})=c(x_{1}+ix_{2})^{\ell }}$

defines a homogeneous polynomial of degree ${\displaystyle \ell }$ with domain and codomain ${\displaystyle \mathbb {R} ^{3}\to \mathbb {C} }$, which happens to be independent of ${\displaystyle x_{3}}$. This polynomial is easily seen to be harmonic. If we write ${\displaystyle p}$ in spherical coordinates ${\displaystyle (r,\theta ,\phi )}$ and then restrict to ${\displaystyle r=1}$, we obtain

${\displaystyle p(\theta ,\phi )=c\sin(\theta )^{\ell }(\cos(\phi )+i\sin(\phi ))^{\ell },}$

which can be rewritten as

${\displaystyle p(\theta ,\phi )=c\left({\sqrt {1-\cos ^{2}(\theta )}}\right)^{\ell }e^{i\ell \phi }.}$

After using the formula for the associated Legendre polynomial ${\displaystyle P_{\ell }^{\ell }}$, we may recognize this as the formula for the spherical harmonic ${\displaystyle Y_{\ell }^{\ell }(\theta ,\phi ).}$[6] (See the section below on special cases of the spherical harmonics.)

## Conventions

### Orthogonality and normalization

Several different normalizations are in common use for the Laplace spherical harmonic functions ${\displaystyle S^{2}\to \mathbb {C} }$. Throughout the section, we use the standard convention that for ${\displaystyle m>0}$ (see associated Legendre polynomials)

${\displaystyle P_{\ell }^{-m}=(-1)^{m}{\frac {(\ell -m)!}{(\ell +m)!}}P_{\ell }^{m}}$

which is the natural normalization given by Rodrigues' formula.

In acoustics,[7] the Laplace spherical harmonics are generally defined as (this is the convention used in this article)

${\displaystyle Y_{\ell }^{m}(\theta ,\varphi )={\sqrt {{\frac {(2\ell +1)}{4\pi }}{\frac {(\ell -m)!}{(\ell +m)!}}}}\,P_{\ell }^{m}(\cos {\theta })\,e^{im\varphi }}$

while in quantum mechanics:[8][9]

${\displaystyle Y_{\ell }^{m}(\theta ,\varphi )=(-1)^{m}{\sqrt {{\frac {(2\ell +1)}{4\pi }}{\frac {(\ell -m)!}{(\ell +m)!}}}}\,P_{\ell }^{m}(\cos {\theta })\,e^{im\varphi }}$

where ${\displaystyle P_{\ell }^{m}}$ are associated Legendre polynomials without the Condon–Shortley phase (to avoid counting the phase twice).

In both definitions, the spherical harmonics are orthonormal

${\displaystyle \int _{\theta =0}^{\pi }\int _{\varphi =0}^{2\pi }Y_{\ell }^{m}\,Y_{\ell '}^{m'}{}^{*}\,d\Omega =\delta _{\ell \ell '}\,\delta _{mm'},}$

where δij is the Kronecker delta and dΩ = sin(θ) . This normalization is used in quantum mechanics because it ensures that probability is normalized, i.e.

${\displaystyle \int {|Y_{\ell }^{m}|^{2}d\Omega }=1.}$

The disciplines of geodesy[10] and spectral analysis use

${\displaystyle Y_{\ell }^{m}(\theta ,\varphi )={\sqrt {{(2\ell +1)}{\frac {(\ell -m)!}{(\ell +m)!}}}}\,P_{\ell }^{m}(\cos {\theta })\,e^{im\varphi }}$

which possess unit power

${\displaystyle {\frac {1}{4\pi }}\int _{\theta =0}^{\pi }\int _{\varphi =0}^{2\pi }Y_{\ell }^{m}\,Y_{\ell '}^{m'}{}^{*}d\Omega =\delta _{\ell \ell '}\,\delta _{mm'}.}$

The magnetics[10] community, in contrast, uses Schmidt semi-normalized harmonics

${\displaystyle Y_{\ell }^{m}(\theta ,\varphi )={\sqrt {\frac {(\ell -m)!}{(\ell +m)!}}}\,P_{\ell }^{m}(\cos {\theta })\,e^{im\varphi }}$

which have the normalization

${\displaystyle \int _{\theta =0}^{\pi }\int _{\varphi =0}^{2\pi }Y_{\ell }^{m}\,Y_{\ell '}^{m'}{}^{*}d\Omega ={\frac {4\pi }{(2\ell +1)}}\delta _{\ell \ell '}\,\delta _{mm'}.}$

In quantum mechanics this normalization is sometimes used as well, and is named Racah's normalization after Giulio Racah.

It can be shown that all of the above normalized spherical harmonic functions satisfy

${\displaystyle Y_{\ell }^{m}{}^{*}(\theta ,\varphi )=(-1)^{m}Y_{\ell }^{-m}(\theta ,\varphi ),}$

where the superscript * denotes complex conjugation. Alternatively, this equation follows from the relation of the spherical harmonic functions with the Wigner D-matrix.

### Condon–Shortley phase

One source of confusion with the definition of the spherical harmonic functions concerns a phase factor of (−1)m, commonly referred to as the Condon–Shortley phase in the quantum mechanical literature. In the quantum mechanics community, it is common practice to either include this phase factor in the definition of the associated Legendre polynomials, or to append it to the definition of the spherical harmonic functions. There is no requirement to use the Condon–Shortley phase in the definition of the spherical harmonic functions, but including it can simplify some quantum mechanical operations, especially the application of raising and lowering operators. The geodesy[11] and magnetics communities never include the Condon–Shortley phase factor in their definitions of the spherical harmonic functions nor in the ones of the associated Legendre polynomials.[citation needed]

### Real form

A real basis of spherical harmonics ${\displaystyle Y_{\ell m}:S^{2}\to \mathbb {R} }$ can be defined in terms of their complex analogues ${\displaystyle Y_{\ell }^{m}:S^{2}\to \mathbb {C} }$ by setting

{\displaystyle {\begin{aligned}Y_{\ell m}&={\begin{cases}{\dfrac {i}{\sqrt {2}}}\left(Y_{\ell }^{m}-(-1)^{m}\,Y_{\ell }^{-m}\right)&{\text{if}}\ m<0\\Y_{\ell }^{0}&{\text{if}}\ m=0\\{\dfrac {1}{\sqrt {2}}}\left(Y_{\ell }^{-m}+(-1)^{m}\,Y_{\ell }^{m}\right)&{\text{if}}\ m>0.\end{cases}}\\&={\begin{cases}{\dfrac {i}{\sqrt {2}}}\left(Y_{\ell }^{-|m|}-(-1)^{m}\,Y_{\ell }^{|m|}\right)&{\text{if}}\ m<0\\Y_{\ell }^{0}&{\text{if}}\ m=0\\{\dfrac {1}{\sqrt {2}}}\left(Y_{\ell }^{-|m|}+(-1)^{m}\,Y_{\ell }^{|m|}\right)&{\text{if}}\ m>0.\end{cases}}\\&={\begin{cases}{\sqrt {2}}\,(-1)^{m}\,\Im [{Y_{\ell }^{|m|}}]&{\text{if}}\ m<0\\Y_{\ell }^{0}&{\text{if}}\ m=0\\{\sqrt {2}}\,(-1)^{m}\,\Re [{Y_{\ell }^{m}}]&{\text{if}}\ m>0.\end{cases}}\end{aligned}}}
The Condon–Shortley phase convention is used here for consistency. The corresponding inverse equations defining the complex spherical harmonics ${\displaystyle Y_{\ell }^{m}:S^{2}\to \mathbb {C} }$ in terms of the real spherical harmonics ${\displaystyle Y_{\ell m}:S^{2}\to \mathbb {R} }$ are
${\displaystyle Y_{\ell }^{m}={\begin{cases}{\dfrac {1}{\sqrt {2}}}\left(Y_{\ell |m|}-iY_{\ell ,-|m|}\right)&{\text{if}}\ m<0\\[4pt]Y_{\ell 0}&{\text{if}}\ m=0\\[4pt]{\dfrac {(-1)^{m}}{\sqrt {2}}}\left(Y_{\ell |m|}+iY_{\ell ,-|m|}\right)&{\text{if}}\ m>0.\end{cases}}}$

The real spherical harmonics ${\displaystyle Y_{\ell m}:S^{2}\to \mathbb {R} }$ are sometimes known as tesseral spherical harmonics.[12] These functions have the same orthonormality properties as the complex ones ${\displaystyle Y_{\ell }^{m}:S^{2}\to \mathbb {C} }$ above. The real spherical harmonics ${\displaystyle Y_{\ell m}}$ with m > 0 are said to be of cosine type, and those with m < 0 of sine type. The reason for this can be seen by writing the functions in terms of the Legendre polynomials as

${\displaystyle Y_{\ell m}={\begin{cases}\left(-1\right)^{m}{\sqrt {2}}{\sqrt {{\dfrac {2\ell +1}{4\pi }}{\dfrac {(\ell -|m|)!}{(\ell +|m|)!}}}}\;P_{\ell }^{|m|}(\cos \theta )\ \sin(|m|\varphi )&{\mbox{if }}m<0\\[4pt]{\sqrt {\dfrac {2\ell +1}{4\pi }}}\ P_{\ell }^{m}(\cos \theta )&{\mbox{if }}m=0\\[4pt]\left(-1\right)^{m}{\sqrt {2}}{\sqrt {{\dfrac {2\ell +1}{4\pi }}{\dfrac {(\ell -m)!}{(\ell +m)!}}}}\;P_{\ell }^{m}(\cos \theta )\ \cos(m\varphi )&{\mbox{if }}m>0\,.\end{cases}}}$

The same sine and cosine factors can be also seen in the following subsection that deals with the Cartesian representation.

See here for a list of real spherical harmonics up to and including ${\displaystyle \ell =4}$, which can be seen to be consistent with the output of the equations above.

#### Use in quantum chemistry

As is known from the analytic solutions for the hydrogen atom, the eigenfunctions of the angular part of the wave function are spherical harmonics. However, the solutions of the non-relativistic Schrödinger equation without magnetic terms can be made real. This is why the real forms are extensively used in basis functions for quantum chemistry, as the programs don't then need to use complex algebra. Here, it is important to note that the real functions span the same space as the complex ones would.

For example, as can be seen from the table of spherical harmonics, the usual p functions (${\displaystyle \ell =1}$) are complex and mix axis directions, but the real versions are essentially just x, y and z.

## Spherical harmonics in Cartesian form

The complex spherical harmonics ${\displaystyle Y_{\ell }^{m}}$ give rise to the solid harmonics by extending from ${\displaystyle S^{2}}$ to all of ${\displaystyle \mathbb {R} ^{3}}$ as a homogeneous function of degree ${\displaystyle \ell }$, i.e. setting

${\displaystyle R_{\ell }^{m}(v):=\|v\|^{\ell }Y_{\ell }^{m}({\frac {v}{\|v\|}})}$

It turns out that ${\displaystyle R_{\ell }^{m}}$ is basis of the space of harmonic and homogeneous polynomials of degree ${\displaystyle \ell }$. More specifically, it is the (unique up to normalization) Gelfand-Tsetlin-basis of this representation of the rotational group ${\displaystyle SO(3)}$ and an explicit formula for ${\displaystyle R_{\ell }^{m}}$ in cartesian coordinates can be derived from that fact.

### The Herglotz generating function

If the quantum mechanical convention is adopted for the ${\displaystyle Y_{\ell }^{m}:S^{2}\to \mathbb {C} }$, then

${\displaystyle e^{v{\mathbf {a} }\cdot {\mathbf {r} }}=\sum _{\ell =0}^{\infty }\sum _{m=-\ell }^{\ell }{\sqrt {\frac {4\pi }{2\ell +1}}}{\frac {r^{\ell }v^{\ell }{\lambda ^{m}}}{\sqrt {(\ell +m)!(\ell -m)!}}}Y_{\ell }^{m}(\mathbf {r} /r).}$

Here, ${\displaystyle \mathbf {r} }$ is the vector with components ${\displaystyle (x,y,z)\in \mathbb {R} ^{3}}$, ${\displaystyle r=|\mathbf {r} |}$, and

${\displaystyle {\mathbf {a} }={\mathbf {\hat {z}} }-{\frac {\lambda }{2}}\left({\mathbf {\hat {x}} }+i{\mathbf {\hat {y}} }\right)+{\frac {1}{2\lambda }}\left({\mathbf {\hat {x}} }-i{\mathbf {\hat {y}} }\right)}$

is a vector with complex coefficients. It suffices to take ${\displaystyle v}$ and ${\displaystyle \lambda }$ as real parameters. The essential property of ${\displaystyle \mathbf {a} }$ is that it is null:

${\displaystyle \mathbf {a} \cdot \mathbf {a} =0.}$

In naming this generating function after Herglotz, we follow Courant & Hilbert 1962, §VII.7, who credit unpublished notes by him for its discovery.

Essentially all the properties of the spherical harmonics can be derived from this generating function.[13] An immediate benefit of this definition is that if the vector ${\displaystyle \mathbf {r} }$ is replaced by the quantum mechanical spin vector operator ${\displaystyle \mathbf {J} }$, such that ${\displaystyle {\mathcal {Y}}_{\ell }^{m}({\mathbf {J} })}$ is the operator analogue of the solid harmonic ${\displaystyle r^{\ell }Y_{\ell }^{m}(\mathbf {r} /r)}$,[14] one obtains a generating function for a standardized set of spherical tensor operators, ${\displaystyle {\mathcal {Y}}_{\ell }^{m}({\mathbf {J} })}$:

${\displaystyle e^{v{\mathbf {a} }\cdot {\mathbf {J} }}=\sum _{\ell =0}^{\infty }\sum _{m=-\ell }^{\ell }{\sqrt {\frac {4\pi }{2\ell +1}}}{\frac {v^{\ell }{\lambda ^{m}}}{\sqrt {(\ell +m)!(\ell -m)!}}}{\mathcal {Y}}_{\ell }^{m}({\mathbf {J} }).}$

The parallelism of the two definitions ensures that the ${\displaystyle {\mathcal {Y}}_{\ell }^{m}}$'s transform under rotations (see below) in the same way as the ${\displaystyle Y_{\ell }^{m}}$'s, which in turn guarantees that they are spherical tensor operators, ${\displaystyle T_{q}^{(k)}}$, with ${\displaystyle k={\ell }}$ and ${\displaystyle q=m}$, obeying all the properties of such operators, such as the Clebsch-Gordan composition theorem, and the Wigner-Eckart theorem. They are, moreover, a standardized set with a fixed scale or normalization.

### Separated Cartesian form

The Herglotzian definition yields polynomials which may, if one wishes, be further factorized into a polynomial of ${\displaystyle z}$ and another of ${\displaystyle x}$ and ${\displaystyle y}$, as follows (Condon–Shortley phase):

${\displaystyle r^{\ell }\,{\begin{pmatrix}Y_{\ell }^{m}\\Y_{\ell }^{-m}\end{pmatrix}}=\left[{\frac {2\ell +1}{4\pi }}\right]^{1/2}{\bar {\Pi }}_{\ell }^{m}(z){\begin{pmatrix}\left(-1\right)^{m}(A_{m}+iB_{m})\\(A_{m}-iB_{m})\end{pmatrix}},\qquad m>0.}$

and for m = 0:

${\displaystyle r^{\ell }\,Y_{\ell }^{0}\equiv {\sqrt {\frac {2\ell +1}{4\pi }}}{\bar {\Pi }}_{\ell }^{0}.}$

Here

${\displaystyle A_{m}(x,y)=\sum _{p=0}^{m}{\binom {m}{p}}x^{p}y^{m-p}\cos \left((m-p){\frac {\pi }{2}}\right),}$
${\displaystyle B_{m}(x,y)=\sum _{p=0}^{m}{\binom {m}{p}}x^{p}y^{m-p}\sin \left((m-p){\frac {\pi }{2}}\right),}$

and

${\displaystyle {\bar {\Pi }}_{\ell }^{m}(z)=\left[{\frac {(\ell -m)!}{(\ell +m)!}}\right]^{1/2}\sum _{k=0}^{\left\lfloor (\ell -m)/2\right\rfloor }(-1)^{k}2^{-\ell }{\binom {\ell }{k}}{\binom {2\ell -2k}{\ell }}{\frac {(\ell -2k)!}{(\ell -2k-m)!}}\;r^{2k}\;z^{\ell -2k-m}.}$

For ${\displaystyle m=0}$ this reduces to

${\displaystyle {\bar {\Pi }}_{\ell }^{0}(z)=\sum _{k=0}^{\left\lfloor \ell /2\right\rfloor }(-1)^{k}2^{-\ell }{\binom {\ell }{k}}{\binom {2\ell -2k}{\ell }}\;r^{2k}\;z^{\ell -2k}.}$

The factor ${\displaystyle {\bar {\Pi }}_{\ell }^{m}(z)}$ is essentially the associated Legendre polynomial ${\displaystyle P_{\ell }^{m}(\cos \theta )}$, and the factors ${\displaystyle (A_{m}\pm iB_{m})}$ are essentially ${\displaystyle e^{\pm im\varphi }}$.

#### Examples

Using the expressions for ${\displaystyle {\bar {\Pi }}_{\ell }^{m}(z)}$, ${\displaystyle A_{m}(x,y)}$, and ${\displaystyle B_{m}(x,y)}$ listed explicitly above we obtain:

${\displaystyle Y_{3}^{1}=-{\frac {1}{r^{3}}}\left[{\tfrac {7}{4\pi }}\cdot {\tfrac {3}{16}}\right]^{1/2}\left(5z^{2}-r^{2}\right)\left(x+iy\right)=-\left[{\tfrac {7}{4\pi }}\cdot {\tfrac {3}{16}}\right]^{1/2}\left(5\cos ^{2}\theta -1\right)\left(\sin \theta e^{i\varphi }\right)}$
${\displaystyle Y_{4}^{-2}={\frac {1}{r^{4}}}\left[{\tfrac {9}{4\pi }}\cdot {\tfrac {5}{32}}\right]^{1/2}\left(7z^{2}-r^{2}\right)\left(x-iy\right)^{2}=\left[{\tfrac {9}{4\pi }}\cdot {\tfrac {5}{32}}\right]^{1/2}\left(7\cos ^{2}\theta -1\right)\left(\sin ^{2}\theta e^{-2i\varphi }\right)}$

It may be verified that this agrees with the function listed here and here.

#### Real forms

Using the equations above to form the real spherical harmonics, it is seen that for ${\displaystyle m>0}$ only the ${\displaystyle A_{m}}$ terms (cosines) are included, and for ${\displaystyle m<0}$ only the ${\displaystyle B_{m}}$ terms (sines) are included:

${\displaystyle r^{\ell }\,{\begin{pmatrix}Y_{\ell m}\\Y_{\ell -m}\end{pmatrix}}={\sqrt {\frac {2\ell +1}{2\pi }}}{\bar {\Pi }}_{\ell }^{m}(z){\begin{pmatrix}A_{m}\\B_{m}\end{pmatrix}},\qquad m>0.}$

and for m = 0:

${\displaystyle r^{\ell }\,Y_{\ell 0}\equiv {\sqrt {\frac {2\ell +1}{4\pi }}}{\bar {\Pi }}_{\ell }^{0}.}$

## Special cases and values

1. When ${\displaystyle m=0}$, the spherical harmonics ${\displaystyle Y_{\ell }^{m}:S^{2}\to \mathbb {C} }$ reduce to the ordinary Legendre polynomials:
${\displaystyle Y_{\ell }^{0}(\theta ,\varphi )={\sqrt {\frac {2\ell +1}{4\pi }}}P_{\ell }(\cos \theta ).}$
2. When ${\displaystyle m=\pm \ell }$,
${\displaystyle Y_{\ell }^{\pm \ell }(\theta ,\varphi )={\frac {(\mp 1)^{\ell }}{2^{\ell }\ell !}}{\sqrt {\frac {(2\ell +1)!}{4\pi }}}\sin ^{\ell }\theta \,e^{\pm i\ell \varphi },}$
or more simply in Cartesian coordinates,
${\displaystyle r^{\ell }Y_{\ell }^{\pm \ell }({\mathbf {r} })={\frac {(\mp 1)^{\ell }}{2^{\ell }\ell !}}{\sqrt {\frac {(2\ell +1)!}{4\pi }}}(x\pm iy)^{\ell }.}$
3. At the north pole, where ${\displaystyle \theta =0}$, and ${\displaystyle \varphi }$ is undefined, all spherical harmonics except those with ${\displaystyle m=0}$ vanish:
${\displaystyle Y_{\ell }^{m}(0,\varphi )=Y_{\ell }^{m}({\mathbf {z} })={\sqrt {\frac {2\ell +1}{4\pi }}}\delta _{m0}.}$

## Symmetry properties

The spherical harmonics have deep and consequential properties under the operations of spatial inversion (parity) and rotation.

### Parity

The spherical harmonics have definite parity. That is, they are either even or odd with respect to inversion about the origin. Inversion is represented by the operator ${\displaystyle P\Psi (\mathbf {r} )=\Psi (-\mathbf {r} )}$. Then, as can be seen in many ways (perhaps most simply from the Herglotz generating function), with ${\displaystyle \mathbf {r} }$ being a unit vector,

${\displaystyle Y_{\ell }^{m}(-\mathbf {r} )=(-1)^{\ell }Y_{\ell }^{m}(\mathbf {r} ).}$

In terms of the spherical angles, parity transforms a point with coordinates ${\displaystyle \{\theta ,\phi \}}$ to ${\displaystyle \{\pi -\theta ,\pi +\phi \}}$. The statement of the parity of spherical harmonics is then

${\displaystyle Y_{\ell }^{m}(\theta ,\phi )\rightarrow Y_{\ell }^{m}(\pi -\theta ,\pi +\phi )=(-1)^{\ell }Y_{\ell }^{m}(\theta ,\phi )}$

(This can be seen as follows: The associated Legendre polynomials gives (−1)+m and from the exponential function we have (−1)m, giving together for the spherical harmonics a parity of (−1).)

Parity continues to hold for real spherical harmonics, and for spherical harmonics in higher dimensions: applying a point reflection to a spherical harmonic of degree changes the sign by a factor of (−1).

### Rotations

The rotation of a real spherical function with m = 0 and = 3. The coefficients are not equal to the Wigner D-matrices, since real functions are shown, but can be obtained by re-decomposing the complex functions

Consider a rotation ${\displaystyle {\mathcal {R}}}$ about the origin that sends the unit vector ${\displaystyle \mathbf {r} }$ to ${\displaystyle \mathbf {r} '}$. Under this operation, a spherical harmonic of degree ${\displaystyle \ell }$ and order ${\displaystyle m}$ transforms into a linear combination of spherical harmonics of the same degree. That is,

${\displaystyle Y_{\ell }^{m}({\mathbf {r} }')=\sum _{m'=-\ell }^{\ell }A_{mm'}Y_{\ell }^{m'}({\mathbf {r} }),}$

where ${\displaystyle A_{mm'}}$ is a matrix of order ${\displaystyle (2\ell +1)}$ that depends on the rotation ${\displaystyle {\mathcal {R}}}$. However, this is not the standard way of expressing this property. In the standard way one writes,

${\displaystyle Y_{\ell }^{m}({\mathbf {r} }')=\sum _{m'=-\ell }^{\ell }[D_{mm'}^{(\ell )}({\mathcal {R}})]^{*}Y_{\ell }^{m'}({\mathbf {r} }),}$

where ${\displaystyle D_{mm'}^{(\ell )}({\mathcal {R}})^{*}}$ is the complex conjugate of an element of the Wigner D-matrix. In particular when ${\displaystyle \mathbf {r} '}$ is a ${\displaystyle \phi _{0}}$ rotation of the azimuth we get the identity,

${\displaystyle Y_{\ell }^{m}({\mathbf {r} }')=Y_{\ell }^{m}({\mathbf {r} })e^{im\phi _{0}}.}$

The rotational behavior of the spherical harmonics is perhaps their quintessential feature from the viewpoint of group theory. The ${\displaystyle Y_{\ell }^{m}}$'s of degree ${\displaystyle \ell }$ provide a basis set of functions for the irreducible representation of the group SO(3) of dimension ${\displaystyle (2\ell +1)}$. Many facts about spherical harmonics (such as the addition theorem) that are proved laboriously using the methods of analysis acquire simpler proofs and deeper significance using the methods of symmetry.

## Spherical harmonics expansion

The Laplace spherical harmonics ${\displaystyle Y_{\ell }^{m}:S^{2}\to \mathbb {C} }$ form a complete set of orthonormal functions and thus form an orthonormal basis of the Hilbert space of square-integrable functions ${\displaystyle L_{\mathbb {C} }^{2}(S^{2})}$. On the unit sphere ${\displaystyle S^{2}}$, any square-integrable function ${\displaystyle f:S^{2}\to \mathbb {C} }$ can thus be expanded as a linear combination of these:

${\displaystyle f(\theta ,\varphi )=\sum _{\ell =0}^{\infty }\sum _{m=-\ell }^{\ell }f_{\ell }^{m}\,Y_{\ell }^{m}(\theta ,\varphi ).}$

This expansion holds in the sense of mean-square convergence — convergence in L2 of the sphere — which is to say that

${\displaystyle \lim _{N\to \infty }\int _{0}^{2\pi }\int _{0}^{\pi }\left|f(\theta ,\varphi )-\sum _{\ell =0}^{N}\sum _{m=-\ell }^{\ell }f_{\ell }^{m}Y_{\ell }^{m}(\theta ,\varphi )\right|^{2}\sin \theta \,d\theta \,d\varphi =0.}$

The expansion coefficients are the analogs of Fourier coefficients, and can be obtained by multiplying the above equation by the complex conjugate of a spherical harmonic, integrating over the solid angle Ω, and utilizing the above orthogonality relationships. This is justified rigorously by basic Hilbert space theory. For the case of orthonormalized harmonics, this gives:

${\displaystyle f_{\ell }^{m}=\int _{\Omega }f(\theta ,\varphi )\,Y_{\ell }^{m*}(\theta ,\varphi )\,d\Omega =\int _{0}^{2\pi }d\varphi \int _{0}^{\pi }\,d\theta \,\sin \theta f(\theta ,\varphi )Y_{\ell }^{m*}(\theta ,\varphi ).}$

If the coefficients decay in sufficiently rapidly — for instance, exponentially — then the series also converges uniformly to f.

A square-integrable function ${\displaystyle f:S^{2}\to \mathbb {R} }$ can also be expanded in terms of the real harmonics ${\displaystyle Y_{\ell m}:S^{2}\to \mathbb {R} }$ above as a sum

${\displaystyle f(\theta ,\varphi )=\sum _{\ell =0}^{\infty }\sum _{m=-\ell }^{\ell }f_{\ell m}\,Y_{\ell m}(\theta ,\varphi ).}$

The convergence of the series holds again in the same sense, namely the real spherical harmonics ${\displaystyle Y_{\ell m}:S^{2}\to \mathbb {R} }$ form a complete set of orthonormal functions and thus form an orthonormal basis of the Hilbert space of square-integrable functions ${\displaystyle L_{\mathbb {R} }^{2}(S^{2})}$. The benefit of the expansion in terms of the real harmonic functions ${\displaystyle Y_{\ell m}}$ is that for real functions ${\displaystyle f:S^{2}\to \mathbb {R} }$ the expansion coefficients ${\displaystyle f_{\ell m}}$ are guaranteed to be real, whereas their coefficients ${\displaystyle f_{\ell }^{m}}$ in their expansion in terms of the ${\displaystyle Y_{\ell }^{m}}$ (considering them as functions ${\displaystyle f:S^{2}\to \mathbb {C} \supset \mathbb {R} }$) do not have that property.

## Harmonic tensors

### Formula

As a rule, harmonic functions are useful in theoretical physics to consider fields in the far field when the distance from charges is much farther than the size of their location. In this case, the radius R is constant and coordinates (θ,φ) are convenient to use. Theoretical physics considers many problems when a solution of Laplace's equation is needed as a function of Сartesian coordinates. At the same time, it is important to get an invariant form of solutions relative to the rotation of space or, generally speaking, relative to group transformations.[15][16][17][18] The simplest tensor solutions – dipole, quadrupole and octupole potentials – are fundamental concepts of general physics:

{\displaystyle {\begin{aligned}T_{i}^{(1)}=x_{i},\\T_{ik}^{(2)}=3x{_{i}}x{_{k}}-\delta _{ik}r^{2},\\T_{ikn}^{(3)}=15x{_{i}}x{_{k}}x{_{n}}-3\delta _{ik}{r^{2}}x{_{n}}-3\delta _{kn}{r^{2}}x{_{i}}-3\delta _{ni}{r^{2}}x{_{k}}.\end{aligned}}}

It is easy to verify that they are the harmonic functions. The total set of tensors is defined by the Taylor series of a point charge field potential for ${\displaystyle r_{0}:

${\displaystyle {\frac {1}{\left|{\boldsymbol {r-r}}{_{0}}\right|}}=\sum _{l}(-1)^{l}{\frac {{({\boldsymbol {r_{0}}}\nabla )}^{l}}{l!}}{\frac {1}{r}}=\sum _{l}{\frac {x_{0i}\ldots x_{0k}}{l!\,r^{2l+1}}}T_{i\ldots k}^{(l)}({\boldsymbol {r}})=\sum _{l}{\frac {\left[\otimes {\boldsymbol {{r_{0}}^{l}T^{(l)}}}\right]}{l!\,r^{2l+1}}},}$

where tensor ${\displaystyle x_{0i}\ldots x_{0k}}$ is denoted by symbol ${\displaystyle \otimes {\boldsymbol {r_{0}}}^{l}}$ and contraction of the tensors is in the brackets [...]. Therefore, the tensor ${\displaystyle {\boldsymbol {T}}^{(l)}}$ is defined by the ${\displaystyle l}$-th tensor derivative:

${\displaystyle {\frac {\boldsymbol {T^{(l)}}}{r^{(2l+1)}}}=(-\otimes {\boldsymbol {\nabla }})^{l}{\frac {1}{r}}}$

James Clerk Maxwell used similar considerations without tensors naturally.[19] E. W. Hobson analysed Maxwell's method as well.[20] One can see from the equation the following properties that repeat mainly those of solid and spherical functions.

• The tensor is the harmonic polynomial i. e. ${\displaystyle \Delta {\boldsymbol {T}}^{(l)}=0}$.
• The trace over each pair of indices is zero, as far as ${\textstyle \Delta {\frac {1}{r}}=0}$.
• The tensor is a homogeneous polynomial of degree ${\displaystyle l}$ i.e. summed degree of variables x, y, z of each item is equal to ${\displaystyle l}$.
• The tensor has invariant form under rotations of variables x,y,z i.e. of vector ${\displaystyle \mathbf {r} }$.
• The total set of potentials ${\displaystyle \mathbf {T} ^{(l)}}$ is complete.
• Contraction of ${\displaystyle \mathbf {T} ^{(l)}(\mathbf {r} )}$ with a tensor ${\displaystyle \otimes {\boldsymbol {\rho }}^{l}}$ is proportional to contraction of two harmonic potentials:
${\displaystyle \left[\mathbf {T} ^{(l)}(\mathbf {r} )\otimes {\boldsymbol {\rho }}^{l}\right]={\frac {1}{(2l-1)!!}}\left[\mathbf {T} ^{(l)}(\mathbf {r} )\mathbf {T} ^{(l)}({\boldsymbol {\rho }})\right]}$

The formula for a harmonic invariant tensor was found in paper.[21] A detailed description is given in the monography.[22] 4-D harmonic tensors are important in Fock symmetry found in quantum the Coulomb problem.[23] The formula contains products of tensors ${\displaystyle x_{i}\ldots x_{k}=\mathbf {\otimes } r^{m}}$ and Kronecker symbols ${\displaystyle \delta _{ik}}$:

${\displaystyle \mathbf {T} ^{(l)}=(2l-1)!!\ \mathbf {(} \otimes r^{l})-(2l-3)!!\ r^{2}\left\langle \otimes \mathbf {r} ^{(l-2)}\otimes {\mathsf {\boldsymbol {\delta }}}^{1}\right\rangle +(2l-5)!!\ r^{4}\left\langle \otimes \mathbf {r} ^{(l-4)}\otimes {\mathsf {\boldsymbol {\delta }}}^{2}\right\rangle -\cdots }$

The number of Kronecker symbols is increased by two in the product of each following item when the range of tensors ${\displaystyle x_{i}\dots x_{k}}$ is reduced by two accordingly. The operation ${\displaystyle \left\langle \cdot \right\rangle }$ symmetrizes a tensor by means of summing all independent permutations of indices. Particularly, each ${\displaystyle \delta _{ik}}$ does not need to be transformed into ${\displaystyle \delta _{ki}}$ and tensors ${\displaystyle x_{i}x_{k}}$ do not become ${\displaystyle x_{k}x_{i}}$.

These tensors are convenient to substitute into Laplace's equation:

${\displaystyle \Delta \left\langle \otimes \mathbf {r} ^{(l-2k)}\otimes {\mathsf {\boldsymbol {\delta }}}^{k}\right\rangle =2\left\langle \otimes \mathbf {r} ^{(l-2k-2)}\otimes {\mathsf {\boldsymbol {\delta }}}^{(k+2)}\right\rangle ,\quad (\mathbf {r} \mathbf {\nabla } )\left\langle \otimes \mathbf {r} ^{(l-2k)}\otimes {\mathsf {\boldsymbol {\delta }}}^{(k)}\right\rangle =l\left\langle \otimes \mathbf {r} ^{(l-2k)}\otimes {\mathsf {\boldsymbol {\delta }}}^{(k)}\right\rangle .}$

The last relation is Euler's formula for homogeneous polynomials. The Laplace operator ${\displaystyle \Delta }$ does not affect the index symmetry of tensors. The two relations allow substitution of a tensor into Laplace's equation to check directly that the tensor is a harmonic function:

${\displaystyle \Delta \mathbf {T} ^{(l)}=0.}$

### Simplified moments

The last property is important for theoretical physics for the following reason. Potential of charges outside of their location is integral to be equal to the sum of multipole potentials:

${\displaystyle \iiint {\frac {f({\boldsymbol {r}})}{\left||\mathbf {r-r} {_{0}}\right|}}\,dx\,dy\,dz=\sum _{l}\iiint f(\mathbf {r} )\left[\mathbf {T} ^{(l)}(\mathbf {r} )dx\,dy\,dz{\frac {\mathbf {T} ^{(l)}(\mathbf {r} _{0})}{(2l-1)!!\,l!\,r_{0}^{(2l+1)}}}\right],}$

where ${\displaystyle {f}(\mathbf {r} )}$ is the charge density. The convolution is applied to tensors in the formula naturally. Integrals in the sum are called in physics as multipole moments. Three of them are used actively while others applied less often as their structure (or that of spherical functions) is more complicated. Nevertheless, last property gives the way to simplify calculations in theoretical physics by using integrals with tensor ${\displaystyle {\boldsymbol {\otimes }}r^{l}}$ instead of harmonic tensor ${\displaystyle \mathbf {T} ^{(l)}}$. Therefore, simplified moments give the same result and there is no need to restrict calculations for dipole, quadrupole and octupole potentials only. It is the advantage of the tensor point of view and not the only that.

### Efimov's ladder operator

Spherical functions have a few recurrent formulas.[24] In quantum mechanics recurrent formulas plays a role when they connect ${\displaystyle \psi -}$functions of quantum states by means of a ladder operator. The property is occurred due to symmetry group of considered system. The vector ladder operator for the invariant harmonic states found in paper[21] and detailed in.[22]

For that purpose, transformation of ${\displaystyle {\boldsymbol {\rho }}}$-space is applied that conserves form of Laplace equation:
${\displaystyle {\boldsymbol {\rho }}={\frac {\ \mathbf {r} }{r^{2}}}.}$

Operator ${\displaystyle {\boldsymbol {\nabla }}}$ applying to the harmonic tensor potential in ${\displaystyle {\boldsymbol {\rho }}}$-space goes into Efimov's ladder operator acting on transformed tensor in ${\displaystyle \mathbf {r} }$-space:

${\displaystyle {\hat {\mathbf {D} }}=(2{\hat {l}}-1)\mathbf {r} -r^{2}{\boldsymbol {\nabla }},}$

where ${\displaystyle {\hat {l}}}$ is operator of module of angular momentum:

${\displaystyle {\hat {l}}=({\boldsymbol {\nabla }}\mathbf {r} ).}$

Operator ${\displaystyle {\hat {l}}}$ multiplies harmonic tensor by its degree i.e. by ${\displaystyle l}$ if to recall according spherical function for quantum numbers ${\displaystyle l}$, ${\displaystyle m}$. To check action of the ladder operator ${\displaystyle \mathbf {\hat {D}} }$, one can apply it to dipole and quadrupole tensors:

${\displaystyle \mathbf {\hat {D}} _{i}x_{k}=3x_{i}x_{k}-\delta _{ik},}$
${\displaystyle \mathbf {\hat {D}} _{i}x_{k}x_{n}=15x_{i}x_{k}x_{n}-3\delta _{ik}x_{n}-3\delta _{kn}x_{i}-3\delta _{ni}x_{k},}$

Applying successively ${\displaystyle \mathbf {\hat {D}} }$ to ${\displaystyle \mathbf {1} }$ we get general form of invariant harmonic tensors:

${\displaystyle \mathbf {T} ^{(l)}=(\otimes \mathbf {\hat {D}} )^{l}\mathbf {1} .}$

The operator ${\displaystyle \mathbf {\hat {D}} }$ analogous to the oscillator ladder operator. To trace relation with a quantum operator it is useful to multiply it by ${\displaystyle i\hbar }$ to go to reversed space:

${\displaystyle {\boldsymbol {\rho }}={\frac {\mathbf {r} }{r^{2}}}.}$

As a result, operator goes into the operator of momentum in ${\displaystyle {\boldsymbol {\rho }}}$-space:

${\displaystyle \mathbf {\hat {D}} \Rightarrow \mathbf {\hat {p}} .}$

It is useful to apply the following properties of ${\displaystyle \mathbf {\hat {D}} }$.

• Commutator of the coordinate operators is zero:
${\displaystyle {\hat {D}}_{i}{\hat {D}}_{k}-{\hat {D}}_{k}{\hat {D}}_{i}=0.}$

The property is utterly convenient for calculations.

• The scalar operator product is zero in the space of harmonic functions:
${\displaystyle {\hat {D}}_{i}{\hat {D}}_{i}={\hat {\mathbf {D} }}{\hat {\mathbf {D} }}=r^{4}\Delta .}$

The property gives zero trace of the harmonic tensor ${\displaystyle \mathbf {T} ^{l}}$ over each two indices.

The ladder operator is analogous for that in problem of the quantum oscillator. It generates Glauber states those are created in the quantum theory of electromagnetic radiation fields.[25] It was shown later as theoretical result that the coherent states are intrinsic for any quantum system with a group symmetry to include the rotational group.[26]

### Invariant form of spherical harmonics

Spherical harmonics accord with the system of coordinates. Let be ${\displaystyle \mathbf {n} _{x},\mathbf {n} _{y},\mathbf {n} _{z}}$ the unit vectors along axes X, Y, Z. Denote following unit vectors as ${\displaystyle \mathbf {n} _{+}}$ and ${\displaystyle \ \mathbf {n} _{-}}$:

${\displaystyle \mathbf {n} _{\pm }={\frac {(\mathbf {n} _{x}\pm i\mathbf {n} _{y})}{\sqrt {2}}}.}$

Using the vectors, the solid harmonics are equal to:

${\displaystyle r^{l}Y_{(l\pm m)}=C_{l,m}(\mathbf {n} _{z}\mathbf {\hat {D)}} ^{(l-m)}(\mathbf {n} _{\pm }\mathbf {\hat {D)}} ^{m}\mathbf {1} =C_{l,m}\left[\mathbf {M} ^{(l)}\otimes \mathbf {n_{z}} ^{(l-m)}\otimes \mathbf {n_{\pm }} ^{m}\right]}$

where ${\displaystyle C_{l,m}}$ is the constant:

${\displaystyle C_{l,m}={\frac {2^{m\setminus 2}{\sqrt {2l+1}}}{\sqrt {(l+m)!(l-m)!}}}}$

Angular momentum ${\displaystyle \mathbf {\hat {L}} }$ is defined by the rotational group. The mechanical momentum ${\displaystyle \mathbf {\hat {p}} }$ is related to the translation group. The ladder operator is the mapping of momentum upon inversion 1/r of 3-d space. It is raising operator. Lowering operator here is the gradient naturally together with partial contraction over pair indices ${\displaystyle i}$ to leave others:

${\displaystyle \left[\partial x_{i}\mathbf {T} _{i}^{(l-1)}\right]=(2l+1)l\,\mathbf {T} ^{(l-1)}}$

## Spectrum analysis

### Power spectrum in signal processing

The total power of a function f is defined in the signal processing literature as the integral of the function squared, divided by the area of its domain. Using the orthonormality properties of the real unit-power spherical harmonic functions, it is straightforward to verify that the total power of a function defined on the unit sphere is related to its spectral coefficients by a generalization of Parseval's theorem (here, the theorem is stated for Schmidt semi-normalized harmonics, the relationship is slightly different for orthonormal harmonics):

${\displaystyle {\frac {1}{4\,\pi }}\int _{\Omega }|f(\Omega )|^{2}\,d\Omega =\sum _{\ell =0}^{\infty }S_{f\!f}(\ell ),}$

where

${\displaystyle S_{f\!f}(\ell )={\frac {1}{2\ell +1}}\sum _{m=-\ell }^{\ell }|f_{\ell m}|^{2}}$

is defined as the angular power spectrum (for Schmidt semi-normalized harmonics). In a similar manner, one can define the cross-power of two functions as

${\displaystyle {\frac {1}{4\,\pi }}\int _{\Omega }f(\Omega )\,g^{\ast }(\Omega )\,d\Omega =\sum _{\ell =0}^{\infty }S_{fg}(\ell ),}$

where

${\displaystyle S_{fg}(\ell )={\frac {1}{2\ell +1}}\sum _{m=-\ell }^{\ell }f_{\ell m}g_{\ell m}^{\ast }}$

is defined as the cross-power spectrum. If the functions f and g have a zero mean (i.e., the spectral coefficients f00 and g00 are zero), then Sff() and Sfg() represent the contributions to the function's variance and covariance for degree , respectively. It is common that the (cross-)power spectrum is well approximated by a power law of the form

${\displaystyle S_{f\!f}(\ell )=C\,\ell ^{\beta }.}$

When β = 0, the spectrum is "white" as each degree possesses equal power. When β < 0, the spectrum is termed "red" as there is more power at the low degrees with long wavelengths than higher degrees. Finally, when β > 0, the spectrum is termed "blue". The condition on the order of growth of Sff() is related to the order of differentiability of f in the next section.

### Differentiability properties

One can also understand the differentiability properties of the original function f in terms of the asymptotics of Sff(). In particular, if Sff() decays faster than any rational function of as  → ∞, then f is infinitely differentiable. If, furthermore, Sff() decays exponentially, then f is actually real analytic on the sphere.

The general technique is to use the theory of Sobolev spaces. Statements relating the growth of the Sff() to differentiability are then similar to analogous results on the growth of the coefficients of Fourier series. Specifically, if

${\displaystyle \sum _{\ell =0}^{\infty }(1+\ell ^{2})^{s}S_{ff}(\ell )<\infty ,}$

then f is in the Sobolev space Hs(S2). In particular, the Sobolev embedding theorem implies that f is infinitely differentiable provided that

${\displaystyle S_{ff}(\ell )=O(\ell ^{-s})\quad {\rm {{as\ }\ell \to \infty }}}$

for all s.

## Algebraic properties

A mathematical result of considerable interest and use is called the addition theorem for spherical harmonics. Given two vectors r and r', with spherical coordinates ${\displaystyle (r,\theta ,\varphi )}$ and ${\displaystyle (r',\theta ',\varphi ')}$, respectively, the angle ${\displaystyle \gamma }$ between them is given by the relation

${\displaystyle \cos \gamma =\cos \theta '\cos \theta +\sin \theta \sin \theta '\cos(\varphi -\varphi ')}$

in which the role of the trigonometric functions appearing on the right-hand side is played by the spherical harmonics and that of the left-hand side is played by the Legendre polynomials.

The addition theorem states[27]

${\displaystyle P_{\ell }(\mathbf {x} \cdot \mathbf {y} )={\frac {4\pi }{2\ell +1}}\sum _{m=-\ell }^{\ell }Y_{\ell m}(\mathbf {y} )\,Y_{\ell m}^{*}(\mathbf {x} )\quad \forall \,\ell \in \mathbb {N} _{0}\;\forall \,\mathbf {x} ,\mathbf {y} \in \mathbb {R} ^{2}\colon \;\|\mathbf {x} \|_{2}=\|\mathbf {y} \|_{2}=1\,,}$

(1)

where P is the Legendre polynomial of degree . This expression is valid for both real and complex harmonics.[28] The result can be proven analytically, using the properties of the Poisson kernel in the unit ball, or geometrically by applying a rotation to the vector y so that it points along the z-axis, and then directly calculating the right-hand side.[29]

In particular, when x = y, this gives Unsöld's theorem[30]

${\displaystyle \sum _{m=-\ell }^{\ell }Y_{\ell m}^{*}(\mathbf {x} )\,Y_{\ell m}(\mathbf {x} )={\frac {2\ell +1}{4\pi }}}$

which generalizes the identity cos2θ + sin2θ = 1 to two dimensions.

In the expansion (1), the left-hand side P(xy) is a constant multiple of the degree zonal spherical harmonic. From this perspective, one has the following generalization to higher dimensions. Let Yj be an arbitrary orthonormal basis of the space H of degree spherical harmonics on the n-sphere. Then ${\displaystyle Z_{\mathbf {x} }^{(\ell )}}$, the degree zonal harmonic corresponding to the unit vector x, decomposes as[31]

${\displaystyle Z_{\mathbf {x} }^{(\ell )}({\mathbf {y} })=\sum _{j=1}^{\dim(\mathbf {H} _{\ell })}{\overline {Y_{j}({\mathbf {x} })}}\,Y_{j}({\mathbf {y} })}$

(2)

Furthermore, the zonal harmonic ${\displaystyle Z_{\mathbf {x} }^{(\ell )}({\mathbf {y} })}$ is given as a constant multiple of the appropriate Gegenbauer polynomial:

${\displaystyle Z_{\mathbf {x} }^{(\ell )}({\mathbf {y} })=C_{\ell }^{((n-2)/2)}({\mathbf {x} }\cdot {\mathbf {y} })}$

(3)

Combining (2) and (3) gives (1) in dimension n = 2 when x and y are represented in spherical coordinates. Finally, evaluating at x = y gives the functional identity

${\displaystyle {\frac {\dim \mathbf {H} _{\ell }}{\omega _{n-1}}}=\sum _{j=1}^{\dim(\mathbf {H} _{\ell })}|Y_{j}({\mathbf {x} })|^{2}}$

where ωn−1 is the volume of the (n−1)-sphere.

### Contraction rule

Another useful identity expresses the product of two spherical harmonics as a sum over spherical harmonics[32]

${\displaystyle Y_{a,\alpha }\left(\theta ,\varphi \right)Y_{b,\beta }\left(\theta ,\varphi \right)={\sqrt {\frac {\left(2a+1\right)\left(2b+1\right)}{4\pi }}}\sum _{c,\gamma }\left(-1\right)^{\gamma }{\sqrt {2c+1}}\left({\begin{array}{ccc}a&b&c\\\alpha &\beta &-\gamma \end{array}}\right)\left({\begin{array}{ccc}a&b&c\\0&0&0\end{array}}\right)Y_{c,\gamma }\left(\theta ,\varphi \right)}$

where the values of ${\displaystyle c}$ and ${\displaystyle \gamma }$ are determined by the selection rules for the 3j-symbols.

### Clebsch–Gordan coefficients

The Clebsch–Gordan coefficients are the coefficients appearing in the expansion of the product of two spherical harmonics in terms of spherical harmonics themselves. A variety of techniques are available for doing essentially the same calculation, including the Wigner 3-jm symbol, the Racah coefficients, and the Slater integrals. Abstractly, the Clebsch–Gordan coefficients express the tensor product of two irreducible representations of the rotation group as a sum of irreducible representations: suitably normalized, the coefficients are then the multiplicities.

## Visualization of the spherical harmonics

Schematic representation of ${\displaystyle Y_{\ell m}}$ on the unit sphere and its nodal lines. ${\displaystyle \Re [Y_{\ell m}]}$ is equal to 0 along m great circles passing through the poles, and along m circles of equal latitude. The function changes sign each time it crosses one of these lines.
3D color plot of the spherical harmonics of degree n = 5. Note that n = .

The Laplace spherical harmonics ${\displaystyle Y_{\ell }^{m}}$ can be visualized by considering their "nodal lines", that is, the set of points on the sphere where ${\displaystyle \Re [Y_{\ell }^{m}]=0}$, or alternatively where ${\displaystyle \Im [Y_{\ell }^{m}]=0}$. Nodal lines of ${\displaystyle Y_{\ell }^{m}}$ are composed of circles: there are |m| circles along longitudes and −|m| circles along latitudes. One can determine the number of nodal lines of each type by counting the number of zeros of ${\displaystyle Y_{\ell }^{m}}$ in the ${\displaystyle \theta }$ and ${\displaystyle \varphi }$ directions respectively. Considering ${\displaystyle Y_{\ell }^{m}}$ as a function of ${\displaystyle \theta }$, the real and imaginary components of the associated Legendre polynomials each possess −|m| zeros, each giving rise to a nodal 'line of latitude'. On the other hand, considering ${\displaystyle Y_{\ell }^{m}}$ as a function of ${\displaystyle \varphi }$, the trigonometric sin and cos functions possess 2|m| zeros, each of which gives rise to a nodal 'line of longitude'.

When the spherical harmonic order m is zero (upper-left in the figure), the spherical harmonic functions do not depend upon longitude, and are referred to as zonal. Such spherical harmonics are a special case of zonal spherical functions. When  = |m| (bottom-right in the figure), there are no zero crossings in latitude, and the functions are referred to as sectoral. For the other cases, the functions checker the sphere, and they are referred to as tesseral.

More general spherical harmonics of degree are not necessarily those of the Laplace basis ${\displaystyle Y_{\ell }^{m}}$, and their nodal sets can be of a fairly general kind.[33]

## List of spherical harmonics

Analytic expressions for the first few orthonormalized Laplace spherical harmonics ${\displaystyle Y_{\ell }^{m}:S^{2}\to \mathbb {C} }$ that use the Condon–Shortley phase convention:

${\displaystyle Y_{0}^{0}(\theta ,\varphi )={\frac {1}{2}}{\sqrt {\frac {1}{\pi }}}}$
{\displaystyle {\begin{aligned}Y_{1}^{-1}(\theta ,\varphi )&={\frac {1}{2}}{\sqrt {\frac {3}{2\pi }}}\,\sin \theta \,e^{-i\varphi }\\Y_{1}^{0}(\theta ,\varphi )&={\frac {1}{2}}{\sqrt {\frac {3}{\pi }}}\,\cos \theta \\Y_{1}^{1}(\theta ,\varphi )&={\frac {-1}{2}}{\sqrt {\frac {3}{2\pi }}}\,\sin \theta \,e^{i\varphi }\end{aligned}}}
{\displaystyle {\begin{aligned}Y_{2}^{-2}(\theta ,\varphi )&={\frac {1}{4}}{\sqrt {\frac {15}{2\pi }}}\,\sin ^{2}\theta \,e^{-2i\varphi }\\Y_{2}^{-1}(\theta ,\varphi )&={\frac {1}{2}}{\sqrt {\frac {15}{2\pi }}}\,\sin \theta \,\cos \theta \,e^{-i\varphi }\\Y_{2}^{0}(\theta ,\varphi )&={\frac {1}{4}}{\sqrt {\frac {5}{\pi }}}\,(3\cos ^{2}\theta -1)\\Y_{2}^{1}(\theta ,\varphi )&={\frac {-1}{2}}{\sqrt {\frac {15}{2\pi }}}\,\sin \theta \,\cos \theta \,e^{i\varphi }\\Y_{2}^{2}(\theta ,\varphi )&={\frac {1}{4}}{\sqrt {\frac {15}{2\pi }}}\,\sin ^{2}\theta \,e^{2i\varphi }\end{aligned}}}

## Higher dimensions

The classical spherical harmonics are defined as complex-valued functions on the unit sphere ${\displaystyle S^{2}}$ inside three-dimensional Euclidean space ${\displaystyle \mathbb {R} ^{3}}$. Spherical harmonics can be generalized to higher-dimensional Euclidean space ${\displaystyle \mathbb {R} ^{n}}$ as follows, leading to functions ${\displaystyle S^{n-1}\to \mathbb {C} }$.[34] Let P denote the space of complex-valued homogeneous polynomials of degree in n real variables, here considered as functions ${\displaystyle \mathbb {R} ^{n}\to \mathbb {C} }$. That is, a polynomial p is in P provided that for any real ${\displaystyle \lambda \in \mathbb {R} }$, one has

${\displaystyle p(\lambda \mathbf {x} )=\lambda ^{\ell }p(\mathbf {x} ).}$

Let A denote the subspace of P consisting of all harmonic polynomials:

${\displaystyle \mathbf {A} _{\ell }:=\{p\in \mathbf {P} _{\ell }\,\mid \,\Delta p=0\}\,.}$

These are the (regular) solid spherical harmonics. Let H denote the space of functions on the unit sphere

${\displaystyle S^{n-1}:=\{\mathbf {x} \in \mathbb {R} ^{n}\,\mid \,\left|x\right|=1\}}$

obtained by restriction from A

${\displaystyle \mathbf {H} _{\ell }:=\left\{f:S^{n-1}\to \mathbb {C} \,\mid \,{\text{ for some }}p\in \mathbf {A} _{\ell },\,f(\mathbf {x} )=p(\mathbf {x} ){\text{ for all }}\mathbf {x} \in S^{n-1}\right\}.}$

The following properties hold:

• The sum of the spaces H is dense in the set ${\displaystyle C(S^{n-1})}$ of continuous functions on ${\displaystyle S^{n-1}}$ with respect to the uniform topology, by the Stone–Weierstrass theorem. As a result, the sum of these spaces is also dense in the space L2(Sn−1) of square-integrable functions on the sphere. Thus every square-integrable function on the sphere decomposes uniquely into a series of spherical harmonics, where the series converges in the L2 sense.
• For all f ∈ H, one has
${\displaystyle \Delta _{S^{n-1}}f=-\ell (\ell +n-2)f.}$
where ΔSn−1 is the Laplace–Beltrami operator on Sn−1. This operator is the analog of the angular part of the Laplacian in three dimensions; to wit, the Laplacian in n dimensions decomposes as
${\displaystyle \nabla ^{2}=r^{1-n}{\frac {\partial }{\partial r}}r^{n-1}{\frac {\partial }{\partial r}}+r^{-2}\Delta _{S^{n-1}}={\frac {\partial ^{2}}{\partial r^{2}}}+{\frac {n-1}{r}}{\frac {\partial }{\partial r}}+r^{-2}\Delta _{S^{n-1}}}$
• It follows from the Stokes theorem and the preceding property that the spaces H are orthogonal with respect to the inner product from L2(Sn−1). That is to say,
${\displaystyle \int _{S^{n-1}}f{\bar {g}}\,\mathrm {d} \Omega =0}$
for f ∈ H and g ∈ Hk for k ≠ .
• Conversely, the spaces H are precisely the eigenspaces of ΔSn−1. In particular, an application of the spectral theorem to the Riesz potential ${\displaystyle \Delta _{S^{n-1}}^{-1}}$ gives another proof that the spaces H are pairwise orthogonal and complete in L2(Sn−1).
• Every homogeneous polynomial p ∈ P can be uniquely written in the form[35]
${\displaystyle p(x)=p_{\ell }(x)+|x|^{2}p_{\ell -2}+\cdots +{\begin{cases}|x|^{\ell }p_{0}&\ell {\rm {\ even}}\\|x|^{\ell -1}p_{1}(x)&\ell {\rm {\ odd}}\end{cases}}}$
where pj ∈ Aj. In particular,
${\displaystyle \dim \mathbf {H} _{\ell }={\binom {n+\ell -1}{n-1}}-{\binom {n+\ell -3}{n-1}}.}$

An orthogonal basis of spherical harmonics in higher dimensions can be constructed inductively by the method of separation of variables, by solving the Sturm-Liouville problem for the spherical Laplacian

${\displaystyle \Delta _{S^{n-1}}=\sin ^{2-n}\varphi {\frac {\partial }{\partial \varphi }}\sin ^{n-2}\varphi {\frac {\partial }{\partial \varphi }}+\sin ^{-2}\varphi \Delta _{S^{n-2}}}$

where φ is the axial coordinate in a spherical coordinate system on Sn−1. The end result of such a procedure is[36]

${\displaystyle Y_{\ell _{1},\dots \ell _{n-1}}(\theta _{1},\dots \theta _{n-1})={\frac {1}{\sqrt {2\pi }}}e^{i\ell _{1}\theta _{1}}\prod _{j=2}^{n-1}{}_{j}{\bar {P}}_{\ell _{j}}^{\ell _{j-1}}(\theta _{j})}$

where the indices satisfy |1| ≤ 2 ≤ ⋯ ≤ n−1 and the eigenvalue is −n−1(n−1 + n−2). The functions in the product are defined in terms of the Legendre function

${\displaystyle {}_{j}{\bar {P}}_{L}^{\ell }(\theta )={\sqrt {{\frac {2L+j-1}{2}}{\frac {(L+\ell +j-2)!}{(L-\ell )!}}}}\sin ^{\frac {2-j}{2}}(\theta )P_{L+{\frac {j-2}{2}}}^{-\left(\ell +{\frac {j-2}{2}}\right)}(\cos \theta )\,.}$

## Connection with representation theory

The space H of spherical harmonics of degree is a representation of the symmetry group of rotations around a point (SO(3)) and its double-cover SU(2). Indeed, rotations act on the two-dimensional sphere, and thus also on H by function composition

${\displaystyle \psi \mapsto \psi \circ \rho ^{-1}}$

for ψ a spherical harmonic and ρ a rotation. The representation H is an irreducible representation of SO(3).[37]

The elements of H arise as the restrictions to the sphere of elements of A: harmonic polynomials homogeneous of degree on three-dimensional Euclidean space R3. By polarization of ψ ∈ A, there are coefficients ${\displaystyle \psi _{i_{1}\dots i_{\ell }}}$ symmetric on the indices, uniquely determined by the requirement

${\displaystyle \psi (x_{1},\dots ,x_{n})=\sum _{i_{1}\dots i_{\ell }}\psi _{i_{1}\dots i_{\ell }}x_{i_{1}}\cdots x_{i_{\ell }}.}$

The condition that ψ be harmonic is equivalent to the assertion that the tensor ${\displaystyle \psi _{i_{1}\dots i_{\ell }}}$ must be trace free on every pair of indices. Thus as an irreducible representation of SO(3), H is isomorphic to the space of traceless symmetric tensors of degree .

More generally, the analogous statements hold in higher dimensions: the space H of spherical harmonics on the n-sphere is the irreducible representation of SO(n+1) corresponding to the traceless symmetric -tensors. However, whereas every irreducible tensor representation of SO(2) and SO(3) is of this kind, the special orthogonal groups in higher dimensions have additional irreducible representations that do not arise in this manner.

The special orthogonal groups have additional spin representations that are not tensor representations, and are typically not spherical harmonics. An exception are the spin representation of SO(3): strictly speaking these are representations of the double cover SU(2) of SO(3). In turn, SU(2) is identified with the group of unit quaternions, and so coincides with the 3-sphere. The spaces of spherical harmonics on the 3-sphere are certain spin representations of SO(3), with respect to the action by quaternionic multiplication.

## Connection with hemispherical harmonics

Spherical harmonics can be separated into two set of functions.[38] One is hemispherical functions (HSH), orthogonal and complete on hemisphere. Another is complementary hemispherical harmonics (CHSH).

### Generalizations

The angle-preserving symmetries of the two-sphere are described by the group of Möbius transformations PSL(2,C). With respect to this group, the sphere is equivalent to the usual Riemann sphere. The group PSL(2,C) is isomorphic to the (proper) Lorentz group, and its action on the two-sphere agrees with the action of the Lorentz group on the celestial sphere in Minkowski space. The analog of the spherical harmonics for the Lorentz group is given by the hypergeometric series; furthermore, the spherical harmonics can be re-expressed in terms of the hypergeometric series, as SO(3) = PSU(2) is a subgroup of PSL(2,C).

More generally, hypergeometric series can be generalized to describe the symmetries of any symmetric space; in particular, hypergeometric series can be developed for any Lie group.[39][40][41][42]

## Notes

1. ^ A historical account of various approaches to spherical harmonics in three dimensions can be found in Chapter IV of MacRobert 1967. The term "Laplace spherical harmonics" is in common use; see Courant & Hilbert 1962 and Meijer & Bauer 2004.
2. ^ The approach to spherical harmonics taken here is found in (Courant & Hilbert 1962, §V.8, §VII.5).
3. ^ Physical applications often take the solution that vanishes at infinity, making A = 0. This does not affect the angular portion of the spherical harmonics.
4. ^ Edmonds 1957, §2.5
5. ^ Hall 2013 Section 17.6
6. ^ Hall 2013 Lemma 17.16
7. ^ Williams, Earl G. (1999). Fourier acoustics : sound radiation and nearfield acoustical holography. San Diego, Calif.: Academic Press. ISBN 0080506909. OCLC 181010993.
8. ^ Messiah, Albert (1999). Quantum mechanics : two volumes bound as one (Two vol. bound as one, unabridged reprint ed.). Mineola, NY: Dover. ISBN 9780486409245.
9. ^ Claude Cohen-Tannoudji; Bernard Diu; Franck Laloë (1996). Quantum mechanics. Translated by Susan Reid Hemley; et al. Wiley-Interscience: Wiley. ISBN 9780471569527.
10. ^ a b Blakely, Richard (1995). Potential theory in gravity and magnetic applications. Cambridge England New York: Cambridge University Press. p. 113. ISBN 978-0521415088.
11. ^ Heiskanen and Moritz, Physical Geodesy, 1967, eq. 1-62
12. ^ Whittaker & Watson 1927, p. 392.
13. ^ See, e.g., Appendix A of Garg, A., Classical Electrodynamics in a Nutshell (Princeton University Press, 2012).
14. ^ Li, Feifei; Braun, Carol; Garg, Anupam (2013), "The Weyl-Wigner-Moyal Formalism for Spin" (PDF), Europhysics Letters, 102 (6): 60006, arXiv:1210.4075, Bibcode:2013EL....10260006L, doi:10.1209/0295-5075/102/60006, S2CID 119610178
15. ^ Efimov Sergei P.; Muratov Rodes Z. (1990). "Theory of multipole representation of the potentialsod an ellipsoid. Tensor porentials". Astron. Zh. 67 (2): 152–157. Bibcode:1990SvA....34..152E.
16. ^ Efimov Sergei P., Muratov Rodes Z. (1990). "Theory of multipole representation of the potentials of an ellipsoid. Moments". Astron. Zh. 67 (2): 157–162. Bibcode:1990SvA....34..157E.
17. ^ Buchbinder I.L. and Shapiro I.L. (1990). "On the renormalization group equations in curved spacetime with the torsion". Classical and Quantum Gravity. 7 (7): 1197. doi:10.1088/0264-9381/7/7/015.
18. ^ Kalmykov M. Yu., Pronin P.I. (1991). "One-loop effective action in gauge gravitational theory". Il Nuovo Cimento B. Series 11. 106 (12): 1401. Bibcode:1991NCimB.106.1401K. doi:10.1007/BF02728369. S2CID 120953784.
19. ^ Maxwell, James Clerk (1892). A treatise on Electricity & Magnetism. N. Y.: Dover Publications Inc. 1954. pp. ch.9.
20. ^ Hobson, E. W. (2012). The Theory of Spherical and Ellipsoidal Harmonics. Cambridge: Cambridge Academ. ISBN 978-1107605114.
21. ^ a b Efimov, Sergei P. (1979). "Transition operator between multipole states and their tensor structure". Theoretical and Mathematical Physics. 39 (2): 425–434. Bibcode:1979TMP....39..425E. doi:10.1007/BF01014921. S2CID 120022530.
22. ^ a b Muratov, Rodes Z. (2015). Multipoles and Fields of Ellipsoid. Moscow: Izd. Dom MISIS. pp. 142–155. ISBN 978-5-600-01057-4.
23. ^ Efimov, S.P. (2021). "Fock theory modification into coordinate space. Harmonic tensors in quantum Coulomb problem". Physics-Uspekhi. 192. doi:10.3367/UFNr.2021.04.038966.
24. ^ Vilenkin, N. Ja. (1968). Special functions and the theory of Group Representations. Am. Math. Society. ISBN 9780821815724.
25. ^ Glauber, Roy J. (1963). "Coherent and Incoherent States of the Radiation Field". Physical Review. 131 (6): 2766–2788. Bibcode:1963PhRv..131.2766G. doi:10.1103/physrev.131.2766.
26. ^ Perelomov, A. M. (1972). "Coherent states for arbitrary Lie groups". Communications in Mathematical Physics. 26 (3): 222–236. arXiv:math-ph/0203002. Bibcode:1972CMaPh..26..222P. doi:10.1007/BF01645091. S2CID 18333588.
27. ^ Edmonds, A. R. (1996). Angular Momentum In Quantum Mechanics. Princeton University Press. p. 63.
28. ^ This is valid for any orthonormal basis of spherical harmonics of degree . For unit power harmonics it is necessary to remove the factor of 4π.
29. ^ Whittaker & Watson 1927, p. 395
30. ^ Unsöld 1927
31. ^ Stein & Weiss 1971, §IV.2
32. ^ Brink, D. M.; Satchler, G. R. Angular Momentum. Oxford University Press. p. 146.
33. ^ Eremenko, Jakobson & Nadirashvili 2007
34. ^
35. ^ Cf. Corollary 1.8 of Axler, Sheldon; Ramey, Wade (1995), Harmonic Polynomials and Dirichlet-Type Problems
36. ^ Higuchi, Atsushi (1987). "Symmetric tensor spherical harmonics on the N-sphere and their application to the de Sitter group SO(N,1)". Journal of Mathematical Physics. 28 (7): 1553–1566. Bibcode:1987JMP....28.1553H. doi:10.1063/1.527513.
37. ^ Hall 2013 Corollary 17.17
38. ^ Zheng Y, Wei K, Liang B, Li Y, Chu X (2019-12-23). "Zernike like functions on spherical cap: principle and applications in optical surface fitting and graphics rendering". Optics Express. 27 (26): 37180–37195. Bibcode:2019OExpr..2737180Z. doi:10.1364/OE.27.037180. ISSN 1094-4087. PMID 31878503.
39. ^ N. Vilenkin, Special Functions and the Theory of Group Representations, Am. Math. Soc. Transl.,vol. 22, (1968).
40. ^ J. D. Talman, Special Functions, A Group Theoretic Approach, (based on lectures by E.P. Wigner), W. A. Benjamin, New York (1968).
41. ^ W. Miller, Symmetry and Separation of Variables, Addison-Wesley, Reading (1977).
42. ^ A. Wawrzyńczyk, Group Representations and Special Functions, Polish Scientific Publishers. Warszawa (1984).