4.6.20 · D2Ordinary Differential Equations

Visual walkthrough — Legendre's equation and Legendre polynomials (intro)

2,011 words9 min readBack to topic

We build everything. If a symbol appears, it was drawn first.


Step 1 — The equation, read like a sentence

WHAT. is an unknown function we want to find. is its slope (how fast it rises), its curvature (how fast the slope itself changes). is a number we choose in advance — think of it as a dial. The whole line says: at every point , these three pieces must cancel to zero.

WHY read it this way. Notice the coefficient in front of is . At that equals — perfectly healthy. At it equals — the curvature term vanishes, and the equation "loses control" there. Those two spots, , are the poles of the sphere in the physics. Everything dramatic in this topic happens because of that vanishing.

PICTURE. The curve of over the interval — a dome that touches zero exactly at the two ends.

Figure — Legendre's equation and Legendre polynomials (intro)
Which -values make the coefficient vanish?
, the two poles.

Step 2 — Guess a power series, and say why we're allowed to

WHAT. Each is just a number (a knob). Turn the knobs and you get different functions. Our job: find which knob-settings make the equation hold.

WHY a series, and why here. A smooth function near a "healthy" point can always be written as such a sum — that's the Power Series / Frobenius Method idea. We are allowed to use a plain Taylor series (no fractional powers) precisely because is an ordinary point — the coefficient is nonzero there (Step 1). Had we expanded around instead, we'd need the heavier Frobenius machinery.

WHY these tools — derivatives of a sum. To plug into the equation we need and . Differentiating a power term is the one rule we need: . So Each derivative lowers the power and multiplies by the old power — remember that, it is the whole engine.

PICTURE. A stack of the basic bricks , each scaled by its knob , adding up to a wiggly curve.

Figure — Legendre's equation and Legendre polynomials (intro)

Step 3 — Substitute, and line up every term at the same power

WHAT. Push the three pieces into the equation:

WHY line things up. For a sum of powers to be zero for every , the weight of each individual power must be zero on its own. (You can't cancel an against an — they're independent bricks.) So we must rewrite every sum so it reads "coefficient times ", the same power, then read off that coefficient.

WHAT we do to each piece — term by term.

  • : the power is , two too low. Relabel by letting the dummy index jump up two () so the power becomes :
  • — already , leave it.
  • — already .
  • — already .

PICTURE. Four ribbons of terms, three of them already parked on the "" shelf, the first one sliding two shelves over to join them.

Figure — Legendre's equation and Legendre polynomials (intro)

Step 4 — Read off the coefficient of : the recurrence is born

WHAT. Collect everything multiplying and set it to zero:

WHY. This is the "weight of is zero" rule from Step 3, made concrete. Now gather the three terms: because .

PICTURE. A conveyor belt: feed in , the ratio-box multiplies it, out comes — two steps down the line, never one.

Figure — Legendre's equation and Legendre polynomials (intro)

Step 5 — Two independent chains: even and odd

WHAT. The general solution is

WHY this matters. Because the chains are separate, a solution can be purely even (set ) or purely odd (set ). That is exactly the parity fact showing up at the source.

PICTURE. Two ladders side by side — a green even ladder () and an orange odd ladder () — each rung feeding the one two above it.

Figure — Legendre's equation and Legendre polynomials (intro)

Step 6 — The miracle: for integer , one chain dies

WHAT happens. If makes the numerator zero, then . And since the chain multiplies forward, , , … — every coefficient beyond in that parity chain vanishes. The infinite series stops. It becomes a polynomial of degree exactly .

WHY this is the whole point. For an integer dial , one of the two chains truncates into a tidy degree- polynomial — that is the ==Legendre polynomial ==. For a non-integer , the numerator never hits zero, the series runs forever, and (it can be shown) it blows up at the poles . Physics demands a finite temperature/potential at the poles, so it forces . This is the selection rule.

PICTURE. The coefficient chain marching along, each bar shorter than the last, then — at — snapping to zero and staying flat forever after.

Figure — Legendre's equation and Legendre polynomials (intro)
Why does the series terminate when is a non-negative integer?
At the numerator , so and all higher same-parity coefficients die — leaving a degree- polynomial.

Step 7 — Turning the crank: build from scratch

WHY normalize. One free knob remains — the ODE alone can't fix its size. We pin it with the universal convention : Hence

PICTURE. The parabola over : dips to at the centre, rises to hit exactly at both ends (the normalization at work).

Figure — Legendre's equation and Legendre polynomials (intro)

Step 8 — The edge case we must not forget: the other solution

WHAT does. It does not terminate, and as it grows without bound — a logarithmic blow-up at the poles. Concretely , which shoots to as .

WHY we throw it away. Temperature, potential, and gravity must stay finite at the poles of the sphere. violates that. So of the two mathematical solutions, physics keeps the bounded and discards the wild . This is the same "bounded-at-poles" rule that forced to be an integer.

PICTURE. Two curves on : the calm, finite (flat) and the runaway diving to at the ends.

Figure — Legendre's equation and Legendre polynomials (intro)

The one-picture summary

Figure — Legendre's equation and Legendre polynomials (intro)

Everything on one canvas: the dome vanishing at the poles → series guess → the two-step recurrence → the even/odd chains → truncation at → the polynomial , with its wild twin tossed aside.

Recall Feynman retelling — the whole walkthrough in plain words

We wanted a function that obeys one fussy rule everywhere on a line from to . Instead of guessing the function outright, we said "it's some mix of the simplest building bricks — a flat bit, a slope bit, a bend bit, and so on" and left the amounts as knobs. Plugging that mix into the rule and demanding it hold for every point forced a tidy law: the knob two steps ahead is a fixed multiple of the current one. So the flat/bend/quartic knobs form one family, and the slope/cubic knobs form another. Now the magic: whenever our chosen dial is a whole number, that multiplier hits exactly zero right at step — so the chain of knobs suddenly stops. The endless mix collapses into a short, neat polynomial: a Legendre polynomial. And the other family of solutions? It never stops, and it explodes at the two ends of the line — the poles of a sphere. Since real temperatures and voltages can't be infinite at the poles, nature keeps the polite polynomial and throws the screaming one away. That single rule of "stay finite at the poles" is what secretly demands be a whole number in the first place.


Connections

  • Power Series / Frobenius Method — the machinery behind Steps 2–4.
  • Sturm-Liouville Theory — why the surviving come out mutually orthogonal.
  • Laplace's Equation in Spherical Coordinates — where the dial and are born.
  • Fourier Series — same "expand in orthogonal building blocks" spirit.
  • Generating Functions — a slick alternate route to the same .
  • Associated Legendre Functions & Spherical Harmonics — the next chapter, when the sphere also varies around the equator.