21.0 KB · commit e092022
← Previous: T-03.07 Legendre Orthogonality & Normalization | 🏠 Index | Next: Master Formula Sheet →
Section: B | Priority: 🟠 High | Exam Frequency: 3/5 Years (CT, 2017, 2019)
Sources: M.D. Raisinghania (Advanced Differential Equations, Ch. 9, pp. 16 to 25), Shepley Ross (Differential Equations, Ch. 4, pp. 50 to 55), Fahad Class Notes Section 3 (Lecture 05), Oishe Class Notes Section 3, Jaipal Sir Video Lectures 10, 11, & 12
While generating functions give you an algebraic bird's-eye view, recurrence relations give you the direct computational engine for Legendre polynomials. They allow you to differentiate polynomials, lower their degrees, and evaluate complicated integrals without taking messy derivatives.
Professor Zakir Hossain tests recurrence relations in theoretical sub-parts of Questions 5 and 6. Common questions ask you to prove Bonnet's three-term relation. They also ask for differential relations or derivative values like Pn′(1)=21n(n+1). Knowing how to move between the five recurrence formulas is essential for earning full marks.
Bonnet's Recurrence Formula (Recurrence Relation I):
"Connecting three consecutive Legendre polynomials of degrees n+1,n, and n−1: (n+1)Pn+1(x)=(2n+1)xPn(x)−nPn−1(x),n≥1 or equivalently nPn(x)=(2n−1)xPn−1(x)−(n−1)Pn−2(x),n≥2."
Source: M.D. Raisinghania, Advanced Differential Equations, Chapter 9, Article 9.9, p. 16
💡 In Plain Words: This three-term relation lets you climb up the ladder of polynomials. If you know the two previous polynomials, you can calculate the next one through simple algebra without doing any calculus.
Mixed Differential Recurrence Relations:
"Connecting Legendre polynomials and their first derivatives:
- nPn=xPn′−Pn−1′
- (2n+1)Pn=Pn+1′−Pn−1′
- (n+1)Pn=Pn+1′−xPn′
- (1−x2)Pn′=n(Pn−1−xPn)"
Source: M.D. Raisinghania, Advanced Differential Equations, Chapter 9, Article 9.9, p. 16
💡 In Plain Words: These formulas connect a polynomial to its derivatives and neighboring polynomials. They let you replace difficult derivative terms with simple lower-order polynomials.
Endpoint Derivative Values:
"At the boundary point x=1, the first derivative of the Legendre polynomial satisfies: Pn′(1)=21n(n+1). At the boundary point x=−1: Pn′(−1)=(−1)n−121n(n+1)."
Source: Fahad Class Notes, Lecture 05, p. 22
💡 In Plain Words: At the right boundary x=1, the slope of Pn(x) depends only on its degree n through the simple formula 21n(n+1). At x=−1, the slope takes the exact same magnitude but alternates in sign.
How do recurrence relations come from a single generating function?
Think of the generating function G(x,z)=(1−2xz+z2)−1/2 as a compact container that packs all Legendre polynomials together:
G(x,z)=n=0∑∞znPn(x)The auxiliary variable z acts as an index tracker. Its power zn flags the degree of each polynomial.
When you differentiate G(x,z) with respect to z, the power rule pulls down the index n:
∂z∂G=n=0∑∞nzn−1Pn(x)This operation shifts powers of z and introduces the factor n. Multiplying through by the base polynomial (1−2xz+z2) balances terms of degrees n−1, n, and n+1. Equating like powers of z then produces a relation linking Pn−1, Pn, and Pn+1. That is Bonnet's recurrence relation.
When you differentiate with respect to x, the variable z remains untouched while Pn(x) becomes Pn′(x):
∂x∂G=n=0∑∞znPn′(x)By combining partial derivatives with respect to z and x, we can eliminate the radical (1−2xz+z2)−3/2 entirely. Equating powers of z then yields equations that link the polynomials directly to their derivatives. Differentiating the generating function turns calculus into simple algebra on polynomial indices.
All recurrence relations stem from the generating function:
(1−2xz+z2)−1/2=n=0∑∞znPn(x)(G)flowchart TD
G["Generating Function G(x, z)"]
R1["Recurrence I: Pure Polynomial: (n + 1)P_{n+1} = (2n + 1)x P_n - n P_{n-1}"]
R2["Recurrence II: Differential Form: n P_n = x P_n' - P_{n-1}'"]
R3["Recurrence III: Derivative Difference: (2n + 1)P_n = P_{n+1}' - P_{n-1}'"]
R4["Recurrence IV: Forward Derivative: (n + 1)P_n = P_{n+1}' - x P_n'"]
R5["Recurrence V: Self-Contained Derivative: (1 - x^2)P_n' = n(P_{n-1} - x P_n)"]
G -->|"Differentiate w.r.t. z"| R1
G -->|"Differentiate w.r.t. z and x"| R2
R1 -->|"Differentiate w.r.t. x and combine with II"| R3
R2 -->|"Subtract II from III"| R4
R3 -->|"Subtract II from III"| R4
R2 -->|"Eliminate P'_{n-1} using IV"| R5
R4 -->|"Eliminate P'_{n-1} using IV"| R5
Proof:
Start from the generating function identity:
We differentiate both sides with respect to z to pull down the index n from zn:
−21(1−2xz+z2)−3/2(−2x+2z)=n=0∑∞nzn−1Pn(x)Simplify the factor −21(−2x+2z)=(x−z):
(x−z)(1−2xz+z2)−3/2=n=0∑∞nzn−1Pn(x)Notice that differentiating created a power of −3/2. Multiplying both sides by (1−2xz+z2) restores the power −1/2, recovering our original generating function:
(x−z)(1−2xz+z2)−1/2=(1−2xz+z2)n=0∑∞nzn−1Pn(x)Substitute (1−2xz+z2)−1/2=∑n=0∞znPn(x) from equation (1):
(x−z)n=0∑∞znPn(x)=(1−2xz+z2)n=0∑∞nzn−1Pn(x)Expand both sides into separate summations:
xn=0∑∞znPn−n=0∑∞zn+1Pn=n=0∑∞nzn−1Pn−2xn=0∑∞nznPn+n=0∑∞nzn+1PnNow equate the coefficient of zn from both sides. Notice the index shifts: zn−1 yields (n+1)Pn+1, zn yields nPn, and zn+1 yields (n−1)Pn−1:
Equating both expressions:
xPn−Pn−1=(n+1)Pn+1−2nxPn+(n−1)Pn−1Group matching polynomials:
(n+1)Pn+1=xPn+2nxPn−Pn−1−(n−1)Pn−1 (n+1)Pn+1=(2n+1)xPn−nPn−1 (n+1)Pn+1(x)=(2n+1)xPn(x)−nPn−1(x)Proof:
Differentiate the generating function with respect to z:
Now differentiate the generating function with respect to x:
−21(1−2xz+z2)−3/2(−2z)=n=0∑∞znPn′(x) z(1−2xz+z2)−3/2=n=0∑∞znPn′(x)(3)Multiply equation (3) by (x−z):
z(x−z)(1−2xz+z2)−3/2=(x−z)n=0∑∞znPn′(x)Substitute (x−z)(1−2xz+z2)−3/2=∑nzn−1Pn from equation (2):
zn=0∑∞nzn−1Pn=(x−z)n=0∑∞znPn′ n=0∑∞nznPn=xn=0∑∞znPn′−n=0∑∞zn+1Pn′Equate the coefficient of zn on both sides:
nPn(x)=xPn′(x)−Pn−1′(x)Proof:
Take Recurrence Relation I:
Differentiate both sides with respect to x:
(2n+1)xPn′+(2n+1)Pn=(n+1)Pn+1′+nPn−1′From Recurrence Relation II, isolate xPn′:
xPn′=nPn+Pn−1′Substitute this into the left side:
(2n+1)(nPn+Pn−1′)+(2n+1)Pn=(n+1)Pn+1′+nPn−1′Expand and group terms:
(2n+1)(n+1)Pn+(2n+1)Pn−1′=(n+1)Pn+1′+nPn−1′Move the Pn−1′ term to the right:
(2n+1)(n+1)Pn=(n+1)Pn+1′+nPn−1′−(2n+1)Pn−1′ (2n+1)(n+1)Pn=(n+1)Pn+1′−(n+1)Pn−1′Divide every term by (n+1):
(2n+1)Pn(x)=Pn+1′(x)−Pn−1′(x)Proof:
From Recurrence Relation II and Recurrence Relation III:
Subtract equation (II) from equation (III):
(2n+1)Pn−nPn=(Pn+1′−Pn−1′)−(xPn′−Pn−1′)The term −Pn−1′ cancels:
(n+1)Pn=Pn+1′−xPn′ (n+1)Pn(x)=Pn+1′(x)−xPn′(x)Proof:
From Recurrence Relation II:
In Recurrence Relation IV, replace index n with n−1:
nPn−1=Pn′−xPn−1′(2)Substitute Pn−1′ from equation (1) into equation (2):
nPn−1=Pn′−x(xPn′−nPn)Expand the right side:
nPn−1=Pn′−x2Pn′+nxPn=(1−x2)Pn′+nxPnRearrange for (1−x2)Pn′:
(1−x2)Pn′=nPn−1−nxPn=n(Pn−1−xPn) (1−x2)Pn′(x)=n[Pn−1(x)−xPn(x)]Bonnet's formula (Recurrence Relation I) lets you compute higher polynomials algebraically without taking derivatives:
Pn+1(x)=n+12n+1xPn(x)−n+1nPn−1(x)Start from the two seed polynomials: P0(x)=1 and P1(x)=x.
This algebraic chain takes seconds to execute in an exam script.
Examiners frequently ask for the values of Pn′(1) and Pn′(−1).
Recall Legendre's differential equation:
(1−x2)Pn′′(x)−2xPn′(x)+n(n+1)Pn(x)=0Evaluate this identity at x=1:
(1−12)Pn′′(1)−2(1)Pn′(1)+n(n+1)Pn(1)=0Since (1−12)=0 and Pn(1)=1:
0−2Pn′(1)+n(n+1)(1)=0 2Pn′(1)=n(n+1)⟹Pn′(1)=21n(n+1)Evaluate Legendre's differential equation at x=−1:
(1−(−1)2)Pn′′(−1)−2(−1)Pn′(−1)+n(n+1)Pn(−1)=0Since (1−(−1)2)=0 and Pn(−1)=(−1)n:
2Pn′(−1)+n(n+1)(−1)n=0 2Pn′(−1)=−n(n+1)(−1)n=(−1)n−1n(n+1) Pn′(−1)=(−1)n−121n(n+1)Problem Statement:
(a) Prove from the generating function that:
(b) Hence show that:
Pn′(1)=21n(n+1)💡 Strategy & Mental Roadmap: This 8-mark problem tests two core skills. In Part (a), prove Bonnet's formula by differentiating the generating function with respect to z, clearing the −3/2 power by multiplying by (1−2xz+z2), and collecting the coefficient of zn. In Part (b), do not use recurrence relations or differentiate polynomials term-by-term. Instead, evaluate Legendre's differential equation directly at x=1. The second derivative drops out because (1−12)=0, giving Pn′(1) in two lines.
Complete Step-by-Step Solution:
Let the generating function be:
(1−2xz+z2)−1/2=n=0∑∞znPn(x)(1)Differentiate with respect to z:
−21(1−2xz+z2)−3/2(−2x+2z)=n=0∑∞nzn−1Pn(x) (x−z)(1−2xz+z2)−3/2=n=0∑∞nzn−1Pn(x)Multiply both sides by (1−2xz+z2):
(x−z)(1−2xz+z2)−1/2=(1−2xz+z2)n=0∑∞nzn−1Pn(x)Teacher tip: Notice how multiplying by (1−2xz+z2) restores the original generating function on the left side. This avoids having to expand a fractional power twice.
Substitute (1−2xz+z2)−1/2=∑znPn:
(x−z)n=0∑∞znPn=(1−2xz+z2)n=0∑∞nzn−1PnExpand each product:
xn=0∑∞znPn−n=0∑∞zn+1Pn=n=0∑∞nzn−1Pn−2xn=0∑∞nznPn+n=0∑∞nzn+1PnTeacher tip: When collecting coefficients of zn, carefully align the shifted powers: zn−1 gives (n+1)Pn+1, zn gives nPn, and zn+1 gives (n−1)Pn−1.
Equate the coefficient of zn across the equation:
xPn−Pn−1=(n+1)Pn+1−2nxPn+(n−1)Pn−1Rearrange to isolate (n+1)Pn+1:
(n+1)Pn+1=(2n+1)xPn−nPn−1 (n+1)Pn+1(x)=(2n+1)xPn(x)−nPn−1(x)We evaluate Legendre's differential equation satisfied by Pn(x):
(1−x2)Pn′′(x)−2xPn′(x)+n(n+1)Pn(x)=0Substitute x=1:
(1−12)Pn′′(1)−2(1)Pn′(1)+n(n+1)Pn(1)=0Since 1−12=0 and Pn(1)=1:
−2Pn′(1)+n(n+1)=0Teacher tip: Notice how fast this boundary evaluation is. The factor (1−x2)=0 completely eliminates Pn′′(1). You never need to calculate what Pn′′(1) is.
2Pn′(1)=n(n+1)⟹Pn′(1)=21n(n+1)| Year / Source | Marks | Exam Question Summary | Core Technique Required | Key Result |
|---|---|---|---|---|
| Standard Exam | 5 | Prove (n+1)Pn+1=(2n+1)xPn−nPn−1 | Differentiate generating function w.r.t. z; equate zn | Bonnet's formula proved |
| Standard Exam | 4 | Prove nPn=xPn′−Pn−1′ | Differentiate generating function w.r.t. z and x; eliminate (1−2xz+z2)−3/2 | Recurrence II proved |
| Standard Exam | 4 | Prove (1−x2)Pn′=n(Pn−1−xPn) | Eliminate Pn−1′ between Recurrence II and IV | Recurrence V proved |
| Lecture Problem | 4 | Prove Pn′(1)=21n(n+1) | Substitute x=1 into Legendre's differential equation | Endpoint derivative value |
| Lecture Problem | 5 | Compute P2,P3,P4 using recurrence | Step forward with Bonnet's recurrence from P0=1,P1=x | Explicit polynomials |
Appeared: Standard Final Examination Problem [5 Marks]
Question:
Prove from the recurrence relations of Legendre polynomials that:
Full Answer:
We start with two established recurrence relations:
Replace n by n−1 in equation (2):
nPn−1(x)=Pn′(x)−xPn−1′(x)(3)From equation (1), solve for Pn−1′(x):
Pn−1′(x)=xPn′(x)−nPn(x)(4)Substitute this expression for Pn−1′(x) into equation (3):
nPn−1(x)=Pn′(x)−x[xPn′(x)−nPn(x)]Expand the right side:
nPn−1(x)=Pn′(x)−x2Pn′(x)+nxPn(x)Factor Pn′(x):
nPn−1(x)=(1−x2)Pn′(x)+nxPn(x)Rearrange to isolate (1−x2)Pn′(x):
(1−x2)Pn′(x)=nPn−1(x)−nxPn(x)=n[Pn−1(x)−xPn(x)] (1−x2)Pn′(x)=n[Pn−1(x)−xPn(x)]Appeared: Advanced Lecture Problem [5 Marks]
Question:
Evaluate the integral:
Full Answer:
From Recurrence Relation V, with index n+1:
(1−x2)Pn+1′(x)=(n+1)[Pn(x)−xPn+1(x)]Multiply by −1:
(x2−1)Pn+1′(x)=−(n+1)Pn(x)+(n+1)xPn+1(x)Substitute this into the integral:
I=∫−11[−(n+1)Pn(x)+(n+1)xPn+1(x)]Pn(x)dxSplit into two integrals:
I=−(n+1)∫−11[Pn(x)]2dx+(n+1)∫−11xPn+1(x)Pn(x)dxUse Recurrence Relation I to express xPn(x):
xPn(x)=2n+1n+1Pn+1(x)+2n+1nPn−1(x)Substitute xPn(x) into the second integral:
∫−11Pn+1(x)[2n+1n+1Pn+1(x)+2n+1nPn−1(x)]dxBy orthogonality, ∫−11Pn+1Pn−1dx=0. The second term becomes:
2n+1n+1∫−11[Pn+1(x)]2dx=2n+1n+1(2(n+1)+12)=(2n+1)(2n+3)2(n+1)The first term is:
−(n+1)(2n+12)=−2n+12(n+1)Combine both terms:
I=−2n+12(n+1)+(2n+1)(2n+3)2(n+1)2=2n+12(n+1)[−1+2n+3n+1] −1+2n+3n+1=2n+3−(2n+3)+(n+1)=2n+3−n−2=−2n+3n+2Multiply the factors:
I=−(2n+1)(2n+3)2(n+1)(n+2) ∫−11(x2−1)Pn+1′(x)Pn(x)dx=−(2n+1)(2n+3)2(n+1)(n+2)❌ Common Trap: Mixing up signs in Bonnet's formula, writing (n+1)Pn+1=(2n+1)xPn+nPn−1.
✔️ Correct Fix: Remember that (2n+1)xPn is the sum: (2n+1)xPn=(n+1)Pn+1+nPn−1. Therefore, (n+1)Pn+1=(2n+1)xPn−nPn−1.
💡 Why It Costs Marks: A sign error propagates through all polynomial stepping computations, destroying every subsequent order.
❌ Common Trap: Trying to prove Pn′(1)=21n(n+1) by differentiating the Frobenius power series term-by-term.
✔️ Correct Fix: Evaluate Legendre's differential equation (1−x2)Pn′′−2xPn′+n(n+1)Pn=0 at x=1. The second derivative vanishes immediately because (1−12)=0.
💡 Why It Costs Marks: Series differentiation is tedious, error-prone, and takes 15 minutes. The differential equation evaluation takes 2 lines.
❌ Common Trap: Using the exponent (−1)n instead of (−1)n−1 for Pn′(−1).
✔️ Correct Fix: Remember the alternating sign rule for derivatives: Pn′(−1)=(−1)n−121n(n+1). Test with n=1: P1′(x)=1, so P1′(−1)=1=(−1)021(1)(2).
💡 Why It Costs Marks: The wrong sign flips the derivative direction and loses full credit for the evaluation.
← Previous: T-03.07 Legendre Orthogonality & Normalization | 🏠 Index | Next: Master Formula Sheet →