4.6.17 · D3Ordinary Differential Equations

Worked examples — Power series solutions — ordinary points

2,215 words10 min readBack to topic

This is the drill page for Power series solutions at an ordinary point. The parent note showed how the machine runs. Here we run it against every kind of case the topic can throw at you — so that when an exam hands you a strange one, you have already met its cousin.

Everything is built from zero. If a symbol appears, it was defined first.


The scenario matrix

Think of a power-series problem as having several independent "dials". Each dial can be in a few positions, and each position changes what happens. Here is every dial and every position we will cover.

Cell What varies Positions you must have seen
A. Leading coefficient the number in front of constant () vs. a polynomial () that must stay inside
B. Series behaviour does a branch stop? infinite (never stops) vs. terminating (becomes a polynomial)
C. Recurrence gap which earlier feeds (step 2) vs. (step 3, Airy)
D. Extra term is there a first-derivative term ? present () vs. absent ()
E. Starting point is ? vs. shift a nonzero to the origin
F. Initial conditions are pinned? free (general solution) vs. fixed by given
G. Non-homogeneous is the right side zero? vs. a forcing term like
H. Word / applied physical wrapper a spring / diffusion phrasing that hides an ODE

Coverage map (which example hits which cell):

Example Cells covered
1 A(const), B(infinite), C(step-2), D(no )
2 A(poly), B(terminating), D(has )
3 A(poly), C(step-2), degenerate check at
4 C(step-3, Airy), B(infinite)
5 E(shift )
6 F(initial conditions pin )
7 G(non-homogeneous forcing)
8 H(word problem), F, B(terminating)

Example 1 — constant leading coefficient, no term (Cells A, B∞, C-step2, D-none)

Forecast: Almost identical to , but with a plus sign flip. Guess: the coefficients will not alternate in sign, so instead of we should get . Predict .

Steps.

  1. Assume , so . Why this step? Every power-series solution starts by writing the unknown as an infinite polynomial and differentiating term by term.
  2. Substitute:
  3. Re-index the first sum with : Why this step? Both sums must carry the same power before we may add their coefficients.
  4. Set coefficient of to zero: Why this step? A power series equals for all iff every coefficient is .
  5. Crank. Even: Odd:

Verify: The two bracketed series are exactly and . Numerically at : -series , -series . Forecast confirmed — the sign killed the alternation. ✔


Example 2 — polynomial leading coefficient, terminating branch (Cells A-poly, B-terminate, D-has )

Forecast: The leading coefficient is a plain (no singular points anywhere), so both branches converge everywhere. The constant term looks like it might make a branch terminate. Guess: the even branch stops early.

Steps.

  1. , , .
  2. Substitute, keeping the that multiplies inside: Why keep inside? Multiplying by raises the power by one; if we pull it out we lose track of which power we are matching.
  3. Re-index first sum (); rename in the others:
  4. Coefficient : Why this step? Collect the three terms that all multiply : … carefully , and moving to the other side gives .
  5. The zero test. At : numerator , and every higher even term dies. Why does this matter? This is exactly cell B-terminate: the even branch becomes a finite polynomial.
    • , then .
    • Even branch: .
  6. Odd branch does not stop (numerator for odd ):

Verify: The polynomial is (up to a scale) the Hermite polynomial : indeed . Substitute back: , , ; sum . ✔


Example 3 — degenerate check at (Cells A-poly, C-step2, zero input)

Forecast: This is the parent's Example 2 but with replaced by . The number that mattered was the constant term. Guess: the termination happens at a different now — maybe , killing the odd branch instead.

Steps.

  1. Substitute (same shape as parent):
  2. Re-index and collect coefficient of : Why this step? All three "" sums share the power; combine their multipliers.
  3. Simplify the bracket: .
  4. Smallest-index (degenerate) test, : . Then : — even branch does not stop. Why check separately? The general formula might contain a or a division that misbehaves at the boundary; here is perfectly fine, but the discipline is to always test it.
  5. Odd test, : numerator and all higher odd terms vanish.
    • Odd branch: — a linear polynomial.

Verify: is a solution? , , ; . ✔ (Forecast right: the odd branch terminated this time.)


Example 4 — three-term recurrence, Airy's equation (Cells C-step3, B∞)

Forecast: Multiplying by shifts its power up by one, so the two sums will land on powers differing by an odd gap. Guess: links to (a step-3 recurrence), which is new — the previous examples all stepped by 2.

Figure — Power series solutions — ordinary points

Steps.

  1. , and .
  2. Substitute:
  3. Re-index both to power : first with , second with (so ): Why this step? Look at the figure: contributes to from coefficient , while contributes from — a gap of 3 between the indices and .
  4. The term comes only from the first sum: For :
  5. Crank in threes. Since , the "" family stays zero.
    • From : , .
    • From : , .

Verify: Plug (truncated): ; . Difference — zero up to the order we kept. ✔


Example 5 — expanding about a nonzero point (Cell E, shift)

Forecast: isn't the origin, so the series won't work directly. Guess: substitute to slide the problem to the origin, and it becomes Airy-like ().

Steps.

  1. Let , so and derivatives are unchanged ( since ). Why this step? Power-series machinery needs the expansion centre at ; shifting the variable moves to . (This is the cell-E move.)
  2. The ODE becomes with — this is Airy with a plus sign.
  3. Same re-indexing as Example 4: for , , and .
  4. Crank: , , .
  5. Restore :

Verify: With , : , ; sum , zero to leading order. ✔ (Forecast right: shift turned it into a Airy.)


Example 6 — initial conditions pin (Cell F)

Forecast: From the parent, multiplies and multiplies . Since and , guess .

Steps.

  1. Recall the general series (parent Example 1): .
  2. Evaluate at : only the constant terms survive, so . Why this step? Every with vanishes at , isolating .
  3. So .
  4. Differentiate and set : (only the first-power term of the series survives). So . Why this step? ; at only remains.
  5. Substitute:

Verify: ✔; , so ✔. Also ✔.


Example 7 — non-homogeneous forcing (Cell G)

Forecast: The homogeneous part gives . The right side is a first-degree polynomial, so guess a particular series that produces exactly one leftover — probably itself.

Steps.

  1. Assume . Then (from Example 1's algebra) the left side is .
  2. The right side is . Match coefficient of each power:
    • : .
    • : — the forcing enters only here.
    • : . Why this step? The equation now says "coefficient of on the left = coefficient of on the right"; the right side is nonzero only at .
  3. Solve: ; from the row ; then , .
  4. Notice the "" travels down the odd chain. Collecting the piece that carries the forcing: General solution: , where absorbs the homogeneous freedom.

Verify: , ✔. Full: gives for any . ✔


Example 8 — word problem, terminating polynomial (Cells H, F, B-terminate)

Forecast: "Symmetric and flat at centre" means , so only the even branch survives. The parent showed the even branch of exactly this equation terminates as . Guess: .

Steps.

  1. From the parent's Example 2, the recurrence is , and , . Why this step? Reuse the already-derived recurrence — this is the same ODE, only the constants change.
  2. Apply the conditions: ; . Why this step? Cell-F rule: , .
  3. With the entire odd branch is zero (all built from ). Only the even branch remains.
  4. Even branch: , and (numerator at ), so it terminates. Why bounded? The non-terminating odd branch would blow up as (near the singular points); demanding a polynomial is what "physically bounded on the rod" means. This is why physics selects Legendre polynomials — see Legendre's equation and Legendre polynomials.

Verify: ✔, ✔ (since ). ODE: , , ; ✔.


Wrap-up recall

Recall Which cell did each example test?

Ex1 :::: constant leading coeff, infinite step-2 series, no . Ex2 :::: polynomial coeff, terminating even branch (Hermite). Ex3 :::: degenerate check, odd branch terminates. Ex4 :::: three-term (step-3) recurrence, Airy. Ex5 :::: shifting to the origin. Ex6 :::: initial conditions pin . Ex7 :::: non-homogeneous forcing on the right. Ex8 :::: applied word problem selecting a bounded Legendre polynomial.

Linked prerequisites for review: Recurrence relations, Taylor series and analyticity, Existence and uniqueness for linear ODEs, Singular points and Frobenius method.