In mathematics, the power series method is used to seek a power series solution to certain differential equations.
Method
Consider the second-order linear differential equation

Suppose a2 is nonzero for all z. Then we can divide throughout to obtain

Suppose further that a1/a2 and a0/a2 are analytic functions.
The power series method tells us we may be able to construct a power series solution

If a2 is zero for some z, then the Frobenius method, a variation on this method, is suited to deal with so called singular points.
Example usage
Let us look at the Hermite differential equation,

We can try and construct a series solution



Substituting these in the differential equation


Making a shift on the first sum





Now, if this series is a solution, all these coefficients must be zero, so:

We can rearrange this to get a recurrence relation for Ak+2.


Now, we have

We can determine A0 and A1 if there are initial conditions, ie., if we have an initial value problem.
So, we have




and the series solution is



which we can break up into the sum of two linearly independent series solutions:

which can be further simplified by the use of hypergeometric series (which goes beyond the scope of this article).