Problem
Calculate $\int\limits_{-2}^2 \frac{1}{x^2-4}\mathrm dx$ unless it diverges.
My attempt
I calculated the indefinite integral $$\int\frac{1}{x^2-4}\mathrm dx = \frac14\left( \ln(2-x) - \ln(2+x) \right) + C$$
and notice from there that the limits on the integral will cause $\ln(0)$ problems.
Question
From this I decided that the integral must be divergent, but does that hold? Or is there some simple rule that would have allowed me to conclude this before calculating the indefinite integral?
Any tips appreciated!
$\displaystyle \int\limits_{-a}^a\frac{dx}{x^2-4} = 2\int\limits_0^a\frac{dx}{x^2-4}=\frac{1}{4}\ln\frac{2-a}{2+a}$ with $0<a<2$ .
Then we see what happens for $a\to 2^-$ .