Friday, 21 June 2019

calculus - Power series solution for ODE



The ODE I have is y(x)+ey(x)+exex4=0,y(0)=0

I want to determine the first five terms (coefficients a0,,a5) of the power series solution y(x)=k=0akxk So far, I know that y(x)=k=1akkxk1
Now I plug these back into the equation and get:
k=1akkxk1+ek=0akxk+exex4=0. Now I'm not sure how to continue with this. Please help.


Answer



Since you just need a few terms, setting y=6n=1aixi (because of the condition y(0)=0) you could develop ey as a Taylor series around x=0 and get
ey=1+a1x+12(a21+2a2)x2+16(a31+6a2a1+6a3)x3+ 124(a41+12a2a21+24a3a1+12a22+24a4)x4+ 1120(a51+20a2a31+60a3a21+60a22a1+120a4a1+120a2a3+120a5)x5+ 1720(a61+30a2a41+120a3a31+180a22a21+360a4a21+720a2a3a1+720a5a1+120a32+360a23+720a2a4+720a6)x6



Expanding the term exex4 as a Taylor series too, the differential equation then write
(a1+1)+(a1+2a2+12)x+12(a21+2a2+6a3)x2+112(2a31+12a2a1+12a3+48a4+1)x3+ 124(a41+12a2a21+24a3a1+12a22+24a4+120a5)x4+ 1240(2a51+40a2a31+120a3a21+120a22a1+240a4a1+240a2a3+240a5+1440a6+1)x5+ 1720(a61+30a2a41+120a3a31+180a22a21+360a4a21+720a2a3a1+720a5a1+120a32+360a23+720a2a4+720a6)x6=0



Cancelling the coefficients lead to a1=1a2=14a3=14a4=748a5=19160



I hope I did not make any mistake since my results do not coincide with DaveNine's answer.


No comments:

Post a Comment

real analysis - How to find limhrightarrow0fracsin(ha)h

How to find limh0sin(ha)h without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...