I am trying to prove the following
Theorem: Let $\{A_1, A_2, \cdots \}$ be a countable disjoint collection of sets in $\mathbb R$ and let $S = \bigcup_{i=1}^\infty A_i$. Let $f$ be defined on $S$.
(a) If $f\in L(S)$, then $f\in L(A_i)$ for each $i$ and $$\int_S f = \sum_{i=1}^\infty \int_{A_i} f.$$ (b) If $f\in L(A_i)$ for each $i$ and if the series in (a) converges, then $f\in L(S)$ and the equation in (a) holds.
(a) is easy, but I am not able to prove part (b) as I don't know what result previously proved can be used because $f$ is not a sequence.