solving the differential equation $(y''- 2y' - 3y = 2xe^{2x})$











up vote
-2
down vote

favorite












ok so i have this equation $y''- 2y' - 3y = 2xe^{2x}$. I have tried everything to find the right function to work with for example : i tried $Y(t) = Ax^3e^{2x}$ but it doesn't solve my equation tried with every power possible on $t$ . Am i missing a methodology or something ? can someone help me with this please ?










share|cite|improve this question




















  • 1




    Try $Y(x)=Axe^{2x}+Be^{2x}$
    – Ben W
    Nov 23 at 17:10










  • The ODE's on the title and body are different. Which one is correct?
    – projectilemotion
    Nov 23 at 17:13












  • sry i ll edit the tittle one is correct . Also tried that one ben i think that got it i found at the end $-3*A*x + 2*A - 3*B = 3*x $ so it was a system with the 1st $= 3*t$ and the second $= 0$
    – Max
    Nov 23 at 17:18

















up vote
-2
down vote

favorite












ok so i have this equation $y''- 2y' - 3y = 2xe^{2x}$. I have tried everything to find the right function to work with for example : i tried $Y(t) = Ax^3e^{2x}$ but it doesn't solve my equation tried with every power possible on $t$ . Am i missing a methodology or something ? can someone help me with this please ?










share|cite|improve this question




















  • 1




    Try $Y(x)=Axe^{2x}+Be^{2x}$
    – Ben W
    Nov 23 at 17:10










  • The ODE's on the title and body are different. Which one is correct?
    – projectilemotion
    Nov 23 at 17:13












  • sry i ll edit the tittle one is correct . Also tried that one ben i think that got it i found at the end $-3*A*x + 2*A - 3*B = 3*x $ so it was a system with the 1st $= 3*t$ and the second $= 0$
    – Max
    Nov 23 at 17:18















up vote
-2
down vote

favorite









up vote
-2
down vote

favorite











ok so i have this equation $y''- 2y' - 3y = 2xe^{2x}$. I have tried everything to find the right function to work with for example : i tried $Y(t) = Ax^3e^{2x}$ but it doesn't solve my equation tried with every power possible on $t$ . Am i missing a methodology or something ? can someone help me with this please ?










share|cite|improve this question















ok so i have this equation $y''- 2y' - 3y = 2xe^{2x}$. I have tried everything to find the right function to work with for example : i tried $Y(t) = Ax^3e^{2x}$ but it doesn't solve my equation tried with every power possible on $t$ . Am i missing a methodology or something ? can someone help me with this please ?







differential






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 23 at 17:27









Yadati Kiran

1,245417




1,245417










asked Nov 23 at 17:05









Max

14




14








  • 1




    Try $Y(x)=Axe^{2x}+Be^{2x}$
    – Ben W
    Nov 23 at 17:10










  • The ODE's on the title and body are different. Which one is correct?
    – projectilemotion
    Nov 23 at 17:13












  • sry i ll edit the tittle one is correct . Also tried that one ben i think that got it i found at the end $-3*A*x + 2*A - 3*B = 3*x $ so it was a system with the 1st $= 3*t$ and the second $= 0$
    – Max
    Nov 23 at 17:18
















  • 1




    Try $Y(x)=Axe^{2x}+Be^{2x}$
    – Ben W
    Nov 23 at 17:10










  • The ODE's on the title and body are different. Which one is correct?
    – projectilemotion
    Nov 23 at 17:13












  • sry i ll edit the tittle one is correct . Also tried that one ben i think that got it i found at the end $-3*A*x + 2*A - 3*B = 3*x $ so it was a system with the 1st $= 3*t$ and the second $= 0$
    – Max
    Nov 23 at 17:18










1




1




Try $Y(x)=Axe^{2x}+Be^{2x}$
– Ben W
Nov 23 at 17:10




Try $Y(x)=Axe^{2x}+Be^{2x}$
– Ben W
Nov 23 at 17:10












The ODE's on the title and body are different. Which one is correct?
– projectilemotion
Nov 23 at 17:13






The ODE's on the title and body are different. Which one is correct?
– projectilemotion
Nov 23 at 17:13














sry i ll edit the tittle one is correct . Also tried that one ben i think that got it i found at the end $-3*A*x + 2*A - 3*B = 3*x $ so it was a system with the 1st $= 3*t$ and the second $= 0$
– Max
Nov 23 at 17:18






sry i ll edit the tittle one is correct . Also tried that one ben i think that got it i found at the end $-3*A*x + 2*A - 3*B = 3*x $ so it was a system with the 1st $= 3*t$ and the second $= 0$
– Max
Nov 23 at 17:18












3 Answers
3






active

oldest

votes

















up vote
0
down vote



accepted










hint



To eliminate the exponential term, Put $$y=ze^{2x}$$



then



$$y'=(z'+2z)e^{2x}$$
$$y''=(z''+4z'+4z)e^{2x}$$



the equation becomes



$$z''+2z'-3z=2x$$



without RHS, the solution is
$$z_h=Ae^x+Be^{-3x}$$



and the Polynomial particular solution $$z_p=-frac 23x-frac 49$$



The general solution is
$$y_G=(z_h+z_p)e^{2x}$$






share|cite|improve this answer























  • Damn that's nice thinking ;o thanks alot man <3
    – Max
    Nov 23 at 17:34


















up vote
0
down vote













Hint:



You have to




  • find the general solution of the associated homogeneous equation $;y''-2y'-3y=0$.

  • Find a particular solution a of the complete (non-homogeneous) equation, which will have the form
    begin{cases}
    (ax+b)mathrm e^{2x}&text{if $2$ is not a root of the characteristic equation,} \
    x(ax+b)mathrm e^{2x}& text{if $2$ is a simple root of the characteristic equation,} \
    x^2(ax+b)mathrm e^{2x}& text{if $2$ is a double root of the characteristic equation.}
    end{cases}


  • Add this particular solution to the general solution of the homogeneous equation.






share|cite|improve this answer





















  • Thanks alot , tried stuff that lead to nowhere that;s pretty analytic ,thanks for the great response :) !
    – Max
    Nov 23 at 17:38


















up vote
0
down vote













Here's a solution following the standard algorithm that Bernard suggests in his answer.



Solve the homogenous equation
$$y'' - 2y' - 3y = 0$$
to find $$y_H(x) = c_1e^{-x} + c_2e^{3x}.$$



Since $e^{2x}$ does not appear in the general solution, try $Y = (Ax+B)e^{2x}$, since it mimicks the form of the non-homogeneous term. Its derivatives are



$$Y' = Ae^{2x} + 2Y$$



$$Y'' = 2Ae^{2x} + 2Y'$$



Substitute into the differential equation to find



$$left(2Ae^{2x} + 2Y'right) - 2left(Ae^{2x} + 2Yright) -3Y = 2xe^{2x}$$
$$2Y' - 7Y = 2xe^{2x}$$
$$2Ae^{2x} - 3Y = 2xe^{2x}$$
$$2A - 3(Ax+B) = 2x$$
$$(2+3A)x + (3B-2A) = 0$$



If this last equation is to hold for every $x$, then $2+3A=0$ and $3B-2A=0$. Thus $A=-2/3$ and $B = 2A/3 = -4/9$, so



$$Y(x) = -left(frac{2}{3}x + frac{4}{9}right)e^{2x}$$






share|cite|improve this answer





















    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',
    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%2f3010595%2fsolving-the-differential-equation-y-2y-3y-2xe2x%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote



    accepted










    hint



    To eliminate the exponential term, Put $$y=ze^{2x}$$



    then



    $$y'=(z'+2z)e^{2x}$$
    $$y''=(z''+4z'+4z)e^{2x}$$



    the equation becomes



    $$z''+2z'-3z=2x$$



    without RHS, the solution is
    $$z_h=Ae^x+Be^{-3x}$$



    and the Polynomial particular solution $$z_p=-frac 23x-frac 49$$



    The general solution is
    $$y_G=(z_h+z_p)e^{2x}$$






    share|cite|improve this answer























    • Damn that's nice thinking ;o thanks alot man <3
      – Max
      Nov 23 at 17:34















    up vote
    0
    down vote



    accepted










    hint



    To eliminate the exponential term, Put $$y=ze^{2x}$$



    then



    $$y'=(z'+2z)e^{2x}$$
    $$y''=(z''+4z'+4z)e^{2x}$$



    the equation becomes



    $$z''+2z'-3z=2x$$



    without RHS, the solution is
    $$z_h=Ae^x+Be^{-3x}$$



    and the Polynomial particular solution $$z_p=-frac 23x-frac 49$$



    The general solution is
    $$y_G=(z_h+z_p)e^{2x}$$






    share|cite|improve this answer























    • Damn that's nice thinking ;o thanks alot man <3
      – Max
      Nov 23 at 17:34













    up vote
    0
    down vote



    accepted







    up vote
    0
    down vote



    accepted






    hint



    To eliminate the exponential term, Put $$y=ze^{2x}$$



    then



    $$y'=(z'+2z)e^{2x}$$
    $$y''=(z''+4z'+4z)e^{2x}$$



    the equation becomes



    $$z''+2z'-3z=2x$$



    without RHS, the solution is
    $$z_h=Ae^x+Be^{-3x}$$



    and the Polynomial particular solution $$z_p=-frac 23x-frac 49$$



    The general solution is
    $$y_G=(z_h+z_p)e^{2x}$$






    share|cite|improve this answer














    hint



    To eliminate the exponential term, Put $$y=ze^{2x}$$



    then



    $$y'=(z'+2z)e^{2x}$$
    $$y''=(z''+4z'+4z)e^{2x}$$



    the equation becomes



    $$z''+2z'-3z=2x$$



    without RHS, the solution is
    $$z_h=Ae^x+Be^{-3x}$$



    and the Polynomial particular solution $$z_p=-frac 23x-frac 49$$



    The general solution is
    $$y_G=(z_h+z_p)e^{2x}$$







    share|cite|improve this answer














    share|cite|improve this answer



    share|cite|improve this answer








    edited Nov 23 at 17:37

























    answered Nov 23 at 17:27









    hamam_Abdallah

    37.2k21534




    37.2k21534












    • Damn that's nice thinking ;o thanks alot man <3
      – Max
      Nov 23 at 17:34


















    • Damn that's nice thinking ;o thanks alot man <3
      – Max
      Nov 23 at 17:34
















    Damn that's nice thinking ;o thanks alot man <3
    – Max
    Nov 23 at 17:34




    Damn that's nice thinking ;o thanks alot man <3
    – Max
    Nov 23 at 17:34










    up vote
    0
    down vote













    Hint:



    You have to




    • find the general solution of the associated homogeneous equation $;y''-2y'-3y=0$.

    • Find a particular solution a of the complete (non-homogeneous) equation, which will have the form
      begin{cases}
      (ax+b)mathrm e^{2x}&text{if $2$ is not a root of the characteristic equation,} \
      x(ax+b)mathrm e^{2x}& text{if $2$ is a simple root of the characteristic equation,} \
      x^2(ax+b)mathrm e^{2x}& text{if $2$ is a double root of the characteristic equation.}
      end{cases}


    • Add this particular solution to the general solution of the homogeneous equation.






    share|cite|improve this answer





















    • Thanks alot , tried stuff that lead to nowhere that;s pretty analytic ,thanks for the great response :) !
      – Max
      Nov 23 at 17:38















    up vote
    0
    down vote













    Hint:



    You have to




    • find the general solution of the associated homogeneous equation $;y''-2y'-3y=0$.

    • Find a particular solution a of the complete (non-homogeneous) equation, which will have the form
      begin{cases}
      (ax+b)mathrm e^{2x}&text{if $2$ is not a root of the characteristic equation,} \
      x(ax+b)mathrm e^{2x}& text{if $2$ is a simple root of the characteristic equation,} \
      x^2(ax+b)mathrm e^{2x}& text{if $2$ is a double root of the characteristic equation.}
      end{cases}


    • Add this particular solution to the general solution of the homogeneous equation.






    share|cite|improve this answer





















    • Thanks alot , tried stuff that lead to nowhere that;s pretty analytic ,thanks for the great response :) !
      – Max
      Nov 23 at 17:38













    up vote
    0
    down vote










    up vote
    0
    down vote









    Hint:



    You have to




    • find the general solution of the associated homogeneous equation $;y''-2y'-3y=0$.

    • Find a particular solution a of the complete (non-homogeneous) equation, which will have the form
      begin{cases}
      (ax+b)mathrm e^{2x}&text{if $2$ is not a root of the characteristic equation,} \
      x(ax+b)mathrm e^{2x}& text{if $2$ is a simple root of the characteristic equation,} \
      x^2(ax+b)mathrm e^{2x}& text{if $2$ is a double root of the characteristic equation.}
      end{cases}


    • Add this particular solution to the general solution of the homogeneous equation.






    share|cite|improve this answer












    Hint:



    You have to




    • find the general solution of the associated homogeneous equation $;y''-2y'-3y=0$.

    • Find a particular solution a of the complete (non-homogeneous) equation, which will have the form
      begin{cases}
      (ax+b)mathrm e^{2x}&text{if $2$ is not a root of the characteristic equation,} \
      x(ax+b)mathrm e^{2x}& text{if $2$ is a simple root of the characteristic equation,} \
      x^2(ax+b)mathrm e^{2x}& text{if $2$ is a double root of the characteristic equation.}
      end{cases}


    • Add this particular solution to the general solution of the homogeneous equation.







    share|cite|improve this answer












    share|cite|improve this answer



    share|cite|improve this answer










    answered Nov 23 at 17:33









    Bernard

    116k637108




    116k637108












    • Thanks alot , tried stuff that lead to nowhere that;s pretty analytic ,thanks for the great response :) !
      – Max
      Nov 23 at 17:38


















    • Thanks alot , tried stuff that lead to nowhere that;s pretty analytic ,thanks for the great response :) !
      – Max
      Nov 23 at 17:38
















    Thanks alot , tried stuff that lead to nowhere that;s pretty analytic ,thanks for the great response :) !
    – Max
    Nov 23 at 17:38




    Thanks alot , tried stuff that lead to nowhere that;s pretty analytic ,thanks for the great response :) !
    – Max
    Nov 23 at 17:38










    up vote
    0
    down vote













    Here's a solution following the standard algorithm that Bernard suggests in his answer.



    Solve the homogenous equation
    $$y'' - 2y' - 3y = 0$$
    to find $$y_H(x) = c_1e^{-x} + c_2e^{3x}.$$



    Since $e^{2x}$ does not appear in the general solution, try $Y = (Ax+B)e^{2x}$, since it mimicks the form of the non-homogeneous term. Its derivatives are



    $$Y' = Ae^{2x} + 2Y$$



    $$Y'' = 2Ae^{2x} + 2Y'$$



    Substitute into the differential equation to find



    $$left(2Ae^{2x} + 2Y'right) - 2left(Ae^{2x} + 2Yright) -3Y = 2xe^{2x}$$
    $$2Y' - 7Y = 2xe^{2x}$$
    $$2Ae^{2x} - 3Y = 2xe^{2x}$$
    $$2A - 3(Ax+B) = 2x$$
    $$(2+3A)x + (3B-2A) = 0$$



    If this last equation is to hold for every $x$, then $2+3A=0$ and $3B-2A=0$. Thus $A=-2/3$ and $B = 2A/3 = -4/9$, so



    $$Y(x) = -left(frac{2}{3}x + frac{4}{9}right)e^{2x}$$






    share|cite|improve this answer

























      up vote
      0
      down vote













      Here's a solution following the standard algorithm that Bernard suggests in his answer.



      Solve the homogenous equation
      $$y'' - 2y' - 3y = 0$$
      to find $$y_H(x) = c_1e^{-x} + c_2e^{3x}.$$



      Since $e^{2x}$ does not appear in the general solution, try $Y = (Ax+B)e^{2x}$, since it mimicks the form of the non-homogeneous term. Its derivatives are



      $$Y' = Ae^{2x} + 2Y$$



      $$Y'' = 2Ae^{2x} + 2Y'$$



      Substitute into the differential equation to find



      $$left(2Ae^{2x} + 2Y'right) - 2left(Ae^{2x} + 2Yright) -3Y = 2xe^{2x}$$
      $$2Y' - 7Y = 2xe^{2x}$$
      $$2Ae^{2x} - 3Y = 2xe^{2x}$$
      $$2A - 3(Ax+B) = 2x$$
      $$(2+3A)x + (3B-2A) = 0$$



      If this last equation is to hold for every $x$, then $2+3A=0$ and $3B-2A=0$. Thus $A=-2/3$ and $B = 2A/3 = -4/9$, so



      $$Y(x) = -left(frac{2}{3}x + frac{4}{9}right)e^{2x}$$






      share|cite|improve this answer























        up vote
        0
        down vote










        up vote
        0
        down vote









        Here's a solution following the standard algorithm that Bernard suggests in his answer.



        Solve the homogenous equation
        $$y'' - 2y' - 3y = 0$$
        to find $$y_H(x) = c_1e^{-x} + c_2e^{3x}.$$



        Since $e^{2x}$ does not appear in the general solution, try $Y = (Ax+B)e^{2x}$, since it mimicks the form of the non-homogeneous term. Its derivatives are



        $$Y' = Ae^{2x} + 2Y$$



        $$Y'' = 2Ae^{2x} + 2Y'$$



        Substitute into the differential equation to find



        $$left(2Ae^{2x} + 2Y'right) - 2left(Ae^{2x} + 2Yright) -3Y = 2xe^{2x}$$
        $$2Y' - 7Y = 2xe^{2x}$$
        $$2Ae^{2x} - 3Y = 2xe^{2x}$$
        $$2A - 3(Ax+B) = 2x$$
        $$(2+3A)x + (3B-2A) = 0$$



        If this last equation is to hold for every $x$, then $2+3A=0$ and $3B-2A=0$. Thus $A=-2/3$ and $B = 2A/3 = -4/9$, so



        $$Y(x) = -left(frac{2}{3}x + frac{4}{9}right)e^{2x}$$






        share|cite|improve this answer












        Here's a solution following the standard algorithm that Bernard suggests in his answer.



        Solve the homogenous equation
        $$y'' - 2y' - 3y = 0$$
        to find $$y_H(x) = c_1e^{-x} + c_2e^{3x}.$$



        Since $e^{2x}$ does not appear in the general solution, try $Y = (Ax+B)e^{2x}$, since it mimicks the form of the non-homogeneous term. Its derivatives are



        $$Y' = Ae^{2x} + 2Y$$



        $$Y'' = 2Ae^{2x} + 2Y'$$



        Substitute into the differential equation to find



        $$left(2Ae^{2x} + 2Y'right) - 2left(Ae^{2x} + 2Yright) -3Y = 2xe^{2x}$$
        $$2Y' - 7Y = 2xe^{2x}$$
        $$2Ae^{2x} - 3Y = 2xe^{2x}$$
        $$2A - 3(Ax+B) = 2x$$
        $$(2+3A)x + (3B-2A) = 0$$



        If this last equation is to hold for every $x$, then $2+3A=0$ and $3B-2A=0$. Thus $A=-2/3$ and $B = 2A/3 = -4/9$, so



        $$Y(x) = -left(frac{2}{3}x + frac{4}{9}right)e^{2x}$$







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Nov 23 at 22:14









        zahbaz

        8,17921937




        8,17921937






























            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.





            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3010595%2fsolving-the-differential-equation-y-2y-3y-2xe2x%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

            To store a contact into the json file from server.js file using a class in NodeJS

            Redirect URL with Chrome Remote Debugging Android Devices

            Dieringhausen