Solving ODE using power series

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite
1












I have to solve
$$y''+y'-2y=0$$
with $y(0)=0$ and $y'(0)=1$.



Using
$$y(x)=sum_n=0^inftya_nx^n$$
I got $a_0=0,a_1=1$ and
$$a_n=frac(n+1)(a_n+1+(n+2)a_n+2)2$$
And I really don't know what can I do now. I mean: is there some recursive thing? I calculated the value of $a_2,a_3,a_4,a_5$ and $a_6$ and I couldn't see anything.







share|cite|improve this question



















  • What are the values for $a_2, a_3, a_4, a_5$ and $a_6$? Not necessarilly you must find a pattern
    – Mateus Rocha
    Jul 16 at 2:47











  • Well, the are "weird", I mean, I really couldn't find anything between them. So could I leave the solution as I described?
    – mvfs314
    Jul 16 at 2:54






  • 1




    Perhaps having a solution would help. The characteristic equation is $r^2 + r - 2 = 0$ so that $r = -2$ or $r = 1$ so that a general solution is $c_1 e^-2x + c_2 e^x$. Since the solution is so simple, I presume you are supposed to simplify the coefficients you get
    – Brevan Ellefsen
    Jul 16 at 3:36














up vote
0
down vote

favorite
1












I have to solve
$$y''+y'-2y=0$$
with $y(0)=0$ and $y'(0)=1$.



Using
$$y(x)=sum_n=0^inftya_nx^n$$
I got $a_0=0,a_1=1$ and
$$a_n=frac(n+1)(a_n+1+(n+2)a_n+2)2$$
And I really don't know what can I do now. I mean: is there some recursive thing? I calculated the value of $a_2,a_3,a_4,a_5$ and $a_6$ and I couldn't see anything.







share|cite|improve this question



















  • What are the values for $a_2, a_3, a_4, a_5$ and $a_6$? Not necessarilly you must find a pattern
    – Mateus Rocha
    Jul 16 at 2:47











  • Well, the are "weird", I mean, I really couldn't find anything between them. So could I leave the solution as I described?
    – mvfs314
    Jul 16 at 2:54






  • 1




    Perhaps having a solution would help. The characteristic equation is $r^2 + r - 2 = 0$ so that $r = -2$ or $r = 1$ so that a general solution is $c_1 e^-2x + c_2 e^x$. Since the solution is so simple, I presume you are supposed to simplify the coefficients you get
    – Brevan Ellefsen
    Jul 16 at 3:36












up vote
0
down vote

favorite
1









up vote
0
down vote

favorite
1






1





I have to solve
$$y''+y'-2y=0$$
with $y(0)=0$ and $y'(0)=1$.



Using
$$y(x)=sum_n=0^inftya_nx^n$$
I got $a_0=0,a_1=1$ and
$$a_n=frac(n+1)(a_n+1+(n+2)a_n+2)2$$
And I really don't know what can I do now. I mean: is there some recursive thing? I calculated the value of $a_2,a_3,a_4,a_5$ and $a_6$ and I couldn't see anything.







share|cite|improve this question











I have to solve
$$y''+y'-2y=0$$
with $y(0)=0$ and $y'(0)=1$.



Using
$$y(x)=sum_n=0^inftya_nx^n$$
I got $a_0=0,a_1=1$ and
$$a_n=frac(n+1)(a_n+1+(n+2)a_n+2)2$$
And I really don't know what can I do now. I mean: is there some recursive thing? I calculated the value of $a_2,a_3,a_4,a_5$ and $a_6$ and I couldn't see anything.









share|cite|improve this question










share|cite|improve this question




share|cite|improve this question









asked Jul 16 at 2:27









mvfs314

422210




422210











  • What are the values for $a_2, a_3, a_4, a_5$ and $a_6$? Not necessarilly you must find a pattern
    – Mateus Rocha
    Jul 16 at 2:47











  • Well, the are "weird", I mean, I really couldn't find anything between them. So could I leave the solution as I described?
    – mvfs314
    Jul 16 at 2:54






  • 1




    Perhaps having a solution would help. The characteristic equation is $r^2 + r - 2 = 0$ so that $r = -2$ or $r = 1$ so that a general solution is $c_1 e^-2x + c_2 e^x$. Since the solution is so simple, I presume you are supposed to simplify the coefficients you get
    – Brevan Ellefsen
    Jul 16 at 3:36
















  • What are the values for $a_2, a_3, a_4, a_5$ and $a_6$? Not necessarilly you must find a pattern
    – Mateus Rocha
    Jul 16 at 2:47











  • Well, the are "weird", I mean, I really couldn't find anything between them. So could I leave the solution as I described?
    – mvfs314
    Jul 16 at 2:54






  • 1




    Perhaps having a solution would help. The characteristic equation is $r^2 + r - 2 = 0$ so that $r = -2$ or $r = 1$ so that a general solution is $c_1 e^-2x + c_2 e^x$. Since the solution is so simple, I presume you are supposed to simplify the coefficients you get
    – Brevan Ellefsen
    Jul 16 at 3:36















What are the values for $a_2, a_3, a_4, a_5$ and $a_6$? Not necessarilly you must find a pattern
– Mateus Rocha
Jul 16 at 2:47





What are the values for $a_2, a_3, a_4, a_5$ and $a_6$? Not necessarilly you must find a pattern
– Mateus Rocha
Jul 16 at 2:47













Well, the are "weird", I mean, I really couldn't find anything between them. So could I leave the solution as I described?
– mvfs314
Jul 16 at 2:54




Well, the are "weird", I mean, I really couldn't find anything between them. So could I leave the solution as I described?
– mvfs314
Jul 16 at 2:54




1




1




Perhaps having a solution would help. The characteristic equation is $r^2 + r - 2 = 0$ so that $r = -2$ or $r = 1$ so that a general solution is $c_1 e^-2x + c_2 e^x$. Since the solution is so simple, I presume you are supposed to simplify the coefficients you get
– Brevan Ellefsen
Jul 16 at 3:36




Perhaps having a solution would help. The characteristic equation is $r^2 + r - 2 = 0$ so that $r = -2$ or $r = 1$ so that a general solution is $c_1 e^-2x + c_2 e^x$. Since the solution is so simple, I presume you are supposed to simplify the coefficients you get
– Brevan Ellefsen
Jul 16 at 3:36










1 Answer
1






active

oldest

votes

















up vote
3
down vote



accepted










Beside the solution suggested by Brevan Ellefsen, you could rewrite
$$a_n=frac(n+1)(a_n+1+(n+2)a_n+2)2$$ as
$$2a_n=(n+1)a_n+1+(n+1)(n+2)a_n+2$$ Muliply each side by $n!$ and simplify to get
$$2,n!, a_n=(n+1)!,a_n+1+(n+2)!, a_n+2$$Now, define $b_n=n! , a_n$ to get
$$2 b_n=b_n+1+b_n+2$$ for which the characteristic equation is $$2=r+r^2implies (r-1)(r+2)=0$$ I am sure that you can take it from here and get a simple expression for $a_n$.






share|cite|improve this answer





















  • But why did you get a characteristic equation to the coeficients? Can you do that?
    – mvfs314
    Jul 16 at 11:05










  • @mvfs314. How do you solve $2 b_n=b_n+1+b_n+2$ ?
    – Claude Leibovici
    Jul 16 at 11:10










  • I don't know hahaha is this an ODE?
    – mvfs314
    Jul 16 at 11:13










Your Answer




StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2853017%2fsolving-ode-using-power-series%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
3
down vote



accepted










Beside the solution suggested by Brevan Ellefsen, you could rewrite
$$a_n=frac(n+1)(a_n+1+(n+2)a_n+2)2$$ as
$$2a_n=(n+1)a_n+1+(n+1)(n+2)a_n+2$$ Muliply each side by $n!$ and simplify to get
$$2,n!, a_n=(n+1)!,a_n+1+(n+2)!, a_n+2$$Now, define $b_n=n! , a_n$ to get
$$2 b_n=b_n+1+b_n+2$$ for which the characteristic equation is $$2=r+r^2implies (r-1)(r+2)=0$$ I am sure that you can take it from here and get a simple expression for $a_n$.






share|cite|improve this answer





















  • But why did you get a characteristic equation to the coeficients? Can you do that?
    – mvfs314
    Jul 16 at 11:05










  • @mvfs314. How do you solve $2 b_n=b_n+1+b_n+2$ ?
    – Claude Leibovici
    Jul 16 at 11:10










  • I don't know hahaha is this an ODE?
    – mvfs314
    Jul 16 at 11:13














up vote
3
down vote



accepted










Beside the solution suggested by Brevan Ellefsen, you could rewrite
$$a_n=frac(n+1)(a_n+1+(n+2)a_n+2)2$$ as
$$2a_n=(n+1)a_n+1+(n+1)(n+2)a_n+2$$ Muliply each side by $n!$ and simplify to get
$$2,n!, a_n=(n+1)!,a_n+1+(n+2)!, a_n+2$$Now, define $b_n=n! , a_n$ to get
$$2 b_n=b_n+1+b_n+2$$ for which the characteristic equation is $$2=r+r^2implies (r-1)(r+2)=0$$ I am sure that you can take it from here and get a simple expression for $a_n$.






share|cite|improve this answer





















  • But why did you get a characteristic equation to the coeficients? Can you do that?
    – mvfs314
    Jul 16 at 11:05










  • @mvfs314. How do you solve $2 b_n=b_n+1+b_n+2$ ?
    – Claude Leibovici
    Jul 16 at 11:10










  • I don't know hahaha is this an ODE?
    – mvfs314
    Jul 16 at 11:13












up vote
3
down vote



accepted







up vote
3
down vote



accepted






Beside the solution suggested by Brevan Ellefsen, you could rewrite
$$a_n=frac(n+1)(a_n+1+(n+2)a_n+2)2$$ as
$$2a_n=(n+1)a_n+1+(n+1)(n+2)a_n+2$$ Muliply each side by $n!$ and simplify to get
$$2,n!, a_n=(n+1)!,a_n+1+(n+2)!, a_n+2$$Now, define $b_n=n! , a_n$ to get
$$2 b_n=b_n+1+b_n+2$$ for which the characteristic equation is $$2=r+r^2implies (r-1)(r+2)=0$$ I am sure that you can take it from here and get a simple expression for $a_n$.






share|cite|improve this answer













Beside the solution suggested by Brevan Ellefsen, you could rewrite
$$a_n=frac(n+1)(a_n+1+(n+2)a_n+2)2$$ as
$$2a_n=(n+1)a_n+1+(n+1)(n+2)a_n+2$$ Muliply each side by $n!$ and simplify to get
$$2,n!, a_n=(n+1)!,a_n+1+(n+2)!, a_n+2$$Now, define $b_n=n! , a_n$ to get
$$2 b_n=b_n+1+b_n+2$$ for which the characteristic equation is $$2=r+r^2implies (r-1)(r+2)=0$$ I am sure that you can take it from here and get a simple expression for $a_n$.







share|cite|improve this answer













share|cite|improve this answer



share|cite|improve this answer











answered Jul 16 at 3:49









Claude Leibovici

112k1055126




112k1055126











  • But why did you get a characteristic equation to the coeficients? Can you do that?
    – mvfs314
    Jul 16 at 11:05










  • @mvfs314. How do you solve $2 b_n=b_n+1+b_n+2$ ?
    – Claude Leibovici
    Jul 16 at 11:10










  • I don't know hahaha is this an ODE?
    – mvfs314
    Jul 16 at 11:13
















  • But why did you get a characteristic equation to the coeficients? Can you do that?
    – mvfs314
    Jul 16 at 11:05










  • @mvfs314. How do you solve $2 b_n=b_n+1+b_n+2$ ?
    – Claude Leibovici
    Jul 16 at 11:10










  • I don't know hahaha is this an ODE?
    – mvfs314
    Jul 16 at 11:13















But why did you get a characteristic equation to the coeficients? Can you do that?
– mvfs314
Jul 16 at 11:05




But why did you get a characteristic equation to the coeficients? Can you do that?
– mvfs314
Jul 16 at 11:05












@mvfs314. How do you solve $2 b_n=b_n+1+b_n+2$ ?
– Claude Leibovici
Jul 16 at 11:10




@mvfs314. How do you solve $2 b_n=b_n+1+b_n+2$ ?
– Claude Leibovici
Jul 16 at 11:10












I don't know hahaha is this an ODE?
– mvfs314
Jul 16 at 11:13




I don't know hahaha is this an ODE?
– mvfs314
Jul 16 at 11:13












 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2853017%2fsolving-ode-using-power-series%23new-answer', 'question_page');

);

Post as a guest













































































Comments

Popular posts from this blog

What is the equation of a 3D cone with generalised tilt?

Relationship between determinant of matrix and determinant of adjoint?

Color the edges and diagonals of a regular polygon