← Back to learning objective

Evaluating a definite integral via triangle area

Consider the function f(x)=−∣x∣+4f(x) = -|x| + 4.

The graph of f(x)=−∣x∣+4f(x) = -|x| + 4 on [−4,4][-4, 4] forms a triangle with the xx-axis, touching the axis at x=−4x = -4 and x=4x = 4, and reaching its peak at (0,4)(0, 4).

Evaluating a definite integral via triangle area graph

Using the fact that this region is a standard geometric shape, evaluate ∫−44(−∣x∣+4) dx.\int_{-4}^{4} \left(-|x| + 4\right)\, dx.

Hint

Identify the shape enclosed between the graph and the xx-axis on [−4,4][-4,4]. Find its base and height, then use the area formula for that shape. Since the region lies entirely above the x-axis, the integral equals the area.

Step-by-step solution

The graph of f(x)=−∣x∣+4f(x) = -|x|+4 on [−4,4][-4,4] is a triangle with vertices at (−4,0)(-4,0), (4,0)(4,0), and (0,4)(0,4). This triangle lies entirely above the xx-axis (touching it only at the endpoints), so the signed area equals the ordinary area of the triangle.

The base of the triangle spans from x=−4x=-4 to x=4x=4, so the base length is 88, and the height (the peak value at x=0x=0) is 44. Using the area formula 12⋅base⋅height\frac{1}{2}\cdot \text{base} \cdot \text{height}, the area is 12(8)(4)=16\frac{1}{2}(8)(4) = 16. Therefore ∫−44(−∣x∣+4) dx=16\int_{-4}^{4}(-|x|+4)\,dx = 16.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap