Differential equation with square root, how to use $\sgn()$?

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











up vote
0
down vote

favorite












I know I should do some substitution and then somehow use $textsign(cdot)$ function to solve this, but I have no idea. My problem is the $textsign(cdot)$ function. I found this answer Differential equation, a square root and substitution, but I don't know how he extracted $textsign(cdot)$ under the square root.



$$x y' - y = sqrtx^2+y^2$$







share|cite|improve this question


























    up vote
    0
    down vote

    favorite












    I know I should do some substitution and then somehow use $textsign(cdot)$ function to solve this, but I have no idea. My problem is the $textsign(cdot)$ function. I found this answer Differential equation, a square root and substitution, but I don't know how he extracted $textsign(cdot)$ under the square root.



    $$x y' - y = sqrtx^2+y^2$$







    share|cite|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I know I should do some substitution and then somehow use $textsign(cdot)$ function to solve this, but I have no idea. My problem is the $textsign(cdot)$ function. I found this answer Differential equation, a square root and substitution, but I don't know how he extracted $textsign(cdot)$ under the square root.



      $$x y' - y = sqrtx^2+y^2$$







      share|cite|improve this question














      I know I should do some substitution and then somehow use $textsign(cdot)$ function to solve this, but I have no idea. My problem is the $textsign(cdot)$ function. I found this answer Differential equation, a square root and substitution, but I don't know how he extracted $textsign(cdot)$ under the square root.



      $$x y' - y = sqrtx^2+y^2$$









      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Aug 29 at 9:15









      Mattos

      2,66721121




      2,66721121










      asked Aug 29 at 9:08









      Igor

      1




      1




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          Following the similar path the link takes, let $w=fracyx$. Then
          beginalign
          wx &= y \
          implies xw'+w &= y'
          endalign
          hence your ODE becomes
          beginalign
          x(w+xw') - wx &= sqrtx^2left(1+w^2right) \
          implies x^2 w' &= operatornamesgn(x)sqrt1+w^2
          endalign
          Where the Signum funciton is defined as
          $$operatornamesgn(x) := begincases
          -1 & textif x < 0, \
          0 & textif x = 0, \
          1 & textif x > 0. endcases$$






          share|cite|improve this answer




















          • Thanxs, but It looked so unnatural for me that only extracting $\x^2$ would be enough. Can you tell me, what rule allows me to subtract it out as $\sign(x)$.
            – Igor
            Aug 29 at 9:33











          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: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          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%2f2898133%2fdifferential-equation-with-square-root-how-to-use-sgn%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote













          Following the similar path the link takes, let $w=fracyx$. Then
          beginalign
          wx &= y \
          implies xw'+w &= y'
          endalign
          hence your ODE becomes
          beginalign
          x(w+xw') - wx &= sqrtx^2left(1+w^2right) \
          implies x^2 w' &= operatornamesgn(x)sqrt1+w^2
          endalign
          Where the Signum funciton is defined as
          $$operatornamesgn(x) := begincases
          -1 & textif x < 0, \
          0 & textif x = 0, \
          1 & textif x > 0. endcases$$






          share|cite|improve this answer




















          • Thanxs, but It looked so unnatural for me that only extracting $\x^2$ would be enough. Can you tell me, what rule allows me to subtract it out as $\sign(x)$.
            – Igor
            Aug 29 at 9:33















          up vote
          0
          down vote













          Following the similar path the link takes, let $w=fracyx$. Then
          beginalign
          wx &= y \
          implies xw'+w &= y'
          endalign
          hence your ODE becomes
          beginalign
          x(w+xw') - wx &= sqrtx^2left(1+w^2right) \
          implies x^2 w' &= operatornamesgn(x)sqrt1+w^2
          endalign
          Where the Signum funciton is defined as
          $$operatornamesgn(x) := begincases
          -1 & textif x < 0, \
          0 & textif x = 0, \
          1 & textif x > 0. endcases$$






          share|cite|improve this answer




















          • Thanxs, but It looked so unnatural for me that only extracting $\x^2$ would be enough. Can you tell me, what rule allows me to subtract it out as $\sign(x)$.
            – Igor
            Aug 29 at 9:33













          up vote
          0
          down vote










          up vote
          0
          down vote









          Following the similar path the link takes, let $w=fracyx$. Then
          beginalign
          wx &= y \
          implies xw'+w &= y'
          endalign
          hence your ODE becomes
          beginalign
          x(w+xw') - wx &= sqrtx^2left(1+w^2right) \
          implies x^2 w' &= operatornamesgn(x)sqrt1+w^2
          endalign
          Where the Signum funciton is defined as
          $$operatornamesgn(x) := begincases
          -1 & textif x < 0, \
          0 & textif x = 0, \
          1 & textif x > 0. endcases$$






          share|cite|improve this answer












          Following the similar path the link takes, let $w=fracyx$. Then
          beginalign
          wx &= y \
          implies xw'+w &= y'
          endalign
          hence your ODE becomes
          beginalign
          x(w+xw') - wx &= sqrtx^2left(1+w^2right) \
          implies x^2 w' &= operatornamesgn(x)sqrt1+w^2
          endalign
          Where the Signum funciton is defined as
          $$operatornamesgn(x) := begincases
          -1 & textif x < 0, \
          0 & textif x = 0, \
          1 & textif x > 0. endcases$$







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Aug 29 at 9:24









          Kevin

          5,138722




          5,138722











          • Thanxs, but It looked so unnatural for me that only extracting $\x^2$ would be enough. Can you tell me, what rule allows me to subtract it out as $\sign(x)$.
            – Igor
            Aug 29 at 9:33

















          • Thanxs, but It looked so unnatural for me that only extracting $\x^2$ would be enough. Can you tell me, what rule allows me to subtract it out as $\sign(x)$.
            – Igor
            Aug 29 at 9:33
















          Thanxs, but It looked so unnatural for me that only extracting $\x^2$ would be enough. Can you tell me, what rule allows me to subtract it out as $\sign(x)$.
          – Igor
          Aug 29 at 9:33





          Thanxs, but It looked so unnatural for me that only extracting $\x^2$ would be enough. Can you tell me, what rule allows me to subtract it out as $\sign(x)$.
          – Igor
          Aug 29 at 9:33


















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2898133%2fdifferential-equation-with-square-root-how-to-use-sgn%23new-answer', 'question_page');

          );

          Post as a guest













































































          這個網誌中的熱門文章

          How to combine Bézier curves to a surface?

          Mutual Information Always Non-negative

          Why am i infinitely getting the same tweet with the Twitter Search API?