Legendre Polynomials
Legendre Polynomials
Department of Mathematics
BITS Pilani K K Birla Goa Campus, Goa
1 dn
2 n
Pn (x) = (x − 1)
2n n! dx n
where n = 0, 1, 2, . . .
n k
dn X n d d n−k
n
(u(x) · v (x)) = k
u(x) n−k v (x)
dx k dx dx
k=0
In other words,
n(n − 1) (2) (n−2)
(uv )(n) = uv (n) +nu (1) v (n−1) + u v +· · ·+nu (n−1) v (1) +u (n) v
2!
and
(n+1) (n+1) (n)
2n(xw ) = 2n xw + (n + 1)w
Thus Pn (1) = 1.
Prof. J.K. Sahoo (BITS Goa) Mathematics-III (Chapter-8) Legendre Polynomials 8 / 22
Legendre Polynomials
Solution (continued):
∞ ∞
X 1 1 X
Similarly, from Pn (−1)t n = √ = = (−1)n t n ,
1 + 2t + t 2 1 + t
n=0 n=0
we obtain Pn (−1) = (−1)n .
Solution (continued):
∞ ∞
X 1 1 X
Similarly, from Pn (−1)t n = √ = = (−1)n t n ,
1 + 2t + t 2 1 + t
n=0 n=0
we obtain Pn (−1) = (−1)n .
∞
X 1 1
Further, Pn (0)t n = √ = (1 + t 2 )− 2
n=0
1 + t2
1 3 1 3 5
1 · · ·
= 1 − t2 + 2 2 t4 − 2 2 2 6
t + ···
2 2! 3!
Solution (continued):
∞ ∞
X 1 1 X
Similarly, from Pn (−1)t n = √ = = (−1)n t n ,
1 + 2t + t 2 1 + t
n=0 n=0
we obtain Pn (−1) = (−1)n .
∞
X 1 1
Further, Pn (0)t n = √ = (1 + t 2 )− 2
n=0
1 + t2
1 3 1 3 5
1 · · ·
= 1 − t2 + 2 2 t4 − 2 2 2 6
t + ···
2 2! 3!
Hence
n 1 · 3 · · · (2n − 1)
P2n+1 (0) = 0 and P2n (0) = (−1)
2n n!
Solution (continued):
Next we will show the recurrence relation in the following steps:
Step-1: Differentiating the generating with respect t, we get
∞ ∞
X
X
n−1 x −t
nPn (x)t = Pn (x)t n
1 − 2xt + t 2
n=1 n=0
∞
X ∞
X
=⇒ (1 − 2xt + t 2 ) nPn (x)t n−1 = (x − t) Pn (x)t n
n=1 n=0
Solution (continued):
Next we will show the recurrence relation in the following steps:
Step-1: Differentiating the generating with respect t, we get
∞ ∞
X
X
n−1 x −t
nPn (x)t = Pn (x)t n
1 − 2xt + t 2
n=1 n=0
∞
X ∞
X
=⇒ (1 − 2xt + t 2 ) nPn (x)t n−1 = (x − t) Pn (x)t n
n=1 n=0
Step-1: On simplification (making all powers of t as n), we have
∞
X ∞
X ∞
X ∞
X ∞
X
(n + 1)Pn+1 (x)t n − 2xnPn (x)t n + (n − 1)Pn−1 (x)t n = xPn (x)t n − Pn−1 (x)t n
n=0 n=1 n=2 n=0 n=1
d n+1
′ d 1 2 n+1
Pn+1 (x) = (x − 1)
dx 2n+1 (n + 1)! dx n+1
d n+1
1 2 n
= (n + 1)(x − 1) 2x
2n+1 (n + 1)! dx n+1
1 d n+1
2 n
= x(x − 1)
2n n! dx n+1
1 d n+1 n + 1 dn
2 n 2 n
= x n (x − 1) + (x − 1)
2 n! dx n+1 2n n! dx n
= xPn′ (x) + (n + 1)Pn (x).
On simplyfying, we get
On simplyfying, we get
Step-4: Similarly,
Z 1 Z 1
d ′ ′
2
(1 − x )Pm Pn = − Pm (1 − x 2 )Pn′
−1 dx −1
Step-4: Similarly,
Z 1 Z 1
d ′ ′
2
(1 − x )Pm Pn = − Pm (1 − x 2 )Pn′
−1 dx −1
1 = P0 (x)
x = P1 (x)
1 2
x2 = P0 (x) + P2 (x)
3 3
3 2
x3 = P1 (x) + P3 (x)
5 5
.. .
. = ..
x n = c0 P0 (x) + c1 P1 (x) + · · · + cn Pn (x)
= 0 for k = 0, 1, . . . , (n − 1)
Prof. J.K. Sahoo (BITS Goa) Mathematics-III (Chapter-8) Legendre Polynomials 21 / 22
Properties of Legendre Polynomials
f (x) = e x
f (x) = sin x
0 if −1 < x < 0
f (x) =
1 if 0 ≤ x ≤ 1