Solve $frac{d^2y}{dx^2}+2frac{dy}{dx}+y=x sin^2x$












2














Solve the differential equation Solve $$frac{d^2y}{dx^2}+2frac{dy}{dx}+y=x sin^2x$$



i used the substitution $frac{dy}{dx}+y=t$ we get



$$frac{dt}{dx}+t=xsin^2x$$ which is linear first order, using integrating factor method we get the solution



$$te^x=int xe^xsin^2xdx+C$$



$$te^x=frac{1}{2} left(int xe^xdx-int xe^xcos 2xdxright)+C=frac{1}{2}left(P-Qright)+C tag{1}$$



we have $$P=int xe^x=(x-1)e^x+C'$$



now using integration by parts we have



$$Q=int xe^x cos2xdx=xint e^xcos 2xdx-int left(int e^xcos 2xdxright)dx$$



$$int xe^x cos2xdx=frac{xe^x}{5}left(cos 2x+2sin 2xright)-frac{1}{5}int e^x(cos 2x+2sin 2x)dx $$



$$int xe^x cos2xdx=frac{xe^x}{5}left(cos 2x+2sin 2xright)-frac{1}{5}left(frac{e^x}{5}(cos 2x+2sin 2x)right)-left(frac{2e^x}{5}(sin 2x-2 cos 2x)right)$$



finally we need to solve another linear differential equation viz:



$$e^xleft(frac{dy}{dx}+yright)=frac{1}{2}left(P-Qright)+C$$



which is very tedious.



is there a good approach?










share|cite|improve this question






















  • math.psu.edu/tseng/class/Math251/…
    – Hussain-Alqatari
    Dec 2 '18 at 6:58










  • Look up Method of Variation of Parameters and Method of Undetermined Coefficients
    – Shubham Johri
    Dec 2 '18 at 7:08
















2














Solve the differential equation Solve $$frac{d^2y}{dx^2}+2frac{dy}{dx}+y=x sin^2x$$



i used the substitution $frac{dy}{dx}+y=t$ we get



$$frac{dt}{dx}+t=xsin^2x$$ which is linear first order, using integrating factor method we get the solution



$$te^x=int xe^xsin^2xdx+C$$



$$te^x=frac{1}{2} left(int xe^xdx-int xe^xcos 2xdxright)+C=frac{1}{2}left(P-Qright)+C tag{1}$$



we have $$P=int xe^x=(x-1)e^x+C'$$



now using integration by parts we have



$$Q=int xe^x cos2xdx=xint e^xcos 2xdx-int left(int e^xcos 2xdxright)dx$$



$$int xe^x cos2xdx=frac{xe^x}{5}left(cos 2x+2sin 2xright)-frac{1}{5}int e^x(cos 2x+2sin 2x)dx $$



$$int xe^x cos2xdx=frac{xe^x}{5}left(cos 2x+2sin 2xright)-frac{1}{5}left(frac{e^x}{5}(cos 2x+2sin 2x)right)-left(frac{2e^x}{5}(sin 2x-2 cos 2x)right)$$



finally we need to solve another linear differential equation viz:



$$e^xleft(frac{dy}{dx}+yright)=frac{1}{2}left(P-Qright)+C$$



which is very tedious.



is there a good approach?










share|cite|improve this question






















  • math.psu.edu/tseng/class/Math251/…
    – Hussain-Alqatari
    Dec 2 '18 at 6:58










  • Look up Method of Variation of Parameters and Method of Undetermined Coefficients
    – Shubham Johri
    Dec 2 '18 at 7:08














2












2








2


2





Solve the differential equation Solve $$frac{d^2y}{dx^2}+2frac{dy}{dx}+y=x sin^2x$$



i used the substitution $frac{dy}{dx}+y=t$ we get



$$frac{dt}{dx}+t=xsin^2x$$ which is linear first order, using integrating factor method we get the solution



$$te^x=int xe^xsin^2xdx+C$$



$$te^x=frac{1}{2} left(int xe^xdx-int xe^xcos 2xdxright)+C=frac{1}{2}left(P-Qright)+C tag{1}$$



we have $$P=int xe^x=(x-1)e^x+C'$$



now using integration by parts we have



$$Q=int xe^x cos2xdx=xint e^xcos 2xdx-int left(int e^xcos 2xdxright)dx$$



$$int xe^x cos2xdx=frac{xe^x}{5}left(cos 2x+2sin 2xright)-frac{1}{5}int e^x(cos 2x+2sin 2x)dx $$



$$int xe^x cos2xdx=frac{xe^x}{5}left(cos 2x+2sin 2xright)-frac{1}{5}left(frac{e^x}{5}(cos 2x+2sin 2x)right)-left(frac{2e^x}{5}(sin 2x-2 cos 2x)right)$$



finally we need to solve another linear differential equation viz:



$$e^xleft(frac{dy}{dx}+yright)=frac{1}{2}left(P-Qright)+C$$



which is very tedious.



is there a good approach?










share|cite|improve this question













Solve the differential equation Solve $$frac{d^2y}{dx^2}+2frac{dy}{dx}+y=x sin^2x$$



i used the substitution $frac{dy}{dx}+y=t$ we get



$$frac{dt}{dx}+t=xsin^2x$$ which is linear first order, using integrating factor method we get the solution



$$te^x=int xe^xsin^2xdx+C$$



$$te^x=frac{1}{2} left(int xe^xdx-int xe^xcos 2xdxright)+C=frac{1}{2}left(P-Qright)+C tag{1}$$



we have $$P=int xe^x=(x-1)e^x+C'$$



now using integration by parts we have



$$Q=int xe^x cos2xdx=xint e^xcos 2xdx-int left(int e^xcos 2xdxright)dx$$



$$int xe^x cos2xdx=frac{xe^x}{5}left(cos 2x+2sin 2xright)-frac{1}{5}int e^x(cos 2x+2sin 2x)dx $$



$$int xe^x cos2xdx=frac{xe^x}{5}left(cos 2x+2sin 2xright)-frac{1}{5}left(frac{e^x}{5}(cos 2x+2sin 2x)right)-left(frac{2e^x}{5}(sin 2x-2 cos 2x)right)$$



finally we need to solve another linear differential equation viz:



$$e^xleft(frac{dy}{dx}+yright)=frac{1}{2}left(P-Qright)+C$$



which is very tedious.



is there a good approach?







integration algebra-precalculus differential-equations






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Dec 2 '18 at 6:55









Umesh shankar

2,56631219




2,56631219












  • math.psu.edu/tseng/class/Math251/…
    – Hussain-Alqatari
    Dec 2 '18 at 6:58










  • Look up Method of Variation of Parameters and Method of Undetermined Coefficients
    – Shubham Johri
    Dec 2 '18 at 7:08


















  • math.psu.edu/tseng/class/Math251/…
    – Hussain-Alqatari
    Dec 2 '18 at 6:58










  • Look up Method of Variation of Parameters and Method of Undetermined Coefficients
    – Shubham Johri
    Dec 2 '18 at 7:08
















math.psu.edu/tseng/class/Math251/…
– Hussain-Alqatari
Dec 2 '18 at 6:58




math.psu.edu/tseng/class/Math251/…
– Hussain-Alqatari
Dec 2 '18 at 6:58












Look up Method of Variation of Parameters and Method of Undetermined Coefficients
– Shubham Johri
Dec 2 '18 at 7:08




Look up Method of Variation of Parameters and Method of Undetermined Coefficients
– Shubham Johri
Dec 2 '18 at 7:08










3 Answers
3






active

oldest

votes


















3














Hint



If you are as lazy as I am, considering $$frac{d^2y}{dx^2}+2frac{dy}{dx}+y=frac{x}{2}(1-cos(2x))$$ assume
$$y_p=a+b x+csin(2x)+dcos(2x)+e xsin(2x)+f xcos(2x)$$ Replace and identify $a,b,c,d,e,f$. This should be simple.






share|cite|improve this answer





















  • Solving for those coefficients can be a nightmare to be fair :-) this is what CAS are for?
    – DavidG
    Dec 2 '18 at 7:54










  • @DavidG. It took me five minutes with pen and paper.
    – Claude Leibovici
    Dec 2 '18 at 8:39










  • So roughly the same time as the original post.
    – DavidG
    Dec 2 '18 at 8:43










  • @ClaudeLeibovici: lazyness can be a virtue. ;-)
    – Yves Daoust
    Dec 2 '18 at 11:45



















2














Write the differential equation as $$(D^2+2D+1)y=xsin^2(x)=frac{x}{2}(1-cos(2x))$$ then a complete solution can be written as $$y=y_r+y_p$$ where $y_r$ is the most general solution of the reduced equation $(D^2+2D+1)y=(D+1)^2y=0$ i.e. $y_r=ae^{-x}+bxe^{-x}$ , where $a,b$ are two arbitrary constants.



And $y_p$ is a one particular integral given by $$y_p=frac{1}{(D^2+2D+1)}frac{x}{2}(1-cos(2x))$$ i.e. $2y_p=(D+1)^{-2}(x)-(D+1)^{-2}(xcos(2x))$. Now $$(1+D)^{-2}(x)={1+frac{(-2)}{1!}D+frac{(-2)(-2-1)}{2!}+....}=(1-2D)x=x-2.$$ Since $D^2x=0,D^3x=0,....$



Next $(1+D)^{-2}(xcos(2x))=Re((1+D)^{-2}(xe^{iota 2x}))$. So that $$(1+D)^{-2}(xe^{iota 2x})=e^{iota 2x}frac{1}{1+2(D+2iota)+(D+2iota)^2} x.$$ Again expanding as bi-nomial series as in pervious part and then considering real part you can find particular integral $y_p$.






share|cite|improve this answer























  • During my undergrad, I recall this being termed the ‘Linear D operator’ - is that correct? Also, do you know of any good textbooks on it?
    – DavidG
    Dec 2 '18 at 9:23










  • You are right. Here $D$ stands for $frac {d}{dx}$, $D^2$ stands for $frac{d^2}{dx^2}$.Schaum's Outline of Differential Equations-Frank Ayres-McGraw-Hill International Book.
    – UserS
    Dec 2 '18 at 11:38












  • Thanks so much. Appreciate the reference.
    – DavidG
    Dec 2 '18 at 11:50



















0














The homogeneous part is classical, though the characteristic polynomial has a double root, giving terms $e^{-x}$ and $xe^{-x}$.



The non-homogeneous one is a little harder, though you are lucky that there is no overlap with the roots. Let us try a solution of the form $y=xz+w$. The equation turns to



$$(z''+2z'+z)x+2z'+z+w''+2w'+w=xfrac{1-cos 2x}2=xfrac{1-Re(e^{i2x)}}2.$$



The constant term is dealt with by $dfrac12$, while the other can be handled using complex numbers, giving



$$z=-frac12Releft(frac{e^{i2x}}{4+2i+1}right).$$



Next,



$$w''+2w'+w=frac12Releft(frac{(i4+1))e^{i2x}}{4+2i+1}right)$$ and



$$w=frac12Releft(frac{(i4+1))e^{i2x}}{(4+2i+1)^2}right).$$






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',
    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%2f3022329%2fsolve-fracd2ydx22-fracdydxy-x-sin2x%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









    3














    Hint



    If you are as lazy as I am, considering $$frac{d^2y}{dx^2}+2frac{dy}{dx}+y=frac{x}{2}(1-cos(2x))$$ assume
    $$y_p=a+b x+csin(2x)+dcos(2x)+e xsin(2x)+f xcos(2x)$$ Replace and identify $a,b,c,d,e,f$. This should be simple.






    share|cite|improve this answer





















    • Solving for those coefficients can be a nightmare to be fair :-) this is what CAS are for?
      – DavidG
      Dec 2 '18 at 7:54










    • @DavidG. It took me five minutes with pen and paper.
      – Claude Leibovici
      Dec 2 '18 at 8:39










    • So roughly the same time as the original post.
      – DavidG
      Dec 2 '18 at 8:43










    • @ClaudeLeibovici: lazyness can be a virtue. ;-)
      – Yves Daoust
      Dec 2 '18 at 11:45
















    3














    Hint



    If you are as lazy as I am, considering $$frac{d^2y}{dx^2}+2frac{dy}{dx}+y=frac{x}{2}(1-cos(2x))$$ assume
    $$y_p=a+b x+csin(2x)+dcos(2x)+e xsin(2x)+f xcos(2x)$$ Replace and identify $a,b,c,d,e,f$. This should be simple.






    share|cite|improve this answer





















    • Solving for those coefficients can be a nightmare to be fair :-) this is what CAS are for?
      – DavidG
      Dec 2 '18 at 7:54










    • @DavidG. It took me five minutes with pen and paper.
      – Claude Leibovici
      Dec 2 '18 at 8:39










    • So roughly the same time as the original post.
      – DavidG
      Dec 2 '18 at 8:43










    • @ClaudeLeibovici: lazyness can be a virtue. ;-)
      – Yves Daoust
      Dec 2 '18 at 11:45














    3












    3








    3






    Hint



    If you are as lazy as I am, considering $$frac{d^2y}{dx^2}+2frac{dy}{dx}+y=frac{x}{2}(1-cos(2x))$$ assume
    $$y_p=a+b x+csin(2x)+dcos(2x)+e xsin(2x)+f xcos(2x)$$ Replace and identify $a,b,c,d,e,f$. This should be simple.






    share|cite|improve this answer












    Hint



    If you are as lazy as I am, considering $$frac{d^2y}{dx^2}+2frac{dy}{dx}+y=frac{x}{2}(1-cos(2x))$$ assume
    $$y_p=a+b x+csin(2x)+dcos(2x)+e xsin(2x)+f xcos(2x)$$ Replace and identify $a,b,c,d,e,f$. This should be simple.







    share|cite|improve this answer












    share|cite|improve this answer



    share|cite|improve this answer










    answered Dec 2 '18 at 7:43









    Claude Leibovici

    119k1157132




    119k1157132












    • Solving for those coefficients can be a nightmare to be fair :-) this is what CAS are for?
      – DavidG
      Dec 2 '18 at 7:54










    • @DavidG. It took me five minutes with pen and paper.
      – Claude Leibovici
      Dec 2 '18 at 8:39










    • So roughly the same time as the original post.
      – DavidG
      Dec 2 '18 at 8:43










    • @ClaudeLeibovici: lazyness can be a virtue. ;-)
      – Yves Daoust
      Dec 2 '18 at 11:45


















    • Solving for those coefficients can be a nightmare to be fair :-) this is what CAS are for?
      – DavidG
      Dec 2 '18 at 7:54










    • @DavidG. It took me five minutes with pen and paper.
      – Claude Leibovici
      Dec 2 '18 at 8:39










    • So roughly the same time as the original post.
      – DavidG
      Dec 2 '18 at 8:43










    • @ClaudeLeibovici: lazyness can be a virtue. ;-)
      – Yves Daoust
      Dec 2 '18 at 11:45
















    Solving for those coefficients can be a nightmare to be fair :-) this is what CAS are for?
    – DavidG
    Dec 2 '18 at 7:54




    Solving for those coefficients can be a nightmare to be fair :-) this is what CAS are for?
    – DavidG
    Dec 2 '18 at 7:54












    @DavidG. It took me five minutes with pen and paper.
    – Claude Leibovici
    Dec 2 '18 at 8:39




    @DavidG. It took me five minutes with pen and paper.
    – Claude Leibovici
    Dec 2 '18 at 8:39












    So roughly the same time as the original post.
    – DavidG
    Dec 2 '18 at 8:43




    So roughly the same time as the original post.
    – DavidG
    Dec 2 '18 at 8:43












    @ClaudeLeibovici: lazyness can be a virtue. ;-)
    – Yves Daoust
    Dec 2 '18 at 11:45




    @ClaudeLeibovici: lazyness can be a virtue. ;-)
    – Yves Daoust
    Dec 2 '18 at 11:45











    2














    Write the differential equation as $$(D^2+2D+1)y=xsin^2(x)=frac{x}{2}(1-cos(2x))$$ then a complete solution can be written as $$y=y_r+y_p$$ where $y_r$ is the most general solution of the reduced equation $(D^2+2D+1)y=(D+1)^2y=0$ i.e. $y_r=ae^{-x}+bxe^{-x}$ , where $a,b$ are two arbitrary constants.



    And $y_p$ is a one particular integral given by $$y_p=frac{1}{(D^2+2D+1)}frac{x}{2}(1-cos(2x))$$ i.e. $2y_p=(D+1)^{-2}(x)-(D+1)^{-2}(xcos(2x))$. Now $$(1+D)^{-2}(x)={1+frac{(-2)}{1!}D+frac{(-2)(-2-1)}{2!}+....}=(1-2D)x=x-2.$$ Since $D^2x=0,D^3x=0,....$



    Next $(1+D)^{-2}(xcos(2x))=Re((1+D)^{-2}(xe^{iota 2x}))$. So that $$(1+D)^{-2}(xe^{iota 2x})=e^{iota 2x}frac{1}{1+2(D+2iota)+(D+2iota)^2} x.$$ Again expanding as bi-nomial series as in pervious part and then considering real part you can find particular integral $y_p$.






    share|cite|improve this answer























    • During my undergrad, I recall this being termed the ‘Linear D operator’ - is that correct? Also, do you know of any good textbooks on it?
      – DavidG
      Dec 2 '18 at 9:23










    • You are right. Here $D$ stands for $frac {d}{dx}$, $D^2$ stands for $frac{d^2}{dx^2}$.Schaum's Outline of Differential Equations-Frank Ayres-McGraw-Hill International Book.
      – UserS
      Dec 2 '18 at 11:38












    • Thanks so much. Appreciate the reference.
      – DavidG
      Dec 2 '18 at 11:50
















    2














    Write the differential equation as $$(D^2+2D+1)y=xsin^2(x)=frac{x}{2}(1-cos(2x))$$ then a complete solution can be written as $$y=y_r+y_p$$ where $y_r$ is the most general solution of the reduced equation $(D^2+2D+1)y=(D+1)^2y=0$ i.e. $y_r=ae^{-x}+bxe^{-x}$ , where $a,b$ are two arbitrary constants.



    And $y_p$ is a one particular integral given by $$y_p=frac{1}{(D^2+2D+1)}frac{x}{2}(1-cos(2x))$$ i.e. $2y_p=(D+1)^{-2}(x)-(D+1)^{-2}(xcos(2x))$. Now $$(1+D)^{-2}(x)={1+frac{(-2)}{1!}D+frac{(-2)(-2-1)}{2!}+....}=(1-2D)x=x-2.$$ Since $D^2x=0,D^3x=0,....$



    Next $(1+D)^{-2}(xcos(2x))=Re((1+D)^{-2}(xe^{iota 2x}))$. So that $$(1+D)^{-2}(xe^{iota 2x})=e^{iota 2x}frac{1}{1+2(D+2iota)+(D+2iota)^2} x.$$ Again expanding as bi-nomial series as in pervious part and then considering real part you can find particular integral $y_p$.






    share|cite|improve this answer























    • During my undergrad, I recall this being termed the ‘Linear D operator’ - is that correct? Also, do you know of any good textbooks on it?
      – DavidG
      Dec 2 '18 at 9:23










    • You are right. Here $D$ stands for $frac {d}{dx}$, $D^2$ stands for $frac{d^2}{dx^2}$.Schaum's Outline of Differential Equations-Frank Ayres-McGraw-Hill International Book.
      – UserS
      Dec 2 '18 at 11:38












    • Thanks so much. Appreciate the reference.
      – DavidG
      Dec 2 '18 at 11:50














    2












    2








    2






    Write the differential equation as $$(D^2+2D+1)y=xsin^2(x)=frac{x}{2}(1-cos(2x))$$ then a complete solution can be written as $$y=y_r+y_p$$ where $y_r$ is the most general solution of the reduced equation $(D^2+2D+1)y=(D+1)^2y=0$ i.e. $y_r=ae^{-x}+bxe^{-x}$ , where $a,b$ are two arbitrary constants.



    And $y_p$ is a one particular integral given by $$y_p=frac{1}{(D^2+2D+1)}frac{x}{2}(1-cos(2x))$$ i.e. $2y_p=(D+1)^{-2}(x)-(D+1)^{-2}(xcos(2x))$. Now $$(1+D)^{-2}(x)={1+frac{(-2)}{1!}D+frac{(-2)(-2-1)}{2!}+....}=(1-2D)x=x-2.$$ Since $D^2x=0,D^3x=0,....$



    Next $(1+D)^{-2}(xcos(2x))=Re((1+D)^{-2}(xe^{iota 2x}))$. So that $$(1+D)^{-2}(xe^{iota 2x})=e^{iota 2x}frac{1}{1+2(D+2iota)+(D+2iota)^2} x.$$ Again expanding as bi-nomial series as in pervious part and then considering real part you can find particular integral $y_p$.






    share|cite|improve this answer














    Write the differential equation as $$(D^2+2D+1)y=xsin^2(x)=frac{x}{2}(1-cos(2x))$$ then a complete solution can be written as $$y=y_r+y_p$$ where $y_r$ is the most general solution of the reduced equation $(D^2+2D+1)y=(D+1)^2y=0$ i.e. $y_r=ae^{-x}+bxe^{-x}$ , where $a,b$ are two arbitrary constants.



    And $y_p$ is a one particular integral given by $$y_p=frac{1}{(D^2+2D+1)}frac{x}{2}(1-cos(2x))$$ i.e. $2y_p=(D+1)^{-2}(x)-(D+1)^{-2}(xcos(2x))$. Now $$(1+D)^{-2}(x)={1+frac{(-2)}{1!}D+frac{(-2)(-2-1)}{2!}+....}=(1-2D)x=x-2.$$ Since $D^2x=0,D^3x=0,....$



    Next $(1+D)^{-2}(xcos(2x))=Re((1+D)^{-2}(xe^{iota 2x}))$. So that $$(1+D)^{-2}(xe^{iota 2x})=e^{iota 2x}frac{1}{1+2(D+2iota)+(D+2iota)^2} x.$$ Again expanding as bi-nomial series as in pervious part and then considering real part you can find particular integral $y_p$.







    share|cite|improve this answer














    share|cite|improve this answer



    share|cite|improve this answer








    edited Dec 2 '18 at 11:41









    DavidG

    1,729619




    1,729619










    answered Dec 2 '18 at 7:24









    UserS

    1,5371112




    1,5371112












    • During my undergrad, I recall this being termed the ‘Linear D operator’ - is that correct? Also, do you know of any good textbooks on it?
      – DavidG
      Dec 2 '18 at 9:23










    • You are right. Here $D$ stands for $frac {d}{dx}$, $D^2$ stands for $frac{d^2}{dx^2}$.Schaum's Outline of Differential Equations-Frank Ayres-McGraw-Hill International Book.
      – UserS
      Dec 2 '18 at 11:38












    • Thanks so much. Appreciate the reference.
      – DavidG
      Dec 2 '18 at 11:50


















    • During my undergrad, I recall this being termed the ‘Linear D operator’ - is that correct? Also, do you know of any good textbooks on it?
      – DavidG
      Dec 2 '18 at 9:23










    • You are right. Here $D$ stands for $frac {d}{dx}$, $D^2$ stands for $frac{d^2}{dx^2}$.Schaum's Outline of Differential Equations-Frank Ayres-McGraw-Hill International Book.
      – UserS
      Dec 2 '18 at 11:38












    • Thanks so much. Appreciate the reference.
      – DavidG
      Dec 2 '18 at 11:50
















    During my undergrad, I recall this being termed the ‘Linear D operator’ - is that correct? Also, do you know of any good textbooks on it?
    – DavidG
    Dec 2 '18 at 9:23




    During my undergrad, I recall this being termed the ‘Linear D operator’ - is that correct? Also, do you know of any good textbooks on it?
    – DavidG
    Dec 2 '18 at 9:23












    You are right. Here $D$ stands for $frac {d}{dx}$, $D^2$ stands for $frac{d^2}{dx^2}$.Schaum's Outline of Differential Equations-Frank Ayres-McGraw-Hill International Book.
    – UserS
    Dec 2 '18 at 11:38






    You are right. Here $D$ stands for $frac {d}{dx}$, $D^2$ stands for $frac{d^2}{dx^2}$.Schaum's Outline of Differential Equations-Frank Ayres-McGraw-Hill International Book.
    – UserS
    Dec 2 '18 at 11:38














    Thanks so much. Appreciate the reference.
    – DavidG
    Dec 2 '18 at 11:50




    Thanks so much. Appreciate the reference.
    – DavidG
    Dec 2 '18 at 11:50











    0














    The homogeneous part is classical, though the characteristic polynomial has a double root, giving terms $e^{-x}$ and $xe^{-x}$.



    The non-homogeneous one is a little harder, though you are lucky that there is no overlap with the roots. Let us try a solution of the form $y=xz+w$. The equation turns to



    $$(z''+2z'+z)x+2z'+z+w''+2w'+w=xfrac{1-cos 2x}2=xfrac{1-Re(e^{i2x)}}2.$$



    The constant term is dealt with by $dfrac12$, while the other can be handled using complex numbers, giving



    $$z=-frac12Releft(frac{e^{i2x}}{4+2i+1}right).$$



    Next,



    $$w''+2w'+w=frac12Releft(frac{(i4+1))e^{i2x}}{4+2i+1}right)$$ and



    $$w=frac12Releft(frac{(i4+1))e^{i2x}}{(4+2i+1)^2}right).$$






    share|cite|improve this answer


























      0














      The homogeneous part is classical, though the characteristic polynomial has a double root, giving terms $e^{-x}$ and $xe^{-x}$.



      The non-homogeneous one is a little harder, though you are lucky that there is no overlap with the roots. Let us try a solution of the form $y=xz+w$. The equation turns to



      $$(z''+2z'+z)x+2z'+z+w''+2w'+w=xfrac{1-cos 2x}2=xfrac{1-Re(e^{i2x)}}2.$$



      The constant term is dealt with by $dfrac12$, while the other can be handled using complex numbers, giving



      $$z=-frac12Releft(frac{e^{i2x}}{4+2i+1}right).$$



      Next,



      $$w''+2w'+w=frac12Releft(frac{(i4+1))e^{i2x}}{4+2i+1}right)$$ and



      $$w=frac12Releft(frac{(i4+1))e^{i2x}}{(4+2i+1)^2}right).$$






      share|cite|improve this answer
























        0












        0








        0






        The homogeneous part is classical, though the characteristic polynomial has a double root, giving terms $e^{-x}$ and $xe^{-x}$.



        The non-homogeneous one is a little harder, though you are lucky that there is no overlap with the roots. Let us try a solution of the form $y=xz+w$. The equation turns to



        $$(z''+2z'+z)x+2z'+z+w''+2w'+w=xfrac{1-cos 2x}2=xfrac{1-Re(e^{i2x)}}2.$$



        The constant term is dealt with by $dfrac12$, while the other can be handled using complex numbers, giving



        $$z=-frac12Releft(frac{e^{i2x}}{4+2i+1}right).$$



        Next,



        $$w''+2w'+w=frac12Releft(frac{(i4+1))e^{i2x}}{4+2i+1}right)$$ and



        $$w=frac12Releft(frac{(i4+1))e^{i2x}}{(4+2i+1)^2}right).$$






        share|cite|improve this answer












        The homogeneous part is classical, though the characteristic polynomial has a double root, giving terms $e^{-x}$ and $xe^{-x}$.



        The non-homogeneous one is a little harder, though you are lucky that there is no overlap with the roots. Let us try a solution of the form $y=xz+w$. The equation turns to



        $$(z''+2z'+z)x+2z'+z+w''+2w'+w=xfrac{1-cos 2x}2=xfrac{1-Re(e^{i2x)}}2.$$



        The constant term is dealt with by $dfrac12$, while the other can be handled using complex numbers, giving



        $$z=-frac12Releft(frac{e^{i2x}}{4+2i+1}right).$$



        Next,



        $$w''+2w'+w=frac12Releft(frac{(i4+1))e^{i2x}}{4+2i+1}right)$$ and



        $$w=frac12Releft(frac{(i4+1))e^{i2x}}{(4+2i+1)^2}right).$$







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Dec 2 '18 at 12:01









        Yves Daoust

        124k671221




        124k671221






























            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%2f3022329%2fsolve-fracd2ydx22-fracdydxy-x-sin2x%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

            Wiesbaden

            Marschland

            Dieringhausen