4.6.17 · D2Ordinary Differential Equations

Visual walkthrough — Power series solutions — ordinary points

1,612 words7 min readBack to topic

We solve the honest little equation about the point , and we watch every symbol earn its place. See the parent Power Series Solutions — Ordinary Points for the full recipe and the mistake list.


Step 1 — What is a power series, and why guess one?

WHAT. A power series is just an infinitely long polynomial:

Read each symbol where it sits:

  • — the input, a slider you can move left/right from .
  • — a fixed number (unknown for now), the "weight" of the term .
  • — one bent curve; higher bends harder and only wakes up when is not tiny.
  • — "add all these bent curves together," starting from .

WHY guess this. Near , the powers pile up in size order: dominates, then , then , ... So the first few numbers decide the shape near the origin. If we can find those numbers, we know the curve. A smooth curve = a stack of these simple pieces.

PICTURE. Watch how adding one more term nudges the curve closer to a real function.

Figure — Power series solutions — ordinary points

Step 2 — What differentiation does to the stack

WHAT. To use the equation we need , the second derivative (how the slope itself changes — the "curviness"). Differentiating one term uses the power rule:

Term by term:

  • (the front factor) — falls down from the exponent and multiplies the coefficient.
  • — the exponent drops by one, so the whole series shifts down one power.

Do it twice:

WHY the start index moves. In the term was the constant ; its derivative is , so it drops out — the sum now starts at . In the and terms both die, so it starts at . The lower limit is not decoration; forgetting it corrupts your first coefficients (see the parent's re-indexing mistake).

PICTURE. Each derivative slides the coefficient labels one slot to the left and scales them.

Figure — Power series solutions — ordinary points

Step 3 — Substitute: turn the ODE into a sum-equals-zero

WHAT. The equation says . Drop in our two series:

  • Left sum — carries powers but written as .
  • Right sum — carries the same powers but written as .
  • — this must hold for every value of on the slider, not just one.

WHY this is progress. A differential equation (about slopes and curviness) has become a statement about a single infinite sum being zero. That is an algebra problem now.

PICTURE. The two sums are two rows of boxes; they carry the same powers but with mismatched labels .

Figure — Power series solutions — ordinary points

Step 4 — Re-index so both rows count the same power

WHAT. In the first sum the power is ; rename the dummy counter with , i.e. . Wherever an appears, replace it:

  • in the factor: .
  • : the coefficient index rides along.
  • : now it plainly carries .
  • Start moves: becomes .

The second sum already carries ; just rename . Both now read :

WHY. You may only add two series coefficient-by-coefficient when they list the same powers. Re-indexing is the alignment that makes that legal.

PICTURE. The re-labelled boxes now sit in matching columns, ready to be added.

Figure — Power series solutions — ordinary points

Step 5 — The coefficient of every power must be zero

WHAT. A polynomial (finite or infinite) equals zero for all only if each coefficient is zero. So for every :

Solve for the new coefficient:

Read it:

  • — the coefficient we are about to discover.
  • — a coefficient two steps behind, already known.
  • — the shrink-and-flip factor: negative (from the ), and denominator grows, so terms get small fast.

This is a recurrence relation — see Recurrence relations.

WHY "two steps behind." The relation jumps , so evens only talk to evens and odds only to odds. Two separate chains.

PICTURE. A ladder: each rung is built from the rung two below it, split into an even ladder and an odd ladder.

Figure — Power series solutions — ordinary points

Step 6 — and are FREE — the two loose ends

WHAT. The recurrence needs an two behind. But has nothing two behind it, and neither does . So the machine never fixes or — they are chosen by us.

WHY exactly two. A second-order ODE (highest derivative ) always needs two constants of integration. Here they appear as the two ladder-bottoms: starts the even ladder, starts the odd ladder. This is guaranteed by Existence and uniqueness for linear ODEs.

PICTURE. Two ladders standing on two free feet, and .

Figure — Power series solutions — ordinary points

Step 7 — Crank the ladders and recognise the answer

WHAT. Feed the recurrence .

Even chain (from ):

Odd chain (from ):

Collect by which foot they stand on:

  • The alternating signs come from the minus in the recurrence, flipping every step.
  • The factorials come from the growing denominator multiplying up.

WHY this is a triumph. We never assumed or . The equation manufactured them, coefficient by coefficient. This connects directly to Taylor series and analyticity — those famous series are exactly what the ODE forces. (For an equation whose series stops early instead, giving a polynomial, see Legendre's equation and Legendre polynomials.)

PICTURE. The two collected columns, revealed as (blue) and (pink).

Figure — Power series solutions — ordinary points

Step 8 — The degenerate edge: what if the recurrence numerator hits zero?

WHAT. In our equation the factor is always , which is never zero — so both ladders run forever (two genuine infinite series). But you must know the other case. In a Legendre-type equation the recurrence looks like and at the numerator , so and the whole even ladder past that rung collapses to zero. That branch becomes a finite polynomial.

WHY it matters. Whenever a numerator factor can vanish for some , that ladder terminates. That is the mechanism behind Legendre and Hermite polynomials — the series is engineered to stop.

PICTURE. Two ladders side by side: ours (endless) vs. a terminating one where a rung snaps.

Figure — Power series solutions — ordinary points

The one-picture summary

Everything — guess, differentiate, substitute, re-index, kill coefficients, crank the two ladders, harvest and — compressed into a single flow.

Figure — Power series solutions — ordinary points
Recall Feynman retelling — say it to a friend with no notation

We wanted a curve obeying "your curviness is the negative of your height" — that's what means. We don't know a normal function that does this, so we guess the curve is a giant polynomial with unknown weights Taking the derivative of a polynomial just slides all the weights over and scales them. When we slide twice and add it back to itself and demand the result be flat-zero everywhere, we get one rule: each weight two ahead equals minus the weight behind, divided by two growing numbers. That rule can't reach back before or , so those two we pick ourselves — the two dials of a second-order equation. Turning the crank, the even dial prints which is exactly , and the odd dial prints which is . The equation built sine and cosine for us out of pure bookkeeping. And if the little factory rule ever had a "times zero" moment, one ladder would stop early and give a plain polynomial instead — which is how Legendre and Hermite polynomials are born.