Consider the following improper integral:
$\displaystyle \lim\limits_{\delta{r} \to 0} \int^r_{\delta r} f(r) dr \tag{1}$
where $f(r)$ is finite everywhere and $f(0)=$ not defined.
Then, will taking the antiderivative of $f(r)$ and then evaluating the limits
$\displaystyle \left[ \int f(r) dr \right]_r-\left[ \int f(r) dr \right]_0 \tag{2}$
yield the same result always? Why?
I'll write $\delta$ instead of $\delta r$, since we're not denoting a small change in $r$, but a small value of it. Then an antiderivative $F$ of $f$ satisfies $$\lim_{\delta\to0}\int_\delta^r f(r^\prime)dr^\prime=\lim_{\delta\to0}(F(r)-F(\delta))=F(r)-\lim_{\delta\to0}F(\delta),$$so the existence condition is that $F(r),\,\lim_{\delta\to0}F(\delta)$ exist and their difference isn't an indeterminate form such as $\infty-\infty$. Bear in mind in particular that: