f(x,y)=3x, 0<y<x<1
0, elsewhere
Given the p.d.f above, we shall determine whether X and Y are independent using the property for testing independence given as,
E(XY)=E(X)∗E(Y)
Now,
E(XY)=∫01∫0x(xy)∗f(x,y)dydx
=∫01∫0x(xy)∗3xdydx
=∫01∫0x3yx2dydx
= ∫013/2∗(y2x2∣0x)dx
=∫01(3/2)∗x4dx
=(3/10∗x5)∣01=3/10
E(X)=∫01∫0xxf(x,y)dydx
=∫01∫0x3x2dydx
=∫01(3x2y)∣0xdx
=∫013x3dx
=(3/4x4)∣01
=3/4
E(Y)=∫01∫0xy∗f(x,y)dydx
=∫01∫0x3xydydx
=∫013/2(xy2)∣0xdx
=∫013/2(x3)dx
=3/8(x4)∣01
=3/8
Let us check if the condition stated above is satisfied,
3/10=3/4∗3/8
Therefore, random variables X and Y are not independent.
Since they are not independent, we move ahead to determine V(Y∣x).
To determine this conditional variance, we need to find the conditional distribution of Y∣x given as f(Y∣x) as follows,
f(Y∣x)=f(x,y)/g(x) where g(x) is the marginal distribution of X
We already have f(x,y), let's find g(x)
Now,
g(x)=∫0xf(x,y)dy
=∫0x3xdy
=(3xy)∣0x
=3x2
Therefore, the marginal distribution of X is given as,
g(x)=3x2, 0<x<1
0, elsewhere
Thus, f(Y∣x)=3x/3x2=1/x, 0<y<x<1
0, elsewhere
Conditional variance, V(Y∣x)=E(Y2∣x)−E(Y∣x).
We determine the two conditional expectations as follows,
E(Y∣x)=∫0xy∗f(Y∣x)dy
=∫0x(y/x)dy
=(y2/2x)∣0x
=x2/2x=x/2
E(Y2∣x)=∫0xy2∗f(Y∣x)dy
=∫0x(y2/x)dy
=(y3/3x)∣0x
=x3/3x=x2/3
Now,
V(Y∣x)=x2/3−(x/2)2=x2/12, 0<x<1
0, elsewhere
Comments