Showing $2int_-infty^infty x f(x) F(x) dx = frac1sqrtpi$ for standard normal pdf and cfd

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











up vote
5
down vote

favorite












i am trying to prove the identity in the title. I strongly think I need to use the error function $$texterf(x) = frac2sqrtpi int_0^x exp-t^2 dt$$ in some way. Best I have so far is replacing $F(x) = frac1+texterfleft(fracxsqrt2right)2$ to end up with
$$2int_-infty^infty x , f(x) , F(x) dx = int_-infty^infty texterfleft(fracxsqrt2right) , x, frac1sqrt2pi expleft-frac12x^2right dx.$$
My attempts on partial integration have failed, any other ideas or does anyone succeed?



I have a document stating that the equality holds without any further remarks or calculations and I have confirmed it via integration by quadrature and am looking for an analytic proof.



Very thankful for any help.







share|cite|improve this question

















  • 1




    This is basically $E(XPhi(X))$ previously shown here.
    – StubbornAtom
    Jul 18 at 20:34














up vote
5
down vote

favorite












i am trying to prove the identity in the title. I strongly think I need to use the error function $$texterf(x) = frac2sqrtpi int_0^x exp-t^2 dt$$ in some way. Best I have so far is replacing $F(x) = frac1+texterfleft(fracxsqrt2right)2$ to end up with
$$2int_-infty^infty x , f(x) , F(x) dx = int_-infty^infty texterfleft(fracxsqrt2right) , x, frac1sqrt2pi expleft-frac12x^2right dx.$$
My attempts on partial integration have failed, any other ideas or does anyone succeed?



I have a document stating that the equality holds without any further remarks or calculations and I have confirmed it via integration by quadrature and am looking for an analytic proof.



Very thankful for any help.







share|cite|improve this question

















  • 1




    This is basically $E(XPhi(X))$ previously shown here.
    – StubbornAtom
    Jul 18 at 20:34












up vote
5
down vote

favorite









up vote
5
down vote

favorite











i am trying to prove the identity in the title. I strongly think I need to use the error function $$texterf(x) = frac2sqrtpi int_0^x exp-t^2 dt$$ in some way. Best I have so far is replacing $F(x) = frac1+texterfleft(fracxsqrt2right)2$ to end up with
$$2int_-infty^infty x , f(x) , F(x) dx = int_-infty^infty texterfleft(fracxsqrt2right) , x, frac1sqrt2pi expleft-frac12x^2right dx.$$
My attempts on partial integration have failed, any other ideas or does anyone succeed?



I have a document stating that the equality holds without any further remarks or calculations and I have confirmed it via integration by quadrature and am looking for an analytic proof.



Very thankful for any help.







share|cite|improve this question













i am trying to prove the identity in the title. I strongly think I need to use the error function $$texterf(x) = frac2sqrtpi int_0^x exp-t^2 dt$$ in some way. Best I have so far is replacing $F(x) = frac1+texterfleft(fracxsqrt2right)2$ to end up with
$$2int_-infty^infty x , f(x) , F(x) dx = int_-infty^infty texterfleft(fracxsqrt2right) , x, frac1sqrt2pi expleft-frac12x^2right dx.$$
My attempts on partial integration have failed, any other ideas or does anyone succeed?



I have a document stating that the equality holds without any further remarks or calculations and I have confirmed it via integration by quadrature and am looking for an analytic proof.



Very thankful for any help.









share|cite|improve this question












share|cite|improve this question




share|cite|improve this question








edited Jul 18 at 17:20
























asked Jul 18 at 17:17









InterestedStudent

306




306







  • 1




    This is basically $E(XPhi(X))$ previously shown here.
    – StubbornAtom
    Jul 18 at 20:34












  • 1




    This is basically $E(XPhi(X))$ previously shown here.
    – StubbornAtom
    Jul 18 at 20:34







1




1




This is basically $E(XPhi(X))$ previously shown here.
– StubbornAtom
Jul 18 at 20:34




This is basically $E(XPhi(X))$ previously shown here.
– StubbornAtom
Jul 18 at 20:34










2 Answers
2






active

oldest

votes

















up vote
3
down vote



accepted










We have
$$ int x f(x) , dx = frac1sqrt2piint x e^-x^2/2 , dx = -frac1sqrt2pie^-x^2/2+C = -f(x)+C, $$
so integrating by parts gives
$$ 2int_-infty^infty xf(x)F(x) , dx = [-2f(x)F(x)]_-infty^infty + int_-infty^infty 2f(x)^2 , dx $$
since $F'=f$. But $f(x)^2 = e^-x^2$, which is only a scaling away from the standard normal, by putting $x=y/sqrt2$, so $dx=dy/sqrt2$, and hence
$$ 2int_-infty^infty xf(x)F(x) , dx = frac2sqrt2sqrt2pi = frac1sqrtpi. $$






share|cite|improve this answer




























    up vote
    2
    down vote













    Hint: Your integral is $$frac2sqrt2 pi int_-infty^infty x e^-x^2 / 2 F(x) ,dx,.$$



    Try integration by parts with $u = F(x)$ and $dv = xe^-x^2 / 2 ,dx$.






    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: 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%2f2855794%2fshowing-2-int-infty-infty-x-fx-fx-dx-frac1-sqrt-pi-for-s%23new-answer', 'question_page');

      );

      Post as a guest






























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      3
      down vote



      accepted










      We have
      $$ int x f(x) , dx = frac1sqrt2piint x e^-x^2/2 , dx = -frac1sqrt2pie^-x^2/2+C = -f(x)+C, $$
      so integrating by parts gives
      $$ 2int_-infty^infty xf(x)F(x) , dx = [-2f(x)F(x)]_-infty^infty + int_-infty^infty 2f(x)^2 , dx $$
      since $F'=f$. But $f(x)^2 = e^-x^2$, which is only a scaling away from the standard normal, by putting $x=y/sqrt2$, so $dx=dy/sqrt2$, and hence
      $$ 2int_-infty^infty xf(x)F(x) , dx = frac2sqrt2sqrt2pi = frac1sqrtpi. $$






      share|cite|improve this answer

























        up vote
        3
        down vote



        accepted










        We have
        $$ int x f(x) , dx = frac1sqrt2piint x e^-x^2/2 , dx = -frac1sqrt2pie^-x^2/2+C = -f(x)+C, $$
        so integrating by parts gives
        $$ 2int_-infty^infty xf(x)F(x) , dx = [-2f(x)F(x)]_-infty^infty + int_-infty^infty 2f(x)^2 , dx $$
        since $F'=f$. But $f(x)^2 = e^-x^2$, which is only a scaling away from the standard normal, by putting $x=y/sqrt2$, so $dx=dy/sqrt2$, and hence
        $$ 2int_-infty^infty xf(x)F(x) , dx = frac2sqrt2sqrt2pi = frac1sqrtpi. $$






        share|cite|improve this answer























          up vote
          3
          down vote



          accepted







          up vote
          3
          down vote



          accepted






          We have
          $$ int x f(x) , dx = frac1sqrt2piint x e^-x^2/2 , dx = -frac1sqrt2pie^-x^2/2+C = -f(x)+C, $$
          so integrating by parts gives
          $$ 2int_-infty^infty xf(x)F(x) , dx = [-2f(x)F(x)]_-infty^infty + int_-infty^infty 2f(x)^2 , dx $$
          since $F'=f$. But $f(x)^2 = e^-x^2$, which is only a scaling away from the standard normal, by putting $x=y/sqrt2$, so $dx=dy/sqrt2$, and hence
          $$ 2int_-infty^infty xf(x)F(x) , dx = frac2sqrt2sqrt2pi = frac1sqrtpi. $$






          share|cite|improve this answer













          We have
          $$ int x f(x) , dx = frac1sqrt2piint x e^-x^2/2 , dx = -frac1sqrt2pie^-x^2/2+C = -f(x)+C, $$
          so integrating by parts gives
          $$ 2int_-infty^infty xf(x)F(x) , dx = [-2f(x)F(x)]_-infty^infty + int_-infty^infty 2f(x)^2 , dx $$
          since $F'=f$. But $f(x)^2 = e^-x^2$, which is only a scaling away from the standard normal, by putting $x=y/sqrt2$, so $dx=dy/sqrt2$, and hence
          $$ 2int_-infty^infty xf(x)F(x) , dx = frac2sqrt2sqrt2pi = frac1sqrtpi. $$







          share|cite|improve this answer













          share|cite|improve this answer



          share|cite|improve this answer











          answered Jul 18 at 17:28









          Chappers

          55k74190




          55k74190




















              up vote
              2
              down vote













              Hint: Your integral is $$frac2sqrt2 pi int_-infty^infty x e^-x^2 / 2 F(x) ,dx,.$$



              Try integration by parts with $u = F(x)$ and $dv = xe^-x^2 / 2 ,dx$.






              share|cite|improve this answer

























                up vote
                2
                down vote













                Hint: Your integral is $$frac2sqrt2 pi int_-infty^infty x e^-x^2 / 2 F(x) ,dx,.$$



                Try integration by parts with $u = F(x)$ and $dv = xe^-x^2 / 2 ,dx$.






                share|cite|improve this answer























                  up vote
                  2
                  down vote










                  up vote
                  2
                  down vote









                  Hint: Your integral is $$frac2sqrt2 pi int_-infty^infty x e^-x^2 / 2 F(x) ,dx,.$$



                  Try integration by parts with $u = F(x)$ and $dv = xe^-x^2 / 2 ,dx$.






                  share|cite|improve this answer













                  Hint: Your integral is $$frac2sqrt2 pi int_-infty^infty x e^-x^2 / 2 F(x) ,dx,.$$



                  Try integration by parts with $u = F(x)$ and $dv = xe^-x^2 / 2 ,dx$.







                  share|cite|improve this answer













                  share|cite|improve this answer



                  share|cite|improve this answer











                  answered Jul 18 at 17:26









                  Marcus M

                  8,1731847




                  8,1731847






















                       

                      draft saved


                      draft discarded


























                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2855794%2fshowing-2-int-infty-infty-x-fx-fx-dx-frac1-sqrt-pi-for-s%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      Comments

                      Popular posts from this blog

                      Color the edges and diagonals of a regular polygon

                      Relationship between determinant of matrix and determinant of adjoint?

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