Differential equations, I can't understand a textbook example.

Click For Summary

Homework Help Overview

The discussion revolves around finding a recurrence relation and the general term for the solution of the differential equation y'' - xy' - y = 0, specifically expanded around the point x0=1. Participants are exploring the use of power series in the form of y = sum (n=0 to infinity) an (x-1)^n.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the choice of using (x-1)^n versus x^n in the series expansion and the implications for convergence. Questions arise about the necessity of changing indices in the sums to align powers for calculating the recurrence relation. There is also confusion regarding the manipulation of terms involving x and (x-1).

Discussion Status

Some participants have provided guidance on the need to expand the series around x0=1 and the reasoning behind using (x-1) in the series. There is ongoing exploration of the correct form of the recurrence relation, with differing interpretations noted.

Contextual Notes

Participants are working under the constraints of a textbook example, which may have specific requirements for the form of the solution. There is also uncertainty regarding the initial conditions and how they relate to the series expansion.

itunescape
Messages
9
Reaction score
0

Homework Statement


Find the recurrence relation and the general term for the solution:
y'' - xy' - y = 0 xo=1


Homework Equations



y= sum (n=0 to infinity) an (x-1)^n

The Attempt at a Solution


i get:

y= sum (n=0 to infinity) an x^n
y'= sum (n=0 to infinity) (n+1)an+1 (x-1)^n
y'' = sum (n=0 to infinity) (n+2)(n+1)an+2(x-1)^n

here all of the sums start at zero and the powers of (x-1) all are n, but within the orginal equation there is an +and this is where the textbook doesn't make sense:
the book sets x= 1+ (x-1). Why do you do this? i don't understand.

I thought that: xy' = sum (n=0 to infinity) (n+1) an+1 (x-1)^n+1
but I'm not sure what to do from here...bc the indexes and powers need to be the same before calculating the recurrence relation right?
 
Physics news on Phys.org
Why are you using [itex]y = \sum a_n (x-1)^n[/itex] as opposed to [itex]y = \sum a_n x^n[/itex]? If you just use x^n instead of (x-1)^n, you get

[tex]\sum_{n=0}^{\infty} n(n+1)a_n x^{n-2} - x\sum_{n=0}^{\infty}a_n n x^{n-1} - \sum_{n=0}^{\infty} a_n x^n = 0[/tex]

In the second term you multiply the x through to get x^n in the sum. You then have two sums with x^n and one with x^{n-2}. So, you change dummy indices in the first summation to get it to be x^n as well. Do you know how to do that?

There may be a reason for using (x-1) instead, such as if for some reason the series doesn't converge well for x < 0 or something. In that case,

[tex]\sum_{n=0}^{\infty} n(n+1)a_n (x-1)^{n-2} - x\sum_{n=0}^{\infty}a_n n (x-1)^{n-1} - \sum_{n=0}^{\infty} a_n (x-1)^n = 0[/tex]

In this case, you want the (x-1)^(n-1) in the second term to absorb the factor of x out front of it, but you can't do this directly as you have x(x-1)^(n-1), whereas in the above example I wrote you have x x^(n-1) = x^n. So, instead you write x = 1 + (x-1)so that you can multiply that into the second term to get one term that still looks like (x-1)^(n-1) and another that looks like (x-1)^n:

[tex]\sum_{n=0}^{\infty} n(n+1)a_n (x-1)^{n-2} - \sum_{n=0}^{\infty}a_n n (x-1)^{n-1} - \sum_{n=0}^{\infty}a_n n (x-1)^{n} - \sum_{n=0}^{\infty} a_n (x-1)^n = 0[/tex]

Now you can do the usual business of shifting indices to get your series in terms of powers of (x-1).
 
Last edited:
itunescape said:

Homework Statement


Find the recurrence relation and the general term for the solution:
y'' - xy' - y = 0 xo=1
Do you mean y(0)= 1 or are you specifically asked to find a series solution expanded around x0= 1?


Homework Equations



y= sum (n=0 to infinity) an (x-1)^n

The Attempt at a Solution


i get:

y= sum (n=0 to infinity) an x^n
If you want an expansion about x0= 1, then you mean (x-1)n.

y'= sum (n=0 to infinity) (n+1)an+1 (x-1)^n
y'' = sum (n=0 to infinity) (n+2)(n+1)an+2(x-1)^n

here all of the sums start at zero and the powers of (x-1) all are n, but within the orginal equation there is an +and this is where the textbook doesn't make sense:
the book sets x= 1+ (x-1). Why do you do this? i don't understand.
You do understand that x does equal 1+ (x-1) don't you? And they do this because in the xy you need to to have (x-1) to multiply into the sum.

I thought that: xy' = sum (n=0 to infinity) (n+1) an+1 (x-1)^n+1
Why would you think that?
[tex]x y'= x\sum_{n=0}^\infty (n+1)a_n (x-1)^n= \sum_{n=0}^\infty (n+1)a_n x(x-1)^n[/tex]
of course- you can't multiply x times (x-1)n and get (x-1)n+1!
but I'm not sure what to do from here...bc the indexes and powers need to be the same before calculating the recurrence relation right?
Change the "dummy indices" in the different sums so that you have the same powers.
 
Thank you guys for helping me clarify what I've been doing wrong.
The series needs to be expanded around xo=1 so it becomes (x-1) from (x-xo).
I've tried doing the work over again and this is what i obtained:

y=sum (n=0 to infinity) an (x-1)^n
y= ao+a1(x-1)+a2(x-1)^2+a3(x-1)^3...an(x-1)^n

y'= sum(n=1 to infinity) n*an (x-1)^n-1
y'=a1+ 2a2(x-1)+3a3(x-1)^2...n*an(x-1)^n-1

(x-1)y'= sum(n=1 to infinity) n*an (x-1)^n
(x-1)y'= a1(x-1)+ 2a2(x-1)^2+ 3a3(x-1)^3...n*an (x-1)^n

y''= sum(n=2 to infinity) (n-1)(n)*an (x-1)^n-2
y''= 2a2+3a3(x-1)+...(n-1)(n)*an (x-1)^n-2
y''= sum(n=0 to infinity) (n+1)(n+2) an+2 (x-1)^n

I need to add up the sums to try and get a recurrence, but i have to change the indexes to n=1 so:

y= ao + sum(n=1 to infinity) an (x-1)^n
y''= 2a2 + sum(n=1 to infinity) (n+1)(n+2)an+2(x-1)^n

2a2 + ao=0
recurrence:
{ (n+1)(n+2)an+2 -(n)an -an=0}

Is all this right so far? the textbook has the recurrence as:
{(n+2)an+2 -an+1 -an=0}
is it suppose to be written this way?
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
5
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
6
Views
2K
Replies
3
Views
2K
Replies
8
Views
3K
Replies
8
Views
2K