Series Solutions
Power series methods for differential equations
Sometimes the tools we have developed fail us. Separation of variables requires a special structure. The characteristic equation works only for constant coefficients. Integrating factors demand linearity in a particular form. What happens when we encounter an equation like ? The variable coefficient defeats our usual approaches.
Power series provide a way forward. The idea is simple: assume the solution can be written as an infinite polynomial, substitute into the equation, and determine the coefficients. This method works for a remarkably broad class of differential equations, including many that resist every other technique.
The Core Idea
A power series centered at has the form:
The coefficients are constants to be determined. If we can find values for all these coefficients, we have our solution.
Why might this work? Many familiar functions have power series representations. The exponential, sine, and cosine all arise this way:
These series converge for all values of . Other functions have series that converge only in some interval. The power series approach lets us discover solutions we might never have guessed, expressed as infinite series that we can evaluate to any desired precision.
A Motivating Example
Consider the harmonic oscillator equation:
We know the solutions are and . But suppose we did not know this. Let us rediscover these solutions using power series.
Assume . Then:
Substituting into :
To combine these sums, we need the powers of to match. In the first sum, let , so . When , :
Now both sums run over the same powers of . Combining them:
For this equation to hold for all , each coefficient must vanish:
This gives us the recurrence relation:
From this single formula, every coefficient can be computed once we know and .
Interactive: Power Series Approximation
Equation:
Series approximation (5 terms):
The blue curve shows the partial sum with 5 terms. The gray curve is the exact solution. Near x = 0, even a few terms give excellent agreement. Further from the origin, more terms are needed.
Adjust the number of terms to see how the partial sum converges to the true solution. Near , even a few terms capture the behavior well. Further from the origin, more terms are needed for accuracy.
The Recurrence Relation
The recurrence relation connects each coefficient to one two steps earlier. This creates two independent chains:
Even coefficients (from ):
Odd coefficients (from ):
These are exactly the coefficients of the Taylor series for and . Setting gives . Setting gives . The general solution is:
Interactive: Coefficient Recurrence
Recurrence relation for y'' + y = 0:
The recurrence relation determines all coefficients from a₀ and a₁. Even-indexed coefficients depend only on a₀. Odd-indexed coefficients depend only on a₁. This produces two independent solutions.
Watch how each coefficient determines one two steps ahead. The even and odd subsequences evolve independently, generating the two linearly independent solutions that a second-order equation requires.
The Method Step by Step
The power series method follows a systematic procedure. For a differential equation with polynomial coefficients, the steps are:
Interactive: The Method in Detail
Step 1: Assume a power series solution
1 / 6We assume the solution can be written as an infinite polynomial. The coefficients aₙ are unknown constants we need to determine.
This systematic process works for any linear differential equation with polynomial coefficients. The key insight: matching powers of x converts the differential equation into an algebraic recurrence relation.
The key insight is that substituting a power series into a differential equation transforms the problem from solving a differential equation to solving an algebraic recurrence. The recurrence relation tells us how to compute each coefficient from earlier ones.
Radius of Convergence
A power series does not necessarily converge everywhere. The radius of convergence determines the interval where the series converges. Outside this interval, the series diverges and does not represent the solution.
For the harmonic oscillator , we can use the ratio test:
Since this limit is for any , the series converges for all . The radius of convergence is infinite.
In general, for an equation with polynomial coefficients, the radius of convergence extends at least to the nearest singular point where . Near such points, the equation changes character, and ordinary power series may fail.
Interactive: Convergence and Accuracy
Ratio test for convergence:
Since the limit is 0 (less than 1), the series converges for all x.
The shaded region shows where the 10-term approximation has error less than 0.1. Adding more terms expands this region. For y'' + y = 0, the series converges everywhere, but more terms are needed to maintain accuracy far from x = 0.
Even when a series converges everywhere, practical accuracy depends on how many terms we compute. The visualization shows how the region of good approximation expands as we include more terms.
When Series Methods Are Necessary
Some differential equations have no solutions in terms of elementary functions. Consider Bessel's equation:
This equation arises constantly in physics and engineering: heat conduction in cylinders, vibrations of circular membranes, electromagnetic wave propagation. For integer values of , no combination of polynomials, exponentials, trigonometric functions, or logarithms can solve it.
Power series come to the rescue. The Bessel function is defined by its series expansion:
For , this simplifies to:
Interactive: Bessel Function J₀
Bessel's equation of order zero:
Solution (Bessel function J₀):
Bessel functions arise in problems with cylindrical symmetry: heat conduction in cylinders, vibrations of circular drums, electromagnetic waves in circular waveguides. They cannot be expressed in terms of elementary functions, but the series solution gives us exact values.
The Bessel function oscillates like a sine wave but with decreasing amplitude. It cannot be expressed in closed form, yet we can compute its values to arbitrary precision using the series. Tables of Bessel functions filled entire books before computers made evaluation trivial.
Other Special Functions
The power series method gives birth to a rich family of special functions, each defined as the solution to a particular differential equation:
Legendre polynomials : Solutions to . These arise in problems with spherical symmetry, like the gravitational potential of a planet or the quantum mechanics of the hydrogen atom.
Hermite polynomials : Solutions to . These describe the quantum harmonic oscillator, fundamental to quantum mechanics.
Laguerre polynomials : Solutions to . These appear in the radial part of the hydrogen atom wave functions.
Airy functions , : Solutions to . These describe the behavior of quantum particles near turning points.
Each of these began as a power series solution to a differential equation that resisted elementary methods. Over time, mathematicians studied their properties so thoroughly that they became building blocks in their own right, referenced in tables and implemented in software.
Singular Points and the Frobenius Method
The basic power series method assumes the solution is analytic at : it has a convergent Taylor series. But some equations have singular points where this fails.
Consider:
At , the coefficient of vanishes. This is a regular singular point. A plain power series will not work, but a modified approach does.
The Frobenius method assumes a solution of the form:
where is an unknown exponent to be determined. Substituting this into the equation leads to an indicial equation for , plus a recurrence for the coefficients. The value(s) of from the indicial equation determine the leading behavior near the singular point.
Bessel's equation, for instance, has a regular singular point at . The Frobenius method reveals solutions proportional to and (when is not an integer), or involving logarithms (when is an integer or half-integer). These subtleties make singular points a rich topic, but the core idea remains: expand in a series and match coefficients.
Computing with Power Series
In practice, power series solutions are evaluated by truncation. We compute for some large , then approximate:
The error depends on how fast the coefficients decay and how large is. Near the center of convergence, a few terms suffice. Far from the center, many terms may be needed.
Modern mathematical software (Mathematica, Maple, SciPy) can symbolically compute recurrence relations and numerically evaluate series to high precision. The method is not just theoretical; it is a practical computational tool.
Why This Matters
Power series solutions reveal something deep about differential equations. The solution is encoded in a sequence of numbers satisfying algebraic relations. Solving the differential equation becomes a matter of algebraic bookkeeping.
This perspective extends to numerical methods. Finite difference schemes, spectral methods, and other computational approaches all share the spirit of converting continuous problems into discrete algebraic ones. Power series is the original version of this idea, and understanding it illuminates the entire field.
Moreover, the special functions that emerge from power series solutions appear everywhere in science. You cannot study quantum mechanics without Hermite and Laguerre polynomials. You cannot analyze wave propagation in cylindrical geometries without Bessel functions. These are not obscure mathematical curiosities; they are the language of physical phenomena.
Key Takeaways
- Assume a series solution when elementary methods fail, especially for equations with variable coefficients
- Substitute and match powers of x: Derivatives of power series are power series. Substitution into the DE yields a relation that must hold coefficient by coefficient
- Extract the recurrence relation: Setting coefficients of each power to zero gives algebraic equations relating the
- Two initial coefficients determine everything: For second-order equations, and (often related to initial conditions and ) determine all higher coefficients through the recurrence
- Check convergence: Use the ratio test or other methods to find the radius of convergence. The series represents the solution only where it converges
- Many important functions are defined this way: Bessel, Legendre, Hermite, and Airy functions all arise as power series solutions to equations that have no elementary closed form
- Singular points require care: At regular singular points, the Frobenius method (series with a non-integer leading power) extends the approach