Differential equation with “backwards product rule”.

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite
4












If we have the following differential equation, ($h,f$ known, $y$ unknown):



$$f'(x)y(x) + f(x)y'(x) = h(x)$$



it would be easy, since we could spot the derivative for a product:



$$(f(x)y(x))' = h(x)$$



and conclude



$$y(x) = frac1f(x)left(C + int h(x) dxright)$$



But what if we have it the "other way around", like this?



$$f(x)y(x) + f'(x)y'(x) = h(x)$$










share|cite|improve this question

























    up vote
    2
    down vote

    favorite
    4












    If we have the following differential equation, ($h,f$ known, $y$ unknown):



    $$f'(x)y(x) + f(x)y'(x) = h(x)$$



    it would be easy, since we could spot the derivative for a product:



    $$(f(x)y(x))' = h(x)$$



    and conclude



    $$y(x) = frac1f(x)left(C + int h(x) dxright)$$



    But what if we have it the "other way around", like this?



    $$f(x)y(x) + f'(x)y'(x) = h(x)$$










    share|cite|improve this question























      up vote
      2
      down vote

      favorite
      4









      up vote
      2
      down vote

      favorite
      4






      4





      If we have the following differential equation, ($h,f$ known, $y$ unknown):



      $$f'(x)y(x) + f(x)y'(x) = h(x)$$



      it would be easy, since we could spot the derivative for a product:



      $$(f(x)y(x))' = h(x)$$



      and conclude



      $$y(x) = frac1f(x)left(C + int h(x) dxright)$$



      But what if we have it the "other way around", like this?



      $$f(x)y(x) + f'(x)y'(x) = h(x)$$










      share|cite|improve this question













      If we have the following differential equation, ($h,f$ known, $y$ unknown):



      $$f'(x)y(x) + f(x)y'(x) = h(x)$$



      it would be easy, since we could spot the derivative for a product:



      $$(f(x)y(x))' = h(x)$$



      and conclude



      $$y(x) = frac1f(x)left(C + int h(x) dxright)$$



      But what if we have it the "other way around", like this?



      $$f(x)y(x) + f'(x)y'(x) = h(x)$$







      real-analysis calculus differential-equations reference-request soft-question






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Dec 10 at 7:30









      mathreadler

      14.7k72160




      14.7k72160




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          If the equation



          $f'(x)y(x) + f(x)y'(x) = h(x) tag 1$



          is written "the other way around",



          $f(x)y(x) + f'(x)y'(x) = h(x), tag 2$



          then there is no obvious way to apply the product rule; if we observe, however, that on an interval $J$ with



          $f'(x) ne 0, ; x in J, tag 3$



          then we may write (2) in the form



          $y'(x) + dfracf(x)f'(x)y(x) = dfrach(x)f'(x), tag 4$



          which is a first-order system with varying coefficients, which has a well-known solution



          $y(x)$
          $= exp left ( -displaystyle int_x_0^x dfracf(s)f'(s) ; ds right ) left (y(x_0) + exp left (displaystyle int_x_0^x dfracf(s)f'(s) ; ds right) displaystyle int_x_0^x exp left ( -displaystyle int_x_0^s dfracf(u)f'(u) ; du right ) dfrach(s)f'(s) ; dsright ), tag 5$



          with $x_0 in J$.



          The formula (5) may in fact also be applied to (1) if we assume



          $f(x) ne 0, x in J, tag 6$



          and divide (1) by $f(x)$:



          $y'(x) + dfracf'(x)f(x) y(x) = dfrach(x)f(x); tag 7$



          we obtain a formula which effectively interchanges $f(x)$ and $f'(x)$ in (5). It appears that the formula



          $ln f(x) - ln f(x_0) = displaystyle int_x_0^x dfracf'(s)f(s) ; ds tag 8$



          may help further simplify (5) when applied to the case of (7).






          share|cite|improve this answer



























            up vote
            2
            down vote













            Let $h$ be an anti-derivative of $frac f f'$ Then $(e^hy)'=e^h(y'+frac f f' y)=e^hfrac 1 f' (y'f'+fy)=e^hfrac h f' $. Now integrate this.






            share|cite|improve this answer




















            • Ah so it is an integrating factor or (it was long time ago I did this)? Could you please expand a bit?
              – mathreadler
              Dec 10 at 7:50






            • 1




              The DE is of the form $y'+phi y=psi$ and it solved by multiplying the equation by the integrating factor $e^int phi$.
              – Kavi Rama Murthy
              Dec 10 at 7:52










            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%2f3033585%2fdifferential-equation-with-backwards-product-rule%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








            up vote
            1
            down vote



            accepted










            If the equation



            $f'(x)y(x) + f(x)y'(x) = h(x) tag 1$



            is written "the other way around",



            $f(x)y(x) + f'(x)y'(x) = h(x), tag 2$



            then there is no obvious way to apply the product rule; if we observe, however, that on an interval $J$ with



            $f'(x) ne 0, ; x in J, tag 3$



            then we may write (2) in the form



            $y'(x) + dfracf(x)f'(x)y(x) = dfrach(x)f'(x), tag 4$



            which is a first-order system with varying coefficients, which has a well-known solution



            $y(x)$
            $= exp left ( -displaystyle int_x_0^x dfracf(s)f'(s) ; ds right ) left (y(x_0) + exp left (displaystyle int_x_0^x dfracf(s)f'(s) ; ds right) displaystyle int_x_0^x exp left ( -displaystyle int_x_0^s dfracf(u)f'(u) ; du right ) dfrach(s)f'(s) ; dsright ), tag 5$



            with $x_0 in J$.



            The formula (5) may in fact also be applied to (1) if we assume



            $f(x) ne 0, x in J, tag 6$



            and divide (1) by $f(x)$:



            $y'(x) + dfracf'(x)f(x) y(x) = dfrach(x)f(x); tag 7$



            we obtain a formula which effectively interchanges $f(x)$ and $f'(x)$ in (5). It appears that the formula



            $ln f(x) - ln f(x_0) = displaystyle int_x_0^x dfracf'(s)f(s) ; ds tag 8$



            may help further simplify (5) when applied to the case of (7).






            share|cite|improve this answer
























              up vote
              1
              down vote



              accepted










              If the equation



              $f'(x)y(x) + f(x)y'(x) = h(x) tag 1$



              is written "the other way around",



              $f(x)y(x) + f'(x)y'(x) = h(x), tag 2$



              then there is no obvious way to apply the product rule; if we observe, however, that on an interval $J$ with



              $f'(x) ne 0, ; x in J, tag 3$



              then we may write (2) in the form



              $y'(x) + dfracf(x)f'(x)y(x) = dfrach(x)f'(x), tag 4$



              which is a first-order system with varying coefficients, which has a well-known solution



              $y(x)$
              $= exp left ( -displaystyle int_x_0^x dfracf(s)f'(s) ; ds right ) left (y(x_0) + exp left (displaystyle int_x_0^x dfracf(s)f'(s) ; ds right) displaystyle int_x_0^x exp left ( -displaystyle int_x_0^s dfracf(u)f'(u) ; du right ) dfrach(s)f'(s) ; dsright ), tag 5$



              with $x_0 in J$.



              The formula (5) may in fact also be applied to (1) if we assume



              $f(x) ne 0, x in J, tag 6$



              and divide (1) by $f(x)$:



              $y'(x) + dfracf'(x)f(x) y(x) = dfrach(x)f(x); tag 7$



              we obtain a formula which effectively interchanges $f(x)$ and $f'(x)$ in (5). It appears that the formula



              $ln f(x) - ln f(x_0) = displaystyle int_x_0^x dfracf'(s)f(s) ; ds tag 8$



              may help further simplify (5) when applied to the case of (7).






              share|cite|improve this answer






















                up vote
                1
                down vote



                accepted







                up vote
                1
                down vote



                accepted






                If the equation



                $f'(x)y(x) + f(x)y'(x) = h(x) tag 1$



                is written "the other way around",



                $f(x)y(x) + f'(x)y'(x) = h(x), tag 2$



                then there is no obvious way to apply the product rule; if we observe, however, that on an interval $J$ with



                $f'(x) ne 0, ; x in J, tag 3$



                then we may write (2) in the form



                $y'(x) + dfracf(x)f'(x)y(x) = dfrach(x)f'(x), tag 4$



                which is a first-order system with varying coefficients, which has a well-known solution



                $y(x)$
                $= exp left ( -displaystyle int_x_0^x dfracf(s)f'(s) ; ds right ) left (y(x_0) + exp left (displaystyle int_x_0^x dfracf(s)f'(s) ; ds right) displaystyle int_x_0^x exp left ( -displaystyle int_x_0^s dfracf(u)f'(u) ; du right ) dfrach(s)f'(s) ; dsright ), tag 5$



                with $x_0 in J$.



                The formula (5) may in fact also be applied to (1) if we assume



                $f(x) ne 0, x in J, tag 6$



                and divide (1) by $f(x)$:



                $y'(x) + dfracf'(x)f(x) y(x) = dfrach(x)f(x); tag 7$



                we obtain a formula which effectively interchanges $f(x)$ and $f'(x)$ in (5). It appears that the formula



                $ln f(x) - ln f(x_0) = displaystyle int_x_0^x dfracf'(s)f(s) ; ds tag 8$



                may help further simplify (5) when applied to the case of (7).






                share|cite|improve this answer












                If the equation



                $f'(x)y(x) + f(x)y'(x) = h(x) tag 1$



                is written "the other way around",



                $f(x)y(x) + f'(x)y'(x) = h(x), tag 2$



                then there is no obvious way to apply the product rule; if we observe, however, that on an interval $J$ with



                $f'(x) ne 0, ; x in J, tag 3$



                then we may write (2) in the form



                $y'(x) + dfracf(x)f'(x)y(x) = dfrach(x)f'(x), tag 4$



                which is a first-order system with varying coefficients, which has a well-known solution



                $y(x)$
                $= exp left ( -displaystyle int_x_0^x dfracf(s)f'(s) ; ds right ) left (y(x_0) + exp left (displaystyle int_x_0^x dfracf(s)f'(s) ; ds right) displaystyle int_x_0^x exp left ( -displaystyle int_x_0^s dfracf(u)f'(u) ; du right ) dfrach(s)f'(s) ; dsright ), tag 5$



                with $x_0 in J$.



                The formula (5) may in fact also be applied to (1) if we assume



                $f(x) ne 0, x in J, tag 6$



                and divide (1) by $f(x)$:



                $y'(x) + dfracf'(x)f(x) y(x) = dfrach(x)f(x); tag 7$



                we obtain a formula which effectively interchanges $f(x)$ and $f'(x)$ in (5). It appears that the formula



                $ln f(x) - ln f(x_0) = displaystyle int_x_0^x dfracf'(s)f(s) ; ds tag 8$



                may help further simplify (5) when applied to the case of (7).







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Dec 10 at 8:16









                Robert Lewis

                43k22863




                43k22863




















                    up vote
                    2
                    down vote













                    Let $h$ be an anti-derivative of $frac f f'$ Then $(e^hy)'=e^h(y'+frac f f' y)=e^hfrac 1 f' (y'f'+fy)=e^hfrac h f' $. Now integrate this.






                    share|cite|improve this answer




















                    • Ah so it is an integrating factor or (it was long time ago I did this)? Could you please expand a bit?
                      – mathreadler
                      Dec 10 at 7:50






                    • 1




                      The DE is of the form $y'+phi y=psi$ and it solved by multiplying the equation by the integrating factor $e^int phi$.
                      – Kavi Rama Murthy
                      Dec 10 at 7:52














                    up vote
                    2
                    down vote













                    Let $h$ be an anti-derivative of $frac f f'$ Then $(e^hy)'=e^h(y'+frac f f' y)=e^hfrac 1 f' (y'f'+fy)=e^hfrac h f' $. Now integrate this.






                    share|cite|improve this answer




















                    • Ah so it is an integrating factor or (it was long time ago I did this)? Could you please expand a bit?
                      – mathreadler
                      Dec 10 at 7:50






                    • 1




                      The DE is of the form $y'+phi y=psi$ and it solved by multiplying the equation by the integrating factor $e^int phi$.
                      – Kavi Rama Murthy
                      Dec 10 at 7:52












                    up vote
                    2
                    down vote










                    up vote
                    2
                    down vote









                    Let $h$ be an anti-derivative of $frac f f'$ Then $(e^hy)'=e^h(y'+frac f f' y)=e^hfrac 1 f' (y'f'+fy)=e^hfrac h f' $. Now integrate this.






                    share|cite|improve this answer












                    Let $h$ be an anti-derivative of $frac f f'$ Then $(e^hy)'=e^h(y'+frac f f' y)=e^hfrac 1 f' (y'f'+fy)=e^hfrac h f' $. Now integrate this.







                    share|cite|improve this answer












                    share|cite|improve this answer



                    share|cite|improve this answer










                    answered Dec 10 at 7:45









                    Kavi Rama Murthy

                    48.2k31854




                    48.2k31854











                    • Ah so it is an integrating factor or (it was long time ago I did this)? Could you please expand a bit?
                      – mathreadler
                      Dec 10 at 7:50






                    • 1




                      The DE is of the form $y'+phi y=psi$ and it solved by multiplying the equation by the integrating factor $e^int phi$.
                      – Kavi Rama Murthy
                      Dec 10 at 7:52
















                    • Ah so it is an integrating factor or (it was long time ago I did this)? Could you please expand a bit?
                      – mathreadler
                      Dec 10 at 7:50






                    • 1




                      The DE is of the form $y'+phi y=psi$ and it solved by multiplying the equation by the integrating factor $e^int phi$.
                      – Kavi Rama Murthy
                      Dec 10 at 7:52















                    Ah so it is an integrating factor or (it was long time ago I did this)? Could you please expand a bit?
                    – mathreadler
                    Dec 10 at 7:50




                    Ah so it is an integrating factor or (it was long time ago I did this)? Could you please expand a bit?
                    – mathreadler
                    Dec 10 at 7:50




                    1




                    1




                    The DE is of the form $y'+phi y=psi$ and it solved by multiplying the equation by the integrating factor $e^int phi$.
                    – Kavi Rama Murthy
                    Dec 10 at 7:52




                    The DE is of the form $y'+phi y=psi$ and it solved by multiplying the equation by the integrating factor $e^int phi$.
                    – Kavi Rama Murthy
                    Dec 10 at 7:52

















                    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%2f3033585%2fdifferential-equation-with-backwards-product-rule%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

                    How to check contact read email or not when send email to Individual?

                    Displaying single band from multi-band raster using QGIS

                    How many registers does an x86_64 CPU actually have?