My book defines $$ \int_{-\infty}^{\infty}f(x) dx = \int_{-\infty}^{a}f(x)dx + \int_a^{\infty}f(x) dx$$ When:
1) $f(x)$ is integrable in $[t,t']$ for any $t, t' \in \Bbb R$ $ (t<t')$ and
2) $a \in \Bbb R$ such that both $ \int_{-\infty}^{a}f(x)dx $ and $ \int_a^{\infty}f(x) dx$ exist.
I'm wondering whether or not the first condition is necessary. If the second one holds for some $a\in \Bbb R$, then $f$ is integrable in any interval anyway, so isn't the first condition satisfied?
The first condition is there in order to assure that the second one makes sense.