Fourier decomposition transforms some function that varies over space or time ( , , etc) into a sum over a set of orthogonal basis functions. For the Fourier transform, this set of basis functions are sinusoids of various frequencies. So (remembering that ) we have,
where is the frequency and is a measure of the amount of power in that frequency in our function . If we do this for every frequency, we can then reconstruct the original function by summing over the basis functions, multiplied by the power in each,
The core idea here is that we trade in our function defined in space or time, , for a function defined in frequency, , that contains the same information (or vice-versa). This allows us to choose the most convenient representation depending on what we want to do.
While the Fourier transform works well for functions defined in Euclidean space, it does not necessarily work for ones defined on a surface (in particular, a sphere). Is it possible to define a set of basis functions (analogous to the sinusoids of the Fourier transform) that allow us to decompose a signal defined over a sphere, , into its harmonic components?
It is! One possible set of functions are the spherical harmonics often denoted . Here, is the degree of the harmonic (analogous to the frequency in a sinusoid – large implies high frequency), and is the order of the harmonic (which has no direct analog in the Fourier transform). As with the Fourier transform, we can take any function defined over the surface of a sphere and instead define it as a sum over these basis functions,
where has taken the place of , the coefficient that represents the amount of power in a given harmonic (degree and order).
The basis functions are defined as,
where is some constant that depends on and , and is an associated Legendre Polynomial. Before digging more into any math, let’s just look at these and their two components.
First, let’s address the slightly odd behavior of the property. This is not the latitude which would run from in the North to in the South, but rather the colatitude defined as . The longitude, , runs from to as normal. The effects of varying these two components can fortunately be treated separately with the results multiplied together. This makes understanding the overall behavior far simpler.
The effect of varying longitude is relatively simple - it is a sinusoid with frequency of . The imaginary component is a function and the real a . As the imaginary component changes sign when does, and as the real component is unchanged. Note that for , the imaginary component is and so , and the real component is constant and consists of bands running from East-West.
The effect of varying the (co)latitude is a bit more complicated. varies from to as we move from the North pole to the South. We evaluate the associated Legendre polynomial (ALP), , at the result of this .
As you might guess from the name, the ALP of degree is a polynomial where the largest power of is 1. Concretely, the first few (with for now) are,
The number of zeros of a non-degenerate polynomial (which all of these are) is equal to its degree. As all of these zeros are between and , when moving from North to South at values of .
The zeroth order ( ) ALP is actually just the Legendre polynomial of the same degree. The ALPs are defined as,
This also shows how we can generate the ALPs of other orders. So for example,
Ignoring the , we now have two components; the derivative of and . The first of these has zeros (as the m’th derivative of a polynomial of degree has degree ). The second term has zeros only at the endpoints. So,
Thus we get the following intuitive explanation for the effect of . At fixed , increasing reduces the number of zeros along the North-South axis by one but increases the number of wavelengths along the East-West axis by 1 (or increases the number of zeros by 2). Thus increasing results in a function that varies more from East to West and less from North to South.
Finally, what happens to when is negative? Without getting into too many details, while , the mostly cancel any difference other than a possible factor of ,
The combination of the East-West and North-South effects of negating is therefore for even ,
and for odd ,
A few other useful resources with different/better/more detailed explanations are,
Though as you will see later, the name is not entirely accurate. For odd values of , the ALPs are not actually polynomials.↩︎