Answer:E[X]=711, E[Y]=2146, E[XY]=724, Cov(X,Y)=−1472≈−0.0136; X and Y are not independent
(a) The joint probabilities are p(1,1)=212, p(1,2)=213, p(1,3)=214, p(2,1)=213, p(2,2)=214, p(2,3)=215; they sum to 2121=1, as a pmf must. Marginals are obtained by summing over the other variable:
pX(1)=212+3+4=219,pX(2)=213+4+5=2112;pY(1)=215,pY(2)=217,pY(3)=219.
(b) Expectations are probability-weighted sums:
E[X]=1⋅219+2⋅2112=2133=711,E[Y]=211⋅5+2⋅7+3⋅9=2146.
For E[XY], sum xyp(x,y) over all six pairs:
E[XY]=211⋅2+2⋅3+3⋅4+2⋅3+4⋅4+6⋅5=212+6+12+6+16+30=2172=724.
(c) Use the computational formula Cov(X,Y)=E[XY]−E[X]E[Y]:
Cov(X,Y)=724−711⋅2146=147504−147506=−1472≈−0.0136.
Independence requires p(x,y)=pX(x)pY(y) for every pair. It fails already at (1,1): pX(1)pY(1)=219⋅215=44145≈0.102, whereas p(1,1)=212≈0.095. So X and Y are not independent. (A nonzero covariance also rules out independence on its own, since independent variables always have covariance 0; the converse is false, which is why the pmf comparison is the decisive test.)
E[X]=711, E[Y]=2146, E[XY]=724, Cov(X,Y)=−1472≈−0.0136; X and Y are not independent.