_joey
- 44
- 0
I have a question I need to answer.
f\left(x,y\right)= 6x^2y such that 0<x<y and x+y<2 where f\left(x,y\right) is a probability density function for two random variables: X,\;Y
I need to find marginal density distribution for the random variables X and Y
It appears to be a straight forward question except that when I integrate twice, in instance with the marginal density for Y,\;f_Y, it does not integrate to 1.
Here are my calculations:
<br /> 0&<&x<y and x+y<2 \implies 0<x<1 and x<2-y. Hence, marginal density for X is
f_x\left(x,y\right)=\int\limits_{x}^{2-x}6x^2y\,dy =\[\left. 3{{x}^{2}}{{y}^{2}} \right|_{x}^{2-x}\]=12x^2-12x^3,\;0<x<1
If I integrate the above function again over \left(0,1\right)I will obtain 1. This is a property of marginal density distribution (?!)
Things start falling apart with marginal density for Y variable
f_y\left(x,y\right)=\int\limits_{0}^{1}6x^2y\,dx =\[\left. 2{{x}^{3}}{{y}} \right|_{0}^{1}\]=2y,\;x<y<2-x
If I integrate f_Y(y)=2y again over x<y<2-x I will obtain 4-4x.
Any help and suggestions will be much appreciated.
Thanks!
f\left(x,y\right)= 6x^2y such that 0<x<y and x+y<2 where f\left(x,y\right) is a probability density function for two random variables: X,\;Y
I need to find marginal density distribution for the random variables X and Y
It appears to be a straight forward question except that when I integrate twice, in instance with the marginal density for Y,\;f_Y, it does not integrate to 1.
Here are my calculations:
<br /> 0&<&x<y and x+y<2 \implies 0<x<1 and x<2-y. Hence, marginal density for X is
f_x\left(x,y\right)=\int\limits_{x}^{2-x}6x^2y\,dy =\[\left. 3{{x}^{2}}{{y}^{2}} \right|_{x}^{2-x}\]=12x^2-12x^3,\;0<x<1
If I integrate the above function again over \left(0,1\right)I will obtain 1. This is a property of marginal density distribution (?!)
Things start falling apart with marginal density for Y variable
f_y\left(x,y\right)=\int\limits_{0}^{1}6x^2y\,dx =\[\left. 2{{x}^{3}}{{y}} \right|_{0}^{1}\]=2y,\;x<y<2-x
If I integrate f_Y(y)=2y again over x<y<2-x I will obtain 4-4x.
Any help and suggestions will be much appreciated.
Thanks!
Last edited: