Let $f:\mathbb{R}\rightarrow [0,\infty]$ be measurable with $\int_{\mathbb{R}}fdm<\infty$. Show that $F:\mathbb{R}\rightarrow \mathbb{R}$, $F(x):=\int_{(-\infty,x]}fdm$ is continuous.
Do I need to consider the case where $f$ is bounded?
Thanks in advance.
Since f is a nonnegative by definition of the Lebesgue integral $\forall \epsilon > 0$ there exists $h:\mathbb{R} \to \mathbb{R}$ such that h is bounded, measurable, nonnegative, finite support, $h \leq f$ $\forall x \in \mathbb{R}$, and $\int_{\mathbb{R}}{|f-h|} < \epsilon$.
WLOG assume $y<x$ Consider $|F(x)-F(y)|=|\int_{y}^{x}{f dm}| \leq \int_{y}^{x}{|f-h|} + \int_{y}^{x}{|h|} < \epsilon + \int_{y}^{x}{|h|}$. Now, h is bounded so $\exists M \in \mathbb{R}$ such that $|h| \leq M$ for all x. Select $\delta = \epsilon / M$.
Then you have that $\int_{y}^{x}{|h|} \leq M |x-y| < M \delta = \epsilon$. Hence, you have that $|F(x)-F(y)| < 2 \epsilon$ i.e is continuous.