← Back to learning objective

Evaluating a definite integral via trapezoid area

Consider the function f(x)=x+2f(x) = x + 2 on the interval [−2,2][-2, 2].

The graph of f(x)=x+2f(x) = x+2 on [−2,2][-2,2] forms a trapezoid with the x-axis. Use this geometric shape, along with the interpretation of the definite integral as signed area, to evaluate ∫−22(x+2) dx.\int_{-2}^{2} (x+2)\, dx.

Evaluating a definite integral via trapezoid area graph
Hint

Sketch or picture the region under the line f(x)=x+2f(x) = x+2 between x=−2x=-2 and x=2x=2. Identify the lengths of the two parallel sides and the height, then apply the trapezoid area formula. Since f(x)≥0f(x) \geq 0 on this interval, the signed area equals the ordinary area.

Step-by-step solution

The region under f(x)=x+2f(x) = x+2 from x=−2x=-2 to x=2x=2 is a trapezoid. At x=−2x=-2, f(−2)=0f(-2) = 0, and at x=2x=2, f(2)=4f(2) = 4; these are the lengths of the two parallel sides. The height of the trapezoid, measured horizontally, is the width of the interval: 2−(−2)=42 - (-2) = 4.

Since f(x)≥0f(x) \geq 0 on [−2,2][-2,2], the definite integral equals the ordinary (positive) area of this region. Using the trapezoid area formula A=12(b1+b2)hA = \frac{1}{2}(b_1 + b_2)h, we get A=12(0+4)(4)=8A = \frac{1}{2}(0+4)(4) = 8. Therefore ∫−22(x+2) dx=8\int_{-2}^{2}(x+2)\,dx = 8.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap