I'm given a certain $f_{X,Y}$ joint density function and I'm asked to find $E(X)$. I know you can find the marginal distribution $f_X$ and then easily compute $E(X)$. However:
Question: I want to know if there's a smart way to go directly from the joint density to the expectation. Is there a specific theorem that could be applied in this case?
Thanks for helping! :D