If $X$ is a r.v. with density $f$ and $Y = g(X)$ then $$E[Y] = \int_{\Bbb R}g(x)f(x)$$
My text offers no demonstration of this. I am familiar with the Lebesgue integral in case the proof relies on measure-theoretic notions. Any help, either in the form of a derivation or reference to one would be much appreciated.
$EY=Eg(X)=\int g(x)d\mu(x)$ where $\mu$ is the measure with density f, so $EY=\int g(x)f(x)dx$.