
Special
Functions 275
Therefore, since the Legendre polynomials form a basis,
we
can write
this polynomial as a linear combination
of
of
Legendre polynomials.
nPn(x) - (2n - I)xPn_l(x) = cc/'o(x) + cIP1(x) +
...
+
cn-2
P
n-2(x).
Multiplying by P
m(x)
for m = 0,
1,
... , n - 3, and integrating from
-1
to
1,
we obtain
0=
cmllP
mll
2
using orthogonality. Thus, all
of
the~e
cm's are zero,
le~ving
nPn(x) - (2n - l)xP n-I(x) =
cn-2
P
n-2(x).
The
_
final
coefficients
can
be
found
by
using
the
normalization
condition, Pn(l) =
1.
Thus,
cn-2
= n - (2n -
I)
=
-(n
-
1):
A second
proof
of
the three term recursion formula can be obtained
from the generating function
of
the Legendre polynomials. Many special
functions
have
such
generating functions.
For
Legendre polynomials
the
generating function
isgiven
by
1
g(x, t) =
i~i=I_=2=x=t
+=t=2
co
L Pn(x)t
n
,
Ixl
<
I,
It
I <
1.
n=O
Fig. The Position Vectors
used-
to Describe the Tidal
force on the
Earth
Due
to the Moon
This generating function occurs often in applications. In particular, it arises
in potential theory, such as electromagnetic
or
gravitational potentials. These
1
potential functions are
;:
type functions.
For
example,
the
gravitational
potential between the Earth and the moon
is
proportional to the reciprocal
of
the magnitude
of
the difference between their positions relative to
some
coordinate system.
An even better example, would be to place the origin at the centre
of
the Earth
and
consider
the forces
on
the
non-pointlike
Earth
due
to
the
moon. Consider a piece
of
the Earth at position r 1 and the moon
at
position
r
2
•
The tidal potential $ is given as
$cx:: 1 1 1
Ir2
- Ii I
~(r2
-
Ii)'
(r2
-
Ii)
~li2
-
2rlr2
cose
+ r{