- 1,424
- 3
While integrating the function f(x) = \frac{1}{x ^ 2}, I came across something I don't understand:
\int \frac{1}{x ^ 2}dx = - \frac{1}{x} + C
Let f(x) := \frac{1}{x ^ 2}
f(x) > 0, \forall x \in \mathbb{R}
\int_{-1}^{1}f(x)dx = -1 - (-(-1)) = -2
Why this happened?
It's obvious that f(x) > 0, \forall x \in \mathbb{R} and -1 < 1, but why \int_{-1}^{1}f(x)dx < 0

I think it should be : \int_{-1}^{1}f(x)dx = + \infty
What have I done wrong?
Viet Dao,
\int \frac{1}{x ^ 2}dx = - \frac{1}{x} + C
Let f(x) := \frac{1}{x ^ 2}
f(x) > 0, \forall x \in \mathbb{R}
\int_{-1}^{1}f(x)dx = -1 - (-(-1)) = -2

Why this happened?


I think it should be : \int_{-1}^{1}f(x)dx = + \infty
What have I done wrong?

Viet Dao,