How to Evaluate the Absolute Value Integration?

roam
Messages
1,265
Reaction score
12
1. Evaluate

\int_{-1}^{3} \left|x^2 -4\right| dx




3. The Attempt at a Solution

This is the first time I'm trying this type of question & I think I need to use the following theorem for such questions;

f is integrable on a closed interval a to b.

\int_{a}^{b}f(x)dx = \int_{a}^{c}f(x)dx + \int_{c}^{b}f(x)dx

(c; any point in between, no matter how the points are ordered)

Therefore in my problem \int_{-1}^{3} \left|x^2 -4\right| dx, I choose c = 2

Now since the integrand is absolute value we have two cases:

1) x2-4
2) 4-x2

I'm not which one of the following is correct;

\int_{-1}^{2} (4-x^2)dx + \int_{2}^{3}(x^2 -4)dx

OR

\int_{-1}^{2} (x^2-4)dx + \int_{2}^{3}(4-x^2)dx

Which one is correct and why?

Thanks!

 
Physics news on Phys.org
|x^2-4| is nonnegative everywhere. So the pair of integrals which have a nonnegative integrand over the region of integration is the correct one. Which is it? The first or the second?
 
The first one is non-negative!
I think I understand the idea now, thank you very much!
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top