Q.7.38

Question

The random variables X and Y have a joint density function is given by 

f(x,y)={2e2x/x0x<,0yx0otherwise

Compute Cov(X,Y)

Step-by-Step Solution

Verified
Answer

The computation of Cov(X,Y) is 18.

1Step 1: Given Information

Random Variables X,Y

Density function f(x,y)=2e2x/x    0x<,0yx0     otherwise 

Cov(X,Y)=?

2Step 2: Explanation

From the information, observe that the random variable X and Y are the random variables that have the joint probability density function is as follows:

f(x,y)=2e2x/x    0x<,0yx0     otherwise 

CalculateE(XY)

E(XY)=00xxyf(x,y)dydx

=00xxy2xe-2xdydx

=00x2ye-2xdydx

=20e-2xy220xdx

3Step 3: Explanation

By integrating the function,

=0e-2xx2dx

=0x2e-2xdx

Integration by parts:

=x2e-2x-20-02xe-2x-2dx

=-12-0×e-0+0xe-2xdx

=0+0xe-2xdx

=xe-2x-20-0e-2x-2dx=xe-2x-20-0e-2x-2dx

=0+120e-2xdx

=12e-2x-20

=-14e--e-0

=-14(0-1)

=14(1)

=14

4Step 4: Explanation

Calculate E(X)

E(X)=00xxf(x,y)dydx

=00xx2xe-2xdydx

=00x2e-2xdydx

=20e-2x(y)0xdx

=20e-2x(x-0)dx

=20xe-2xdx

=2xe-2x-20-0e-2xdx

=0-e-2x-20

=-12e--e-0

=-12(0-1)

=12(1)

=12

5Step 5: Explanation

Calculate E(Y)

E(Y)=00xyf(x,y)dydx

=00xy2xe-2xdydx

=00x2xe-2x(ydy)dx

=02xe-2xy220xdx

=01xe-2xx2dx

=0xe-2xdx

=xe-2x-20-0e-2x-2dx

=0+12e-2x-20

=-14e--e-0

=-14(0-1)

=14(1)

=14

6Step 6: Explanation

Therefore, the calculation of Cov(X,Y)

Cov(X, Y)=E(X Y)-E(X) E(Y)

=14-12×14

=14-18

=2-18

=18

7Step 7: Final Answer

Hence, the computation ofCov(X,Y) is 18.