23.8 KB · commit e092022
← Previous: T-03.04 Bessel Recurrence & Half-Integer Orders | 🏠 Index | Next: T-03.06 Legendre Generating Function & Values →
Section: B | Priority: 🔴 Critical / Must | Exam Frequency: 3/5 Years (CT, 2018, 2020)
Sources: M.D. Raisinghania (Advanced Differential Equations, Ch. 9, pp. 1 to 10, 26 to 35), Shepley Ross (Differential Equations, Ch. 4, pp. 45 to 52), Fahad Class Notes Section 3 (Lectures 04 to 05), Oishe Class Notes Section 3, Jaipal Sir Video Lectures 06 & 08
Legendre's equation is the second great special differential equation of Section B. While Bessel functions govern problems in cylindrical geometry, Legendre functions govern problems with spherical symmetry. Professor Zakir Hossain drilled the complete proof of Rodrigues' formula across three consecutive lectures. He placed it directly on the class test.
Rodrigues' formula is a powerful shortcut. Instead of carrying out a painful Frobenius series summation to find Pn(x), you take n derivatives of (x2−1)n. This single formula gives you the foundation for all Legendre generating functions, orthogonality integrals, and recurrence relations.
Legendre's Differential Equation:
"The differential equation of the form (1−x2)dx2d2y−2xdxdy+n(n+1)y=0 is called Legendre's equation, where n is a non-negative constant (usually a positive integer)."
Source: M.D. Raisinghania, Advanced Differential Equations, Chapter 9, Article 9.1, p. 1
💡 In Plain Words: This equation models physical systems with spherical symmetry. When solving Laplace's equation in spherical coordinates, substituting x=cosθ turns the polar angle equation into this ODE.
Legendre Polynomial Pn(x):
"When n is a positive integer, the series solution of Legendre's equation in descending powers of x terminates and yields a polynomial of degree n. Standardizing so that Pn(1)=1, we obtain the Legendre polynomial of degree n, denoted by Pn(x)."
Source: M.D. Raisinghania, Advanced Differential Equations, Chapter 9, Article 9.1, p. 2
💡 In Plain Words: Pn(x) is the well-behaved polynomial solution on the interval [−1,1]. While other solutions blow up to infinity at the poles (x=±1), Legendre polynomials stay completely smooth and finite everywhere.
Rodrigues' Formula:
"Rodrigues' formula provides an explicit differential expression for the Legendre polynomial of degree n: Pn(x)=2nn!1dxndn[(x2−1)n]."
Source: Fahad Class Notes, Lecture 04, p. 14
💡 In Plain Words: Rodrigues' formula is a machine that manufactures Legendre polynomials by repeated differentiation. Instead of calculating long series summations, you simply take the n-th derivative of (x2−1)n.
Leibniz's Theorem for n-th Derivative of a Product:
"If u(x) and w(x) possess derivatives up to order m, then: dxmdm(uw)=∑r=0m(rm)dxm−rdm−rudxrdrw."
Source: Fahad Class Notes, Lecture 05, p. 15
💡 In Plain Words: This extends the standard product rule to higher derivatives. It looks just like the binomial formula, replacing powers with derivatives.
Gravitational fields around a planet, electrostatic potentials around a charged sphere, and heat flowing through a ball all share spherical symmetry.
In spherical coordinates (r,θ,ϕ), the polar angle θ measures latitude from the north pole (θ=0) to the south pole (θ=π). When you separate variables in Laplace's equation ∇2V=0, the equation for polar angle θ involves cosθ and sinθ. Substituting x=cosθ transforms this angular ODE into Legendre's differential equation.
Here is the physical catch: θ ranges from 0 to π, so x=cosθ ranges from −1 to +1. Most solutions to Legendre's equation diverge to infinity at the north pole (x=1) or south pole (x=−1). But real physical potentials cannot be infinite at the poles! The only solutions that stay bounded and finite at both poles are polynomials. This physical requirement forces the constant to equal n(n+1) where n=0,1,2,… is an integer.
How do we find these polynomials without computing infinite Frobenius series every time?
Rodrigues discovered a stunning shortcut: differentiate the base polynomial v=(x2−1)n exactly n times.
The proof relies on a neat trick using Leibniz's product rule:
Legendre's differential equation is:
(1−x2)y′′−2xy′+n(n+1)y=0Divide by (1−x2) to obtain standard monic form:
y′′−1−x22xy′+1−x2n(n+1)y=0Here:
Notice:
Notice the first two terms form an exact derivative:
dxd[(1−x2)dxdy]=(1−x2)dx2d2y−2xdxdySo Legendre's equation can be rewritten as:
dxd[(1−x2)dxdy]+n(n+1)y=0This self-adjoint form is the foundation for proving orthogonality.
Solve by expanding in descending powers of x:
y=m=0∑∞cmxk−m,c0=0Why expand in descending powers? It immediately isolates the highest power xn, allowing us to spot when an infinite series truncates into a polynomial.
Substitute into Legendre's equation:
(1−x2)m=0∑∞cm(k−m)(k−m−1)xk−m−2−2xm=0∑∞cm(k−m)xk−m−1+n(n+1)m=0∑∞cmxk−m=0Group matching powers of x:
m=0∑∞cm(k−m)(k−m−1)xk−m−2−m=0∑∞cm[(k−m)(k−m+1)−n(n+1)]xk−m=0Factor the bracket:
(k−m)(k−m+1)−n(n+1)=(k−m−n)(k−m+n+1)The identity becomes:
m=0∑∞cm(k−m)(k−m−1)xk−m−2−m=0∑∞cm(k−m−n)(k−m+n+1)xk−m=0Equating the highest power xk (m=0) to zero:
c0(k−n)(k+n+1)=0Since c0=0:
k=nork=−(n+1)Equating the coefficient of xk−1 (m=1) to zero:
c1(k−1−n)(k+n)=0⟹c1=0Equating the coefficient of xk−m to zero:
cm=−(n−k+m)(n+k−m+1)(k−m+2)(k−m+1)cm−2For k=n:
cm=−m(2n−m+1)(n−m+2)(n−m+1)cm−2Because c1=0, all odd coefficients vanish: c1=c3=c5=⋯=0.
For even indices m=2,4,6,…:
Notice what happens when n is a non-negative integer:
Eventually, the factor (n−m+2) reaches zero. That single zero cuts off all subsequent terms. The infinite series truncates into a polynomial of exact degree n!
Standardizing with c0=n!1⋅3⋅5…(2n−1) ensures that Pn(1)=1. The resulting polynomial is:
where [n/2] denotes the integer part of n/2.
We now prove the central identity:
Pn(x)=2nn!1dxndn[(x2−1)n]Let:
v=(x2−1)n(1)Differentiate once with respect to x:
v1=dxdv=n(x2−1)n−1⋅2x=2nx(x2−1)n−1Multiply both sides by (x2−1) to eliminate the negative power and restore v:
(x2−1)v1=2nx(x2−1)n=2nxvRearrange into standard form:
(1−x2)v1+2nxv=0(2)Why differentiate again? Legendre's equation requires second derivatives. Differentiating equation (2) brings in v2:
dxd[(1−x2)v1]+2ndxd[xv]=0Apply the product rule:
(1−x2)v2−2xv1+2n(xv1+v)=0Group like terms:
(1−x2)v2+2(n−1)xv1+2nv=0(3)We apply Leibniz's theorem to differentiate each term of equation (3) exactly n times. Notice that (1−x2) is only quadratic, so all its derivatives beyond the second are zero:
Now combine all three terms:
[(1−x2)vn+2−2nxvn+1−n(n−1)vn]+[2(n−1)xvn+1+2n(n−1)vn]+2nvn=0Collect the coefficients:
The entire equation simplifies to:
(1−x2)vn+2−2xvn+1+n(n+1)vn=0Write vn=dxndnv. Then vn+1=dxdvn and vn+2=dx2d2vn:
(1−x2)dx2d2vn−2xdxdvn+n(n+1)vn=0(4)Equation (4) is Legendre's differential equation with unknown vn.
The function v=(x2−1)n is a polynomial of degree 2n.
Differentiating v exactly n times gives a polynomial vn of degree 2n−n=n.
Legendre's equation has only one linearly independent polynomial solution of degree n, which is Pn(x).
Therefore, Pn(x) must be proportional to vn:
where C is a constant to be determined.
Factor (x2−1)n=(x−1)n(x+1)n. Apply Leibniz's theorem:
vn=dxndn[(x−1)n(x+1)n]=r=0∑n(rn)dxn−rdn−r(x−1)ndxrdr(x+1)nWrite out the expansion:
vn=(x+1)ndxndn(x−1)n+(1n)dxd(x+1)ndxn−1dn−1(x−1)n+⋯+(x−1)ndxndn(x+1)nNow evaluate at x=1:
Substitute x=1:
vn(1)=(1+1)n⋅n!+0+0+⋯=2nn!By standard definition, Pn(1)=1. From equation (5):
Pn(1)=Cvn(1)⟹1=C⋅2nn!⟹C=2nn!1Substitute C back into equation (5):
Pn(x)=2nn!1dxndn[(x2−1)n]This completes the proof.
Using Rodrigues' formula, we compute P0(x) through P4(x) step by step:
Successive derivatives:
Divide by 384:
P4(x)=3841680x4−1440x2+144=38448(35x4−30x2+3)=81(35x4−30x2+3) P4(x)=81(35x4−30x2+3)Problem Statement:
(a) State and prove Rodrigues' formula for Legendre polynomials.
(b) Use Rodrigues' formula to evaluate P2(x) and P3(x).
(c) Express the polynomial f(x)=4x3−2x2−3x+8 as a linear combination of Legendre polynomials.
💡 Strategy & Mental Roadmap: When an exam asks to prove Rodrigues' formula or express a polynomial in the Legendre basis, follow this 3-step battle plan:
Complete Step-by-Step Solution:
State the formula:
Pn(x)=2nn!1dxndn[(x2−1)n]Carry out Steps 1 through 5 from Section 3 of Core Theory:
From Section 4:
P2(x)=81dx2d2(x4−2x2+1)=81(12x2−4)=21(3x2−1) P3(x)=481dx3d3(x6−3x4+3x2−1)=481(120x3−72x)=21(5x3−3x)💡 Teacher Tip: Always check polynomial parity. Even orders (P2) contain only even powers of x. Odd orders (P3) contain only odd powers. In addition, check Pn(1)=1 to catch any coefficient error early.
We list the known polynomials:
💡 Notice this clean substitution order: Always start with the highest power (x3). Replace it using P3(x), then replace x2 using P2(x), and finally substitute x=P1(x) and 1=P0(x).
Express x3:
4x3=4[52P3(x)+53P1(x)]=58P3(x)+512P1(x)Express −2x2:
−2x2=−2[32P2(x)+31P0(x)]=−34P2(x)−32P0(x)Express −3x:
−3x=−3P1(x)Express constant 8:
8=8P0(x)Now sum all components together:
f(x)=58P3(x)−34P2(x)+(512−3)P1(x)+(8−32)P0(x)Simplify the coefficients:
Therefore:
f(x)=58P3(x)−34P2(x)−53P1(x)+322P0(x)| Year / Source | Marks | Exam Question Summary | Core Technique Required | Key Result |
|---|---|---|---|---|
| Class Test 02 | 7 | State & prove Rodrigues' formula | Set v=(x2−1)n; differentiate twice; apply Leibniz n times; evaluate at x=1 | Pn(x)=2nn!1dxndn[(x2−1)n] |
| Standard Final | 5 | Compute P0 through P4 explicitly | Apply Rodrigues differential operator to (x2−1)n for n=0,1,2,3,4 | P0=1,P1=x,P2=21(3x2−1),… |
| Class Lecture | 5 | Express x3+2x2−x−3 in Legendre polynomials | Replace highest powers of xk sequentially using known Pk(x) formulas | Linear combination ∑ckPk(x) |
| Exam Variant | 4 | Prove that Pn(−1)=(−1)n | Use parity of (x2−1)n under x→−x in Rodrigues' formula | Pn(−1)=(−1)n |
Appeared: Class Test 02 [7 Marks]
Question:
State and prove Rodrigues' formula for Legendre polynomials using Leibniz's theorem.
Full Answer:
Statement:
For any non-negative integer n, the Legendre polynomial Pn(x) is given by:
Proof:
Let v=(x2−1)n. Differentiating once with respect to x:
Differentiate once again:
(1−x2)v2−2xv1+2n(xv1+v)=0⟹(1−x2)v2+2(n−1)xv1+2nv=0Differentiate n times using Leibniz's theorem:
Summing these terms gives:
(1−x2)vn+2−2xvn+1+n(n+1)vn=0Setting y=vn=dxndnv:
(1−x2)y′′−2xy′+n(n+1)y=0This is Legendre's differential equation. Since vn is a polynomial of degree n, it must be proportional to Pn(x):
Pn(x)=Cvn=Cdxndn[(x2−1)n]To find C, factor (x2−1)n=(x−1)n(x+1)n and apply Leibniz's formula at x=1:
vn(1)=dxndn[(x−1)n(x+1)n]x=1=(1+1)n⋅n!=2nn!Since Pn(1)=1:
1=C(2nn!)⟹C=2nn!1 Pn(x)=2nn!1dxndn[(x2−1)n]Appeared: Classroom Theoretical Problem [4 Marks]
Question:
Using Rodrigues' formula, prove that Pn(−x)=(−1)nPn(x), and deduce the value of Pn(−1).
Full Answer:
From Rodrigues' formula:
Pn(x)=2nn!1dxndn[(x2−1)n]Replace x with −x. Note that d(−x)d=−dxd, so d(−x)ndn=(−1)ndxndn:
Pn(−x)=2nn!1(−1)ndxndn[((−x)2−1)n]Since (−x)2=x2, the base function ((−x)2−1)n=(x2−1)n is unchanged:
Pn(−x)=(−1)n{2nn!1dxndn[(x2−1)n]}=(−1)nPn(x)Now evaluate at x=1. Since Pn(1)=1:
Pn(−1)=(−1)nPn(1)=(−1)n⋅1=(−1)n Pn(−x)=(−1)nPn(x),Pn(−1)=(−1)n❌ Common Trap: Differentiating n+1 times instead of n times in step 3 of the Rodrigues proof.
❌ Common Trap: Expanding (x2−1)n with the binomial theorem to determine the constant C.
❌ Common Trap: Failing to verify parity on explicit polynomials.
❌ Common Trap: Skipping the endpoint sanity check Pn(1)=1.
← Previous: T-03.04 Bessel Recurrence & Half-Integer Orders | 🏠 Index | Next: T-03.06 Legendre Generating Function & Values →