Lesson 20 - Power Series Solutions

Consider the second order equation: y″+p(x)y′+q(x)y=0. A point x0 called an ordinary point of the above equation if both p and q are analytic at x0, meaning that they both have infinite derivatives. If x0 is not an ordinary point, it is called a singular point.

In order to differentiate a power series with respect to x, let y(x)=∑n=0∞anxn. Then, by power rule:

y′=∑n=1∞nanxn−1

y″=∑n=2∞n(n−1)anxn−2

Each derivative that is taken shifts the index up by 1. By substituting for n, these summation derivatives can have their indexes shifted back to n=0. (See Lesson 19 - Taylor Polynomial, Power Series and Shifting Index)

Try it Yourself

Shift the starting index of the summation to n=0 for the following summations:

  1. y′=∑n=1∞nanxn−1
  2. y″=∑n=2∞n(n−1)anxn−2

We can use these derivatives of power solutions to find solutions to differential equations about a point.

Example

Find a power series solution about x=0 for y′+2xy=0.

y(x)=∑n=0∞anxn

y′(x)=∑n=1∞nanxn−1

Substitute y(x) and y′(x) for the summations above.

y′+2xy=0 → ∑n=1∞nanxn−1+2∑n=0∞anxn+1=0

Let's expand each summation.

Left side:

∑n=1∞nanxn−1 = a1+2a2x+3a3x2+…

Right side:

2∑n=0∞anxn+1=2a0x+2a1x2+2a2x3+…

Since a1 is the only coefficient that contains no x term, and since the sum of the power series is equal to 0, then we can say that a1 is also equal to 0.

a1=0

Now let's take the coefficients of x and determine the value of a2.

2a2+2a0=0 → 2a2=−2a0 → a2=−a0

Coefficients of x2:

3a3+2a1=0 → 3a3=−2a1 → a3=0

Terms of x3

4a4+2a2=0 → 4a4=−2a2 → a4=−a22

Let's put the terms together:

y(x)=a0(1−a2+a42!+…)

Recall the coefficients that each of the terms above represent: a2=x2, a4=x3, …
So,

y(x)=a0(1−x2+x32!+…)

We can now deduce a general solution for the differential equation by looking at the pattern:

a2n=(−1)na0n!

y(x)=a0∑n=0∞(−1)nn!x2n

Try for Yourself:

  1. Find a power series solution about x=0 for y′−y=0.
  2. Find the general solution using power series about x=0 for y″+y=0.

Was that confusing? That's okay. Let's go onto a much lighter topic that will make you wonder why we learned anything in the previous lessons.

Next Lesson: Lesson 21 - Definition of Laplace Transforms

Table of Contents: Table of Contents