Recurrence Relations
Recurrence Relations
Legendre Polynomials
by
Sandip Banerjee
Department of Mathematics
Indian Institute of Technology Roorkee
Roorkee 247667, Uttarakhand.
E-mail: [email protected]
Module 3: Recurrence Relations.
1. Recurrence Relation
In trying to find a formula for some mathematical sequence, a common inter-
mediate step is to find the nth term, not as a function of n, but in terms of
earlier terms of the sequence. Such relations are called recurrence relations.
In mathematics, a recurrence relation is an equation that recursively defines a
sequence or multidimensional array of values.
1 3
X∞
− (1 − 2xz + z 2 )− 2 (−2x + 2z) = nz n−1 Pn (x). (2)
2 n=0
1
X
∞
(x − z)(1 − 2xz + z 2 )− 2 = (1 − 2xz + z 2 ) nz n−1 Pn (x).
n=0
X
∞ X
∞
⇒ (x − z) z n Pn (x) = (1 − 2xz + z 2 ) nz n−1 Pn (x).
n=0 n=0
X
∞ X
∞ X
∞ X
∞
⇒ x z n Pn (x) − z n+1 Pn (x) = nz n−1 Pn − 2x nz n Pn
n=0 n=0 n=0 n=0
X∞
+ nz n+1 Pn .
n=0
1
′ ′
Recurrence Relation II: nPn = xPn (x) − Pn−1 (x).
Proof: Generating function for Legendre polynomial is given by
1
X
∞
(1 − 2xz + z 2 )− 2 = z n Pn (x), | x |≤ 1, | z |< 1. (3)
n=0
1 3
X∞
− (1 − 2xz + z 2 )− 2 (−2x + 2z) = nz n−1 Pn (x).
2 n=0
3
X
∞
(x − z)(1 − 2xz + z 2 )− 2 = nz n−1 Pn (x).
n=0
3
X
∞
′
z(1 − 2xz + z 2 )− 2 = z n Pn (x).
n=0
X
∞
′
z(x − z)(1 − 2xz + z 2 )−3/2 = (x − z) z n Pn (x),
n=0
X
∞
′
z(x − z)(1 − 2xz + z 2 )−3/2 = (x − z) z n Pn (x),
n=0
X
∞ X∞
′
⇒ z nz n−1 Pn (x) = (x − z) z n Pn (x)
n=0 n=0
X∞ X
∞
′ X
∞
′
⇒ nz n Pn (x) = x nz n Pn (x) − z n+1 Pn (x).
n=0 n=0 n=0
n
Equating the coefficients of z from both sides we get,
′ ′
nPn (x) = xPn (x) − Pn−1 (x).
2
′ ′
Recurrence Relation III: (2n + 1)Pn (x) = Pn+1 (x) − Pn−1 (x).
Proof: Recurrence relation I gives
(2n + 1)xPn (x) = (n + 1)Pn+1 (x) + nPn (x)
Differentiating with respect to x, we get
′ ′
(2n + 1)xPn (x) + (2n + 1)Pn (x) = (n + 1)Pn+1 (x) + nPn−1 (x) (4)
Recurrence relation II gives
′ ′
nPn (x) = xPn (x) − Pn−1 (x)
′ ′
⇒ xPn (x) = nPn (x) + Pn−1 (x). (5)
′
Substituting the value of xPn (x), from (5) in (4), we get,
′ ′
(2n + 1)[nPn (x) + Pn−1 )(x)] + (2n + 1)Pn (x) = (n + 1)Pn+1 (x) + nPn−1 (x)
′ ′
⇒ (2n + 1)(n + 1)Pn (x) = (n + 1)Pn+1 (x) − (n + 1)Pn−1 (x)
′ ′
⇒ (2n + 1)Pn (x) = Pn+1 (x) − Pn−1 (x).
′ ′
Recurrence Relation IV: (n + 1)Pn (x) = Pn+1 (x) − xPn (x).
Proof: Recurrence relations II:
′ ′
nPn (x) = xPn (x) − Pn−1 (x) (6)
Recurrence relations III:
′ ′
(2n + 1)Pn (x) = Pn+1 (x) − Pn−1 (x) (7)
(7)-(6) gives
′ ′
(n + 1)Pn (x) = Pn+1 (x) − xPn (x).
′
Recurrence Relation V: (x2 − 1)Pn (x) = n(xPn (x) − Pn−1 (x)).
Proof: Recurrence relations II:
′ ′
nPn (x) = xPn (x) − Pn−1 (x)
′ ′
nxPn (x) = x2 Pn (x) − xPn−1 (x) (multiplying by x) (8)
Recurrence relations IV:
′ ′
(n + 1)Pn (x) = Pn+1 (x) − xPn (x)
′ ′
⇒ nPn−1 (x) = Pn (x) − xPn−1 (x) (replacing n by (n-1)) (9)
′
Eliminating xPn−1 (x) from (8) and (9), we get,
′
nxPn (x) − nPn−1 (x) = (x2 − 1)Pn+1 (x)
′
(x2 − 1)Pn (x) = n(xPn (x) − Pn−1 (x)).
3
Recurrence Relation VI:
′
(1 − x2 )Pn (x) = (n + 1)(xPn (x) − Pn+1 (x)).
Proof: Recurrence relations I:
Recurrence relations V:
′
(x2 − 1)Pn (x) = n(xPn (x) − Pn−1 (x))
′
2
(x − 1)Pn (x) = (n + 1)(Pn+1 (x) − xPn (x)) (using (10))
4
Example 2. Show that
′
(2n + 1)(x2 − 1)Pn (x) = n(n + 1)(Pn+1 (x) + Pn−1 (x))
′ ′
Example 3. Show that Pn+1 (x) + Pn (x) = P0 + 3P1 + ... + (2n + 1)Pn .
Solution: Recurrence relation III:
′ ′
(2n + 1)Pn (x) = Pn+1 (x) − Pn−1 (x) (14)
Adding we get,
′ ′ ′ ′
3P1 + 5P2 + 7P3 + ... + (2n + 1)Pn = −P0 − P1 + Pn + Pn+1 (15)
′ ′
Since P0 (x) = 1 and P1 (x) = x, we get, P0 (x) = 0 and P1 (x) = 1 = P0 (x).
Substituting these values in (15), we get,
′ ′
3P1 + 5P2 + 7P3 + ... + (2n + 1)Pn = −0 − P0 + Pn + Pn+1
′ ′
⇒ Pn (x) + Pn+1 (x) = P0 + 3P1 + 5P2 + 7P3 + ... + (2n + 1)Pn
5
Example 4. Show that
′
xPn (x) = nPn + (2n − 3)Pn−2 + (2n − 7)Pn−4 + ...
Solution:
′ ′
Recurrence relation II: nPn (x) = xPn (x) − Pn−1 (x) (16)
′ ′
⇒ xPn (x) = nPn (x) + Pn−1 (x) (17)
′ ′
Recurrence relation III: (2n + 1)Pn (x) = Pn+1 (x) − Pn−1 (x) (18)