WHY does x=cosθ appear? In spherical coordinates the angular equation has θ as the variable; substituting x=cosθ turns it into the form above, with x∈[−1,1]. The endpoints x=±1 are the poles of the sphere — and they are singular points of the ODE.
WHY a series?x=0 is an ordinary point (the coefficient of y′′, which is 1−x2, is nonzero there), so a plain Taylor series y=∑amxm converges and works.
Assume
y=∑m=0∞amxm.
Then y′=∑mamxm−1 and y′′=∑m(m−1)amxm−2. Plug in:
(1−x2)∑m(m−1)amxm−2−2x∑mamxm−1+n(n+1)∑amxm=0.
Why this step? We re-index each sum to the same power xm:
∑m(m−1)amxm−2→∑(m+2)(m+1)am+2xm (shift m→m+2).
The rest already carry xm.
Collecting the coefficient of xm and setting it to 0:
(m+2)(m+1)am+2−m(m−1)am−2mam+n(n+1)am=0.
Group the am terms: −m(m−1)−2m+n(n+1)=n(n+1)−m(m+1). So
Pn(−x)=(−1)nPn(x) — even n even function, odd n odd.
Pn(1)=1, Pn(−1)=(−1)n.
Degree of Pn is exactly n; leading coefficient 2n(n!)2(2n)!.
Recall Feynman: explain to a 12-year-old
Imagine you're describing the temperature all over a beach ball using only smooth "shape patterns." There's a flat pattern (same everywhere), a top-vs-bottom pattern, a "ring" pattern, and so on. Legendre polynomials are exactly those building-block patterns. The rule for finding them is one tidy equation, and the cool trick is: only the patterns that don't go crazy at the two poles of the ball are allowed. Add up the right amounts of these patterns and you can describe any smooth temperature on the ball.
Dekho, Legendre's equation tab aati hai jab aap koi physics problem solve karte ho jiska shape sphere (gol ball) jaisa hota hai — jaise planet ki gravity, ya kisi charge ka electric potential. Spherical coordinates use karte ho to angular part hamesha is ek hi equation mein convert ho jaata hai: (1−x2)y′′−2xy′+n(n+1)y=0, jahan x=cosθ hota hai. Yaani x humesha −1 se 1 ke beech, aur x=±1 matlab ball ke do poles.
Solve kaise karte hain? Hum y=∑amxm power series maan lete hain aur substitute karke ek recurrence relation nikaalte hain: am+2=(m+2)(m+1)m(m+1)−n(n+1)am. Sabse beautiful baat — jab n ek poora integer hota hai, to m=n par numerator zero ho jaata hai, series ruk jaati hai, aur humein ek saaf-suthra polynomial mil jaata hai. Isiliye P0=1, P1=x, P2=21(3x2−1), etc. Jo doosra solution Qn hota hai woh poles par phat jaata hai (unbounded), isliye usko physics mein chhod dete hain.
Kyun important hai? Kyunki yeh polynomials orthogonal hote hain: ∫−11PmPndx=2n+12δmn. Iska matlab inko Fourier series ki tarah use karke kisi bhi function ko inke combination mein likh sakte ho. Yeh property self-adjoint (Sturm-Liouville) form se aati hai. So short mein: ek equation yaad karo, terminate hone wali trick samjho, aur poora 3D physics ka angular part aapke haath mein.