Series Solution to ODEs: Solving y''-6xy'+(6x^2-2)y=0 using Power Series

Click For Summary

Homework Help Overview

The discussion revolves around solving the ordinary differential equation (ODE) y'' - 6xy' + (6x^2 - 2)y = 0 using power series methods. Participants are exploring the formulation of the power series and the implications of their manipulations on the coefficients involved.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants are attempting to express the solution as a power series and are discussing the derivation of the coefficients a_m. There are questions about changing indices in the series and how to handle terms that arise from the ODE.

Discussion Status

Some participants have provided detailed responses regarding the manipulation of series and the relationships between coefficients. There is an ongoing exploration of how to express coefficients in terms of others, and participants are questioning their understanding of the series expansion and the implications of their calculations.

Contextual Notes

Participants express confusion over the textbook explanations and the assumptions they are making during their calculations. There is a recognition that the problem involves undetermined constants that are typical in second-order differential equations, which may need to be resolved with initial conditions.

kape
Messages
25
Reaction score
0
[tex]y''-6xy'+(6x^2-2)y=0[/tex]

[tex]y_{1} = _____________[/tex]

I have to solve the above equation using power series.. but I am stuck. What I have so far is:

[tex]y=\sum_{m=0}^\infty a_{m}x^{m}[/tex]

[tex]y'=\sum_{m=1}^\infty ma_{m}x^{m-1}[/tex]

[tex]y''=\sum_{m=2}^\infty m(m-1)a_{m}x^{m-2} = \sum_{m=0}^\infty (m+2)(m+1)a_{m+2}x^{m}[/tex]

therefore

[tex]\sum_{m=0}^\infty (m+2)(m+1)a_{m+2}x^{m} - 6\sum_{m=1}^\infty ma_{m}x^{m} + 6\sum_{m=2}^\infty a_{m-2}x^{m} - 2\sum_{m=0}^\infty a_{m}x^{m} = 0[/tex]

(and this is where I'm really not sure about)

and because [tex]\inline x^{0}[/tex] occurs in the first and last series..

[tex]2a_{2} - 2a_{0} = 0[/tex]

[tex]2(a_{2} - a_{0}) = 0[/tex]

and [tex]\inline x^{1}[/tex] occurs in the first, second and last series so..

[tex]6a_{3} - 8a_{1} = 0[/tex]

but.. how am i supposed to find the a's from here? Am I supposed to do something like the following?

[tex]y = 2(a_{2} - a_{0}) + (6a_{3} - 8a_{1}) ...[/tex]

I've looked at the textbook and sample problems but I just don't understand..

Can anyone help me??
 
Last edited:
Physics news on Phys.org
kape said:
[tex]y''-6xy'+(6x^2-2)y=0[/tex]

[tex]y_{1} = _____________[/tex]

I have to solve the above equation using power series.. but I am stuck. What I have so far is:

[tex]y=\sum_{m=0}^\infty a_{m}x^{m}[/tex]

[tex]y'=\sum_{m=1}^\infty ma_{m}x^{m-1}[/tex]
so, changing index as you correctly do in y" below
[tex]y'= \sum_{m=0}^\infy (m+1)a_{m+1}x^m[/tex]

[tex]y''=\sum_{m=2}^\infty m(m-1)a_{m}x^{m-2} = \sum_{m=0}^\infty (m+2)(m+1)a_{m+2}x^{m}[/tex]

therefore

[tex]\sum_{m=0}^\infty (m+2)(m+1)a_{m+2}x^{m} - 6\sum_{m=1}^\infty ma_{m}x^{m} + 6\sum_{m=2}^\infty a_{m-2}x^{m} - 2\sum_{m=0}^\infty a_{m}x^{m} = 0[/tex]
No,
[tex]\sum_{m=0}^\infty (m+2)(m+1)a_{m+2}x^{m} - 6\sum_{m=0}^\infty (m+1_a_{m+1}x^{m} + 6\sum_{m=2}^\infty a_{m-2}x^{m} - 2\sum_{m=0}^\infty a_{m}x^{m} = 0[/tex]
where I've just made the change in y'

(and this is where I'm really not sure about)

and because [tex]\inline x^{0}[/tex] occurs in the first and last series..

[tex]2a_{2} - 2a_{0} = 0[/tex]

[tex]2(a_{2} - a_{0}) = 0[/tex]
Not quite. Since m= 0 occurs in the second sum as well,
[tex]2a_2- 6a_1- 2a_0= 0[/tex]
or just
[tex]a_2= 3a_1+ a_0[/tex]
so that [itex]a_2[/itex] is written in terms of [itex]a_0[/itex] and [itex]a_1[/itex].

[tex]and [tex]\inline x^{1}[/tex] occurs in the first, second and last series so..<br /> <br /> [tex]6a_{3} - 8a_{1} = 0[/tex][/tex]
[tex] Again, not quite. Taking m= 1 gives<br /> [tex]6a_3- 12a_2- 2a_1= 0[/tex]<br /> which you can also write as <br /> [tex]6a_3- 12(3a_1+a_0)- 2a_1= 0[/tex] <br /> and then <br /> [tex]a_3= (17/3)a_1+ 2a_0[/tex]<br /> which doesn't look so pretty but is again in terms of [itex]a_1[/itex] and [itex]a_0[/itex].<br /> <br /> <blockquote data-attributes="" data-quote="" data-source="" class="bbCodeBlock bbCodeBlock--expandable bbCodeBlock--quote js-expandWatch"> <div class="bbCodeBlock-content"> <div class="bbCodeBlock-expandContent js-expandContent "> but.. how am i supposed to find the a's from here? Am I supposed to do something like the following? <br /> <br /> [tex]y = 2(a_{2} - a_{0}) + (6a_{3} - 8a_{1}) ...[/tex]<br /> <br /> I've looked at the textbook and sample problems but I just don't understand.. <br /> <br /> Can anyone help me?? </div> </div> </blockquote> What you do with the general formula:<br /> [tex](m+2)(m+1)a_{m+2}- 6(m+1)a_{m+1}+ 6a_{m-2}- 2a_m= 0[/tex]<br /> depends largely on what you <b>can</b> do!<br /> It's not that difficult to set m= 2, 3, 4, ,5,... and do the calculations:<br /> with m= 2<br /> [tex]12a_4- 18a_3+ 6a_0- 2a_2= 0[/tex]<br /> so<br /> [tex]a_4= (3/2)a_3- (1/2)a_0- (1/6)a_2[/tex]<br /> Now, substitute for [itex]a_3[/itex] and [itex]a_2[/itex] from above to get<br /> [itex]a_4[/itex] also in terms of [itex]a_0[/itex] and [itex]a_1[/itex].<br /> <br /> Doing that you can get formulas for the first 5 or 6 terms depending upon [itex]a_0[/itex] and [itex]a_1[/itex]. Often, that is <b>all</b> you can do but sometimes you can "guess" the general formula and then prove it with induction.<br /> <br /> Of course, [itex]a_0[/itex] and [itex]a_1[/itex] are the "undetermined constants" you expect to get from a second order differential equation. They can be determined from the initial conditions: [itex]a_0= y(0)[/itex] and [itex]a_1= y'(0)[/itex].[/tex]
 
Thank you for you detailed answer!

But I am still a little confused about the part where you change the index for y'.. why did you change the index for y'?

Since it is 6xy' wouldn't I have to do add another x to the the series? So that it becomes:

[tex]y' = \sum_{m=0}^\infty(m+1)a_{m+1}x^{m+1}[/tex]

In which case, the power of the x's don't match because this one is m+1 so wouldn't I have to change the index back to the original?

[tex]y' = \sum_{m=1}^{\infty} ma_{m}x^{m}[/tex]

I'm afraid I don't have a grasp of the fundamentals, and I find the textbook quite hard to understand. During the process of trying to figure out what is going on by looking at the textbook and sample problems, I think I make incorrect assumptions.. All I understand is that you change the series so that the power of x is all the same, and then try to figure out the undetermined constants.

I also don't quite understand this part. The answer is supposed to be given in the form:

[tex]y_{1} = a_{0}( \_\_\_ + \_\_\_x^2 + \_\_\_x^4 ) + a_{1}( \_\_\_x + \_\_\_x^3 ) ...[/tex]

What is [tex]\inline y_{1}[/tex] ? Is that the same as y'? Is this the "expansion" (terminology?) for the series:

[tex]y' = \sum_{m=1}^{\infty} ma_{m}x^{m}[/tex] ?

I am hopelessly lost and I have so much to do! I hope you reply soon!

Thanks again for all the help.


-------------------------------------------------------------------------------------------------
(Related Topic)

This is related so I thought you could help me out on this too. The textbook says that:

[tex]y' = 2xy[/tex]

gives

[tex]1 \cdot a_{1}x^{0} + \sum_{m=2}^{\infty}ma_{m}x^{m-1} = \sum_{m=0}^{\infty}2a_{m}x^{m+1}[/tex]

I understand the right side (the 2xy side) but the left side I don't quite get. First of all, why is it m=2 and not m=1? The rest of that series is for y' but for y' shouldn't it be m=1 and not 2? m=2 is for y'', is it not? And the most puzzling of all is this:

[tex]1 \cdot a_{1}x^{0}[/tex]

Where did this come from??

(Incidentally, the dot between 1 and a means multiplication, am I correct? I've seen this in other problems and I don't understand why they explicitly leave it in instead of just multiplying it and showing the results. Why is this? Why, for example, in this case did they not simply show it as [tex]\inline a_{1}x^{0}[/tex]? Is there a purpose to this?)
 
Last edited:
kape said:
Thank you for you detailed answer!

But I am still a little confused about the part where you change the index for y'.. why did you change the index for y'?

Since it is 6xy' wouldn't I have to do add another x to the the series?
Oh blast! I misread the equation- I didn't see the "x" in "6xy' ". You are right- that x corrects the exponent so you don't need to change the index.

So that it becomes:

[tex]y' = \sum_{m=0}^\infty(m+1)a_{m+1}x^{m+1}[/tex]

In which case, the power of the x's don't match because this one is m+1 so wouldn't I have to change the index back to the original?

[tex]y' = \sum_{m=1}^{\infty} ma_{m}x^{m}[/tex]

I'm afraid I don't have a grasp of the fundamentals, and I find the textbook quite hard to understand. During the process of trying to figure out what is going on by looking at the textbook and sample problems, I think I make incorrect assumptions.. All I understand is that you change the series so that the power of x is all the same, and then try to figure out the undetermined constants.

I also don't quite understand this part. The answer is supposed to be given in the form:

[tex]y_{1} = a_{0}( \_\_\_ + \_\_\_x^2 + \_\_\_x^4 ) + a_{1}( \_\_\_x + \_\_\_x^3 ) ...[/tex]

What is [tex]\inline y_{1}[/tex] ? Is that the same as y'? Is this the "expansion" (terminology?) for the series:

[tex]y' = \sum_{m=1}^{\infty} ma_{m}x^{m}[/tex] ?

I am hopelessly lost and I have so much to do! I hope you reply soon!

Thanks again for all the help.

I'm not sure why they are calling it y1 but that is just the general solution to the equation. Let's go back to your original (correct) equation:
[tex]\sum_{m=0}^\infty (m+2)(m+1)a_{m+2}x^{m} - 6\sum_{m=1}^\infty ma_{m}x^{m} + 6\sum_{m=2}^\infty a_{m-2}x^{m} - 2\sum_{m=0}^\infty a_{m}x^{m} = 0[/tex]

As you say, when m= 0, the two "surviving" terms give you [itex]2a_2- 2a_0= 2(a_{2} - a_{0}) = 0[/itex] so [itex]a_2= a_0[/itex].

When m= 1, the three terms give you [itex]6a_3- 6a_1- 2a_1= 6a_3- 8a_1= 0[/itex] so [itex]a_3= (4/3)a_1[/itex].

For m>1, we have all four terms:
[tex](m+2)(m+1)a_{m+2} - 6ma_{m} + 6a_{m-2} - 2a_{m} = 0[/tex]
which you can solve for [itex]a_{m+2}[/itex]:
[tex]a_{m+2}= \frac{(6m+2)a_m- 6a_{m-2}}{(m+2)(m+1)}[/tex]
What I would now do is make a chart of [itex]a_m[/itex] for as many values of m as I can stand!
[itex]a_2= a_0[/itex], [itex]a_3= (4/3)a_1[/itex], [itex]a_4= \frac{14}{12}a_2- \frac{6}{12}a_0= \frac{2}{3}a_0[/itex], [itex]a_5= \frac{20}{20}a_3- \frac{6}{20}a_1= \frac{4}{3}a_1- \frac{3}{10}a_1= \frac{31}{30}a_1[/itex], etc.
One thing you can clearly see is that, for even n, [itex]a_n[/itex] will be a multiple of [itex]a_0[/itex] and, for odd n, [itex]a_n[/itex] will be a multiple of [itex]a_1[/itex] so the sum breaks easily into even and odd parts:
[tex]y(x)= a_0(1+ x^2+ \frac{2}{3}x^2+\cdot\cdot\cdot)+ a_1(x+ \frac{4}{3}x^3+ \frac{31}{30}x^5+\cdot\cot\cot[/tex]

In fact, once you see that the sum splits into even and odd parts like that, you can simplify the calculation by first taking [itex]x_0= 1[/itex] and [itex]x_1= 0[/itex] and then taking [itex]x_0= 0[/itex] and [itex]x_1= 1[/itex]. (Although, calculating through [itex]a_8= \frac{157}{180}[/itex] and [itex]a_9= \frac{109}{1134}[/itex], I don't see any obvious pattern!)


-------------------------------------------------------------------------------------------------
(Related Topic)

This is related so I thought you could help me out on this too. The textbook says that:

[tex]y' = 2xy[/tex]

gives

[tex]1 \cdot a_{1}x^{0} + \sum_{m=2}^{\infty}ma_{m}x^{m-1} = \sum_{m=0}^{\infty}2a_{m}x^{m+1}[/tex]

I understand the right side (the 2xy side) but the left side I don't quite get. First of all, why is it m=2 and not m=1? The rest of that series is for y' but for y' shouldn't it be m=1 and not 2? m=2 is for y'', is it not? And the most puzzling of all is this:

[tex]1 \cdot a_{1}x^{0}[/tex]

Where did this come from??
They have just separated
[tex]y'= \sum_{m=1}^\infty m a_m x^{m-1}[/tex]
into
[tex]y'= 1\cdot a_1 x^0+ \sum{m=2}^\infty ma_m x^{m-1}[/tex]
since [itex]a_1 x^0[/itex] is just the m= 1 term in the first sum.
The reason they did that (I think) was that then you can change the index in the sum to get
[tex]a_1+ \sum_{m=1}^\infty(m+1)a_{m+1}x^m[/tex]
while the right hand side is
[tex]xy= \sum_{m=0}^\infty a_mx^{m+1}[/itex]<br /> and changing the index there gives<br /> [tex]\sum_{m=1}^\infty a_{m-1}x^m[/itex]<br /> so that both sums start at m=1 and have x<sup>m</sup>. What has happened is the m=0 term has already been separated for you.<br /> <br /> <blockquote data-attributes="" data-quote="" data-source="" class="bbCodeBlock bbCodeBlock--expandable bbCodeBlock--quote js-expandWatch"> <div class="bbCodeBlock-content"> <div class="bbCodeBlock-expandContent js-expandContent "> (Incidentally, the dot between 1 and a means multiplication, am I correct? I've seen this in other problems and I don't understand why they explicitly leave it in instead of just multiplying it and showing the results. Why is this? Why, for example, in this case did they not simply show it as [tex]\inline a_{1}x^{0}[/tex]? Is there a purpose to this?) </div> </div> </blockquote> They just wanted to make it clear (which it wasn't!) that that term was just [itex]ma_mx^{m-1}[/itex] with m= 1- that's also why they left x<sup>0</sup> which is, of course, 1 for all x.[/tex][/tex]
 

Similar threads

Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K