Solving a simple homogeneous ODE












0












$begingroup$


$y^{(4)}-2y^{(3)}+5y''(x)=0$



Ansatz: $y(x)=e^{lambda x}$



We find: $P(lambda)=lambda^4-2lambda^3+5lambda^2=lambda^2(lambda^2-2lambda+5)=0 quad Rightarrow lambda_{1,2}=0, lambda_{3,4}=1+-2i$



So we find:



$$y_H(x)=A+Bx+e^x[Ccos(2x)+Dsin(2x)]tag{1}$$



Now, the solution they gave me is this:



$$y_h(x)=k_1+k_2x+frac{1}{25}{k_3(4cos(2x)+3sin(2x))+k_4(3cos(2x)-4sin(2x)-4sin(2x))}e^xtag{2}$$



Now I have no idea how they obtained that. When I plot them I can see they are the same but anyone has any idea how to obtain (2)?










share|cite|improve this question









$endgroup$












  • $begingroup$
    Constants we need find from initial conditions: $y(x_0)=y_0$, $y'(x_0)=y_1$, $y''(x_0)=y_2$, $y'''(x_0)=y_3$,
    $endgroup$
    – Aleksas Domarkas
    Jan 9 at 14:04










  • $begingroup$
    Not entirely sure who "they" is, but the two solutions are equivalent. If you collect all the things multiplying $e^xcos(2x),$ you'll see that it amounts to an arbitrary constant. The same goes for everything multiplying $e^xsin(2x)$. If "they" is a CAS like Mathematica, then the answer is you'd have to dive into its documentation.
    $endgroup$
    – Adrian Keister
    Jan 9 at 14:33












  • $begingroup$
    yeah I also though like that and I also confirmed that the solutions are the same - but I am very curious to know how that other solution was derived. (Can't ask them atm). They being the people who made the exersice sheet.
    $endgroup$
    – xotix
    Jan 9 at 15:03










  • $begingroup$
    Are $k_1,k_2,k_3,k_4$ the initial conditions?
    $endgroup$
    – Dylan
    Jan 11 at 12:56










  • $begingroup$
    Yeah - to be determined by some initial values.
    $endgroup$
    – xotix
    Jan 12 at 17:14
















0












$begingroup$


$y^{(4)}-2y^{(3)}+5y''(x)=0$



Ansatz: $y(x)=e^{lambda x}$



We find: $P(lambda)=lambda^4-2lambda^3+5lambda^2=lambda^2(lambda^2-2lambda+5)=0 quad Rightarrow lambda_{1,2}=0, lambda_{3,4}=1+-2i$



So we find:



$$y_H(x)=A+Bx+e^x[Ccos(2x)+Dsin(2x)]tag{1}$$



Now, the solution they gave me is this:



$$y_h(x)=k_1+k_2x+frac{1}{25}{k_3(4cos(2x)+3sin(2x))+k_4(3cos(2x)-4sin(2x)-4sin(2x))}e^xtag{2}$$



Now I have no idea how they obtained that. When I plot them I can see they are the same but anyone has any idea how to obtain (2)?










share|cite|improve this question









$endgroup$












  • $begingroup$
    Constants we need find from initial conditions: $y(x_0)=y_0$, $y'(x_0)=y_1$, $y''(x_0)=y_2$, $y'''(x_0)=y_3$,
    $endgroup$
    – Aleksas Domarkas
    Jan 9 at 14:04










  • $begingroup$
    Not entirely sure who "they" is, but the two solutions are equivalent. If you collect all the things multiplying $e^xcos(2x),$ you'll see that it amounts to an arbitrary constant. The same goes for everything multiplying $e^xsin(2x)$. If "they" is a CAS like Mathematica, then the answer is you'd have to dive into its documentation.
    $endgroup$
    – Adrian Keister
    Jan 9 at 14:33












  • $begingroup$
    yeah I also though like that and I also confirmed that the solutions are the same - but I am very curious to know how that other solution was derived. (Can't ask them atm). They being the people who made the exersice sheet.
    $endgroup$
    – xotix
    Jan 9 at 15:03










  • $begingroup$
    Are $k_1,k_2,k_3,k_4$ the initial conditions?
    $endgroup$
    – Dylan
    Jan 11 at 12:56










  • $begingroup$
    Yeah - to be determined by some initial values.
    $endgroup$
    – xotix
    Jan 12 at 17:14














0












0








0





$begingroup$


$y^{(4)}-2y^{(3)}+5y''(x)=0$



Ansatz: $y(x)=e^{lambda x}$



We find: $P(lambda)=lambda^4-2lambda^3+5lambda^2=lambda^2(lambda^2-2lambda+5)=0 quad Rightarrow lambda_{1,2}=0, lambda_{3,4}=1+-2i$



So we find:



$$y_H(x)=A+Bx+e^x[Ccos(2x)+Dsin(2x)]tag{1}$$



Now, the solution they gave me is this:



$$y_h(x)=k_1+k_2x+frac{1}{25}{k_3(4cos(2x)+3sin(2x))+k_4(3cos(2x)-4sin(2x)-4sin(2x))}e^xtag{2}$$



Now I have no idea how they obtained that. When I plot them I can see they are the same but anyone has any idea how to obtain (2)?










share|cite|improve this question









$endgroup$




$y^{(4)}-2y^{(3)}+5y''(x)=0$



Ansatz: $y(x)=e^{lambda x}$



We find: $P(lambda)=lambda^4-2lambda^3+5lambda^2=lambda^2(lambda^2-2lambda+5)=0 quad Rightarrow lambda_{1,2}=0, lambda_{3,4}=1+-2i$



So we find:



$$y_H(x)=A+Bx+e^x[Ccos(2x)+Dsin(2x)]tag{1}$$



Now, the solution they gave me is this:



$$y_h(x)=k_1+k_2x+frac{1}{25}{k_3(4cos(2x)+3sin(2x))+k_4(3cos(2x)-4sin(2x)-4sin(2x))}e^xtag{2}$$



Now I have no idea how they obtained that. When I plot them I can see they are the same but anyone has any idea how to obtain (2)?







ordinary-differential-equations






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Jan 9 at 13:53









xotixxotix

291411




291411












  • $begingroup$
    Constants we need find from initial conditions: $y(x_0)=y_0$, $y'(x_0)=y_1$, $y''(x_0)=y_2$, $y'''(x_0)=y_3$,
    $endgroup$
    – Aleksas Domarkas
    Jan 9 at 14:04










  • $begingroup$
    Not entirely sure who "they" is, but the two solutions are equivalent. If you collect all the things multiplying $e^xcos(2x),$ you'll see that it amounts to an arbitrary constant. The same goes for everything multiplying $e^xsin(2x)$. If "they" is a CAS like Mathematica, then the answer is you'd have to dive into its documentation.
    $endgroup$
    – Adrian Keister
    Jan 9 at 14:33












  • $begingroup$
    yeah I also though like that and I also confirmed that the solutions are the same - but I am very curious to know how that other solution was derived. (Can't ask them atm). They being the people who made the exersice sheet.
    $endgroup$
    – xotix
    Jan 9 at 15:03










  • $begingroup$
    Are $k_1,k_2,k_3,k_4$ the initial conditions?
    $endgroup$
    – Dylan
    Jan 11 at 12:56










  • $begingroup$
    Yeah - to be determined by some initial values.
    $endgroup$
    – xotix
    Jan 12 at 17:14


















  • $begingroup$
    Constants we need find from initial conditions: $y(x_0)=y_0$, $y'(x_0)=y_1$, $y''(x_0)=y_2$, $y'''(x_0)=y_3$,
    $endgroup$
    – Aleksas Domarkas
    Jan 9 at 14:04










  • $begingroup$
    Not entirely sure who "they" is, but the two solutions are equivalent. If you collect all the things multiplying $e^xcos(2x),$ you'll see that it amounts to an arbitrary constant. The same goes for everything multiplying $e^xsin(2x)$. If "they" is a CAS like Mathematica, then the answer is you'd have to dive into its documentation.
    $endgroup$
    – Adrian Keister
    Jan 9 at 14:33












  • $begingroup$
    yeah I also though like that and I also confirmed that the solutions are the same - but I am very curious to know how that other solution was derived. (Can't ask them atm). They being the people who made the exersice sheet.
    $endgroup$
    – xotix
    Jan 9 at 15:03










  • $begingroup$
    Are $k_1,k_2,k_3,k_4$ the initial conditions?
    $endgroup$
    – Dylan
    Jan 11 at 12:56










  • $begingroup$
    Yeah - to be determined by some initial values.
    $endgroup$
    – xotix
    Jan 12 at 17:14
















$begingroup$
Constants we need find from initial conditions: $y(x_0)=y_0$, $y'(x_0)=y_1$, $y''(x_0)=y_2$, $y'''(x_0)=y_3$,
$endgroup$
– Aleksas Domarkas
Jan 9 at 14:04




$begingroup$
Constants we need find from initial conditions: $y(x_0)=y_0$, $y'(x_0)=y_1$, $y''(x_0)=y_2$, $y'''(x_0)=y_3$,
$endgroup$
– Aleksas Domarkas
Jan 9 at 14:04












$begingroup$
Not entirely sure who "they" is, but the two solutions are equivalent. If you collect all the things multiplying $e^xcos(2x),$ you'll see that it amounts to an arbitrary constant. The same goes for everything multiplying $e^xsin(2x)$. If "they" is a CAS like Mathematica, then the answer is you'd have to dive into its documentation.
$endgroup$
– Adrian Keister
Jan 9 at 14:33






$begingroup$
Not entirely sure who "they" is, but the two solutions are equivalent. If you collect all the things multiplying $e^xcos(2x),$ you'll see that it amounts to an arbitrary constant. The same goes for everything multiplying $e^xsin(2x)$. If "they" is a CAS like Mathematica, then the answer is you'd have to dive into its documentation.
$endgroup$
– Adrian Keister
Jan 9 at 14:33














$begingroup$
yeah I also though like that and I also confirmed that the solutions are the same - but I am very curious to know how that other solution was derived. (Can't ask them atm). They being the people who made the exersice sheet.
$endgroup$
– xotix
Jan 9 at 15:03




$begingroup$
yeah I also though like that and I also confirmed that the solutions are the same - but I am very curious to know how that other solution was derived. (Can't ask them atm). They being the people who made the exersice sheet.
$endgroup$
– xotix
Jan 9 at 15:03












$begingroup$
Are $k_1,k_2,k_3,k_4$ the initial conditions?
$endgroup$
– Dylan
Jan 11 at 12:56




$begingroup$
Are $k_1,k_2,k_3,k_4$ the initial conditions?
$endgroup$
– Dylan
Jan 11 at 12:56












$begingroup$
Yeah - to be determined by some initial values.
$endgroup$
– xotix
Jan 12 at 17:14




$begingroup$
Yeah - to be determined by some initial values.
$endgroup$
– xotix
Jan 12 at 17:14










0






active

oldest

votes












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%2f3067471%2fsolving-a-simple-homogeneous-ode%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















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%2f3067471%2fsolving-a-simple-homogeneous-ode%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

Bressuire

Cabo Verde

Gyllenstierna