Let $f: \mathbb{R} \rightarrow [0,+\infty)$ a positive measurable function. Suppose $f$ is improper integrable. Show that $f$ is integrable.
Take a row $x_{n} \rightarrow \infty$ and a row $y_{n}\rightarrow -\infty$ We know that: $\lim_{n\rightarrow \infty}\int_{x_{n}}^{y_{n}} {f} {d\lambda}$ exists. We can write this as: $\lim_{n\rightarrow \infty}\int_{\mathbb{R}} \mathbb{1}_{[x_{n},y_{n}]}f $. We can use now the monotone convergence theorem. Is this OK? Thanks.
The proof is correct if you assume that both $x_n$ and $y_n$ are monotone. You could actually fix them: $x_n = -n$, $y_n = n$.