276 8 Special functions
At the shell we must have φ
1,int
= φ
1,ext
and
∂φ
1,ext
∂r
−
∂φ
1,int
∂r
= 4πGσ(θ). (8.52)
Thus A = BR
−5
0
, and
B =−
4
5
πGηρ
0
R
4
0
. (8.53)
Putting this together, we have
φ(r, θ) =−
4
3
πGρ
0
R
3
0
1
r
−
4
5
πGηρ
0
R
4
0
P
2
(cos θ)
r
3
+ O(η
2
), r > R
0
. (8.54)
8.2.3 General spherical harmonics
When we do not have axisymmetry, we need the full set of spherical harmonics. These
involve solutions of
d
dx
(1 − x
2
)
d
dx
+ l(l + 1) −
m
2
1 − x
2
= 0, (8.55)
which is the associated Legendre equation. This looks like another complicated equation
with singular endpoints, but its bounded solutions can be obtained by differentiating
Legendre polynomials. On substituting y = (1 −x
2
)
m/2
z(x) into (8.55), and comparing
the resulting equation for z(x) with the m-th derivative of Legendre’s equation, we
find that
P
m
l
(x)
def
= (−1)
m
(1 − x
2
)
m/2
d
m
dx
m
P
l
(x) (8.56)
is a solution of (8.55) that remains finite (m = 0) or goes to zero (m > 0) at the endpoints
x =±1. Since P
l
(x) is a polynomial of degree l, we must have P
m
l
(x) = 0ifm > l. For
each l, the allowed values of m in this formula are therefore 0, 1, ..., l. Our definition
(8.56)oftheP
m
l
(x) can be extended to negative integer m by interpreting d
−|m|
/dx
−|m|
as an instruction to integrate the Legendre polynomial m times, instead of differentiating
it, but the resulting P
−|m|
l
(x) are proportional to P
m
l
(x), so nothing new is gained by this
conceit.
The spherical harmonics are the normalized product of these associated Legendre
functions with the corresponding e
imφ
:
Y
m
l
(θ, φ) ∝ P
|m|
l
(cos θ)e
imφ
, −l ≤ m ≤ l. (8.57)
The first few are
l = 0
Y
0
0
=
1
√
4π
(8.58)