- 7.4.1
Use power series to solve first-order and second-order differential equations.
In Introduction to Power Series, we studied how functions can be represented as power series, We also saw that we can find series representations of the derivatives of such functions by differentiating the power series term by term. This gives and In some cases, these power series representations can be used to find solutions to differential equations.
Be aware that this subject is given only a very brief treatment in this text. Most introductory differential equations textbooks include an entire chapter on power series solutions. This text has only a single section on the topic, so several important issues are not addressed here, particularly issues related to existence of solutions. The examples and exercises in this section were chosen for which power solutions exist. However, it is not always the case that power solutions exist. Those of you interested in a more rigorous treatment of this topic should consult a differential equations text.
Finding Power Series Solutions to Differential Equations
- Assume the differential equation has a solution of the form
- Differentiate the power series term by term to get and
- Substitute the power series expressions into the differential equation.
- Re-index sums as necessary to combine terms and simplify the expression.
- Equate coefficients of like powers of to determine values for the coefficients in the power series.
- Substitute the coefficients back into the power series and write the solution.
Series Solutions to Differential Equations
Find a power series solution for the following differential equations.
Solution
- Assume (step 1). Then, and (step 2). We want to find values for the coefficients such that
We want the indices on our sums to match so that we can express them using a single summation. That is, we want to rewrite the first summation so that it starts with
To re-index the first term, replace n with inside the sum, and change the lower summation limit to We get
This gives
Because power series expansions of functions are unique, this equation can be true only if the coefficients of each power of x are zero. So we have
This recurrence relationship allows us to express each coefficient in terms of the coefficient two terms earlier. This yields one expression for even values of n and another expression for odd values of n. Looking first at the equations involving even values of n, we see that
Thus, in general, when n is even, (step 5).
For the equations involving odd values of n, we see that
Therefore, in general, when n is odd, (step 5 continued).
Putting this together, we have
Re-indexing the sums to account for the even and odd values of n separately, we obtain
Analysis for part a.
As expected for a second-order differential equation, this solution depends on two arbitrary constants. However, note that our differential equation is a constant-coefficient differential equation, yet the power series solution does not appear to have the familiar form (containing exponential functions) that we are used to seeing. Furthermore, since is the general solution to this equation, we must be able to write any solution in this form, and it is not clear whether the power series solution we just found can, in fact, be written in that form.
Fortunately, after writing the power series representations of and and doing some algebra, we find that if we choose
we then have and and
So we have, in fact, found the same general solution. Note that this choice of and is not obvious. This is a case when we know what the answer should be, and have essentially “reverse-engineered” our choice of coefficients.
- Assume (step 1). Then, and (step 2). We want to find values for the coefficients such that
Taking the external factors inside the summations, we get
Now, in the first summation, we see that when or the term evaluates to zero, so we can add these terms back into our sum to get
Similarly, in the third term, we see that when the expression evaluates to zero, so we can add that term back in as well. We have
Then, we need only shift the indices in our second term. We get
Thus, we have
Looking at the coefficients of each power of x, we see that the constant term must be equal to and the coefficients of all other powers of x must be zero. Then, looking first at the constant term,
For we have
Since we see that
and thus
For even values of n, we have
In general, (step 5).
For odd values of n, we have
In general, (step 5 continued).
Putting this together, we have
Find a power series solution for the following differential equations.
We close this section with a brief introduction to Bessel functions. Complete treatment of Bessel functions is well beyond the scope of this course, but we get a little taste of the topic here so we can see how series solutions to differential equations are used in real-world applications. The Bessel equation of order n is given by
This equation arises in many physical applications, particularly those involving cylindrical coordinates, such as the vibration of a circular drum head and transient heating or cooling of a cylinder. In the next example, we find a power series solution to the Bessel equation of order 0.
Power Series Solution to the Bessel Equation
Find a power series solution to the Bessel equation of order 0 and graph the solution.
Solution
The Bessel equation of order 0 is given by
We assume a solution of the form Then and Substituting this into the differential equation, we get
Then, and for
Because all odd terms are zero. Then, for even values of n, we have
In general,
Thus, we have
(7.10)
The graph appears below for .
Verify that the expression found in Example 7.26 is a solution to the Bessel equation of order 0.
Section 7.4 Exercises
Find a power series solution for the following differential equations.
104.
105.
106.
108.
109.
110.
111.
112.
113.
114.
115.
116.
The differential equation is a Bessel equation of order 1. Use a power series of the form to find the solution.