Section 7.2 Method of series solutions
The idea of this section is to use series to construct solutions to linear differential equations that don't have obvious closed form solutions (which is most of them). First, we need to know that the differential equation is itself sufficiently well-behaved to have analytic solutions.Definition 7.2.1.
A point x=x0 is called an ordinary point for a homogeneous second order differential equation of the form
if P and Q are analytic at x0. (Typical functions for P,Q are trig functions, exponentials, polynomials, and rational functions, which are analytic away from asymptotes).
Example 7.2.2.
Every point \(x=x_0\) is ordinary for the differential equation
Example 7.2.3.
Every positive \(x_0\) is ordinary for the equation
However, \(\ln x\) has an asymptote at \(x=0\text{,}\) so this is a singular point for the equation. (Singular points are important to consider but quite complicated to analyze, and addressed in further advanced courses in ODE).
Example 7.2.4. First order example.
To illustrate the method, we'll begin with the power series approach to a first order differential equation
Of course, we already know that the solution to this equation should be \(y = k e^{2x}\) by the method of characteristic equations, so we should expect our series answer to recover that.
Since the equation is regular at every point, (2 is analytic), for convenience, we will work at the regular point \(x = 0\text{.}\) We will assume that the solution \(y = f(x)\) is a power series, which gives the expressions
Plugging into the differential equation, we get
What we get when we set all the coefficients equal to 0 is called a recursion: if we know \(c_0\text{,}\) we can get \(c_1\text{,}\) which lets us get \(c_2\) and so on. We use substitution to get all the values in terms of the first value \(c_0\text{.}\)
Now we can substitute these expressions into our assumed solution \(y\text{:}\)
The quantity \(c_0\) comes from an intital condition, and the series in this case turns out to be the power series of the function \(e^{2x}\) (check if you like!).
Example 7.2.5. Airy's equation.
The next example first appeared in work on optics in 1838. It is a very simple second order linear equation, yet does not have any closed form solutions. That is, the only approach to finding solutions is to use series methods. The solutions turn out to have applications in quantum physics as well as in optics. The equation is the straightforward looking
Since \(P = 0\) and \(Q = x\text{,}\) both of which are analytic functions, series solutions exist everywhere, so we assume a center point of \(x_0 = 0\text{.}\) Then we have the expressions
Plugging into Airy's equation, we get
Now we set the coefficients of each term equal to 0.
First, notice that \(2c_2 =0\) means that \(c_2 = 0\text{.}\) But \(20c_5 - c_2 = 0\text{,}\) and so \(c_5 =0\) as well. Since, \(c_8\) is given in terms of \(c_5\text{,}\) \(c_8\) is also 0, and so on for the family of coefficients \(c_2, c_5, c_8, c_{11}, \ldots\text{.}\) The is one family of coefficients.
The second family is in terms of \(c_0\text{:}\)
which gives expressions for \(c_3, c_6, c_9, c_12, \ldots\) in terms of \(c_0\) (this will correspond to the first linearly independent solution).
The third family of solutions is given by \(c_1\text{:}\)
which gives expressions for \(c_4, c_7, c_{10}, c_{13}, \ldots\) in terms of c_1 (this represents the second linearly independent solution).
Then we are ready to solve the equation. Starting with our assumed solution of the form \(y = \sum c_k x^k\) and sorting into the three families we've identified, we get
Then the two linearly independent solutions to Airy's equation are
and
where neither function has a closed form. (The complicated behavior of the solutions is part of why there isn't much better than a series or improper integral form, as can be seen from their plots. The plot below is a slight rearrangment of the two solutions into a different fundamental set, but preserves the same behavior - namely, the functions are oscillating and then become exponential.)
Example 7.2.6. Bessel equations.
Another important example is the so callled Bessel Differential Equation:
where \(\nu\) is some constant. For sake of simplicity, let us pick \(\nu=0\text{,}\) so that
and we can rewrite this equation by dividing by \(x^{2}\) to get
Much like Airy's equation, this seems like such a simple equation, but it turns out there is no nice solution in terms of elementary functions. In turns out that one way to solve this Bessel ODE is to use power series. (Since \(x > 0\text{,}\) the function \(\frac{1}{x}\) is analytic.) One can find out that
where
\(J_{0}(x)\) is called the Bessel function of first kind of order \(\nu=0\text{.}\) \(Y_{0}(x)\) is called the Bessel function of second kind of order \(\nu=0\text{.}\) \(Y_{0}(x)\) can also be represented by a series, but is more complicated. Another way to write \(Y_{0}\) is as an integral,
Thus the general solution to Bessel Equation
is given by