Suppose my function is f(x)=$x^2-1$. The absolute value of this function is $\sqrt{(x^2-1)^2}$. So why doesn't the area of this function between -2 and 2 equal $\int_{-2}^2\sqrt{(x^2-1)^2}$?
The antiderivative exists and equals $\frac{x(x^2-3)\sqrt{(x^2-1)^2}}{3(x^2-1)}$ but evaluating this at 2 and -2 doesn't give the correct answer.
Note: I'm not asking about how to actually find the answer here. I know to do that I'd find the zeros (-1 and 1) and then add up all the pieces. I'm trying to understand why the above does not reflect the actual area.

