3.5. Power Series Solutions#
Power series solutions are another technique we can use to solve 2nd-order homogeneous ODEs of the form
This is useful for more-general cases where our other techniques fail.
For example, how would you find the solution to this ODE?
None of the methods we’ve discussed so far would allow us to find an analytical solution to this problem—but we can using a power series solution.
Power series solutions will be of the form
where the coefficients
First, for power series to be a valid solution, we need to check whether
is an ordinary point of the ODE: is the ODE continuous and bounded at ?
Continuous means that there should be no discontinuity at
Bounded means that the solution should be finite at
For example, consider the ODE
Both
On the other hand, what about
In this case, the solution is unbounded at
If
is an ordinary point, then we can find a solution in the form of a power series:
We then solve for the coefficients
3.5.1. Properties of power series#
Dummy index rule. We can replace the index variable used in the power series with another index variable arbitrarily:
This is because the index variable is just a “dummy” that only has meaning inside the sum.
Product rule. We can bring variables, including
, multiplying an entire power series into the power series:
Derivatives. We can take derivatives of our power series:
Notice that we can change where the sums in the power series start, because for
Index shift. We can redefine the index used within a sum to shift where it starts. For example, if we let
, or , then:
Or, in other case, if we let
Now, let’s apply these properties to solve ODEs.
3.5.2. Power series example 1#
Let’s try to apply the power series approach to solve
where we know the solution will be
Is
an ordinary point? Yes, the ODE is continuous and bounded at . So, we can find a solution of the form .Now, we solve for the coefficents by plugging the power series into the ODE:
Let’s use the index shift rule on the first part of that:
Then, we can use the dummy index rule to change
Now, let’s replace the first term in the ODE with that, merge both terms into a single sum, and simplify:
There are infinite terms in this sum, involving the continuous variable
always, which cannot be true, or for all values of . This is what we can use to find the coefficients of our power series solution.
Use that expression to define a recursive formula for the coefficients:
We can see that the even coefficients will be related to each other, and the odd coefficients will be related. Let’s try to identify a pattern with each, starting with the even terms:
and the odd terms:
Now, let’s put that all together:
which you might recognize as being the Taylor series expansion of sine and cosine:
So, our unknown coefficients end up being our integration constants, which we can use our two constraints to find.
3.5.3. Power series example 2#
Find the solution to the ODE
First, rearrange into standard form:
Then, check whether
Now, let’s insert the power series into the ODE:
First, we’ll use the power rule:
and then the index shift and dummy index rules on the first term:
Then, put that back into the full equation and combine the sums:
Thus, our recursion formula for the coefficients
Again, we can see that the even terms will be related and the odd terms will be related:
and the odd terms:
The solution is then
where we find