Particular solutions to $y''+4y=cos^2(x)$
I have to solve the equation above but after I have solved the homogeneous part:
$$y_h=Acos(2x)+Bsin(2x), ; A,Binmathbb{C},$$
I don't get it how to find $y_p$. I am told to deduct it from $cos^2(x)=frac{1}{2}cos(2x)+frac{1}{2}$, but I don't understand how. Can you help me tho?
differential-equations
New contributor
add a comment |
I have to solve the equation above but after I have solved the homogeneous part:
$$y_h=Acos(2x)+Bsin(2x), ; A,Binmathbb{C},$$
I don't get it how to find $y_p$. I am told to deduct it from $cos^2(x)=frac{1}{2}cos(2x)+frac{1}{2}$, but I don't understand how. Can you help me tho?
differential-equations
New contributor
1
Note that $cos 2x$ solves the homogeneous equation and also appears in the nonhomogeneity term. Do you know how to modify it to get a particular solution in such a case?
– Oscar Lanzi
Jan 4 at 14:46
No I can't find out the way to get a particular solution
– Alexis
Jan 4 at 14:55
add a comment |
I have to solve the equation above but after I have solved the homogeneous part:
$$y_h=Acos(2x)+Bsin(2x), ; A,Binmathbb{C},$$
I don't get it how to find $y_p$. I am told to deduct it from $cos^2(x)=frac{1}{2}cos(2x)+frac{1}{2}$, but I don't understand how. Can you help me tho?
differential-equations
New contributor
I have to solve the equation above but after I have solved the homogeneous part:
$$y_h=Acos(2x)+Bsin(2x), ; A,Binmathbb{C},$$
I don't get it how to find $y_p$. I am told to deduct it from $cos^2(x)=frac{1}{2}cos(2x)+frac{1}{2}$, but I don't understand how. Can you help me tho?
differential-equations
differential-equations
New contributor
New contributor
edited Jan 4 at 14:52
zipirovich
11.2k11631
11.2k11631
New contributor
asked Jan 4 at 14:38
AlexisAlexis
82
82
New contributor
New contributor
1
Note that $cos 2x$ solves the homogeneous equation and also appears in the nonhomogeneity term. Do you know how to modify it to get a particular solution in such a case?
– Oscar Lanzi
Jan 4 at 14:46
No I can't find out the way to get a particular solution
– Alexis
Jan 4 at 14:55
add a comment |
1
Note that $cos 2x$ solves the homogeneous equation and also appears in the nonhomogeneity term. Do you know how to modify it to get a particular solution in such a case?
– Oscar Lanzi
Jan 4 at 14:46
No I can't find out the way to get a particular solution
– Alexis
Jan 4 at 14:55
1
1
Note that $cos 2x$ solves the homogeneous equation and also appears in the nonhomogeneity term. Do you know how to modify it to get a particular solution in such a case?
– Oscar Lanzi
Jan 4 at 14:46
Note that $cos 2x$ solves the homogeneous equation and also appears in the nonhomogeneity term. Do you know how to modify it to get a particular solution in such a case?
– Oscar Lanzi
Jan 4 at 14:46
No I can't find out the way to get a particular solution
– Alexis
Jan 4 at 14:55
No I can't find out the way to get a particular solution
– Alexis
Jan 4 at 14:55
add a comment |
1 Answer
1
active
oldest
votes
What the hint means is that first of all you literally replace the right-hand side of the equation with $cos^2(x)=frac{1}{2}cos(2x)+frac{1}{2}$, so now you're looking for a particular solution to
$$y''+4y=frac{1}{2}cos(2x)+frac{1}{2}.$$
Moreover, by the superposition principle for particular solutions (see e.g. here or here), we may seek separate solutions to
$$y''+4y=frac{1}{2}cos(2x) quad text{and} quad y''+4y=frac{1}{2}$$
and then add them together.
- For the first equation $y''+4y=frac{1}{2}cos(2x)$, note that $lambda=pm2i$ were the roots of the characteristic equation, so you should set up a particular solution in the form $y_{p1}(x)=x(Acos(2x)+Bsin(2x))$.
- For the second equation $y''+4y=frac{1}{2}$, note that $lambda=0$ was not a root of the characteristic equation, so you should set up a particular solution in the form $y_{p2}(x)=A$.
Ok I think I see but with the principle of superposition shouldn't I find 2 particular solutions of each new ODE as it is a 2nd order ?
– Alexis
Jan 4 at 15:19
@Alexis: Yes, that's exactly what I said. You find two particular solutions, so to speak. More precisely, you find one particular solution to each of the separate non-homogeneous equations: $y_{p1}$ for the first and $y_{p2}$ for the second. Then a particular solution to the original non-homogeneous equation will be $y_p=y_{p1}+y_{p2}$.
– zipirovich
Jan 4 at 15:21
Alright then I get it thank you very much for your help !
– Alexis
Jan 4 at 15:25
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
});
}
});
Alexis is a new contributor. Be nice, and check out our Code of Conduct.
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%2f3061711%2fparticular-solutions-to-y4y-cos2x%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
What the hint means is that first of all you literally replace the right-hand side of the equation with $cos^2(x)=frac{1}{2}cos(2x)+frac{1}{2}$, so now you're looking for a particular solution to
$$y''+4y=frac{1}{2}cos(2x)+frac{1}{2}.$$
Moreover, by the superposition principle for particular solutions (see e.g. here or here), we may seek separate solutions to
$$y''+4y=frac{1}{2}cos(2x) quad text{and} quad y''+4y=frac{1}{2}$$
and then add them together.
- For the first equation $y''+4y=frac{1}{2}cos(2x)$, note that $lambda=pm2i$ were the roots of the characteristic equation, so you should set up a particular solution in the form $y_{p1}(x)=x(Acos(2x)+Bsin(2x))$.
- For the second equation $y''+4y=frac{1}{2}$, note that $lambda=0$ was not a root of the characteristic equation, so you should set up a particular solution in the form $y_{p2}(x)=A$.
Ok I think I see but with the principle of superposition shouldn't I find 2 particular solutions of each new ODE as it is a 2nd order ?
– Alexis
Jan 4 at 15:19
@Alexis: Yes, that's exactly what I said. You find two particular solutions, so to speak. More precisely, you find one particular solution to each of the separate non-homogeneous equations: $y_{p1}$ for the first and $y_{p2}$ for the second. Then a particular solution to the original non-homogeneous equation will be $y_p=y_{p1}+y_{p2}$.
– zipirovich
Jan 4 at 15:21
Alright then I get it thank you very much for your help !
– Alexis
Jan 4 at 15:25
add a comment |
What the hint means is that first of all you literally replace the right-hand side of the equation with $cos^2(x)=frac{1}{2}cos(2x)+frac{1}{2}$, so now you're looking for a particular solution to
$$y''+4y=frac{1}{2}cos(2x)+frac{1}{2}.$$
Moreover, by the superposition principle for particular solutions (see e.g. here or here), we may seek separate solutions to
$$y''+4y=frac{1}{2}cos(2x) quad text{and} quad y''+4y=frac{1}{2}$$
and then add them together.
- For the first equation $y''+4y=frac{1}{2}cos(2x)$, note that $lambda=pm2i$ were the roots of the characteristic equation, so you should set up a particular solution in the form $y_{p1}(x)=x(Acos(2x)+Bsin(2x))$.
- For the second equation $y''+4y=frac{1}{2}$, note that $lambda=0$ was not a root of the characteristic equation, so you should set up a particular solution in the form $y_{p2}(x)=A$.
Ok I think I see but with the principle of superposition shouldn't I find 2 particular solutions of each new ODE as it is a 2nd order ?
– Alexis
Jan 4 at 15:19
@Alexis: Yes, that's exactly what I said. You find two particular solutions, so to speak. More precisely, you find one particular solution to each of the separate non-homogeneous equations: $y_{p1}$ for the first and $y_{p2}$ for the second. Then a particular solution to the original non-homogeneous equation will be $y_p=y_{p1}+y_{p2}$.
– zipirovich
Jan 4 at 15:21
Alright then I get it thank you very much for your help !
– Alexis
Jan 4 at 15:25
add a comment |
What the hint means is that first of all you literally replace the right-hand side of the equation with $cos^2(x)=frac{1}{2}cos(2x)+frac{1}{2}$, so now you're looking for a particular solution to
$$y''+4y=frac{1}{2}cos(2x)+frac{1}{2}.$$
Moreover, by the superposition principle for particular solutions (see e.g. here or here), we may seek separate solutions to
$$y''+4y=frac{1}{2}cos(2x) quad text{and} quad y''+4y=frac{1}{2}$$
and then add them together.
- For the first equation $y''+4y=frac{1}{2}cos(2x)$, note that $lambda=pm2i$ were the roots of the characteristic equation, so you should set up a particular solution in the form $y_{p1}(x)=x(Acos(2x)+Bsin(2x))$.
- For the second equation $y''+4y=frac{1}{2}$, note that $lambda=0$ was not a root of the characteristic equation, so you should set up a particular solution in the form $y_{p2}(x)=A$.
What the hint means is that first of all you literally replace the right-hand side of the equation with $cos^2(x)=frac{1}{2}cos(2x)+frac{1}{2}$, so now you're looking for a particular solution to
$$y''+4y=frac{1}{2}cos(2x)+frac{1}{2}.$$
Moreover, by the superposition principle for particular solutions (see e.g. here or here), we may seek separate solutions to
$$y''+4y=frac{1}{2}cos(2x) quad text{and} quad y''+4y=frac{1}{2}$$
and then add them together.
- For the first equation $y''+4y=frac{1}{2}cos(2x)$, note that $lambda=pm2i$ were the roots of the characteristic equation, so you should set up a particular solution in the form $y_{p1}(x)=x(Acos(2x)+Bsin(2x))$.
- For the second equation $y''+4y=frac{1}{2}$, note that $lambda=0$ was not a root of the characteristic equation, so you should set up a particular solution in the form $y_{p2}(x)=A$.
answered Jan 4 at 15:12
zipirovichzipirovich
11.2k11631
11.2k11631
Ok I think I see but with the principle of superposition shouldn't I find 2 particular solutions of each new ODE as it is a 2nd order ?
– Alexis
Jan 4 at 15:19
@Alexis: Yes, that's exactly what I said. You find two particular solutions, so to speak. More precisely, you find one particular solution to each of the separate non-homogeneous equations: $y_{p1}$ for the first and $y_{p2}$ for the second. Then a particular solution to the original non-homogeneous equation will be $y_p=y_{p1}+y_{p2}$.
– zipirovich
Jan 4 at 15:21
Alright then I get it thank you very much for your help !
– Alexis
Jan 4 at 15:25
add a comment |
Ok I think I see but with the principle of superposition shouldn't I find 2 particular solutions of each new ODE as it is a 2nd order ?
– Alexis
Jan 4 at 15:19
@Alexis: Yes, that's exactly what I said. You find two particular solutions, so to speak. More precisely, you find one particular solution to each of the separate non-homogeneous equations: $y_{p1}$ for the first and $y_{p2}$ for the second. Then a particular solution to the original non-homogeneous equation will be $y_p=y_{p1}+y_{p2}$.
– zipirovich
Jan 4 at 15:21
Alright then I get it thank you very much for your help !
– Alexis
Jan 4 at 15:25
Ok I think I see but with the principle of superposition shouldn't I find 2 particular solutions of each new ODE as it is a 2nd order ?
– Alexis
Jan 4 at 15:19
Ok I think I see but with the principle of superposition shouldn't I find 2 particular solutions of each new ODE as it is a 2nd order ?
– Alexis
Jan 4 at 15:19
@Alexis: Yes, that's exactly what I said. You find two particular solutions, so to speak. More precisely, you find one particular solution to each of the separate non-homogeneous equations: $y_{p1}$ for the first and $y_{p2}$ for the second. Then a particular solution to the original non-homogeneous equation will be $y_p=y_{p1}+y_{p2}$.
– zipirovich
Jan 4 at 15:21
@Alexis: Yes, that's exactly what I said. You find two particular solutions, so to speak. More precisely, you find one particular solution to each of the separate non-homogeneous equations: $y_{p1}$ for the first and $y_{p2}$ for the second. Then a particular solution to the original non-homogeneous equation will be $y_p=y_{p1}+y_{p2}$.
– zipirovich
Jan 4 at 15:21
Alright then I get it thank you very much for your help !
– Alexis
Jan 4 at 15:25
Alright then I get it thank you very much for your help !
– Alexis
Jan 4 at 15:25
add a comment |
Alexis is a new contributor. Be nice, and check out our Code of Conduct.
Alexis is a new contributor. Be nice, and check out our Code of Conduct.
Alexis is a new contributor. Be nice, and check out our Code of Conduct.
Alexis is a new contributor. Be nice, and check out our Code of Conduct.
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%2f3061711%2fparticular-solutions-to-y4y-cos2x%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
1
Note that $cos 2x$ solves the homogeneous equation and also appears in the nonhomogeneity term. Do you know how to modify it to get a particular solution in such a case?
– Oscar Lanzi
Jan 4 at 14:46
No I can't find out the way to get a particular solution
– Alexis
Jan 4 at 14:55