I was trying to figure out
$\int_{1}^{3}\frac{1}{x-2}dx$
to solve another integral. But, I ran into a problem. When I split this up into $$ \begin{split} \int_{1}^{3}\frac{1}{x-2}dx&=\lim_{A \to 2^-}\int_{1}^{A}\frac{1}{x-2}dx + \lim_{B \to 2^+}\int_{B}^{3}\frac{1}{x-2}dx\\ \\ &=\lim_{A \to 2^-}[\ln|x-2|]_{1}^{A} + \lim_{B \to 2^+}[\ln|x-2|]_{B}^{3} \end{split} $$
I end up with $\infty - \infty$. My professor said that if I have an indeterminate form, then I can't conclude that it's divergent. I would have to rework it. But, I have no idea how to do that in this case. I don't think that it's okay to just combine the limits. So, how would I deal with this?
Of course, I may have done something wrong.