silemus.

45Covariance from E[XY]

E[XY]=10\displaystyle E[XY] = 10, E[X]=2\displaystyle E[X] = 2 and E[Y]=3\displaystyle E[Y] = 3. Find Cov(X,Y)\displaystyle \mathrm{Cov}(X, Y).

Covariance is the mean of the product minus the product of the means: Cov(X,Y) = E[XY] − E[X]E[Y]. Here that's 10 − 2·3 = 4. Check: 4 + 2·3 = 10, matching E[XY].

How good is this answer?