Actually my question arises from the definition of $E[XY]$, why is it defined as the integral of $xyf(x,y)$?
If so, what is the expectation of $xy^2$??
Thank you very much.
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It only takes a minute to sign up.
Sign up to join this communityActually my question arises from the definition of $E[XY]$, why is it defined as the integral of $xyf(x,y)$?
If so, what is the expectation of $xy^2$??
Thank you very much.
The expected value of $g(X,Y)$ in general is
$$\iint_R dx dy \, g(x,y) f(x,y)$$
where $R$ is the region over which the random variables $X$ and $Y$ are defined to take on values. Therefore
$$E(X Y^2) = \iint_R dx dy \, x y^2 f(x,y)$$
This of course assumes that $f$ is properly normalized as a pdf.