Power Series Solutions I - From polynomials to power series
In order to solve this differential equation you look at it until a solution occurs to you.
A simple strategy: Guess-and-check a single function
Pólya may have been joking when he made the comment above, but he was not far off from describing one of the basic strategies for solving differential equations. For example, suppose we wanted to find a solution to the differential equation
The exponential function has treated us well in the past and has derivatives that are easy to compute, so let's start with that. Is the function
So,
We shouldn't really be too surprised, though. With the infinite list of possible functions to guess, the odds of randomly guessing a solution to a differential equation are worse than the odds of winning the lottery. However, just as you can increase your odds at winning the lottery by buying a bunch of tickets[2], you can increase your odds at finding a solution by making a whole bunch of guesses all at once.
A slightly better strategy: Guess-and-check a family of functions
Continuing our example, let's check an entire family of exponential functions. Is there any solution of the form
Sadly, there is no value of
Let's make one last attempt. This time let us switch from exponential functions to another family of simple functions, say powers of
Notice that when
A more realistic example
The previous example is a bit misleading. Just as "most" functions are not simple exponential functions, it's also true that "most" functions are not monomial functions, i.e., simple powers of
It's hard to detect any definitive qualitative difference between this differential equation and the last. Both are second-order, linear homogeneous differential equations. In both, the coefficient of
So, is there a solution to this new differential equation of the form
It's a fact that for every value of
Pushing our strategy further: Looking for polynomial solutions
It is clear that restricting ourselves to monomial functions is too limiting. We need a larger family of functions to test. A natural candidate is a family of sums of polynomials. Suppose we knew (or had reason to believe) there was a solution to our differential equation that was a cubic polynomial, i.e., of the form
In particular, we see that the cubic polynomial is a solution exactly when the coefficients satisfy the following three equations:
Solving this system, we find that
Put another way, the function
Compared with our earlier example, we can only call this a partial success. We have found a nontrivial solution to our differential equation, but we found only one solution (up to scaling). For a second-order, linear, homogeneous differential equation we expect a two-dimensional space of solutions. We expect to find two linearly independent solutions.
What is the second solution? It is a not a cubic polynomial, since we found all of those. In fact, we actually already found all polynomial solutions of degrees less than or equal to three, since we never required
Can we do this more efficiently? That is, is there a way for us to test polynomials of every degree all at once? We can certainly try. All possible polynomial solutions are of the form
where eventually all remaining
Whoops. We've wandered into the land of power series
At this point we are effectively working with power series. After all, the only difference between a power series and a polynomial is that a polynomial ends; i.e., at some point all coefficients are zero. So why not look for solutions given by power series? They include all polynomials, plus much more. This, then, will be our first strategy for solving differential equations. We are immediately faced with answering two important questions:
- When is it a good idea to look for power series solutions? In other words, is there a way to know if a differential equation has a solution that can be represented by a power series?
- Assuming there exists a power series solution, how do we find it?
Suggested next notes
Power Series Solutions II - First steps with power series
Remember that we're not interested in equations that are true for some values of
, but true for all values of . In other words, the differential equation represents an equality of functions. ↩︎ Not that I recommend playing the lottery. ↩︎
We'll return to the property of linear independence later. ↩︎