Legendre Functions
Legendre Functions
dy d y 2
Then substituting the value of dx and dx2 in (1), we get
∞ ∞
(1 − x2 ) (c − n)(c − n − 1)an xc−n−2 − 2x (c − n)an xc−n−1
P P
n=0 n=0
∞
an xc−n = 0
P
+m(m + 1)
n=0
∞
X ∞
X
c−n−2
⇒ (c−n)(c−n−1)an x − {(c−n)(c−n−1)+2(c−n)−m(m+1)}an xc−n = 0 (3)
n=0 n=0
1
2
To get the indicial equation, equate the coefficient of xc to zero and obtain
a1 = a3 = a5 = a7 = · · · = 0 (8)
(m − n + 2)(m − n + 1)
an = an−2 (9)
(−n)(2m − n + 1)
(m + n − 1)(m + n)
an = an−2 (12)
n(2m + n + 1)
Taking a = 1.3.5.···.(2m−1)
m!
, the solution (11) is denoted by Pm (x) and it is called Legendre’s
function of the first kind or Legendre’s polynomial of degree m. So, Pm (x) is a solution of
(1).
m!)
Again, if we take b = 1.3.5.···.(2m+1) , the solution (14) is denoted by Qm (x) and it is called
Legendre’s function of the second kind or Legendre’s polynomial of degree m.
Thus, Pm (x) and Qm (x) are the linearly independent solutions of (1) and finally, the
general solution of (1) is
y = c1 Pm (x) + c2 Qm (x) (15)
where c1 and c2 are arbitrary constants.
Legendre’s polynomial of degree n is denoted and defined by
1.3.5. . . . .(2n − 1) n n(n − 1) n−2 n(n − 1)(n − 2)(n − 3) n−4
Pn (x) = [x − x + x −. . .] (16)
n! 2(2n − 1) 2.4.(2n − 1)(2n − 3)
We now re-write (16) in compact form. The general term of (16) is given by
1.3.5.....(2n−1) n(n−1)(n−2)···(n−2r+1)
n!
(−1)r 2.4.....2r(2n−1)(2n−3)···(2n−2r+1) xn−2r .
Now,
1.2.3.4.5.6. . . . .(2n − 1)2n (2n)! (2n)!
1.3.5. . . . .(2n − 1) = = = n (17)
2.4.6. . . . .2n (2.1)(2.2)(2.3) . . . (2.n) 2 n!
Also,
n(n − 1) · · · (n − 2r + 1)(n − 2r)(n − 2r − 1) . . . 3.2.1 n!
n(n−1) · · · (n−2r+1) = =
(n − 2r)(n − 2r − 1) · · · 3.2.1 (n − 2r)!
(18)
2n(2n−1)(2n−2)···(2n−2r+1)(2n−2r)(2n−2r−1)···.3.2.1
= 2n.2(n−1).2(n−2)···2(n−r+1).(2n−2r)!
4
(2n)!
= 2n .n(n−1)(n−2)···(n−r+1)(2n−2r)!
(2n)! (n−r)(n−r−1)···3.2.1
= 2n (2n−2r)!
× n(n−1)(n−2)···(n−r+1)(n−r)(n−r−1)···3.2.1
Finally,
(2n)! (n − r)!
(2n − 1)(2n − 3) . . . (2n − 2r + 1) = × (20)
2n (2n − 2r)! n!
Using (17), (18), (19)and (20), the most simplified form of the general term in (16) is
given by
∞ ∞
hn Pn (−x) = (−h)n Pn (x)
P P
(4)
n=0 n=0
3
∞
⇒ (x − h)(1 − 2xh + h2 )− 2 = nhn−1 Pn (x)
P
(2)
n=0
∞
1−2xh+h2 +2h(x−h)
(2n + 1)hn Pn (x)
P
⇒ 3 =
(1−2xh+h2 ) 2 n=0
∞
1−h2
(2n + 1)hn Pn (x).
P
Hence, 3 =
(1−2xh+h2 ) 2 n=0
Recurrence relations
3
∞
⇒ (x − h)(1 − 2xh + h2 )− 2 = nhn−1 Pn (x)
P
(2)
n=0
6
0
Form II: xPn0 (x) − Pn−1 (x) = nPn (x).
Proof: Generating function for Legendre polynomials is given by
1
∞
(1 − 2xh + h2 )− 2 = hn Pn (x)
P
(1)
n=0
3
∞
⇒ (x − h)(1 − 2xh + h2 )− 2 = nhn−1 Pn (x)
P
(2)
n=0
3
∞
⇒ h(1 − 2xh + h2 )− 2 = hn Pn0 (x)
P
(3)
n=0
∞ ∞
hn Pn0 (x) = nhn Pn (x)
P P
⇒ (x − h)
n=0 n=0
and
1
∞
(1 − 2xh + h2 )− 2 = hm Pm (x)
P
(4)
m=0
Putting m = n, we get
∞ R
1 R1 dx
{ −1 [Pn2 (x)]dx}h2n = −1
P
1−2xh+h2
n=0
2
= [ log(1−2xh+h
−2h
) 1 1
]−1 = − 2h [log(1 − h)2 − log(1 + h)2 ]
1
= − 2h [2log(1 − h) − 2log(1 + h)] = h1 [log(1 + h) − log(1 − h)]
h2 h3 h2 h3
= h1 [(h − 2
+ 3
− · · ·) − (−h − 2
− 3
− · · ·)]
∞
h3 h5 h2n+1
= h2 (h + 2
P
3
+ 5
+ · · ·) = h 2n+1
n=0
Therefore,
∞ R ∞
1 2
{ −1 [Pn2 (x)]dx}h2n = h2n
P P
2n+1
n=0 n=0
R1 2
−1
[Pn2 (x)]dx = 2n+1
.
R1 2
Thus, Pm (x)Pn (x)dx = 2n+1
−1
if m = n.
R1 2n(n+1)
Problem: Show that −1 x2 Pn+1 (x)Pn−1 (x)dx = (2n+3)(4n2 −1)
.
Proof: We have (2n − 1)xPn−1 (x) = nPn (x) + (n − 1)Pn−2 (x) (1)
(Recurrence Formula I)
Replacing n by n + 2, we get
(2n + 3)xPn+1 (x) = (n + 2)Pn+2 (x) + (n + 1)Pn (x) (2)
Multiplying (1) and (2), we get
(2n − 1)(2n + 3)x2 Pn+1 (x)Pn−1 (x)
= n(n+2)Pn (x)Pn+2 (x)+n(n+1)Pn2 (x)+(n−1)(n+2)Pn−2 (x)Pn+2 (x)+(n2 −1)Pn−2 (x)Pn (x)
Integrating both sides with respect to x from −1 to 1 and using Orthogonal Properties
(A) and (B), we get
R1 2
(2n − 1)(2n + 3) −1 x2 Pn+1 (x)Pn−1 (x)dx = 0 + n(n + 1) × 2n+1 +0+0
R1 2n(n+1)
Hence, −1 x2 Pn+1 (x)Pn−1 (x)dx = (2n+3)(4n 2 −1) .
R1 1 3 1
2. −1 x2 Pn2 (x)dx = 8(2n−1) + 4(2n+1) + 8(2n+3) .
R1
3. −1
xPn (x)Pn0 (x)dx = 2n
2n+1
.
Rodrigue’s Formula
1 dn
Pn (x) = 2n n! dxn
(x2 − 1)n .
Proof: By definition of Legendre polynomial, we have
n
[2]
(2n−2r)!
(−1)r 2n r!(n−r)!(n−2r)! xn−2r
P
Pn (x) = (1)
r=0
Now, (x2 − 1)n can be expressed by binomial expansion as
n n
(x2 − 1)n = n
Cr (x2 )n−r (−1)r = n
Cr (−1)r x2n−2r
P P
r=0 r=0
n
1 dn 1 d n
(x2 − 1)n = n
Cr (−1)r dx 2n−2r
P
Therefore, 2n n! dxn 2n n! nx (2)
r=0
dn dn m!
But dxn
(xm ) = 0 if m < n and dxn
(xm ) = (m−n)!
xm−n if m ≥ n (3)
dn n
So that dxn
(x2n−2r ) = 0 if 2n − 2r < n, i.e., if r > 2
(4)
10
n n−1
n
P 2
P 2
P
Using (4) in (2), we see that we must replace by if n is even and by if n is odd,
r=0 r=0 r=0
n
n [2]
P P
i.e., we must replace by .
r=0 r=0
Hence, (2) becomes,
n
[2]
1 dn 1 d n
(x2 n n
Cr (−1)r dx 2n−2r
P
2n n! dxn
− 1) = 2n n! n (x )
r=0
n
[2]
1 n (2n−2r)!
Cr (−1)r (2n−2r−n)! x2n−2r−n , by (3)
P
= 2n n!
r=0
[n
2
]
1 n!
(−1)r (2n−2r)! xn−2r
P
= 2n n! r!(n−r)! (n−2r)!
r=0
= Pn (x), by (1).
1 dn
Hence, Pn (x) = 2n n! dxn
(x2 − 1)n .
Problem
Use Rodrigue’s formula to find P0 (x), P1 (x), P2 (x) and P3 (x).
1 dn
Solution: We have the Rodrigue’s formula Pn (x) = 2n n! dxn
(x2 − 1)n (?)
1
Putting n = 0 in (?), we get P0 (x) = 20 0!
(x2 − 1)0 = 1
1 d
Putting n = 1 in (?), we get P1 (x) = 21 1! dx
(x2 − 1)1 = 21 (2x) = x
1 d2 1 d
Putting n = 2 in (?), we get P2 (x) = 22 2! dx2
(x2 − 1)2 = 8 dx
[2(x2 − 1)(2x)]
1 d
= 2 dx
(x3 − x) = 12 (3x2 − 1)
1 d3 1 d2
Putting n = 3 in (?), we get P3 (x) = 23 3! dx3
(x2 − 1)3 = 48 dx2
[3(x2 − 1)2 (2x)]
1 d d 1 d
= [ (x5
8 dx dx
− 2x3 + x)] = 8 dx
(5x4 − 6x2 + 1)
= 81 (20x3 − 12x) = 12 (5x3 − 3x).
Problem
Express f (x) = 4x3 + 6x2 + 7x + 2 in terms of Legendre polynomials.
Solution: Let f (x) = 4x3 + 6x2 + 7x + 2 = aP3 (x) + bP2 (x) + cP1 (x) + dP0 (x)
= a2 (5x3 − 3x) + 2b (3x2 − 1) + cx + d
5a 3 3b 2 3a
= 2
x + 2
x + (c − 2
)x − 2b + d
Equating the coefficient of the corresponding powers of x, we get
5a 3b 3a
4= 2
, 6= 2
, 7=c− 2
, 2 = − 2b + d
⇒ a = 58 , b = 4, c = 47
5
, d = 4.