A.5 Midpoint & Trapezoidal Sums
On this screen we introduce the midpoint sum, and the trapezoidal sum. We'll use each to estimate the distance Gabriel falls during the first ten seconds of his skydiving jump (introduced on the preceding screen). We won't do much with these two approximation methods beyond introducing them here and providing practice problems (of course), but since they appear frequently on exams you should absolutely know how to compute them. (As a side note, the name "trapezoidal sum" is potentially quite misleading for reasons we'll see below.)
Both methods start with the same basic approach we've been using. Specifically, to approximate the total distance Gabriel falls in the 10 seconds we:
1. Approximate the distance Gabriel falls in each subinterval:
2. Sum
The only new bit on this screen are two different values we can use as the representative velocity in step 1, which lead to (I) the midpoint sum and (II) the trapezoidal sum. Both of these approaches have the advantage that they typically give a more accurate approximation than does either the right or left sums alone for a given number of subintervals, like n = 5.
On the other hand, these two approaches do not let us visualize the associated error as easily as we can when we bound the true value by the overestimate and underestimate as we have been. Recall that with our previous approach, in which we find both an underestimate and an overestimate, we are assured that the true value likes somewhere between those two values, and we can easily calculate the current error bound for the n subintervals we are using. By contrast here, while we can still make the error smaller by increasing the number of subintervals, and equivalently decreasing the subintervals' duration, calculating the error means invoking a formula (that we're not including here) that doesn't offer us the same insights.
Expect these exam questions
You should expect exam questions in which you're asked to compute both the midpoint and trapezoidal sums, along with the left and right sums we introduced earlier. As you become familiar with the calculations here, you'll see that these problems are pretty routine (if tedious).
Recall the skydiver's velocity versus time graph from the preceding screen that we're using as our example here:

We'll first examine the midpoint sum, using the same n = 5 subintervals as we did initially on the preceding screen.
Midpoint sums (use arithmetic mean of input values)
The idea behind the midpoint sum,
Notice that in this approach, we take the arithmetic mean of the input values for this subinterval, and then use the velocity at that midpoint-instant as our representative value.
For instance, as you can see in the figure for 4th subinterval, i = 4, between t = 6 sec and t = 8 sec, we use the function's value at

Let's try a practice problem.
| t (s) | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|---|---|---|---|---|---|---|---|---|---|---|
(m/s) |
0 | 9.69 | 18.79 | 26.82 | 33.55 | 38.94 | 43.10 | 46.22 | 48.52 | 50.19 |
From the table we see that

Developing the midpoint sum for n = 5

To compute the midpoint approximation for the entire distance Gabriel falls during the 10 seconds, we continue with the approach you used in Problem #1: as shown in the figure, we use the value of the velocity at the midpoint of each subinterval. Hence we use for subinterval i = 1 the time
Generalizing the midpoint sum for any n
We can of course again make the subinterval width
The midpoint approximation sum is then given by
When you're ready, you can use the slider beneath the following calculator to vary n and see the new sum that results. Crucially, notice that no matter how small the width, the height of each rectangle always equals the value of the velocity at the midpoint of its subinterval.
Notice once again that while we can easily obtain a value for the midpoint sum, we have no immediate information about how close it is to the true distance Gabriel falls.
We'll provide some practice at computing midpoint sums below. Before then, let's look at trapezoidal approximations.
Trapezoidal Approximations (use arithmetic mean of output values)
Recall that on the previous screens, we developed one estimated value by computing the left sum using the function's value at the leftmost point of each subinterval, and a second estimate by computing the right sum using the rightmost point. We can instead obtain a single estimate by combining these two approaches: for the function's representative value, we use the arithmetic mean of the function's output values at the leftmost and rightmost points:
The trapezoidal sum is a Riemann sum that uses the arithmetic mean of the output values for each subinterval as the representative value.
For instance, as you see in the figure, for subinterval i = 4 (t = 6 to 8 sec) we use as the representative velocity the arithmetic mean of the velocities at the start (t = 6 sec) and end (t = 8 sec) of the subinterval.
Developing the trapezoidal sum for n = 5

Let's write out the n = 5 terms for Gabriel's travel over the 10 seconds using the trapezoidal approximation. Once again,
We can save ourselves a little computational work if we combine some terms. For instance, looking at the first two terms of the sum (for i = 1 and 2) we see that there's a
Finally we substitute values to find the sum:
Ah, and we notice that once again as we expect, this value lies between the under- and overestimates that we calculated on the previous screen forn = 5 subintervals:
Generalizing the trapezoidal sum for any n
We're actually not going to develop this fully using sigma notation. You can certainly imagine what the steps would be, and see how we'd write
Instead, recall the expression we developed above for the trapezoidal approximation to the distance Gabriel falls with
where
As we wrote above for the midpoint sum, if you get a homework or exam question requesting a trapezoidal approximation, we strongly suggest making a table or using the one provided, and then just remember that the first and last values for the subinterval get that factor of
We're not doing more here because we won't discuss the Trapezoidal approximation again, whereas we will proceed with the left, right, and midpoint sums on the next screen. We're eager to get there because that's going to be a big step toward developing integrals.
Do please be sure to practice the problems below, and in later review sections. As we've said a few times now, you absolutely should expect exam questions that use the left, right, midpoint and trapezoidal approximations.
The name "Trapezoidal Approximation"
Before we leave this topic, let's address the name "Trapezoidal Approximation." We've emphasized that this approach uses the arithmetic mean of the function's output values as the representative value for Gabriel's velocity over each subinterval. We like this way of thinking about the method because it's easy to remember, and we can easily reconstruct the necessary calculations we need from this single idea. The graph on the left in the figure below replicates the one above as a reminder of the calculation we did. If you keep this picture in mind, you will never go wrong.
![Left figure duplicated from the calculation above for the trapezoidalsum approximation for i=4, between t = 6 and 8 seconds. The height of the rectangle is the arithmetic mean of the velocities at the start and end of the interval, (1/2)*[v(6) + v(8).] Figure on the right showns the same graph with the same subinterval highlighted, but now a trapezoid instead: the width is still delta-t = 2 seconds, the left side has height equal to v(6), and the right has height equal to v(8). Text says that the area of the rectangle on the left, and of the trapezoid on the right, are equal: A = (1/2)[v(6 + v(8)] * delta-t.](https://res.cloudinary.com/dmutw7qs5/image/upload/b_white/c_limit,w_742/f_auto/q_auto/v1/remote_images/int-TrapRuleFig.png?_a=BBGAGRGX0)
Alternatively, we can view the calculation, as most textbooks do, as finding the area of the trapezoid shown in the right graph above. Note that the top of the trapezoid is formed by the (tilted) line segment that joins the left and right points of the subinterval. One way to think about formula for the trapezoid's area is that the factor of
You can of course choose to think of whichever figure works best for you, and we encourage you to do so! (That said, if you're curious about why the name "trapezoidal approximation" is potentially misleading and may get you into trouble, read on.)
The Upshot
- Midpoint and trapezoidal sums still use the basic formulation (1) approximate the distance Gabriel falls in each subinterval:
and then (2) sumA p p r o x i m a t e Δ 𝑦 d u r i n g s u b i n t e r v a l 𝑖 : Δ 𝑦 𝑖 = ( r e p r e s e n t a t i v e v e l o c i t y f o r t h i s s u b i n t e r v a l ) ⋅ ( s u b i n t e r v a l d u r a t i o n ) for all of the subintervals:Δ 𝑦 𝑖 The only new piece is the "representative velocity" we use for each subinterval:Δ 𝑦 t o t a l = Δ 𝑦 1 + Δ 𝑦 2 + Δ 𝑦 3 + Δ 𝑦 4 + Δ 𝑦 5 - For the midpoint sum, we focus on the input value and use the function's value at the midpoint of the interval,
That is, we take as the representative value𝑡 𝑖 , m i d = 𝑡 𝑖 − 1 + 𝑡 𝑖 2 . 𝑣 𝑖 ( 𝑡 𝑖 , m i d ) . - For the trapezoidal sum, we focus on the output value and use the arithmetic mean of the function's output values at the left and right endpoints:
𝑣 𝑖 , a v g = 𝑣 ( 𝑡 𝑖 − 1 ) + 𝑣 ( 𝑡 𝑖 ) 2 .
On the next screen we're going to introduce (yet) two more types of approximation sums that are fundamentally important.
For now, are Midpoint Sums and Trapezoidal Sums making sense to you? Are you trying to use them in an unfamiliar context? Let us know what questions you have on the Forum, and we'll do our best to assist!
How helpful was this page?
Our goal is to provide the best content we can, for free to any student looking to learn well, and your feedback helps us improve.
