Differential equation: $y'+2xy=xe^{-2x^2}$












0












$begingroup$


Differential equation: $y'+2xy=xe^{-2x^2}$



Homogeneous equation is: $y=e^{-x^2}$



For non-homogeneous equation:



I started with: $y_p= dxe^{-2x^2}$ and I've got $d-2x^2d-x=0$



Then I tried with $y_p = dxe^{x^2}$ and I've got $de^{x^2}+4x^2de^{x^2}=xe^{-2x^2}$



Then I tried with $y_p=e^{x^2}$ and I've got $e^{x^2}frac{dy}{dx}=xe^{-x^2}-2xye^{x^2}$



I stopped here.



How can I solve this problem? Thank you for your help!










share|cite|improve this question











$endgroup$












  • $begingroup$
    What exactly is the method you are trying and why do you think it should work? $μ$ in this context is usually associated with an integrating factor.
    $endgroup$
    – LutzL
    Jan 10 at 9:43










  • $begingroup$
    I will replace $mu$ with $y_p$.
    $endgroup$
    – J.Doe
    Jan 10 at 10:20






  • 1




    $begingroup$
    Ok, that clarifies the "what". Now add something about "why should that work", as the method of undetermined coefficients only works for constant coefficients.
    $endgroup$
    – LutzL
    Jan 10 at 10:30
















0












$begingroup$


Differential equation: $y'+2xy=xe^{-2x^2}$



Homogeneous equation is: $y=e^{-x^2}$



For non-homogeneous equation:



I started with: $y_p= dxe^{-2x^2}$ and I've got $d-2x^2d-x=0$



Then I tried with $y_p = dxe^{x^2}$ and I've got $de^{x^2}+4x^2de^{x^2}=xe^{-2x^2}$



Then I tried with $y_p=e^{x^2}$ and I've got $e^{x^2}frac{dy}{dx}=xe^{-x^2}-2xye^{x^2}$



I stopped here.



How can I solve this problem? Thank you for your help!










share|cite|improve this question











$endgroup$












  • $begingroup$
    What exactly is the method you are trying and why do you think it should work? $μ$ in this context is usually associated with an integrating factor.
    $endgroup$
    – LutzL
    Jan 10 at 9:43










  • $begingroup$
    I will replace $mu$ with $y_p$.
    $endgroup$
    – J.Doe
    Jan 10 at 10:20






  • 1




    $begingroup$
    Ok, that clarifies the "what". Now add something about "why should that work", as the method of undetermined coefficients only works for constant coefficients.
    $endgroup$
    – LutzL
    Jan 10 at 10:30














0












0








0





$begingroup$


Differential equation: $y'+2xy=xe^{-2x^2}$



Homogeneous equation is: $y=e^{-x^2}$



For non-homogeneous equation:



I started with: $y_p= dxe^{-2x^2}$ and I've got $d-2x^2d-x=0$



Then I tried with $y_p = dxe^{x^2}$ and I've got $de^{x^2}+4x^2de^{x^2}=xe^{-2x^2}$



Then I tried with $y_p=e^{x^2}$ and I've got $e^{x^2}frac{dy}{dx}=xe^{-x^2}-2xye^{x^2}$



I stopped here.



How can I solve this problem? Thank you for your help!










share|cite|improve this question











$endgroup$




Differential equation: $y'+2xy=xe^{-2x^2}$



Homogeneous equation is: $y=e^{-x^2}$



For non-homogeneous equation:



I started with: $y_p= dxe^{-2x^2}$ and I've got $d-2x^2d-x=0$



Then I tried with $y_p = dxe^{x^2}$ and I've got $de^{x^2}+4x^2de^{x^2}=xe^{-2x^2}$



Then I tried with $y_p=e^{x^2}$ and I've got $e^{x^2}frac{dy}{dx}=xe^{-x^2}-2xye^{x^2}$



I stopped here.



How can I solve this problem? Thank you for your help!







ordinary-differential-equations






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 11 at 12:53









Dylan

12.8k31026




12.8k31026










asked Jan 10 at 9:31









J.DoeJ.Doe

899




899












  • $begingroup$
    What exactly is the method you are trying and why do you think it should work? $μ$ in this context is usually associated with an integrating factor.
    $endgroup$
    – LutzL
    Jan 10 at 9:43










  • $begingroup$
    I will replace $mu$ with $y_p$.
    $endgroup$
    – J.Doe
    Jan 10 at 10:20






  • 1




    $begingroup$
    Ok, that clarifies the "what". Now add something about "why should that work", as the method of undetermined coefficients only works for constant coefficients.
    $endgroup$
    – LutzL
    Jan 10 at 10:30


















  • $begingroup$
    What exactly is the method you are trying and why do you think it should work? $μ$ in this context is usually associated with an integrating factor.
    $endgroup$
    – LutzL
    Jan 10 at 9:43










  • $begingroup$
    I will replace $mu$ with $y_p$.
    $endgroup$
    – J.Doe
    Jan 10 at 10:20






  • 1




    $begingroup$
    Ok, that clarifies the "what". Now add something about "why should that work", as the method of undetermined coefficients only works for constant coefficients.
    $endgroup$
    – LutzL
    Jan 10 at 10:30
















$begingroup$
What exactly is the method you are trying and why do you think it should work? $μ$ in this context is usually associated with an integrating factor.
$endgroup$
– LutzL
Jan 10 at 9:43




$begingroup$
What exactly is the method you are trying and why do you think it should work? $μ$ in this context is usually associated with an integrating factor.
$endgroup$
– LutzL
Jan 10 at 9:43












$begingroup$
I will replace $mu$ with $y_p$.
$endgroup$
– J.Doe
Jan 10 at 10:20




$begingroup$
I will replace $mu$ with $y_p$.
$endgroup$
– J.Doe
Jan 10 at 10:20




1




1




$begingroup$
Ok, that clarifies the "what". Now add something about "why should that work", as the method of undetermined coefficients only works for constant coefficients.
$endgroup$
– LutzL
Jan 10 at 10:30




$begingroup$
Ok, that clarifies the "what". Now add something about "why should that work", as the method of undetermined coefficients only works for constant coefficients.
$endgroup$
– LutzL
Jan 10 at 10:30










1 Answer
1






active

oldest

votes


















2












$begingroup$

By product rule $frac d {dx} (e^{x^{2}}y)=e^{x^{2}}(y'+2xy)=e^{x^{2}}(xe^{-2x^{2}})=xe^{-x^{2}}$. Now integrate. The answer is $y=ce^{-x^{2}}-frac 1 2 e^{-2x^{2}}$ where $c$ is a constant. Note: $e^{x^{2}}=e^{int 2tdt}$. This function is called the integrating factor. For any equation of teh type $y'+f(x)y=g(x)$ you can multiply by the integrating factor $e^{int f(t)dt}$ to solve the equation.






share|cite|improve this answer











$endgroup$









  • 1




    $begingroup$
    @LutzL Thanks for the comment.
    $endgroup$
    – Kavi Rama Murthy
    Jan 10 at 9:53











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%2f3068435%2fdifferential-equation-y2xy-xe-2x2%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









2












$begingroup$

By product rule $frac d {dx} (e^{x^{2}}y)=e^{x^{2}}(y'+2xy)=e^{x^{2}}(xe^{-2x^{2}})=xe^{-x^{2}}$. Now integrate. The answer is $y=ce^{-x^{2}}-frac 1 2 e^{-2x^{2}}$ where $c$ is a constant. Note: $e^{x^{2}}=e^{int 2tdt}$. This function is called the integrating factor. For any equation of teh type $y'+f(x)y=g(x)$ you can multiply by the integrating factor $e^{int f(t)dt}$ to solve the equation.






share|cite|improve this answer











$endgroup$









  • 1




    $begingroup$
    @LutzL Thanks for the comment.
    $endgroup$
    – Kavi Rama Murthy
    Jan 10 at 9:53
















2












$begingroup$

By product rule $frac d {dx} (e^{x^{2}}y)=e^{x^{2}}(y'+2xy)=e^{x^{2}}(xe^{-2x^{2}})=xe^{-x^{2}}$. Now integrate. The answer is $y=ce^{-x^{2}}-frac 1 2 e^{-2x^{2}}$ where $c$ is a constant. Note: $e^{x^{2}}=e^{int 2tdt}$. This function is called the integrating factor. For any equation of teh type $y'+f(x)y=g(x)$ you can multiply by the integrating factor $e^{int f(t)dt}$ to solve the equation.






share|cite|improve this answer











$endgroup$









  • 1




    $begingroup$
    @LutzL Thanks for the comment.
    $endgroup$
    – Kavi Rama Murthy
    Jan 10 at 9:53














2












2








2





$begingroup$

By product rule $frac d {dx} (e^{x^{2}}y)=e^{x^{2}}(y'+2xy)=e^{x^{2}}(xe^{-2x^{2}})=xe^{-x^{2}}$. Now integrate. The answer is $y=ce^{-x^{2}}-frac 1 2 e^{-2x^{2}}$ where $c$ is a constant. Note: $e^{x^{2}}=e^{int 2tdt}$. This function is called the integrating factor. For any equation of teh type $y'+f(x)y=g(x)$ you can multiply by the integrating factor $e^{int f(t)dt}$ to solve the equation.






share|cite|improve this answer











$endgroup$



By product rule $frac d {dx} (e^{x^{2}}y)=e^{x^{2}}(y'+2xy)=e^{x^{2}}(xe^{-2x^{2}})=xe^{-x^{2}}$. Now integrate. The answer is $y=ce^{-x^{2}}-frac 1 2 e^{-2x^{2}}$ where $c$ is a constant. Note: $e^{x^{2}}=e^{int 2tdt}$. This function is called the integrating factor. For any equation of teh type $y'+f(x)y=g(x)$ you can multiply by the integrating factor $e^{int f(t)dt}$ to solve the equation.







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Jan 10 at 9:56

























answered Jan 10 at 9:35









Kavi Rama MurthyKavi Rama Murthy

57.8k42160




57.8k42160








  • 1




    $begingroup$
    @LutzL Thanks for the comment.
    $endgroup$
    – Kavi Rama Murthy
    Jan 10 at 9:53














  • 1




    $begingroup$
    @LutzL Thanks for the comment.
    $endgroup$
    – Kavi Rama Murthy
    Jan 10 at 9:53








1




1




$begingroup$
@LutzL Thanks for the comment.
$endgroup$
– Kavi Rama Murthy
Jan 10 at 9:53




$begingroup$
@LutzL Thanks for the comment.
$endgroup$
– Kavi Rama Murthy
Jan 10 at 9:53


















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%2f3068435%2fdifferential-equation-y2xy-xe-2x2%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

MongoDB - Not Authorized To Execute Command

How to fix TextFormField cause rebuild widget in Flutter

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith