Power series solutions near an ordinary point
Solve a linear equation y'' + p(x)y' + q(x)y = 0 with polynomial coefficients by writing y = Σ aₙxⁿ, shifting indices to get a recurrence for aₙ, and reading off the solution with its two free constants.
It opens on
Try erx on y'' = xy and it fails, because the right side has an x: could y be an infinite polynomial instead, yes or no?
Why it matters
Airy's equation in optics and quantum tunnelling, Legendre's equation for the field of a planet and Bessel's equation for a drum have no solution in elementary form, but a series always works near a point where the coefficients are polynomials.
Good to know first
- Taylor series of cos x, sin x and eˣ
- differentiating a power series term by term
- the second-order linear equation has two independent solutions
Step by step
Assume a series and find the recurrence
Substitute y = Σ aₙxⁿ into y'' + y = 0 and derive the recurrence for the coefficients.
Differentiating term by term, y'' = 2a₂ + 6a₃x + 12a₄x² + ..., and the coefficient of xⁿ in y'' is (n + 2)(n + 1)aₙ₊₂.
A common mix-up
The series is just a guess that happens to work.
In fact: The equation itself forces each coefficient through the recurrence; nothing is guessed after the form y = Σ aₙxⁿ.
Solve the recurrence: two free constants
Solve the recurrence for the even and odd coefficients and recognize cos x and sin x, with two free constants.
The recurrence aₙ₊₂ = −aₙ / ((n + 2)(n + 1)) links n to n + 2, so the even coefficients depend only on a₀: a₂ = −a₀/2, a₄ = −a₂/12 = a₀/24, a₆ = −a₄/30 = −a₀/720.
A common mix-up
Each aₙ depends on all the earlier coefficients.
In fact: Here aₙ₊₂ depends on aₙ only, so even and odd coefficients form two separate chains.
Airy's equation: a variable coefficient
Derive the recurrence for y'' − xy = 0, find the first terms of its two solutions, and see where partial sums are accurate.
With y = Σ aₙxⁿ, y'' has coefficient (n + 2)(n + 1)aₙ₊₂ on xⁿ, while xy = Σ aₙxⁿ⁺¹ has coefficient aₙ₋₁ on xⁿ: multiplying by x shifts every power up by one.
A common mix-up
By analogy with y'' + y = 0, a₂ should be a₀/2.
In fact: The x⁰ coefficient of y'' − xy has no xy part, so 2a₂ = 0 and a₂ = 0.
Try it
Find the recurrence for y'' + 4y = 0.Answer
aₙ₊₂ = −4aₙ / ((n + 2)(n + 1))
Hint: The coefficient of xⁿ in 4y is 4aₙ
Solve y'' + 4y = 0 as a series and name the function, given y(0) = 1, y'(0) = 0.Answer
a₂ = −2, a₄ = 2/3, so y = 1 − 2x² + (2/3)x⁴ − ... = cos(2x) (hint: aₙ₊₂ = −4aₙ / ((n + 2)(n + 1)))
For y'' − xy = 0 with a₀ = 0 and a₁ = 1, find a₄ and a₇.Answer
a₄ = 1/12 and a₇ = 1/504 (hint: aₙ₊₃ = aₙ / ((n + 3)(n + 2)) with n = 1 and then n = 4)
With a₀ = 1 and a₁ = 0, find a₂ and a₄.Answer
a₂ = −1/2 and a₄ = −a₂/12 = 1/24.
The odd coefficients depend only on a₁: find a₃ and a₅.Answer
a₃ = −a₁/6 and a₅ = −a₃/20 = a₁/120.
