Power Series Solutions III - A more representative example

A more representative example


Let's take our power series method for a spin on a more representative example, namely the differential equation

y+(24x2)y8xy=0.

This differential equation is not that different from the previous differential equation. They are both second-order, linear, homogeneous differential equations. The main difference is that it's much harder to guess a solution, and the basic methods of Linear Analysis I do not apply. So let's try our new method and look for a solution that can be represented by a power series centered at 0. So we plug in

y=n=0anxn,y=n=1nanxn1,y=n=2n(n1)anxn2.

The left side of our differential equation then becomes

y+(24x2)y8xy=n=2n(n1)anxn2+(24x2)n=1nanxn18xn=0anxn=n=2n(n1)anxn2+n=12nann=14nanxn+1n=08anxn+1.

We now reindex each summation, so that the new index m matches the power of x in the sum. Continuing where we left off, we have

y+(24x2)y8xy=m=0(m+2)(m+1)am+2xm+m=02(m+1)am+1xmm=24(m1)am1xmm=18am1xm.

We would like to combine these four power series into a single series, but we must deal with a new issue: the series do not all begin at the same starting index. This is because the four power series do not all begin at the same power of x. Indeed, if we expand out the four series for visual reference, they are

(2a2+6a3x+)+(2a1+4a2x+)(4a1x2+8a2x3+)(8a0x+8a1x2+)

Notice that the first two series are the only ones that have constant terms (corresponding to m=0), and that only the first, second, and fourth series contain linear terms (corresponding to m=1). Thus, in order to combine these four series into a single series, we need to separate out the constant (m=0) and linear (m=1) terms. We can then combine all four series into a single gigantic series that runs over m2:

y+(24x2)y8xy=(2a2+2a1)m=0+(6a3+4a28a0)xm=1+m=2((m+2)(m+1)am+2+2(m+1)am+14(m1)am18am1)xm

In order for y(x) to be a solution to our differential equation we need this power series to vanish, i.e., each coefficient of xm needs to vanish. This yields the following system of equations:

m=0:2a2+2a1=0m=1:6a3+4a28a0=0m2:(m+2)(m+1)am+2+2(m+1)am+14(m1)am18am1.

We now proceed through these equalities one by one:

m=0:a2=a1m=1:a3=43a023a2=43a0+23a1m=2:a4=a112a3=a112(43a0+23a1)=23a0+23a1

We have therefore discovered that the power series solutions to our differential equation are exactly those of the form

y(x)=a0+a1xa1x2+(43a0+23a1)x3+(23a0+23a1)x4+=a0(1+43x323x4+)y1(x)+a1(xx2+23x3+23x4+)y2(x)

As with the previous example, we have discovered that the general power series solution can be written as a linear combination of two particular power series solution.[1] Before we move on, though, let's make a few observations and ask some basic questions.

Some observations

First, notice how in this example the unknown coefficients an end up expressed as linear combinations of both a0 and a1 (and not just multiples of one or another). This type of behavior is more representative of what you should expect for a second-order, linear, homogeneous differential equation. Also note how the two particular solutions, y1(x) and y2(x), both contain monomials of most degrees. For example, they both contain cubic and quartic terms. Contrast this with the previous example, in which one solution contained only odd powers and the other even powers. Again, this current example is more in line with the general case.

Second, notice how we didn't even try to find a general pattern for the an. Ideally we would find the pattern and give an explicit formula for every term. We would definitely want this in a real-world application. Unfortunately this is not always practical, especially as the differential equations get more complicated. For now, at least, we will have to content ourselves with simply finding enough terms, comforting ourselves with the knowledge that we can always go back and find additional terms if necessary.

Question

How many terms is enough? This is a critical question lacking an easy answer. We will therefore avoid thinking about this until later.

Important questions


There are many questions begging to be asked at this point. Here are a few of the big ones:

When are we guaranteed success?

As you might suspect, this method of finding solutions to differential equations can be quite tedious and time consuming. It would be nice to know at the outset whether this method will be worth the effort.

What can possibly go wrong?

If the previous question is that of the skeptical pessimist, then this question is that of the hopeful optimist. After all, looking at the steps we took in our two previous examples, each step boils down to basic arithmetic. It's not obvious how this method could fail to produce a solution.

When can we stop computing?

When can we stop finding terms in our power series solution and simply write "+"? We will return to this question later. In real life, this boils down to a question of accuracy. For example, if we know our solution is

y(x)=1+43x323x4+

and we want to actually use our solution to model behavior, then we'll really be using an approximate solution like

y(x)1+43x323x4.

Approximations are only as useful as their accuracy, however, and so knowing when to stop can be a critical piece of information. As we will see at the end of this chapter, an approximation can rapidly transition from "quite good" to "catastrophically bad" over a very short interval.

Suggested next notes


Power Series Solutions IV - Analytic functions and ordinary points


  1. We will talk more about this later. ↩︎