# Trapezoid Sum

All of these summations are starting to feel like Rube Goldberg Machines. Granted, Rube Goldberg Machines are awesome, but do we seriously need this many methods to sum up intervals? Trust us, they *are* all useful in their own way. Just one big one to go, call it the grand finale.

A trapezoid sum is different from a left-hand sum, right-hand sum, or midpoint sum. Instead of drawing a rectangle on each sub-interval, we draw a trapezoid on each sub-interval. We do this by connecting the points on the function at the endpoints of the sub-interval.

First, a note on the area of trapezoids. A trapezoid that looks like this:

The area of the trapezoid is the average of the areas of two rectangles.

Thanks to the distributive property, this can be rewritten as