Solution of $y''-y'=xe^x$ using Method of Undetermined Coefficients
The problem gives $y''-y'=xe^x$ with conditions $y(0)=2$ and $y'left(0right)=1$.
My issue is when calculating the particular solution of the equation. I assumed that it should take the form $y_p=(Ax+B)e^x$. After substituting into the 2nd ODE, it becomes:
$(2A+Ax+B)e^x-(A+Ax+B)e^x=xe^x$
This simplifies to $Ae^x=xe^x$. I'm not sure how to progress. Is $A=0$? This does not seem like the correct way to proceed with solving the problem but I am not sure how to proceed.
differential-equations
add a comment |
The problem gives $y''-y'=xe^x$ with conditions $y(0)=2$ and $y'left(0right)=1$.
My issue is when calculating the particular solution of the equation. I assumed that it should take the form $y_p=(Ax+B)e^x$. After substituting into the 2nd ODE, it becomes:
$(2A+Ax+B)e^x-(A+Ax+B)e^x=xe^x$
This simplifies to $Ae^x=xe^x$. I'm not sure how to progress. Is $A=0$? This does not seem like the correct way to proceed with solving the problem but I am not sure how to proceed.
differential-equations
3
Try $(Ax^2+Bx+C)e^x$.
– Lord Shark the Unknown
Jun 28 '17 at 4:20
@LordSharktheUnknown Why wouldn't it take the form $(Ax+B)e^x$ though?
– Matt Chu
Jun 28 '17 at 4:21
5
I thought you'd just proved why not.
– Lord Shark the Unknown
Jun 28 '17 at 4:26
It doesn't take the form $(Ax + B)e^x because of the second derivative.
– Retired account
Jun 28 '17 at 4:43
The reason you don't have $(Ax+B)e^x$ is that $e^x$ is already a solution to the homogeneous equation $y''-y'=0$, so you need to find another term to use instead.
– Carmeister
Jun 28 '17 at 5:19
add a comment |
The problem gives $y''-y'=xe^x$ with conditions $y(0)=2$ and $y'left(0right)=1$.
My issue is when calculating the particular solution of the equation. I assumed that it should take the form $y_p=(Ax+B)e^x$. After substituting into the 2nd ODE, it becomes:
$(2A+Ax+B)e^x-(A+Ax+B)e^x=xe^x$
This simplifies to $Ae^x=xe^x$. I'm not sure how to progress. Is $A=0$? This does not seem like the correct way to proceed with solving the problem but I am not sure how to proceed.
differential-equations
The problem gives $y''-y'=xe^x$ with conditions $y(0)=2$ and $y'left(0right)=1$.
My issue is when calculating the particular solution of the equation. I assumed that it should take the form $y_p=(Ax+B)e^x$. After substituting into the 2nd ODE, it becomes:
$(2A+Ax+B)e^x-(A+Ax+B)e^x=xe^x$
This simplifies to $Ae^x=xe^x$. I'm not sure how to progress. Is $A=0$? This does not seem like the correct way to proceed with solving the problem but I am not sure how to proceed.
differential-equations
differential-equations
edited Jun 28 '17 at 4:23
asked Jun 28 '17 at 4:18
Matt Chu
112
112
3
Try $(Ax^2+Bx+C)e^x$.
– Lord Shark the Unknown
Jun 28 '17 at 4:20
@LordSharktheUnknown Why wouldn't it take the form $(Ax+B)e^x$ though?
– Matt Chu
Jun 28 '17 at 4:21
5
I thought you'd just proved why not.
– Lord Shark the Unknown
Jun 28 '17 at 4:26
It doesn't take the form $(Ax + B)e^x because of the second derivative.
– Retired account
Jun 28 '17 at 4:43
The reason you don't have $(Ax+B)e^x$ is that $e^x$ is already a solution to the homogeneous equation $y''-y'=0$, so you need to find another term to use instead.
– Carmeister
Jun 28 '17 at 5:19
add a comment |
3
Try $(Ax^2+Bx+C)e^x$.
– Lord Shark the Unknown
Jun 28 '17 at 4:20
@LordSharktheUnknown Why wouldn't it take the form $(Ax+B)e^x$ though?
– Matt Chu
Jun 28 '17 at 4:21
5
I thought you'd just proved why not.
– Lord Shark the Unknown
Jun 28 '17 at 4:26
It doesn't take the form $(Ax + B)e^x because of the second derivative.
– Retired account
Jun 28 '17 at 4:43
The reason you don't have $(Ax+B)e^x$ is that $e^x$ is already a solution to the homogeneous equation $y''-y'=0$, so you need to find another term to use instead.
– Carmeister
Jun 28 '17 at 5:19
3
3
Try $(Ax^2+Bx+C)e^x$.
– Lord Shark the Unknown
Jun 28 '17 at 4:20
Try $(Ax^2+Bx+C)e^x$.
– Lord Shark the Unknown
Jun 28 '17 at 4:20
@LordSharktheUnknown Why wouldn't it take the form $(Ax+B)e^x$ though?
– Matt Chu
Jun 28 '17 at 4:21
@LordSharktheUnknown Why wouldn't it take the form $(Ax+B)e^x$ though?
– Matt Chu
Jun 28 '17 at 4:21
5
5
I thought you'd just proved why not.
– Lord Shark the Unknown
Jun 28 '17 at 4:26
I thought you'd just proved why not.
– Lord Shark the Unknown
Jun 28 '17 at 4:26
It doesn't take the form $(Ax + B)e^x because of the second derivative.
– Retired account
Jun 28 '17 at 4:43
It doesn't take the form $(Ax + B)e^x because of the second derivative.
– Retired account
Jun 28 '17 at 4:43
The reason you don't have $(Ax+B)e^x$ is that $e^x$ is already a solution to the homogeneous equation $y''-y'=0$, so you need to find another term to use instead.
– Carmeister
Jun 28 '17 at 5:19
The reason you don't have $(Ax+B)e^x$ is that $e^x$ is already a solution to the homogeneous equation $y''-y'=0$, so you need to find another term to use instead.
– Carmeister
Jun 28 '17 at 5:19
add a comment |
2 Answers
2
active
oldest
votes
If I may suggest, proceed by step.
Start using $y'=u$ to have $$y''-y'=xe^ximplies u'-u=xe^x$$ Now let $u=v e^x$ to get $$v' e^x=x e^x implies v'=ximplies v=frac 12 x^2+c_1$$ Here, you already see that the solution will contain an $x^2$ term somewhere.
add a comment |
For any Problem First try taking the RHS as y, In this case y=xe^x. Substitute in the LHS, If you get the answer as 0 then your guess is simply not compatible, It should be yp=(Ax+B)xe^x. To be exact you should multiply your guess by x until you find a different league of terms than in the LHS.
Welcome to MSE. For some basic information about writing mathematics at this site see, e.g., basic help on mathjax notation, mathjax tutorial and quick reference, main meta site math tutorial and equation editing how-to.
– José Carlos Santos
Nov 28 '18 at 8:58
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2338940%2fsolution-of-y-y-xex-using-method-of-undetermined-coefficients%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
If I may suggest, proceed by step.
Start using $y'=u$ to have $$y''-y'=xe^ximplies u'-u=xe^x$$ Now let $u=v e^x$ to get $$v' e^x=x e^x implies v'=ximplies v=frac 12 x^2+c_1$$ Here, you already see that the solution will contain an $x^2$ term somewhere.
add a comment |
If I may suggest, proceed by step.
Start using $y'=u$ to have $$y''-y'=xe^ximplies u'-u=xe^x$$ Now let $u=v e^x$ to get $$v' e^x=x e^x implies v'=ximplies v=frac 12 x^2+c_1$$ Here, you already see that the solution will contain an $x^2$ term somewhere.
add a comment |
If I may suggest, proceed by step.
Start using $y'=u$ to have $$y''-y'=xe^ximplies u'-u=xe^x$$ Now let $u=v e^x$ to get $$v' e^x=x e^x implies v'=ximplies v=frac 12 x^2+c_1$$ Here, you already see that the solution will contain an $x^2$ term somewhere.
If I may suggest, proceed by step.
Start using $y'=u$ to have $$y''-y'=xe^ximplies u'-u=xe^x$$ Now let $u=v e^x$ to get $$v' e^x=x e^x implies v'=ximplies v=frac 12 x^2+c_1$$ Here, you already see that the solution will contain an $x^2$ term somewhere.
answered Jun 28 '17 at 4:59
Claude Leibovici
119k1157132
119k1157132
add a comment |
add a comment |
For any Problem First try taking the RHS as y, In this case y=xe^x. Substitute in the LHS, If you get the answer as 0 then your guess is simply not compatible, It should be yp=(Ax+B)xe^x. To be exact you should multiply your guess by x until you find a different league of terms than in the LHS.
Welcome to MSE. For some basic information about writing mathematics at this site see, e.g., basic help on mathjax notation, mathjax tutorial and quick reference, main meta site math tutorial and equation editing how-to.
– José Carlos Santos
Nov 28 '18 at 8:58
add a comment |
For any Problem First try taking the RHS as y, In this case y=xe^x. Substitute in the LHS, If you get the answer as 0 then your guess is simply not compatible, It should be yp=(Ax+B)xe^x. To be exact you should multiply your guess by x until you find a different league of terms than in the LHS.
Welcome to MSE. For some basic information about writing mathematics at this site see, e.g., basic help on mathjax notation, mathjax tutorial and quick reference, main meta site math tutorial and equation editing how-to.
– José Carlos Santos
Nov 28 '18 at 8:58
add a comment |
For any Problem First try taking the RHS as y, In this case y=xe^x. Substitute in the LHS, If you get the answer as 0 then your guess is simply not compatible, It should be yp=(Ax+B)xe^x. To be exact you should multiply your guess by x until you find a different league of terms than in the LHS.
For any Problem First try taking the RHS as y, In this case y=xe^x. Substitute in the LHS, If you get the answer as 0 then your guess is simply not compatible, It should be yp=(Ax+B)xe^x. To be exact you should multiply your guess by x until you find a different league of terms than in the LHS.
answered Nov 28 '18 at 8:37
AwWSaM
1
1
Welcome to MSE. For some basic information about writing mathematics at this site see, e.g., basic help on mathjax notation, mathjax tutorial and quick reference, main meta site math tutorial and equation editing how-to.
– José Carlos Santos
Nov 28 '18 at 8:58
add a comment |
Welcome to MSE. For some basic information about writing mathematics at this site see, e.g., basic help on mathjax notation, mathjax tutorial and quick reference, main meta site math tutorial and equation editing how-to.
– José Carlos Santos
Nov 28 '18 at 8:58
Welcome to MSE. For some basic information about writing mathematics at this site see, e.g., basic help on mathjax notation, mathjax tutorial and quick reference, main meta site math tutorial and equation editing how-to.
– José Carlos Santos
Nov 28 '18 at 8:58
Welcome to MSE. For some basic information about writing mathematics at this site see, e.g., basic help on mathjax notation, mathjax tutorial and quick reference, main meta site math tutorial and equation editing how-to.
– José Carlos Santos
Nov 28 '18 at 8:58
add a comment |
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2338940%2fsolution-of-y-y-xex-using-method-of-undetermined-coefficients%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
3
Try $(Ax^2+Bx+C)e^x$.
– Lord Shark the Unknown
Jun 28 '17 at 4:20
@LordSharktheUnknown Why wouldn't it take the form $(Ax+B)e^x$ though?
– Matt Chu
Jun 28 '17 at 4:21
5
I thought you'd just proved why not.
– Lord Shark the Unknown
Jun 28 '17 at 4:26
It doesn't take the form $(Ax + B)e^x because of the second derivative.
– Retired account
Jun 28 '17 at 4:43
The reason you don't have $(Ax+B)e^x$ is that $e^x$ is already a solution to the homogeneous equation $y''-y'=0$, so you need to find another term to use instead.
– Carmeister
Jun 28 '17 at 5:19