Differential equation with “backwards product rule”.











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) = frac{1}{f(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) = frac{1}{f(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) = frac{1}{f(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) = frac{1}{f(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 1 hour ago









      mathreadler

      14.7k72160




      14.7k72160






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          2
          down vote













          Let $h$ be an anti-derivative of $frac f {f'}$ Then $(e^{h}y)'=e^{h}(y'+frac f {f'} y)=e^{h}frac 1 {f'} (y'f'+fy)=e^{h}frac 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
            1 hour ago










          • 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
            1 hour ago


















          up vote
          1
          down vote













          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) + dfrac{f(x)}{f'(x)}y(x) = dfrac{h(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 dfrac{f(s)}{f'(s)} ; ds right ) left (y(x_0) + exp left (displaystyle int_{x_0}^x dfrac{f(s)}{f'(s)} ; ds right) displaystyle int_{x_0}^x exp left ( -displaystyle int_{x_0}^s dfrac{f(u)}{f'(u)} ; du right ) dfrac{h(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) + dfrac{f'(x)}{f(x)} y(x) = dfrac{h(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 dfrac{f'(s)}{f(s)} ; ds tag 8$



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






          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%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
            2
            down vote













            Let $h$ be an anti-derivative of $frac f {f'}$ Then $(e^{h}y)'=e^{h}(y'+frac f {f'} y)=e^{h}frac 1 {f'} (y'f'+fy)=e^{h}frac 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
              1 hour ago










            • 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
              1 hour ago















            up vote
            2
            down vote













            Let $h$ be an anti-derivative of $frac f {f'}$ Then $(e^{h}y)'=e^{h}(y'+frac f {f'} y)=e^{h}frac 1 {f'} (y'f'+fy)=e^{h}frac 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
              1 hour ago










            • 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
              1 hour ago













            up vote
            2
            down vote










            up vote
            2
            down vote









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






            share|cite|improve this answer












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







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered 1 hour ago









            Kavi Rama Murthy

            45.6k31853




            45.6k31853












            • Ah so it is an integrating factor or (it was long time ago I did this)? Could you please expand a bit?
              – mathreadler
              1 hour ago










            • 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
              1 hour ago


















            • Ah so it is an integrating factor or (it was long time ago I did this)? Could you please expand a bit?
              – mathreadler
              1 hour ago










            • 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
              1 hour ago
















            Ah so it is an integrating factor or (it was long time ago I did this)? Could you please expand a bit?
            – mathreadler
            1 hour ago




            Ah so it is an integrating factor or (it was long time ago I did this)? Could you please expand a bit?
            – mathreadler
            1 hour ago












            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
            1 hour ago




            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
            1 hour ago










            up vote
            1
            down vote













            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) + dfrac{f(x)}{f'(x)}y(x) = dfrac{h(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 dfrac{f(s)}{f'(s)} ; ds right ) left (y(x_0) + exp left (displaystyle int_{x_0}^x dfrac{f(s)}{f'(s)} ; ds right) displaystyle int_{x_0}^x exp left ( -displaystyle int_{x_0}^s dfrac{f(u)}{f'(u)} ; du right ) dfrac{h(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) + dfrac{f'(x)}{f(x)} y(x) = dfrac{h(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 dfrac{f'(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













              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) + dfrac{f(x)}{f'(x)}y(x) = dfrac{h(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 dfrac{f(s)}{f'(s)} ; ds right ) left (y(x_0) + exp left (displaystyle int_{x_0}^x dfrac{f(s)}{f'(s)} ; ds right) displaystyle int_{x_0}^x exp left ( -displaystyle int_{x_0}^s dfrac{f(u)}{f'(u)} ; du right ) dfrac{h(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) + dfrac{f'(x)}{f(x)} y(x) = dfrac{h(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 dfrac{f'(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










                up vote
                1
                down vote









                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) + dfrac{f(x)}{f'(x)}y(x) = dfrac{h(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 dfrac{f(s)}{f'(s)} ; ds right ) left (y(x_0) + exp left (displaystyle int_{x_0}^x dfrac{f(s)}{f'(s)} ; ds right) displaystyle int_{x_0}^x exp left ( -displaystyle int_{x_0}^s dfrac{f(u)}{f'(u)} ; du right ) dfrac{h(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) + dfrac{f'(x)}{f(x)} y(x) = dfrac{h(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 dfrac{f'(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) + dfrac{f(x)}{f'(x)}y(x) = dfrac{h(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 dfrac{f(s)}{f'(s)} ; ds right ) left (y(x_0) + exp left (displaystyle int_{x_0}^x dfrac{f(s)}{f'(s)} ; ds right) displaystyle int_{x_0}^x exp left ( -displaystyle int_{x_0}^s dfrac{f(u)}{f'(u)} ; du right ) dfrac{h(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) + dfrac{f'(x)}{f(x)} y(x) = dfrac{h(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 dfrac{f'(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 49 mins ago









                Robert Lewis

                42.6k22862




                42.6k22862






























                    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

                    What visual should I use to simply compare current year value vs last year in Power BI desktop

                    How to ignore python UserWarning in pytest?

                    Alexandru Averescu