Let $ (X,\mathcal{M},\mu)$ be a measure space and let $ f:X\to[-\infty,+\infty]$ be an integrable function (i.e. at least one of $ f_+ $ and $ f_-$ is integrable). I want to prove that $ \lambda:\mathcal{M}\to[-\infty,+\infty]$ defined as
$$ \lambda(E)=\int_{E}f d\mu $$
is a signed measure.
When I prove the countable additivity, how can I prove that the series $$ \sum_{i=1}^{+\infty}\int_{E_i}f d\mu$$ may only converge absolutely or diverge?