Find a first integral of an ODE system












1












$begingroup$


I have the system



$$ left{begin{array}{ccl}
dot x & = & 2xy \
dot y & = & x+y^2 \
end{array} right. $$



and I need to find a first integral $H$ of the system. This is easy if the equation
$(x+y^2)dx-2xy dy = 0 $ is exact (i.e the divergence of the field is 0). In this case, the divergence is $4y$ so I need to find an integrating factor $mu(x,y) $ . But I don't know how to do it, because it doesn't work if I use that $mu$ is just a function of $x$ or $y$.



Any help is welcome!










share|cite|improve this question









$endgroup$

















    1












    $begingroup$


    I have the system



    $$ left{begin{array}{ccl}
    dot x & = & 2xy \
    dot y & = & x+y^2 \
    end{array} right. $$



    and I need to find a first integral $H$ of the system. This is easy if the equation
    $(x+y^2)dx-2xy dy = 0 $ is exact (i.e the divergence of the field is 0). In this case, the divergence is $4y$ so I need to find an integrating factor $mu(x,y) $ . But I don't know how to do it, because it doesn't work if I use that $mu$ is just a function of $x$ or $y$.



    Any help is welcome!










    share|cite|improve this question









    $endgroup$















      1












      1








      1





      $begingroup$


      I have the system



      $$ left{begin{array}{ccl}
      dot x & = & 2xy \
      dot y & = & x+y^2 \
      end{array} right. $$



      and I need to find a first integral $H$ of the system. This is easy if the equation
      $(x+y^2)dx-2xy dy = 0 $ is exact (i.e the divergence of the field is 0). In this case, the divergence is $4y$ so I need to find an integrating factor $mu(x,y) $ . But I don't know how to do it, because it doesn't work if I use that $mu$ is just a function of $x$ or $y$.



      Any help is welcome!










      share|cite|improve this question









      $endgroup$




      I have the system



      $$ left{begin{array}{ccl}
      dot x & = & 2xy \
      dot y & = & x+y^2 \
      end{array} right. $$



      and I need to find a first integral $H$ of the system. This is easy if the equation
      $(x+y^2)dx-2xy dy = 0 $ is exact (i.e the divergence of the field is 0). In this case, the divergence is $4y$ so I need to find an integrating factor $mu(x,y) $ . But I don't know how to do it, because it doesn't work if I use that $mu$ is just a function of $x$ or $y$.



      Any help is welcome!







      differential-equations vector-fields integrating-factor






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Jan 1 at 19:16









      RelativoRelativo

      37519




      37519






















          2 Answers
          2






          active

          oldest

          votes


















          3












          $begingroup$

          Collect terms in the differential form and combine them into differentials of increasingly complex functions to reduce the number of terms,
          $$
          0=frac12d(x^2)+y^2dx - xd(y^2)=frac12d(x^2)-x^2d(frac{y^2}x).
          $$

          With $u=x^2$ and $v=frac{y^2}{x}$ this reads as
          $$
          0=frac12du-udv=-u,d!left(-frac12ln u+vright),
          $$

          which gives $F=-frac12ln u+v=-ln|x|+frac{y^2}x$ as first integral. Test by differentiating along a solution
          $$
          frac{dF}{dt}=-frac{dot x}{x}-frac{y^2dot x}{x^2}+frac{2ydot y}{x}
          =-2y-frac{2y^3}{x}+frac{2y(x+y^2)}{x}=0
          $$






          share|cite|improve this answer









          $endgroup$





















            1












            $begingroup$

            $$frac{dy}{dx}=frac{x+y^2}{2xy}$$
            $$2yfrac{dy}{dx}=1+frac{y^2}{x}$$
            Let $Y=y^2$
            $$frac{dY}{dx}=1+frac{Y}{x}$$
            This is a first order linear ODE easy to solve.
            $$Y=xln|x|+cx$$
            $$y=pmsqrt{xln|x|+cx}$$






            share|cite|improve this answer









            $endgroup$













              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%2f3058787%2ffind-a-first-integral-of-an-ode-system%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









              3












              $begingroup$

              Collect terms in the differential form and combine them into differentials of increasingly complex functions to reduce the number of terms,
              $$
              0=frac12d(x^2)+y^2dx - xd(y^2)=frac12d(x^2)-x^2d(frac{y^2}x).
              $$

              With $u=x^2$ and $v=frac{y^2}{x}$ this reads as
              $$
              0=frac12du-udv=-u,d!left(-frac12ln u+vright),
              $$

              which gives $F=-frac12ln u+v=-ln|x|+frac{y^2}x$ as first integral. Test by differentiating along a solution
              $$
              frac{dF}{dt}=-frac{dot x}{x}-frac{y^2dot x}{x^2}+frac{2ydot y}{x}
              =-2y-frac{2y^3}{x}+frac{2y(x+y^2)}{x}=0
              $$






              share|cite|improve this answer









              $endgroup$


















                3












                $begingroup$

                Collect terms in the differential form and combine them into differentials of increasingly complex functions to reduce the number of terms,
                $$
                0=frac12d(x^2)+y^2dx - xd(y^2)=frac12d(x^2)-x^2d(frac{y^2}x).
                $$

                With $u=x^2$ and $v=frac{y^2}{x}$ this reads as
                $$
                0=frac12du-udv=-u,d!left(-frac12ln u+vright),
                $$

                which gives $F=-frac12ln u+v=-ln|x|+frac{y^2}x$ as first integral. Test by differentiating along a solution
                $$
                frac{dF}{dt}=-frac{dot x}{x}-frac{y^2dot x}{x^2}+frac{2ydot y}{x}
                =-2y-frac{2y^3}{x}+frac{2y(x+y^2)}{x}=0
                $$






                share|cite|improve this answer









                $endgroup$
















                  3












                  3








                  3





                  $begingroup$

                  Collect terms in the differential form and combine them into differentials of increasingly complex functions to reduce the number of terms,
                  $$
                  0=frac12d(x^2)+y^2dx - xd(y^2)=frac12d(x^2)-x^2d(frac{y^2}x).
                  $$

                  With $u=x^2$ and $v=frac{y^2}{x}$ this reads as
                  $$
                  0=frac12du-udv=-u,d!left(-frac12ln u+vright),
                  $$

                  which gives $F=-frac12ln u+v=-ln|x|+frac{y^2}x$ as first integral. Test by differentiating along a solution
                  $$
                  frac{dF}{dt}=-frac{dot x}{x}-frac{y^2dot x}{x^2}+frac{2ydot y}{x}
                  =-2y-frac{2y^3}{x}+frac{2y(x+y^2)}{x}=0
                  $$






                  share|cite|improve this answer









                  $endgroup$



                  Collect terms in the differential form and combine them into differentials of increasingly complex functions to reduce the number of terms,
                  $$
                  0=frac12d(x^2)+y^2dx - xd(y^2)=frac12d(x^2)-x^2d(frac{y^2}x).
                  $$

                  With $u=x^2$ and $v=frac{y^2}{x}$ this reads as
                  $$
                  0=frac12du-udv=-u,d!left(-frac12ln u+vright),
                  $$

                  which gives $F=-frac12ln u+v=-ln|x|+frac{y^2}x$ as first integral. Test by differentiating along a solution
                  $$
                  frac{dF}{dt}=-frac{dot x}{x}-frac{y^2dot x}{x^2}+frac{2ydot y}{x}
                  =-2y-frac{2y^3}{x}+frac{2y(x+y^2)}{x}=0
                  $$







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Jan 1 at 20:30









                  LutzLLutzL

                  56.8k42054




                  56.8k42054























                      1












                      $begingroup$

                      $$frac{dy}{dx}=frac{x+y^2}{2xy}$$
                      $$2yfrac{dy}{dx}=1+frac{y^2}{x}$$
                      Let $Y=y^2$
                      $$frac{dY}{dx}=1+frac{Y}{x}$$
                      This is a first order linear ODE easy to solve.
                      $$Y=xln|x|+cx$$
                      $$y=pmsqrt{xln|x|+cx}$$






                      share|cite|improve this answer









                      $endgroup$


















                        1












                        $begingroup$

                        $$frac{dy}{dx}=frac{x+y^2}{2xy}$$
                        $$2yfrac{dy}{dx}=1+frac{y^2}{x}$$
                        Let $Y=y^2$
                        $$frac{dY}{dx}=1+frac{Y}{x}$$
                        This is a first order linear ODE easy to solve.
                        $$Y=xln|x|+cx$$
                        $$y=pmsqrt{xln|x|+cx}$$






                        share|cite|improve this answer









                        $endgroup$
















                          1












                          1








                          1





                          $begingroup$

                          $$frac{dy}{dx}=frac{x+y^2}{2xy}$$
                          $$2yfrac{dy}{dx}=1+frac{y^2}{x}$$
                          Let $Y=y^2$
                          $$frac{dY}{dx}=1+frac{Y}{x}$$
                          This is a first order linear ODE easy to solve.
                          $$Y=xln|x|+cx$$
                          $$y=pmsqrt{xln|x|+cx}$$






                          share|cite|improve this answer









                          $endgroup$



                          $$frac{dy}{dx}=frac{x+y^2}{2xy}$$
                          $$2yfrac{dy}{dx}=1+frac{y^2}{x}$$
                          Let $Y=y^2$
                          $$frac{dY}{dx}=1+frac{Y}{x}$$
                          This is a first order linear ODE easy to solve.
                          $$Y=xln|x|+cx$$
                          $$y=pmsqrt{xln|x|+cx}$$







                          share|cite|improve this answer












                          share|cite|improve this answer



                          share|cite|improve this answer










                          answered Jan 2 at 5:35









                          JJacquelinJJacquelin

                          42.8k21750




                          42.8k21750






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Mathematics Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              Use MathJax to format equations. MathJax reference.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3058787%2ffind-a-first-integral-of-an-ode-system%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              MongoDB - Not Authorized To Execute Command

                              Npm cannot find a required file even through it is in the searched directory

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