Non-homogeneous ODE via Power Series

  • Thread starter teddy_boo
  • Start date
  • #1
8
0
Hey there! I'm new here and I just want to ask anyone willing how to solve this problem using power series:

y"+3y'+2y= sin x

y(0)=0
y'(0)=1

Evaluate y(0.1)

Thanks! :smile:
 

Answers and Replies

  • #2
HallsofIvy
Science Advisor
Homework Helper
41,833
956
It is impossible to explain something like that without knowing what you already understand about differential equations and power series.

It would be better if you what you understand about this problem and where you have trouble. What have you tried?

(I suppose it would be tacky of me to suggest that this looks like a homework problem. You wouldn't do that, would you?)
 
  • #3
287
0
You are aware this can be solved analytically, yes? Just making sure.
 
  • #4
8
0
Yes, I'm aware it could be solved analytically. My problem lies with the fact that after having changed the entire expression into power series, I'm totally blank on what to do next. The power series for the sine function is complicated relative to the one for y and its derivatives. I'm looking for some way to enable the sine function to be workable. Do you have any hints at least? Or am I looking at an inappropriate way to solve the ODE?
 
  • #5
HallsofIvy
Science Advisor
Homework Helper
41,833
956
You say you have "changed the entire expression into power series". Please show what you have. The power series for sin x is relatively simple and I would like to see what exactly is giving you trouble. I suspect I know what your difficulty is but I don't want to go into a long-winded explanation if I am wrong.
 
  • #6
8
0
Okay, so here's the equation:

∑_(i=2)^∞▒〖i(i-1) a_i x^(i-2)+3∑_(i=1)^∞▒〖ia_i x^(i-1)+2∑_(i=0)^∞▒〖a_i x^i=∑_(i=0)^∞▒(〖(-1)〗^i x^(2i+1))/(2i+1)!〗〗〗
 
  • #7
8
0
Here's another way to put it upon expansion:

(2a_2+6a_3 x+12a_4 x^2+⋯)+(3a_1+6a_2 x+9a_3 x^2+⋯)+(2a_0+2a_1 x+2a_2 x^2+⋯)=x-x^3/3!+x^5/5!+⋯
 
  • #8
8
0
After expansion, I don't know how to factor x^3 and x^5 terms.
 
  • #9
8
0
Oh, everything's okay now, I was able to get the answer. Haha, I'm an idiot. My problem's easily remedied by just expanding the series further. Thanks anyway :smile:
 

Related Threads on Non-homogeneous ODE via Power Series

Replies
10
Views
2K
Replies
8
Views
15K
  • Last Post
Replies
4
Views
2K
Replies
5
Views
4K
Replies
1
Views
8K
Replies
1
Views
2K
Replies
0
Views
287
Replies
4
Views
782
Replies
2
Views
2K
Top