Given that $\int_{\Omega}|X(\omega)|dP(\omega)<\infty$ and $\mu_X$ to be the induced probability measure of $X$ on $\mathbb{R}^n $. Why is it that
\begin{equation*} \int_\Omega X(\omega)dP(\omega) \end{equation*}
and
\begin{equation*} \int_{\mathbb{R}^n}xd \mu_X(x) \end{equation*}
are equivalent definition for the expected value of $X$, $E(X)$?
This might seem trivial to some. But none is trivial to a beginner. Can someone elaborate please. Thank you in advance.
$\mu_X$ is defined by $\mu_X(A)=P(X^{-1}(A))$. This can be written as $\int I_A d\mu_X=\int I_A(X) dP$. [ Because $I_A(X(\omega)) =I_{X^{-1}(A)}(\omega)$]. For any simple function $f$ we get $\int fd\mu_X=\int f(X) dP$. From here you can use a standard measure theoretic argument to say that the equation hods for any non-negative measurable function $f$ as also for any $f$ which is integrable w.r.t. $\mu_X$. Taking $f(x)=x$ you get the equation you want provided the integral exists (which is true iff $X$ has finite mean).