Evaluating a definite integral of |x| using triangle areas
Consider the function on the interval .
The graph of on forms two right triangles, one on each side of the -axis.
Using the geometry of the region shown (no antiderivatives), evaluate
Hint
Split the region at into two right triangles, each with base 3 and height 3. Recall that the area of a triangle is , and since everywhere on , both regions contribute positive area to the integral.
Step-by-step solution
The region under from to splits naturally at into two right triangles: one for and one for . Each triangle has base length 3 (along the -axis) and height 3 (the maximum value of reached at and respectively).
The area of each triangle is . Since on the whole interval, both areas count as positive area under the curve, so .
Related problems
Practice similar Calculus problems interactively.
Start Closing the Gap