Exercise 200Calculus › Single-variable calculus › Integration › Riemann integralHigh schoolAdded 2 Nov 2026
An area with an absolute value
#definite integrals#absolute value#sign of a function
Statement
Compute .
Hint
Factor and find where it is positive and negative.
Show solutionHide solution
Solution
Idea. There is no antiderivative of that works in one piece. We split the interval where the sign changes.
Sign. on and on . Hence
Computation. With :
So the integral equals .
Remark. Without the absolute value, the integral would be : the signed areas partially cancel. The absolute value counts the total area between the curve and the axis.