← Back to learning objective

Signed area for a triangle above the x-axis

Consider the function f(x)=4−xf(x) = 4 - x on the interval [0,6][0, 6].

The graph of f(x)=4−xf(x) = 4 - x is a straight line. On the interval [0,4][0,4], this line lies above the x-axis, forming a triangle. Use this geometric shape to evaluate ∫04(4−x) dx.\int_0^4 (4-x)\,dx.

Signed area for a triangle above the x-axis graph
Hint

Sketch the triangle formed by the line y=4−xy = 4-x, the x-axis, and the vertical lines x=0x=0 and x=4x=4. Identify its base and height, then apply the area formula for a triangle.

Step-by-step solution

On [0,4][0,4], the graph of f(x)=4−xf(x)=4-x starts at the point (0,4)(0,4) and decreases linearly to (4,0)(4,0), forming a right triangle with the x-axis. The base of this triangle runs from x=0x=0 to x=4x=4, so the base length is 44, and the height is f(0)=4f(0) = 4.

Since f(x)≥0f(x) \ge 0 on this interval, the region lies entirely above the x-axis, so the integral equals the area of the triangle: 12(4)(4)=8\frac{1}{2}(4)(4) = 8. Thus ∫04(4−x) dx=8\int_0^4 (4-x)\,dx = 8.

Signed area for a triangle below the x-axis

On the interval [4,6][4,6], the graph of f(x)=4−xf(x) = 4-x lies below the x-axis, forming a triangular region there. Use the geometric area of this triangle, together with the correct sign, to evaluate ∫46(4−x) dx.\int_4^6 (4-x)\,dx.

Hint

Find the base and height of the triangle formed between x=4x=4 and x=6x=6. Since the region lies below the x-axis, the definite integral is the negative of the triangle's area.

Step-by-step solution

On [4,6][4,6], the graph goes from (4,0)(4,0) to (6,−2)(6,-2), forming a right triangle below the x-axis with base 22 (from x=4x=4 to x=6x=6) and height 22 (the vertical drop to f(6)=−2f(6)=-2).

The area of this triangle is 12(2)(2)=2\frac{1}{2}(2)(2) = 2, but since the region lies below the x-axis, the signed area (and hence the integral) is negative: ∫46(4−x) dx=−2\int_4^6 (4-x)\,dx = -2.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap