Differential Equations · Undergraduate
Power Series Solutions of Differential Equations
Quick answer
When an equation has variable coefficients, like y″ = xy, no formula built from exponentials will do. Instead, assume a power series y = Σ aₙxⁿ, substitute, shift indices so every sum uses xⁿ, and set the coefficient of each power to zero. The result is a recurrence relation that gives each coefficient from earlier ones. The first two, a₀ = y(0) and a₁ = y′(0), are free, and they split the answer into two independent solutions.
What you'll learn
- Substitute a power series into a linear differential equation
- Shift indices so that all sums share the same power of x
- Derive and use a recurrence relation for the coefficients
- Identify the two independent series solutions
Guessing a series
For , Airy’s equation, the coefficient rules out . Instead, assume a power series:
The plan:
- Substitute into the equation.
- Shift indices so that every sum has .
- Set the coefficient of each power of to , giving a recurrence.
- Use the free constants and to build two solutions.
Why matching coefficients works
A power series equals zero on an interval only if every coefficient is zero, since the coefficients are the derivatives at divided by factorials. So one equation between functions becomes infinitely many equations between numbers, one for each power of , and they can be solved in order. Each new coefficient depends only on earlier ones, which is why the first two can be chosen freely, as initial conditions.
Worked examples
- y = e^(−x²/2)
- two terms
- three terms
Common mistakes
Practice problems
-
Find the recurrence for .
Answer
Full solution
With this gives ; with , .
-
Solve with by a power series.
Answer
Full solution
, so .
-
Solve with by a power series.
Answer
Full solution
, with . So , , : the series for .
-
In Airy’s equation with and , find and .
Answer
,
Full solution
and .
-
Why is in Airy’s equation?
Answer
and .
Full solution
Every coefficient traces back to , which the term forces to be .
-
Rewrite so the power is .
Answer
Full solution
Replace by everywhere, including the starting index.
-
In Example 3, find .
Answer
Full solution
, matching in the series for .
-
A student adds and term by term and gets . What went wrong?
Answer
The sums were combined before shifting, so terms with different powers were added.
Full solution
Shift the first sum to ; then matching gives .
Frequently asked questions
When do you use a power series solution?
For linear equations with variable coefficients, such as y″ − xy = 0, when there is no closed-form method. Near an ordinary point, where the coefficients are well behaved, the series converges.
What are the steps?
Write y = Σ aₙxⁿ, compute y′ and y″, substitute, shift indices so every sum has xⁿ, combine, and set each coefficient to zero to get a recurrence.
Why are a₀ and a₁ free?
They equal y(0) and y′(0), the two initial conditions a second-order equation needs. Every other coefficient follows from them.
What is Airy's equation?
y″ = xy, which appears in optics and quantum mechanics. Its recurrence is aₙ₊₂ = aₙ₋₁/((n + 2)(n + 1)), with a₂ = 0.
How do you shift an index?
Replace n by n + 2 in Σ n(n − 1)aₙxⁿ⁻², giving Σ (n + 2)(n + 1)aₙ₊₂xⁿ starting at n = 0. The terms are the same; only the label changes.