Solve by means of regular perturbation to obtain an approximate solution up to and including...












1












$begingroup$



I have to solve the following ODEs:





  1. $y''+ y = e^{epsilon cos x}$, $y(0,epsilon)=y(1,epsilon)=0$;


  2. $y''+ y = epsilon y^2$, $y(0,epsilon)=1$, $y'(0,epsilon)=0$.






I am having trouble with these two questions.



For the first one, I got:
begin{align}
y''_0 + y_0 &=1,& y_0(0)&=y_0(1)=0\
y''_1 + y_1 &= cos x,& y_1(0)&=y_1(1)=0
end{align}

Not sure where the $cos x$ is from.



For the second question, unsure how $y_0(x)=cos x$
and $y_1(x)=1/2-1/3(cos x)-1/6(cos 2x)$










share|cite|improve this question











$endgroup$












  • $begingroup$
    Welcome to MSE. Please read this text about how to ask a good question.
    $endgroup$
    – José Carlos Santos
    Dec 19 '18 at 0:01
















1












$begingroup$



I have to solve the following ODEs:





  1. $y''+ y = e^{epsilon cos x}$, $y(0,epsilon)=y(1,epsilon)=0$;


  2. $y''+ y = epsilon y^2$, $y(0,epsilon)=1$, $y'(0,epsilon)=0$.






I am having trouble with these two questions.



For the first one, I got:
begin{align}
y''_0 + y_0 &=1,& y_0(0)&=y_0(1)=0\
y''_1 + y_1 &= cos x,& y_1(0)&=y_1(1)=0
end{align}

Not sure where the $cos x$ is from.



For the second question, unsure how $y_0(x)=cos x$
and $y_1(x)=1/2-1/3(cos x)-1/6(cos 2x)$










share|cite|improve this question











$endgroup$












  • $begingroup$
    Welcome to MSE. Please read this text about how to ask a good question.
    $endgroup$
    – José Carlos Santos
    Dec 19 '18 at 0:01














1












1








1





$begingroup$



I have to solve the following ODEs:





  1. $y''+ y = e^{epsilon cos x}$, $y(0,epsilon)=y(1,epsilon)=0$;


  2. $y''+ y = epsilon y^2$, $y(0,epsilon)=1$, $y'(0,epsilon)=0$.






I am having trouble with these two questions.



For the first one, I got:
begin{align}
y''_0 + y_0 &=1,& y_0(0)&=y_0(1)=0\
y''_1 + y_1 &= cos x,& y_1(0)&=y_1(1)=0
end{align}

Not sure where the $cos x$ is from.



For the second question, unsure how $y_0(x)=cos x$
and $y_1(x)=1/2-1/3(cos x)-1/6(cos 2x)$










share|cite|improve this question











$endgroup$





I have to solve the following ODEs:





  1. $y''+ y = e^{epsilon cos x}$, $y(0,epsilon)=y(1,epsilon)=0$;


  2. $y''+ y = epsilon y^2$, $y(0,epsilon)=1$, $y'(0,epsilon)=0$.






I am having trouble with these two questions.



For the first one, I got:
begin{align}
y''_0 + y_0 &=1,& y_0(0)&=y_0(1)=0\
y''_1 + y_1 &= cos x,& y_1(0)&=y_1(1)=0
end{align}

Not sure where the $cos x$ is from.



For the second question, unsure how $y_0(x)=cos x$
and $y_1(x)=1/2-1/3(cos x)-1/6(cos 2x)$







numerical-methods perturbation-theory






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 19 '18 at 18:50









LutzL

59.1k42056




59.1k42056










asked Dec 18 '18 at 23:25









luffyluffy

92




92












  • $begingroup$
    Welcome to MSE. Please read this text about how to ask a good question.
    $endgroup$
    – José Carlos Santos
    Dec 19 '18 at 0:01


















  • $begingroup$
    Welcome to MSE. Please read this text about how to ask a good question.
    $endgroup$
    – José Carlos Santos
    Dec 19 '18 at 0:01
















$begingroup$
Welcome to MSE. Please read this text about how to ask a good question.
$endgroup$
– José Carlos Santos
Dec 19 '18 at 0:01




$begingroup$
Welcome to MSE. Please read this text about how to ask a good question.
$endgroup$
– José Carlos Santos
Dec 19 '18 at 0:01










1 Answer
1






active

oldest

votes


















1












$begingroup$


  1. ) You can write the right side as series expansion in $ϵ$, that is, insert the series for the exponential function
    $$
    e^{ϵcos x}=1+ϵcos x+frac{ϵ^2}2cos^2 x+frac{ϵ^3}6cos^2 x+...
    $$


  2. ) The initial equation is the harmonic oscillator
    $$
    y_0''+y_0=0,~~y_0(0)=1,~~y_0'(0)=0
    $$

    which has $y_0(x)=cos(x)$ as solution. The next equation of the terms of first order in $ϵ$ is
    $$
    y_1''+y_1=y_0^2,~~y_1(0)=1,~~y_1'(0)=0
    $$

    and $cos^2x$ is as is well-known equal to $frac12(1+cos(2x))$. Apply the method of undetermined coefficients to find the corresponding particular solution.







share|cite|improve this answer









$endgroup$













  • $begingroup$
    solving y''+y=0 gives me: c1cos(x)+c2sin(x) and solving for the particular integral: substituting acos(x)+bsin(x) back into the ODE: y= acos(x)+bsin(x) y'=-asin(x)+bcos(x) y''=-acos(x)-bsin(x) plugging this into the ODE would just cancel and leave 0=cos(x) So, how does the solution give y=1/2sin(x)
    $endgroup$
    – luffy
    Dec 19 '18 at 17:35












  • $begingroup$
    Now apply variation of constants or undetermined coefficients to find a particular solution for the right side $1$.
    $endgroup$
    – LutzL
    Dec 19 '18 at 18:48











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',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
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%2f3045835%2fsolve-by-means-of-regular-perturbation-to-obtain-an-approximate-solution-up-to-a%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1












$begingroup$


  1. ) You can write the right side as series expansion in $ϵ$, that is, insert the series for the exponential function
    $$
    e^{ϵcos x}=1+ϵcos x+frac{ϵ^2}2cos^2 x+frac{ϵ^3}6cos^2 x+...
    $$


  2. ) The initial equation is the harmonic oscillator
    $$
    y_0''+y_0=0,~~y_0(0)=1,~~y_0'(0)=0
    $$

    which has $y_0(x)=cos(x)$ as solution. The next equation of the terms of first order in $ϵ$ is
    $$
    y_1''+y_1=y_0^2,~~y_1(0)=1,~~y_1'(0)=0
    $$

    and $cos^2x$ is as is well-known equal to $frac12(1+cos(2x))$. Apply the method of undetermined coefficients to find the corresponding particular solution.







share|cite|improve this answer









$endgroup$













  • $begingroup$
    solving y''+y=0 gives me: c1cos(x)+c2sin(x) and solving for the particular integral: substituting acos(x)+bsin(x) back into the ODE: y= acos(x)+bsin(x) y'=-asin(x)+bcos(x) y''=-acos(x)-bsin(x) plugging this into the ODE would just cancel and leave 0=cos(x) So, how does the solution give y=1/2sin(x)
    $endgroup$
    – luffy
    Dec 19 '18 at 17:35












  • $begingroup$
    Now apply variation of constants or undetermined coefficients to find a particular solution for the right side $1$.
    $endgroup$
    – LutzL
    Dec 19 '18 at 18:48
















1












$begingroup$


  1. ) You can write the right side as series expansion in $ϵ$, that is, insert the series for the exponential function
    $$
    e^{ϵcos x}=1+ϵcos x+frac{ϵ^2}2cos^2 x+frac{ϵ^3}6cos^2 x+...
    $$


  2. ) The initial equation is the harmonic oscillator
    $$
    y_0''+y_0=0,~~y_0(0)=1,~~y_0'(0)=0
    $$

    which has $y_0(x)=cos(x)$ as solution. The next equation of the terms of first order in $ϵ$ is
    $$
    y_1''+y_1=y_0^2,~~y_1(0)=1,~~y_1'(0)=0
    $$

    and $cos^2x$ is as is well-known equal to $frac12(1+cos(2x))$. Apply the method of undetermined coefficients to find the corresponding particular solution.







share|cite|improve this answer









$endgroup$













  • $begingroup$
    solving y''+y=0 gives me: c1cos(x)+c2sin(x) and solving for the particular integral: substituting acos(x)+bsin(x) back into the ODE: y= acos(x)+bsin(x) y'=-asin(x)+bcos(x) y''=-acos(x)-bsin(x) plugging this into the ODE would just cancel and leave 0=cos(x) So, how does the solution give y=1/2sin(x)
    $endgroup$
    – luffy
    Dec 19 '18 at 17:35












  • $begingroup$
    Now apply variation of constants or undetermined coefficients to find a particular solution for the right side $1$.
    $endgroup$
    – LutzL
    Dec 19 '18 at 18:48














1












1








1





$begingroup$


  1. ) You can write the right side as series expansion in $ϵ$, that is, insert the series for the exponential function
    $$
    e^{ϵcos x}=1+ϵcos x+frac{ϵ^2}2cos^2 x+frac{ϵ^3}6cos^2 x+...
    $$


  2. ) The initial equation is the harmonic oscillator
    $$
    y_0''+y_0=0,~~y_0(0)=1,~~y_0'(0)=0
    $$

    which has $y_0(x)=cos(x)$ as solution. The next equation of the terms of first order in $ϵ$ is
    $$
    y_1''+y_1=y_0^2,~~y_1(0)=1,~~y_1'(0)=0
    $$

    and $cos^2x$ is as is well-known equal to $frac12(1+cos(2x))$. Apply the method of undetermined coefficients to find the corresponding particular solution.







share|cite|improve this answer









$endgroup$




  1. ) You can write the right side as series expansion in $ϵ$, that is, insert the series for the exponential function
    $$
    e^{ϵcos x}=1+ϵcos x+frac{ϵ^2}2cos^2 x+frac{ϵ^3}6cos^2 x+...
    $$


  2. ) The initial equation is the harmonic oscillator
    $$
    y_0''+y_0=0,~~y_0(0)=1,~~y_0'(0)=0
    $$

    which has $y_0(x)=cos(x)$ as solution. The next equation of the terms of first order in $ϵ$ is
    $$
    y_1''+y_1=y_0^2,~~y_1(0)=1,~~y_1'(0)=0
    $$

    and $cos^2x$ is as is well-known equal to $frac12(1+cos(2x))$. Apply the method of undetermined coefficients to find the corresponding particular solution.








share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Dec 19 '18 at 9:11









LutzLLutzL

59.1k42056




59.1k42056












  • $begingroup$
    solving y''+y=0 gives me: c1cos(x)+c2sin(x) and solving for the particular integral: substituting acos(x)+bsin(x) back into the ODE: y= acos(x)+bsin(x) y'=-asin(x)+bcos(x) y''=-acos(x)-bsin(x) plugging this into the ODE would just cancel and leave 0=cos(x) So, how does the solution give y=1/2sin(x)
    $endgroup$
    – luffy
    Dec 19 '18 at 17:35












  • $begingroup$
    Now apply variation of constants or undetermined coefficients to find a particular solution for the right side $1$.
    $endgroup$
    – LutzL
    Dec 19 '18 at 18:48


















  • $begingroup$
    solving y''+y=0 gives me: c1cos(x)+c2sin(x) and solving for the particular integral: substituting acos(x)+bsin(x) back into the ODE: y= acos(x)+bsin(x) y'=-asin(x)+bcos(x) y''=-acos(x)-bsin(x) plugging this into the ODE would just cancel and leave 0=cos(x) So, how does the solution give y=1/2sin(x)
    $endgroup$
    – luffy
    Dec 19 '18 at 17:35












  • $begingroup$
    Now apply variation of constants or undetermined coefficients to find a particular solution for the right side $1$.
    $endgroup$
    – LutzL
    Dec 19 '18 at 18:48
















$begingroup$
solving y''+y=0 gives me: c1cos(x)+c2sin(x) and solving for the particular integral: substituting acos(x)+bsin(x) back into the ODE: y= acos(x)+bsin(x) y'=-asin(x)+bcos(x) y''=-acos(x)-bsin(x) plugging this into the ODE would just cancel and leave 0=cos(x) So, how does the solution give y=1/2sin(x)
$endgroup$
– luffy
Dec 19 '18 at 17:35






$begingroup$
solving y''+y=0 gives me: c1cos(x)+c2sin(x) and solving for the particular integral: substituting acos(x)+bsin(x) back into the ODE: y= acos(x)+bsin(x) y'=-asin(x)+bcos(x) y''=-acos(x)-bsin(x) plugging this into the ODE would just cancel and leave 0=cos(x) So, how does the solution give y=1/2sin(x)
$endgroup$
– luffy
Dec 19 '18 at 17:35














$begingroup$
Now apply variation of constants or undetermined coefficients to find a particular solution for the right side $1$.
$endgroup$
– LutzL
Dec 19 '18 at 18:48




$begingroup$
Now apply variation of constants or undetermined coefficients to find a particular solution for the right side $1$.
$endgroup$
– LutzL
Dec 19 '18 at 18:48


















draft saved

draft discarded




















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3045835%2fsolve-by-means-of-regular-perturbation-to-obtain-an-approximate-solution-up-to-a%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How do I know what Microsoft account the skydrive app is syncing to?

Grease: Live!

When does type information flow backwards in C++?