I'm not a math major, and I've found myself in need of urgent help dealing with the following integral, pls.
$$ \int_{-2}^1 \frac{1}{x^2} dx $$
It looks simple at first except the anti derivative becomes undefined at $x=0$. So how do you deal with integrals like this? Also is there any book that deals w integrals like this?
One way of interpreting $$\int_{-2}^1 \frac{dx}{x^2} $$ is as a sum of two improper integrals: $$\int_{-2}^0 \frac{dx}{x^2} +\int_0^1 \frac{dx}{x^2} \\ = \bigg (-\frac 1x \bigg | _{-2}^0 + \bigg(-\frac 1x \bigg|_0^1 \\ = -\lim_{x\to 0^-} \frac 1x -\frac 12 +\lim_{x\to 0^+ }\frac 1x -1 \\ = 2\lim_{x\to 0^+}\frac 1x -\frac 32 $$ This thing goes to $+\infty$.