Given the joint PDF of X and Y fxy x y 61 x y 0 SolutionG
Solution
Given that ,
f(x.y) = 6 ( 1 - x - y ) 0 x 1 and 0 y 1
Now first we have to find E(XY).
E(XY) = xy * f(x,y) dx dy
= xy 6 ( 1 - x - y ) dx dy
= x dx 6y (1 - x - y) dy
= x dx [ 6y - 6xy - 6y2 ] dy
= x dx [ 6*[y2/2] - 6x * [y2 / 2] - 6 * [y3 /3] (y is from 0 to 1)
E(XY) = x dx [ 3y2 - 3xy2 - 2y3 ]
= x dx [ 3(1)2 - 3x(1)2 - 2(1)3 ]
= x dx [3 - 3x - 2]
E(XY) = x dx [1 - 3x]
= ( x - 3x2 ) dx
= [ x2 / 2 - 3(x3 / 3) ] (x is from 0 to 1)
E(XY) = [ 12 / 2 - 3(13 / 3) ]
= 1/2 - 1
E(XY) = -1/2
Now we hae to find Cov(X,Y)
Cov(X,Y) = E(XY) - E(X) * E(Y)
Now we calculat firstmarginal distribution of X and Y.
Marginal distribution of X is,
f(x) = f(x,y) dy (y is from 0 to 1)
= 6(1-x-y) dy
= (6 - 6x - 6y) dy
= [ 6y - 6xy - 6 (y2 /2) ] (y is from 0 to 1)
= [ 6(1) - 6x(1) - 6/2 (12) ]
= 6 - 6x - 3
f(x) = 3 - 6x x is from 0 to 1
Similarly we find marginal distribution of Y:
f(y) = f(x,y) dx (x is from 0 to 1)
= 6(1-x-y) dx
= (6 - 6x - 6y) dx
= [ 6x - 6 (x2 /2) - 6xy] (x is from 0 to 1)
= [ 6(1) - 6/2 (12) - 6y(1) ]
= 6 - 6y - 3
f(x) = 3 - 6y y is from 0 to 1
Now we find E(X) and E(Y).
E(X) = x * f(x) dx
= x * (3- 6x) x is from 0 to 1
E(X) = 3x - 6x2 dx
= 3 [ x2 / 2 ] - 6 [x3 / 3]
= 3 [ 1/2 ] - 6 [ 1/3 ]
= 3/2 - 2
E(X) = -1/2
E(Y) = y * f(y) dy
= y * (3- 6y) y is from 0 to 1
E(Y) = 3y - 6y2 dy ( yis from 0 to 1)
= 3 [ y2 / 2 ] - 6 [y3 / 3]
= 3 [ 1/2 ] - 6 [ 1/3 ]
= 3/2 - 2
E(X) = -1/2
Cov(X,Y) = E(XY) - E(X)E(Y)
= -1/2 - (-1/2 * -1/2)
= -0.75
Now we have to find var (x) and var(y).
var(x) = E(x2 ) - [ E(x) ]2
var(y) = E(y2 ) - [ E(y) ]2
Now we have to find expected of x2 and y2.
E(x2) = x2 * f(x) dx
= x2 * (3- 6x) x is from 0 to 1
= 3x2 - 6x3 dx
= [ 3*(x3/3) - 6*(x4 /4) ]
= 3 (1/3) - 6(1/4) = -1/2
E(y2) = y2 * f(y) dy
= y2 * (3- 6y) y is from 0 to 1
= 3y2 - 6y3 dy
= [ 3*(y3/3) - 6*(y4 /4) ]
= 3 (1/3) - 6(1/4) = -1/2
var(x) = -1/2 - (-1/2)2 = 0.75
var(y) = 0.75
sd(x) = sqrt(var(x)) = sqrt(0.75) = 0.8660
sd(y) = 0.8660
xy = Cov(X,Y) / sd(X) * sd(Y)
= -0.75 / 0.8660 * 0.8660
= -1


