Power Series Solution for x^2y'' - y = 0 Expanding about xo = 2: Next Steps?

Click For Summary

Homework Help Overview

The discussion revolves around solving the differential equation x^2y'' - y = 0 using a power series solution centered at x₀ = 2. Participants are exploring the method of power series expansion and the challenges associated with aligning indices and exponents in the series.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants discuss expanding the coefficient of y'' and the form of the solution as a power series. There are attempts to manipulate the indices of summation to achieve a common form, with some participants questioning the implications of changing indices and the introduction of additional terms.

Discussion Status

Several participants are actively engaged in addressing the challenges of aligning the series terms. Some have provided examples of changing indices, while others express uncertainty about the consequences of these changes. There is a recognition of the need to treat different summation indices separately to progress in the solution.

Contextual Notes

Participants note the complexity of the problem due to the differing indices and exponents in the series. There is an acknowledgment of the original poster's struggle with the manipulation of series and the potential pitfalls of altering summation limits.

Saladsamurai
Messages
3,009
Reaction score
7

Homework Statement



Solve [itex]x^2y'' - y = 0[/itex] using Power Series Solution expanding about xo = 2.

The Attempt at a Solution



First I expand the coefficient of y" (i.e. x2) about xo:

[tex]TS[x^2]|_{x_o=2} = 4+ 4(x - 2) + (x - 2)^2[/tex]

Assuming the solution takes the form:

[tex]y(x) = \sum_0^{\infty}a_n(x - 2)^n \Rightarrow y''(x) = \sum_2^{\infty}n(n-1)a_n(x - 2)^{n - 2}[/tex]

Plugging the above into the original DE gives:

[tex] (4+ 4(x - 2) + (x - 2)^2)\sum_2^{\infty}n(n-1)a_n(x - 2)^{n - 2} -<br /> \sum_0^{\infty}a_n(x - 2)^n = <br /> 0[/tex]Distributing we have:

[tex]4\sum_2^{\infty}n(n-1)a_n(x - 2)^{n - 2} + <br /> 4(x - 2)\sum_2^{\infty}n(n-1)a_n(x - 2)^{n - 2} +<br /> (x - 2)^2)\sum_2^{\infty}n(n-1)a_n(x - 2)^{n - 2} -<br /> \sum_0^{\infty}a_n(x - 2)^n = <br /> 0<br /> [/tex]

[tex]\Rightarrow <br /> 4\sum_2^{\infty}n(n-1)a_n(x - 2)^{n - 2} + <br /> 4\sum_2^{\infty}n(n-1)a_n(x - 2)^{n - 1} +<br /> \sum_2^{\infty}n(n-1)a_n(x - 2)^{n} -<br /> \sum_0^{\infty}a_n(x - 2)^n = <br /> 0<br /> \qquad(1)[/tex]

Now the problem with (1) is twofold:

i) The indices are not the same and ii) the exponents on x are not the same.

I am not sure how to handle this. I was thinking that I could add 2 to the n index in the first term and add 1 to the second and then run the summations from zero. I think that this should work since the factors of 'n' 'n-1' in each term that I augment will cause each term to drop out at n = 0 and n = 1 and hence they will not contribute to the sum.

Edit: Fail. I failed to notice that when I add 2 to the dummy variable 'n' I will no longer have the factor of n to cause the term to drop out at n=0.

Any help on this?
 
Last edited:
Physics news on Phys.org
Hate to bump this, but I am kind of in a pinch and would love to be able to move forward on this. If I just work on the first term: [itex]4\sum_2^{\infty}n(n-1)a_n(x - 2)^{n - 2}[/itex] and I move the starting point ahead by 2, I have to move the lower limit of the summation back by two :[itex]4\sum_0^{\infty}(n+2)(n+1)a_{n+2}(x - 2)^{n}[/itex]. I feel like this would introduce additional terms though. For example, take the simple case of changing [itex]\sum_2^4 x^n[/itex] to [itex]\sum_0^4 x^{n+2}[/itex]. The latter will introduce extra terms unless I reduce the upper limit from 4 to 2. However with an infinite sum, that is meaningless.

Thoughts?
 
Firstly, let us note that this is Euler's ODE:

[tex] x^{2}y^{''}+0\cdot xy^{'}-y=0[/tex]

and we know how to solve those without using the Series Expansion method.
Explanation: http://www.math.oregonstate.edu/hom...sQuestStudyGuides/ode/second/so_ec/so_ec.htmlSecondly, the way you solve all of this Series Solution expansions is:

First step: you need to change the index is such a way that to leave you with series' that have only powers of n inside.
example:

[tex] \sum_2^{\infty}n(n-1)a_n(x - 2)^{n - 2} \Leftrightarrow \sum_0^{\infty}(n+2)(n+1)a_{n+2}(x - 2)^{n}[/tex]

Second step: you need to expand the summation in such a way that all of your series' with star at the same index (highest index of the series').
example:

[tex] \sum_2^{\infty}n(n-1)a_n(x - 2)^{n - 1} \Leftrightarrow \sum_1^{\infty}(n+1)n \cdot a_{n+1}(x - 2)^{n} \Leftrightarrow (1+1)\cdot 1 \cdot a_{1+1}(x - 2)^{1} + \sum_2^{\infty}(n+1)n \cdot a_{n+1}(x - 2)^{n} \Leftrightarrow 2\cdot a_{2}(x - 2) + \sum_2^{\infty}(n+1)n \cdot a_{n+1}(x - 2)^{n}[/tex]

! if you don't know how to proceed and get the final result from here, go to:
http://tutorial.math.lamar.edu/Classes/DE/PowerSeries.aspx

Note: it is also possible you should use the Frobenius Method, if you know what it is (since the solution is around x=2 I don't think you should).

* I hope you understood from my examples how to change the indexes correctly.
** I didn't check you answer so far for computational mistakes.
*** good luck :)
 
Last edited:
Saladsamurai said:

Homework Statement



Solve [itex]x^2y'' - y = 0[/itex] using Power Series Solution expanding about xo = 2.

The Attempt at a Solution



First I expand the coefficient of y" (i.e. x2) about xo:

[tex]TS[x^2]|_{x_o=2} = 4+ 4(x - 2) + (x - 2)^2[/tex]

Assuming the solution takes the form:

[tex]y(x) = \sum_0^{\infty}a_n(x - 2)^n \Rightarrow y''(x) = \sum_2^{\infty}n(n-1)a_n(x - 2)^{n - 2}[/tex]

Plugging the above into the original DE gives:

[tex] (4+ 4(x - 2) + (x - 2)^2)\sum_2^{\infty}n(n-1)a_n(x - 2)^{n - 2} -<br /> \sum_0^{\infty}a_n(x - 2)^n = <br /> 0[/tex]


Distributing we have:

[tex]4\sum_2^{\infty}n(n-1)a_n(x - 2)^{n - 2} + <br /> 4(x - 2)\sum_2^{\infty}n(n-1)a_n(x - 2)^{n - 2} +<br /> (x - 2)^2)\sum_2^{\infty}n(n-1)a_n(x - 2)^{n - 2} -<br /> \sum_0^{\infty}a_n(x - 2)^n = <br /> 0<br /> [/tex]

[tex]\Rightarrow <br /> 4\sum_2^{\infty}n(n-1)a_n(x - 2)^{n - 2} + <br /> 4\sum_2^{\infty}n(n-1)a_n(x - 2)^{n - 1} +<br /> \sum_2^{\infty}n(n-1)a_n(x - 2)^{n} -<br /> \sum_0^{\infty}a_n(x - 2)^n = <br /> 0<br /> \qquad(1)[/tex]

Now the problem with (1) is twofold:

i) The indices are not the same and ii) the exponents on x are not the same.

I am not sure how to handle this. I was thinking that I could add 2 to the n index in the first term and add 1 to the second and then run the summations from zero. I think that this should work since the factors of 'n' 'n-1' in each term that I augment will cause each term to drop out at n = 0 and n = 1 and hence they will not contribute to the sum.

Edit: Fail. I failed to notice that when I add 2 to the dummy variable 'n' I will no longer have the factor of n to cause the term to drop out at n=0.

Any help on this?
Then change the dummy indices:
In
[tex]4\sum_2^{\infty}n(n-1)a_n(x - 2)^{n - 2}[/tex]
let j= n-2 so that n= j+ 2. When n= 2, j= 0 and n-1= j+ 1. The sum becomes
[tex]4\sum_0^\infty (j+2)(j+1)a_{j+2}(x- 2)^j[/tex]

In [tex]4\sum_2^{\infty}n(n-1)a_n(x - 2)^{n - 1}[/tex]
let j= n-1 so that n= j+ 1. When n= 2, j= 1 and n-1= j. The sum becomes
[tex]4\sum_1^\infty (j+1)j a_{j+1}(x- 2)^j[/tex]

In [tex]\sum_2^{\infty}n(n-1)a_n(x - 2)^{n}[/tex]
and [tex]\sum_0^{\infty}a_n(x - 2)^n[/tex]
let j= n so we have basically the same thing-
[tex]\sum_2^\infty j(j-1)a_j(x- 2)^j[/tex]
and [tex]\sum_0^\infty a_j(x- 2)^j[/tex]

Putting those into the equations, we have
[tex]4\sum_0^\infty (j+2)(j+1)a_{j+2}(x- 2)^j+ 4\sum_1^\infty (j+1)j a_{j+1}(x- 2)^j+ \sum_2^\infty j(j-1)a_j(x- 2)^j+ \sum_0^\infty a_j(x- 2)^j= 0[/tex]

Two of those start at j= 0, another at j= 1, and another not until j= 2. Okay, treat j= 0 and j= 1 separately.

When j= 0, we have
[tex]4(2)(1)a_2+ a_0= 0[/tex]
so that [itex]a_2= -a_0/8[/itex]

When j= 1 we have
[tex]4(3)(2)a_3(x- 2)+ 4(2)(1)a_2(x-2)+ a_1(x- 2)= (24a_3+ 8a_2+ a_1)(x- 2)= 0[/tex]
In order for that to be true for all x, we must have [itex]24a_3+ 8a_2+ a_1= 0[/itex].

Finally, for [itex]j\ge 2[/itex] we have
[tex]4(j+2)(j+1)a_{j+2}(x- 2)^j+ 4(j+1)j a_{j+1}(x- 2)^j+ j(j-1)a_j(x- 2)^j+ a_j(x- 2)^j[/tex]
[tex]= (4(j+2)(j+1)a_{j+2}+ 4(j+1)j a_{j+1}+ j(j-1)a_j+ a_j)(x- 2)^j= 0[/itex]<br /> In order for that to be true for all x, we must have <br /> [tex]4(j+2)(j+1)a_{j+2}+ 4(j+1)j a_{j+1}+ j(j-1)a_j+ a_j= 0[/tex][/tex]
 
HallsofIvy said:
Then change the dummy indices:
In
[tex]4\sum_2^{\infty}n(n-1)a_n(x - 2)^{n - 2}[/tex]
let j= n-2 so that n= j+ 2. When n= 2, j= 0 and n-1= j+ 1. The sum becomes
[tex]4\sum_0^\infty (j+2)(j+1)a_{j+2}(x- 2)^j[/tex]

In [tex]4\sum_2^{\infty}n(n-1)a_n(x - 2)^{n - 1}[/tex]
let j= n-1 so that n= j+ 1. When n= 2, j= 1 and n-1= j. The sum becomes
[tex]4\sum_1^\infty (j+1)j a_{j+1}(x- 2)^j[/tex]

In [tex]\sum_2^{\infty}n(n-1)a_n(x - 2)^{n}[/tex]
and [tex]\sum_0^{\infty}a_n(x - 2)^n[/tex]
let j= n so we have basically the same thing-
[tex]\sum_2^\infty j(j-1)a_j(x- 2)^j[/tex]
and [tex]\sum_0^\infty a_j(x- 2)^j[/tex]

Putting those into the equations, we have
[tex]4\sum_0^\infty (j+2)(j+1)a_{j+2}(x- 2)^j+ 4\sum_1^\infty (j+1)j a_{j+1}(x- 2)^j+ \sum_2^\infty j(j-1)a_j(x- 2)^j+ \sum_0^\infty a_j(x- 2)^j= 0[/tex]

Two of those start at j= 0, another at j= 1, and another not until j= 2. Okay, treat j= 0 and j= 1 separately.

When j= 0, we have
[tex]4(2)(1)a_2+ a_0= 0[/tex]
so that [itex]a_2= -a_0/8[/itex]

When j= 1 we have
[tex]4(3)(2)a_3(x- 2)+ 4(2)(1)a_2(x-2)+ a_1(x- 2)= (24a_3+ 8a_2+ a_1)(x- 2)= 0[/tex]
In order for that to be true for all x, we must have [itex]24a_3+ 8a_2+ a_1= 0[/itex].

Finally, for [itex]j\ge 2[/itex] we have
[tex]4(j+2)(j+1)a_{j+2}(x- 2)^j+ 4(j+1)j a_{j+1}(x- 2)^j+ j(j-1)a_j(x- 2)^j+ a_j(x- 2)^j[/tex]
[tex]= (4(j+2)(j+1)a_{j+2}+ 4(j+1)j a_{j+1}+ j(j-1)a_j+ a_j)(x- 2)^j= 0[/itex]<br /> In order for that to be true for all x, we must have <br /> [tex]4(j+2)(j+1)a_{j+2}+ 4(j+1)j a_{j+1}+ j(j-1)a_j+ a_j= 0[/tex][/tex]
[tex] <br /> Hi gomunkul51 & Halls! Thanks for taking the time ti reply. <img src="https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f642.png" class="smilie smilie--emoji" loading="lazy" width="64" height="64" alt=":smile:" title="Smile :smile:" data-smilie="1"data-shortname=":smile:" /><br /> <br /> I am just curious: I believe in class, instead of treating the terms that start at 1 and 2 differently from those that start at 0, we just let <i>all terms</i> start from 0 since each nonzero-starting-term has a factor in it that will cause it to fall out in the j = 0, j = 1 spot. Namely, <br /> <br /> In [itex]4\sum_1^\infty (j+1)j a_{j+1}(x- 2)^j[/itex], at j = 0, the term vanishes. Similarly, in [itex]\sum_2^\infty j(j-1)a_j(x- 2)^j[/itex], at j = 0 and j = 1, the terms vanish.<br /> <br /> Does that sound like something commonly done (at least in engineering)?<br /> <br /> Thanks again guys![/tex]
 
Saladsamurai said:
Hi gomunkul51 & Halls! Thanks for taking the time ti reply. :smile:

I am just curious: I believe in class, instead of treating the terms that start at 1 and 2 differently from those that start at 0, we just let all terms start from 0 since each nonzero-starting-term has a factor in it that will cause it to fall out in the j = 0, j = 1 spot. Namely,

In [itex]4\sum_1^\infty (j+1)j a_{j+1}(x- 2)^j[/itex], at j = 0, the term vanishes. Similarly, in [itex]\sum_2^\infty j(j-1)a_j(x- 2)^j[/itex], at j = 0 and j = 1, the terms vanish.

Does that sound like something commonly done (at least in engineering)?

Thanks again guys!


1. Did you understand how to solve the question through the help from HallsofIvy and myself and do you have any questions about that?

2. Try to ajust the indexes through the advised way first, then try adjusting it the way you thought in class - do the answers differ?

*Generally, as I wrote before, you need to adjust the indexes so the powers of (x-a) will be the same power ! and only then you adjust the indexes so all the summations start at the same index (look out for non-zero terms).
 
gomunkul51 said:
1. Did you understand how to solve the question through the help from HallsofIvy and myself ... <snip>

I believe so! That is why I am going to go ahead and assume that doing this:

me said:
I believe in class, instead of treating the terms that start at 1 and 2 differently from those that start at 0, we just let all terms start from 0 since each nonzero-starting-term has a factor in it that will cause it to fall out in the j = 0, j = 1 spot.

is a perfectly reasonable thing to do. :smile:

Thanks!
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
Replies
8
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
8
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
14
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K