Pages

Saturday, April 22, 2023

Power Series

 POWER SERIES



Let’s start with the differential equation,

(1)()+()+()=0

This time we really do mean nonconstant coefficients. To this point we’ve only dealt with constant coefficients. However, with series solutions we can now have nonconstant coefficient differential equations. Also, in order to make the problems a little nicer we will be dealing only with polynomial coefficients.

Now, we say that =0 is an ordinary point if provided both

()()and()()

are analytic at =0. That is to say that these two quantities have Taylor series around =0. We are going to be only dealing with coefficients that are polynomials so this will be equivalent to saying that

(0)0

for most of the problems.

If a point is not an ordinary point we call it a singular point.



The basic idea to finding a series solution to a differential equation is to assume that we can write the solution as a power series in the form,

(2)()==0(0)

and then try to determine what the ’s need to be. We will only be able to do this if the point =0, is an ordinary point. We will usually say that (2) is a series solution around =0.


FOR A BETTER UNDERSTANDING , WATCH THE VIDEOS & STUDY THE EXAMPLES

EXAMPLES

Example 1 Determine a series solution for the following differential equation about 0=0.

+=0

SOLUTION

Notice that in this case ()=1 and so every point is an ordinary point. We will be looking for a solution in the form,

()==0

We will need to plug this into our differential equation so we’ll need to find a couple of derivatives.

()==11()==2(1)2

Recall from the power series review section on power series that we can start these at =0 if we need to, however it’s almost always best to start them where we have here. If it turns out that it would have been easier to start them at =0 we can easily fix that up when the time comes around.

So, plug these into our differential equation. Doing this gives,

=2(1)2+=0=0

The next step is to combine everything into a single series. To do this requires that we get both series starting at the same point and that the exponent on the  be the same in both series.

We will always start this by getting the exponent on the  to be the same. It is usually best to get the exponent to be an . The second series already has the proper exponent and the first series will need to be shifted down by 2 in order to get the exponent up to an . If you don’t recall how to do this take a quick look at the first review section where we did several of these types of problems.

Shifting the first power series gives us,

=0(+2)(+1)+2+=0=0

Notice that in the process of the shift we also got both series starting at the same place. This won’t always happen, but when it does we’ll take it. We can now add up the two series. This gives,

=0[(+2)(+1)+2+]=0

Now recalling the fact from the power series review section we know that if we have a power series that is zero for all  (as this is) then all the coefficients must have been zero to start with. This gives us the following,

(+2)(+1)+2+=0,=0,1,2,

This is called the recurrence relation and notice that we included the values of  for which it must be true. We will always want to include the values of  for which the recurrence relation is true since they won’t always start at  = 0 as it did in this case.

Now let’s recall what we were after in the first place. We wanted to find a series solution to the differential equation. In order to do this, we needed to determine the values of the ’s. We are almost to the point where we can do that. The recurrence relation has two different ’s in it so we can’t just solve this for  and get a formula that will work for all . We can however, use this to determine what all but two of the ’s are.

To do this we first solve the recurrence relation for the  that has the largest subscript. Doing this gives,

+2=(+2)(+1)=0,1,2,

Now, at this point we just need to start plugging in some value of  and see what happens,

=02=0(2)(1)=13=1(3)(2)
 
=24=2(4)(3)=0(4)(3)(2)(1)=35=3(5)(4)=1(5)(4)(3)(2)
 
=46=4(6)(5)=0(6)(5)(4)(3)(2)(1)=57=5(7)(6)=1(7)(6)(5)(4)(3)(2)
 
  
 
 2=(1)0(2)!,=1,2, 2+1=(1)1(2+1)!,=1,2,

Notice that at each step we always plugged back in the previous answer so that when the subscript was even we could always write the  in terms of 0 and when the coefficient was odd we could always write the  in terms of 1. Also notice that, in this case, we were able to find a general formula for ’s with even coefficients and ’s with odd coefficients. This won’t always be possible to do.

There’s one more thing to notice here. The formulas that we developed were only for =1,2, however, in this case again, they will also work for =0. Again, this is something that won’t always work, but does here.

Do not get excited about the fact that we don’t know what 0 and 1 are. As you will see, we actually need these to be in the problem to get the correct solution.

Now that we’ve got formulas for the ’s let’s get a solution. The first thing that we’ll do is write out the solution with a couple of the ’s plugged in.

()==0=0+1+22+33++22+2+12+1+=0+102!213!3++(1)0(2)!2+(1)1(2+1)!2+1+

The next step is to collect all the terms with the same coefficient in them and then factor out that coefficient.

()=0{122!+(1)2(2)!+}+1{33!++(1)(2+1)!2+1+}=0=0(1)2(2)!+1=0(1)2+1(2+1)!

In the last step we also used the fact that we knew what the general formula was to write both portions as a power series. This is also our solution. 


Example 2 Find a series solution around 0=0 for the following differential equation.

=0

SOLUTION

As with the first example ()=1 and so again for this differential equation every point is an ordinary point. Now we’ll start this one out just as we did the first example. Let’s write down the form of the solution and get its derivatives.

()==0()==11()==2(1)2

Plugging into the differential equation gives,

=2(1)2=0=0

Unlike the first example we first need to get all the coefficients moved into the series.

=2(1)2=0+1=0

Now we will need to shift the first series down by 2 and the second series up by 1 to get both of the series in terms of .

=0(+2)(+1)+2=11=0

Next, we need to get the two series starting at the same value of . The only way to do that for this problem is to strip out the =0 term.

(2)(1)20+=1(+2)(+1)+2=11=022+=1[(+2)(+1)+21]=0

We now need to set all the coefficients equal to zero. We will need to be careful with this however. The =0 coefficient is in front of the series and the =1,2,3, are all in the series. So, setting coefficient equal to zero gives,

=022=0=1,2,3,(+2)(+1)+21=0

Solving the first as well as the recurrence relation gives,

=02=0=1,2,3,+2=1(+2)(+1)

Now we need to start plugging in values of .

3=0(3)(2)4=1(4)(3)5=2(5)(4)=0
 
6=3(6)(5)=0(6)(5)(3)(2)7=4(7)(6)=1(7)(6)(4)(3)8=5(8)(7)=0
 
 
3=0(2)(3)(5)(6)(31)(3)=1,2,3,3+1=1(3)(4)(6)(7)(3)(3+1)=1,2,3,3+2=0=0,1,2,

There are a couple of things to note about these coefficients. First, every third coefficient is zero. Next, the formulas here are somewhat unpleasant and not all that easy to see the first time around. Finally, these formulas will not work for =0 unlike the first example.

Now, get the solution,

()=0+1+22+33+44++33+3+13+1+=0+1+063+1124+03(2)(3)(5)(6)(31)(3)+13+1(3)(4)(6)(7)(3)(3+1)+

Again, collect up the terms that contain the same coefficient, factor the coefficient out and write the results as a new series,

()=0{1+=13(2)(3)(5)(6)(31)(3)}+1{+=13+1(3)(4)(6)(7)(3)(3+1)}

We couldn’t start our series at =0 this time since the general term doesn’t hold for =0.

Example 3 Find the first four terms in each portion of the series solution around 0=0 for the following differential equation.

(2+1)4+6=0

SOLUTION

We finally have a differential equation that doesn’t have a constant coefficient for the second derivative.

()=2+1(0)=10

So 0=0 is an ordinary point for this differential equation. We first need the solution and its derivatives,

()==0()==11()==2(1)2

Plug these into the differential equation.

(2+1)=2(1)24=11+6=0=0

Now, break up the first term into two so we can multiply the coefficient into the series and multiply the coefficients of the second and third series in as well.

=2(1)+=2(1)2=14+=06=0

We will only need to shift the second series down by two to get all the exponents the same in all the series.

=2(1)+=0(+2)(+1)+2=14+=06=0

At this point we could strip out some terms to get all the series starting at =2, but that’s actually more work than is needed. Let’s instead note that we could start the third series at =0 if we wanted to because that term is just zero. Likewise, the terms in the first series are zero for both =1 and =0 and so we could start that series at =0. If we do this all the series will now start at =0 and we can add them up without stripping terms out of any series.

=0[(1)+(+2)(+1)+24+6]=0=0[(25+6)+(+2)(+1)+2]=0=0[(2)(3)+(+2)(+1)+2]=0

Now set coefficients equal to zero.

(2)(3)+(+2)(+1)+2=0,=0,1,2,

Solving this gives,

+2=(2)(3)(+2)(+1),=0,1,2,

Now, we plug in values of .

=0:2=30=1:3=131=2:4=0122=0=3:5=0203=0

Now, from this point on all the coefficients are zero. In this case both of the series in the solution will terminate. This won’t always happen, and often only one of them will terminate.

The solution in this case is,

No comments:

Post a Comment

PREVIOUS POSTS