Solving an ODE with power series method

Click For Summary

Homework Help Overview

The problem involves solving the ordinary differential equation (ODE) \((1-x)y''+y=0\) at the point \(x_0=0\) and using this solution to find a solution to another ODE, \(xy''+y=0\), around the point \(x_0=1\). The context is centered on the application of power series methods to ODEs.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the formulation of the power series and the attempt to derive a recurrence relation for the coefficients \(a_k\). There is a focus on matching coefficients from the series expansions and identifying the implications of obtaining zero for all coefficients.

Discussion Status

Some participants have pointed out errors in the formulation of the second derivative, leading to clarifications on the correct approach. There is ongoing exploration of the implications of the results obtained so far, particularly regarding the constant and linear terms in the series.

Contextual Notes

Participants are working under the constraints of the problem statement and are questioning the assumptions made in their calculations, particularly regarding the coefficients of the series expansions.

SithsNGiggles
Messages
183
Reaction score
0

Homework Statement



Solve ##(1-x)y''+y=0## at the point ##x_0=0##. Use this solution to find a solution to ##xy''+y=0## around the point ##x_0=1##.

Homework Equations



The Attempt at a Solution



##(1-x)y''+y=0##
##(x-1)y''=y##
##\displaystyle\sum_{k=2}^\infty a_k k (k-1)\left(x^{k+3}-x^{k+2}\right)=\displaystyle\sum_{k=0}^\infty a_k x^k##

I tried to find a recurrence relation for ##a_k##, but I keep getting 0 for all k. I realize that y = 0 is a solution, but I don't know how that would help me in the second part.
 
Physics news on Phys.org
SithsNGiggles said:

Homework Statement



Solve ##(1-x)y''+y=0## at the point ##x_0=0##. Use this solution to find a solution to ##xy''+y=0## around the point ##x_0=1##.

Homework Equations



The Attempt at a Solution



##(1-x)y''+y=0##
##(x-1)y''=y##
##\displaystyle\sum_{k=2}^\infty a_k k (k-1)\left(x^{k+3}-x^{k+2}\right)=\displaystyle\sum_{k=0}^\infty a_k x^k##

I tried to find a recurrence relation for ##a_k##, but I keep getting 0 for all k. I realize that y = 0 is a solution, but I don't know how that would help me in the second part.

Compare the coefficients of xk: they have to be the same on both sides.

What do yo get for the constant term? What is the linear term?

ehild
 
Right, that's where my problem occurs:

##y''=\sum_{k=2}^\infty a_k k(k-1)\left(x^{k+3}-x^{k+2}\right)=a_2 (2\cdot1)\left(x^5-x^4\right)+a_3 (3\cdot2)\left(x^6-x^5\right)+a_4 (4\cdot3)\left(x^7-x^6\right)+\cdots##

##y=\sum_{k=0}^\infty a_k x^k=a_0 + a_1x + a_2x^2+ a_3x^3+a_4x^4+\cdots##

Matching up coefficients, I have
##a_0=0\\ a_1=0\\ a_2=0 \\ a_3=0\\
a_4=-(2\cdot1)a_2=0 \\ a_5=(2\cdot1)a_2-(3\cdot2)a_3=0\\ \text{and so on...}##
 
The second derivative of y is wrong. The correct equation is

[tex]\displaystyle\sum_{k=2}^\infty a_k k (k-1)\left(x^{k-2}-x^{k-1}\right)=\displaystyle\sum_{k=0}^\infty a_k x^k[/tex]

ehild
 
Oh, right. I had (k + 2) on my mind for some reason. Thanks for pointing that out!
 

Similar threads

Replies
33
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
Replies
1
Views
1K
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K