Curve with value $0$ at $x=0$, max value $1$ at $x=1$, then decay approximating $frac1x$?

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











up vote
2
down vote

favorite
1












I want to create a curve with the above properties, and which is odd in that it is continuous, and produces a negative version of itself for negative $x$. A picture may help give the general idea (but please note it's not accurate):



(Guide graphic only)



This is created by shifting the normal (probability) curve to centre on $x=1$, then subtracting another normal curve shifted to centre on $x=-1$, using this basic formula for a normal curve:



$$frace^frac-x^22sqrt (2pi)$$



I then stretched the curve vertically by $fracsqrt (2pi)1-frac1e^2$ to give the curve above.



Unfortunately, it's not quite what I am looking for.



  1. I want maxima and minima at $x=1$ and $x=-1$

  2. I want the value of the function at those points to be $1$ and $-1$

  3. I want the decay after that point to follow (at least very roughly) $frac1x$ - i.e., far less rapid

Any suggestions?







share|cite|improve this question

























    up vote
    2
    down vote

    favorite
    1












    I want to create a curve with the above properties, and which is odd in that it is continuous, and produces a negative version of itself for negative $x$. A picture may help give the general idea (but please note it's not accurate):



    (Guide graphic only)



    This is created by shifting the normal (probability) curve to centre on $x=1$, then subtracting another normal curve shifted to centre on $x=-1$, using this basic formula for a normal curve:



    $$frace^frac-x^22sqrt (2pi)$$



    I then stretched the curve vertically by $fracsqrt (2pi)1-frac1e^2$ to give the curve above.



    Unfortunately, it's not quite what I am looking for.



    1. I want maxima and minima at $x=1$ and $x=-1$

    2. I want the value of the function at those points to be $1$ and $-1$

    3. I want the decay after that point to follow (at least very roughly) $frac1x$ - i.e., far less rapid

    Any suggestions?







    share|cite|improve this question























      up vote
      2
      down vote

      favorite
      1









      up vote
      2
      down vote

      favorite
      1






      1





      I want to create a curve with the above properties, and which is odd in that it is continuous, and produces a negative version of itself for negative $x$. A picture may help give the general idea (but please note it's not accurate):



      (Guide graphic only)



      This is created by shifting the normal (probability) curve to centre on $x=1$, then subtracting another normal curve shifted to centre on $x=-1$, using this basic formula for a normal curve:



      $$frace^frac-x^22sqrt (2pi)$$



      I then stretched the curve vertically by $fracsqrt (2pi)1-frac1e^2$ to give the curve above.



      Unfortunately, it's not quite what I am looking for.



      1. I want maxima and minima at $x=1$ and $x=-1$

      2. I want the value of the function at those points to be $1$ and $-1$

      3. I want the decay after that point to follow (at least very roughly) $frac1x$ - i.e., far less rapid

      Any suggestions?







      share|cite|improve this question













      I want to create a curve with the above properties, and which is odd in that it is continuous, and produces a negative version of itself for negative $x$. A picture may help give the general idea (but please note it's not accurate):



      (Guide graphic only)



      This is created by shifting the normal (probability) curve to centre on $x=1$, then subtracting another normal curve shifted to centre on $x=-1$, using this basic formula for a normal curve:



      $$frace^frac-x^22sqrt (2pi)$$



      I then stretched the curve vertically by $fracsqrt (2pi)1-frac1e^2$ to give the curve above.



      Unfortunately, it's not quite what I am looking for.



      1. I want maxima and minima at $x=1$ and $x=-1$

      2. I want the value of the function at those points to be $1$ and $-1$

      3. I want the decay after that point to follow (at least very roughly) $frac1x$ - i.e., far less rapid

      Any suggestions?









      share|cite|improve this question












      share|cite|improve this question




      share|cite|improve this question








      edited Jul 17 at 14:33









      Parcly Taxel

      33.6k136588




      33.6k136588









      asked Jul 17 at 14:25









      Richard Burke-Ward

      1448




      1448




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          3
          down vote



          accepted










          The simplest function available that satisfies the given properties is a rational function:
          $$frac2x1+x^2$$
          That it is odd (and so has $f(0)=0$) comes from the $x$ in the numerator. That it decays at the rate of $frac1x$ comes from comparing the degrees of the polynomials above and below (1 vs. 2). That it has a maximum of $f(1)=1$ can be verified by differentiating the function.



          enter image description here






          share|cite|improve this answer



















          • 1




            +1. Added a graph (since I was in the midst of posting basically the same answer). Delete it if you object.
            – Did
            Jul 17 at 14:30











          • Far simpler! Appreciated, and marked as answered.
            – Richard Burke-Ward
            Jul 17 at 14:35










          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%2f2854543%2fcurve-with-value-0-at-x-0-max-value-1-at-x-1-then-decay-approximating%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
          3
          down vote



          accepted










          The simplest function available that satisfies the given properties is a rational function:
          $$frac2x1+x^2$$
          That it is odd (and so has $f(0)=0$) comes from the $x$ in the numerator. That it decays at the rate of $frac1x$ comes from comparing the degrees of the polynomials above and below (1 vs. 2). That it has a maximum of $f(1)=1$ can be verified by differentiating the function.



          enter image description here






          share|cite|improve this answer



















          • 1




            +1. Added a graph (since I was in the midst of posting basically the same answer). Delete it if you object.
            – Did
            Jul 17 at 14:30











          • Far simpler! Appreciated, and marked as answered.
            – Richard Burke-Ward
            Jul 17 at 14:35














          up vote
          3
          down vote



          accepted










          The simplest function available that satisfies the given properties is a rational function:
          $$frac2x1+x^2$$
          That it is odd (and so has $f(0)=0$) comes from the $x$ in the numerator. That it decays at the rate of $frac1x$ comes from comparing the degrees of the polynomials above and below (1 vs. 2). That it has a maximum of $f(1)=1$ can be verified by differentiating the function.



          enter image description here






          share|cite|improve this answer



















          • 1




            +1. Added a graph (since I was in the midst of posting basically the same answer). Delete it if you object.
            – Did
            Jul 17 at 14:30











          • Far simpler! Appreciated, and marked as answered.
            – Richard Burke-Ward
            Jul 17 at 14:35












          up vote
          3
          down vote



          accepted







          up vote
          3
          down vote



          accepted






          The simplest function available that satisfies the given properties is a rational function:
          $$frac2x1+x^2$$
          That it is odd (and so has $f(0)=0$) comes from the $x$ in the numerator. That it decays at the rate of $frac1x$ comes from comparing the degrees of the polynomials above and below (1 vs. 2). That it has a maximum of $f(1)=1$ can be verified by differentiating the function.



          enter image description here






          share|cite|improve this answer















          The simplest function available that satisfies the given properties is a rational function:
          $$frac2x1+x^2$$
          That it is odd (and so has $f(0)=0$) comes from the $x$ in the numerator. That it decays at the rate of $frac1x$ comes from comparing the degrees of the polynomials above and below (1 vs. 2). That it has a maximum of $f(1)=1$ can be verified by differentiating the function.



          enter image description here







          share|cite|improve this answer















          share|cite|improve this answer



          share|cite|improve this answer








          edited Jul 17 at 14:30









          Did

          242k23208443




          242k23208443











          answered Jul 17 at 14:29









          Parcly Taxel

          33.6k136588




          33.6k136588







          • 1




            +1. Added a graph (since I was in the midst of posting basically the same answer). Delete it if you object.
            – Did
            Jul 17 at 14:30











          • Far simpler! Appreciated, and marked as answered.
            – Richard Burke-Ward
            Jul 17 at 14:35












          • 1




            +1. Added a graph (since I was in the midst of posting basically the same answer). Delete it if you object.
            – Did
            Jul 17 at 14:30











          • Far simpler! Appreciated, and marked as answered.
            – Richard Burke-Ward
            Jul 17 at 14:35







          1




          1




          +1. Added a graph (since I was in the midst of posting basically the same answer). Delete it if you object.
          – Did
          Jul 17 at 14:30





          +1. Added a graph (since I was in the midst of posting basically the same answer). Delete it if you object.
          – Did
          Jul 17 at 14:30













          Far simpler! Appreciated, and marked as answered.
          – Richard Burke-Ward
          Jul 17 at 14:35




          Far simpler! Appreciated, and marked as answered.
          – Richard Burke-Ward
          Jul 17 at 14:35












           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2854543%2fcurve-with-value-0-at-x-0-max-value-1-at-x-1-then-decay-approximating%23new-answer', 'question_page');

          );

          Post as a guest













































































          Comments

          Popular posts from this blog

          What is the equation of a 3D cone with generalised tilt?

          Color the edges and diagonals of a regular polygon

          Relationship between determinant of matrix and determinant of adjoint?