Let's begin with a definition:
Let $U\subset \mathbb R^m$ be an open set and $K_i$ be a sequence of compact, J-measurable sets such that $U=\cup K_i$ and $K_i\subset\operatorname{int}K_{i+1}$ for every $i\in \mathbb N$. Given a continuous function $f:U\to \mathbb R$, we say the integral $\int_Uf(x)dx$ is convergent when for every such sequence $\{K_i\}$, there exists $\lim_{i\to \infty}\int_{K_i}f(x)dx$.
I want to prove the integral $\int_Uf(x)dx$ is convergent if and only if $\int_U|f(x)|dx$ is convergent.
I've already written down an attempt of solution but I got lost with the indices and the sups and infs. I need some hints how to proceed.
I need help.