5.2 KB · commit e092022
| title | Module 3.06: Generating Function for Legendre Polynomials and Direct Extraction |
|---|---|
| module | 3.06 |
| style | explanation |
← 3.05 Legendre's Equation & Rodrigues' Formula · Index · 3.07 Legendre Orthogonality & Normalization →
Question: Define generating function of Legendre's polynomial. Using the generating function determine P2(x), P3(x), P5(x) and P6(x).
What are we doing? We define the generating function for Legendre polynomials. Then we treat 2xz−z2 as a single variable u, expand (1−u)−1/2 with the generalized binomial theorem, and collect coefficients of zn.
Solution:
The generating function for Legendre polynomials is:
(1−2xz+z2)−1/2=n=0∑∞znPn(x),∣z∣<1,∣x∣≤1Expand (1−2xz+z2)−1/2 in ascending powers of z. The coefficient of zn defines the Legendre polynomial of degree n, denoted by Pn(x).
Why is this function called a generating function? It packs an infinite family of polynomials into a single algebraic formula. You extract any polynomial Pn(x) simply by finding the coefficient of zn.
Write the generating function in the form [1−u]−1/2, where u=2xz−z2=z(2x−z):
(1−u)−1/2=1+21u+2⋅41⋅3u2+2⋅4⋅61⋅3⋅5u3+2⋅4⋅6⋅81⋅3⋅5⋅7u4+2⋅4⋅6⋅8⋅101⋅3⋅5⋅7⋅9u5+2⋅4⋅6⋅8⋅10⋅121⋅3⋅5⋅7⋅9⋅11u6+… (1−u)−1/2=1+21u+83u2+165u3+12835u4+25663u5+1024231u6+…Why factor u=z(2x−z)? Because u carries an explicit factor of z, the power uk begins with zk. To find the coefficient of zn, we only need to expand terms up to un. Higher powers contain only zn+1 and above.
Expand each relevant power of u=z(2x−z):
u=2xz−z2 u2=4x2z2−4xz3+z4 u3=z3(8x3−12x2z+6xz2−z3)=8x3z3−12x2z4+6xz5−z6 u4=z4(16x4−32x3z+24x2z2−…)=16x4z4−32x3z5+24x2z6−… u5=z5(32x5−80x4z+…)=32x5z5−80x4z6+… u6=z6(64x6−…)=64x6z6−…Extract the coefficient of z2:
Extract the coefficient of z3:
Watch out: Notice that P2(x) has only even powers of x, while P3(x) has only odd powers of x. Legendre polynomials always share the parity of their degree n. If an odd power shows up in P2(x), recheck your signs.
Extract the coefficient of z5:
Combine these terms:
P5(x)=863x5−870x3+815x=81(63x5−70x3+15x)Extract the coefficient of z6:
Combine these terms:
P6(x)=16231x6−16315x4+16105x2−165=161(231x6−315x4+105x2−5)P2(x)P3(x)P5(x)P6(x)=21(3x2−1)=21(5x3−3x)=81(63x5−70x3+15x)=161(231x6−315x4+105x2−5)Quick Verification Trick: Every Legendre polynomial satisfies Pn(1)=1. Let us check P5(1) and P6(1): P5(1)=81(63−70+15)=88=1. P6(1)=161(231−315+105−5)=1616=1. Both match perfectly.
Key Takeaway: The generating function (1−2xz+z2)−1/2 produces all Legendre polynomials. Expanding via u=z(2x−z) isolates each Pn(x) as a finite combination of binomial coefficients. Always verify using Pn(1)=1.
← 3.05 Legendre's Equation & Rodrigues' Formula · Index · 3.07 Legendre Orthogonality & Normalization →