Compute $Var(X)$ with Gamma distribution

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











up vote
1
down vote

favorite












$$f_X, Y (x, y) =begincases
24xy & x geq 0, ygeq0, x+y leq 1\
0 & textotherwise \
endcases
$$



Compute $Var(X)$.



This question was done with a shortcut:



$f_X(x) = int_0^1-x24xydy = 12x(1-x)^2, 0 leq x leq 1$ and zero otherwise.



Recall that this is $beta(a = 2, b = 3)$, and that $V(X) = fracab(a+b)^2(a+b+1)$. So.



$V(X) = frac2 cdot 3(2 + 3)^2(2+3+1) = 0.04$.



My question is how did they get the interval $0 leq x leq 1$? $x geq 0$ and $x leq 1 - y$. :/







share|cite|improve this question


















  • 2




    The intervals are specified explicitly in the definition of the function (your first line).
    – David G. Stork
    Aug 10 at 23:51














up vote
1
down vote

favorite












$$f_X, Y (x, y) =begincases
24xy & x geq 0, ygeq0, x+y leq 1\
0 & textotherwise \
endcases
$$



Compute $Var(X)$.



This question was done with a shortcut:



$f_X(x) = int_0^1-x24xydy = 12x(1-x)^2, 0 leq x leq 1$ and zero otherwise.



Recall that this is $beta(a = 2, b = 3)$, and that $V(X) = fracab(a+b)^2(a+b+1)$. So.



$V(X) = frac2 cdot 3(2 + 3)^2(2+3+1) = 0.04$.



My question is how did they get the interval $0 leq x leq 1$? $x geq 0$ and $x leq 1 - y$. :/







share|cite|improve this question


















  • 2




    The intervals are specified explicitly in the definition of the function (your first line).
    – David G. Stork
    Aug 10 at 23:51












up vote
1
down vote

favorite









up vote
1
down vote

favorite











$$f_X, Y (x, y) =begincases
24xy & x geq 0, ygeq0, x+y leq 1\
0 & textotherwise \
endcases
$$



Compute $Var(X)$.



This question was done with a shortcut:



$f_X(x) = int_0^1-x24xydy = 12x(1-x)^2, 0 leq x leq 1$ and zero otherwise.



Recall that this is $beta(a = 2, b = 3)$, and that $V(X) = fracab(a+b)^2(a+b+1)$. So.



$V(X) = frac2 cdot 3(2 + 3)^2(2+3+1) = 0.04$.



My question is how did they get the interval $0 leq x leq 1$? $x geq 0$ and $x leq 1 - y$. :/







share|cite|improve this question














$$f_X, Y (x, y) =begincases
24xy & x geq 0, ygeq0, x+y leq 1\
0 & textotherwise \
endcases
$$



Compute $Var(X)$.



This question was done with a shortcut:



$f_X(x) = int_0^1-x24xydy = 12x(1-x)^2, 0 leq x leq 1$ and zero otherwise.



Recall that this is $beta(a = 2, b = 3)$, and that $V(X) = fracab(a+b)^2(a+b+1)$. So.



$V(X) = frac2 cdot 3(2 + 3)^2(2+3+1) = 0.04$.



My question is how did they get the interval $0 leq x leq 1$? $x geq 0$ and $x leq 1 - y$. :/









share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Aug 11 at 0:41

























asked Aug 10 at 23:32









Bas bas

39611




39611







  • 2




    The intervals are specified explicitly in the definition of the function (your first line).
    – David G. Stork
    Aug 10 at 23:51












  • 2




    The intervals are specified explicitly in the definition of the function (your first line).
    – David G. Stork
    Aug 10 at 23:51







2




2




The intervals are specified explicitly in the definition of the function (your first line).
– David G. Stork
Aug 10 at 23:51




The intervals are specified explicitly in the definition of the function (your first line).
– David G. Stork
Aug 10 at 23:51










2 Answers
2






active

oldest

votes

















up vote
1
down vote













Well, let's take a look how the conditions look on (x,y) plane
enter image description here



The blue line is the equation $x+y=1$. Now since we are interested in the positive quadrant $x>0$ and $y>0$, I only drew that part. So the area surface where your function $f(x,y)$ is non-zero is within the triangle where $x$ moves along the red arrow and $y$ moves along the black one.



Notice that $0 < x < 1$ and since $y$ is below the line then $x+y<1$ or $y<1-x$.






share|cite|improve this answer



























    up vote
    0
    down vote













    Here is the distribution:



    enter image description here



    Here is $f_X(x) = 12 x (1 - x)^2$:



    enter image description here



    The mean is shown in red and $pm sigma$ in purple.



    The mean is $intlimits_x=0^1 x f_X(x) dx = 2 over 5$.



    The variance is:



    $intlimits_x=0^1 (x - mu)^2 f_X(x) dx = 1 over 25 = 0.04$ (as you calculated).






    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%2f2878907%2fcompute-varx-with-gamma-distribution%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
      1
      down vote













      Well, let's take a look how the conditions look on (x,y) plane
      enter image description here



      The blue line is the equation $x+y=1$. Now since we are interested in the positive quadrant $x>0$ and $y>0$, I only drew that part. So the area surface where your function $f(x,y)$ is non-zero is within the triangle where $x$ moves along the red arrow and $y$ moves along the black one.



      Notice that $0 < x < 1$ and since $y$ is below the line then $x+y<1$ or $y<1-x$.






      share|cite|improve this answer
























        up vote
        1
        down vote













        Well, let's take a look how the conditions look on (x,y) plane
        enter image description here



        The blue line is the equation $x+y=1$. Now since we are interested in the positive quadrant $x>0$ and $y>0$, I only drew that part. So the area surface where your function $f(x,y)$ is non-zero is within the triangle where $x$ moves along the red arrow and $y$ moves along the black one.



        Notice that $0 < x < 1$ and since $y$ is below the line then $x+y<1$ or $y<1-x$.






        share|cite|improve this answer






















          up vote
          1
          down vote










          up vote
          1
          down vote









          Well, let's take a look how the conditions look on (x,y) plane
          enter image description here



          The blue line is the equation $x+y=1$. Now since we are interested in the positive quadrant $x>0$ and $y>0$, I only drew that part. So the area surface where your function $f(x,y)$ is non-zero is within the triangle where $x$ moves along the red arrow and $y$ moves along the black one.



          Notice that $0 < x < 1$ and since $y$ is below the line then $x+y<1$ or $y<1-x$.






          share|cite|improve this answer












          Well, let's take a look how the conditions look on (x,y) plane
          enter image description here



          The blue line is the equation $x+y=1$. Now since we are interested in the positive quadrant $x>0$ and $y>0$, I only drew that part. So the area surface where your function $f(x,y)$ is non-zero is within the triangle where $x$ moves along the red arrow and $y$ moves along the black one.



          Notice that $0 < x < 1$ and since $y$ is below the line then $x+y<1$ or $y<1-x$.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Aug 11 at 0:56









          Ahmad Bazzi

          3,0601419




          3,0601419




















              up vote
              0
              down vote













              Here is the distribution:



              enter image description here



              Here is $f_X(x) = 12 x (1 - x)^2$:



              enter image description here



              The mean is shown in red and $pm sigma$ in purple.



              The mean is $intlimits_x=0^1 x f_X(x) dx = 2 over 5$.



              The variance is:



              $intlimits_x=0^1 (x - mu)^2 f_X(x) dx = 1 over 25 = 0.04$ (as you calculated).






              share|cite|improve this answer


























                up vote
                0
                down vote













                Here is the distribution:



                enter image description here



                Here is $f_X(x) = 12 x (1 - x)^2$:



                enter image description here



                The mean is shown in red and $pm sigma$ in purple.



                The mean is $intlimits_x=0^1 x f_X(x) dx = 2 over 5$.



                The variance is:



                $intlimits_x=0^1 (x - mu)^2 f_X(x) dx = 1 over 25 = 0.04$ (as you calculated).






                share|cite|improve this answer
























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  Here is the distribution:



                  enter image description here



                  Here is $f_X(x) = 12 x (1 - x)^2$:



                  enter image description here



                  The mean is shown in red and $pm sigma$ in purple.



                  The mean is $intlimits_x=0^1 x f_X(x) dx = 2 over 5$.



                  The variance is:



                  $intlimits_x=0^1 (x - mu)^2 f_X(x) dx = 1 over 25 = 0.04$ (as you calculated).






                  share|cite|improve this answer














                  Here is the distribution:



                  enter image description here



                  Here is $f_X(x) = 12 x (1 - x)^2$:



                  enter image description here



                  The mean is shown in red and $pm sigma$ in purple.



                  The mean is $intlimits_x=0^1 x f_X(x) dx = 2 over 5$.



                  The variance is:



                  $intlimits_x=0^1 (x - mu)^2 f_X(x) dx = 1 over 25 = 0.04$ (as you calculated).







                  share|cite|improve this answer














                  share|cite|improve this answer



                  share|cite|improve this answer








                  edited Aug 11 at 0:52

























                  answered Aug 11 at 0:39









                  David G. Stork

                  7,8912930




                  7,8912930






















                       

                      draft saved


                      draft discarded


























                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2878907%2fcompute-varx-with-gamma-distribution%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      這個網誌中的熱門文章

                      How to combine Bézier curves to a surface?

                      Carbon dioxide

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