Let $f$ be an extended real-valued $\mathcal{M}_{L}$-measurable function on $[0,\infty)$ such that $f$ is $\mu_L$-integrable on every finite subinterval of $[0,\infty)$, and $$ \lim_{x\rightarrow \infty}f(x)=c.$$ Let $a>0$. Show that $$\lim_{a\rightarrow \infty}\frac{1}{a}\int_{[0,a]}fd\mu_L=c$$
This is one of my analysis HW problems (9.35 in Yeh's Real Analysis, 3rd edition). I can solve it using some $\epsilon-\delta$ types argument(i.e. for large enough $x$, $c-\delta<f(x)<c+\delta$, use that to approximate the integral when $a$ is large enough).
However this chapter is about Lebesgue integral of measurable function and those convergence theorems(monotone convergence, dominated convergence, etc.). I wonder if there is a much better alternative solution for this problem using those theorems.
If you assume that $f$ is bounded you may argue as follows: $${1\over a}\int_0^a f(x)\>dx=\int_0^1 f(a \>t)\>dt\ .$$ Now you can apply the dominated convergence theorem on the right hand side and obtain $$\lim_{a\to\infty}{1\over a}\int_0^a f(x)\>dx=\int_0^1 c\>dt=c\ .$$