[step:Derive the density formula when $\mu_X \ll \mathcal{L}^1$ from the Radon-Nikodym Theorem]Suppose $\mu_X \ll \mathcal{L}^1$. The [Radon-Nikodym Theorem](/theorems/1247), applied to the $\sigma$-finite measure spaces $(\mathbb{R}, \mathcal{B}(\mathbb{R}), \mu_X)$ and $(\mathbb{R}, \mathcal{B}(\mathbb{R}), \mathcal{L}^1)$ (both $\sigma$-finite since $\mathbb{R} = \bigcup_{n=1}^\infty [-n, n]$ and $\mathcal{L}^1([-n,n]) = 2n < \infty$, $\mu_X([-n,n]) \leq 1 < \infty$), guarantees the existence of a unique (up to $\mathcal{L}^1$-a.e. equality) non-negative $\mathcal{B}(\mathbb{R})$-measurable function $f_X \in L^1(\mathbb{R}, \mathcal{B}(\mathbb{R}), \mathcal{L}^1)$ such that
\begin{align*}
\mu_X(B) = \int_B f_X(x) \, d\mathcal{L}^1(x) \qquad \text{for all } B \in \mathcal{B}(\mathbb{R}).
\end{align*}
In particular $\int_{\mathbb{R}} f_X \, d\mathcal{L}^1 = \mu_X(\mathbb{R}) = 1$.
It remains to show that $\int_{\mathbb{R}} g \, d\mu_X = \int_{\mathbb{R}} g \, f_X \, d\mathcal{L}^1$ for $g \in L^1(\mathbb{R}, \mathcal{B}(\mathbb{R}), \mu_X)$. For $B \in \mathcal{B}(\mathbb{R})$, the Radon-Nikodym condition gives $\int_{\mathbb{R}} \mathbb{1}_B \, d\mu_X = \mu_X(B) = \int_{\mathbb{R}} \mathbb{1}_B \, f_X \, d\mathcal{L}^1$. Extending to simple functions by linearity, then to non-negative measurable functions by the [Monotone Convergence Theorem](/theorems/509) applied on $(\mathbb{R}, \mathcal{B}(\mathbb{R}), \mathcal{L}^1)$, and finally to integrable functions by positive-negative decomposition — the identical three-step extension of Steps 2–4 — yields:
\begin{align*}
\int_{\mathbb{R}} g(x) \, d\mu_X(x) = \int_{\mathbb{R}} g(x) \, f_X(x) \, d\mathcal{L}^1(x).
\end{align*}
Combining with the main identity from Step 4:
\begin{align*}
\mathbb{E}[g(X)] = \int_{\mathbb{R}} g(x) \, d\mu_X(x) = \int_{\mathbb{R}} g(x) \, f_X(x) \, d\mathcal{L}^1(x).
\end{align*}
This completes the proof of all three parts of the theorem.[/step]