9.4 The trapezium rule and limits on the estimate — Learn
Prerequisites: substituting values into a function from Section 2.9; definite integration and the area under a curve from Section 8.2; second derivatives and convexity from Section 7.4.
By the end of this section you can: use the trapezium rule to estimate a definite integral; decide from the curve whether the estimate is too large or too small; and use rectangles to give limits that the true area must lie between.
1. Where the rule comes from
Chapter 8 measured an area by splitting it into rectangles. The rectangles leave gaps or overshoot, because their tops are flat. The trapezium rule joins consecutive points with straight lines instead, so the top of each strip follows the curve more closely.
Divide the interval from to into equal strips. Each strip has width
Let the heights of the curve at the strip edges be , where . Each strip is a trapezium with parallel sides and , and width . Its area is
Add all the strip areas. Every interior height appears in two strips, so it is counted twice. The two end heights appear once each. The trapezium rule is
The extra factor of in front of the interior heights is the only trap in the formula. Check it by counting: with strips there are heights, and the interior ones are to .
2. A first estimate
Example 1. Use the trapezium rule with four strips to estimate , and compare it with the exact value.
Here , and , so the width of each strip is
The strip edges are . The heights are the squares of those values:
Substitute into the rule:
The exact value from Chapter 8 is
The estimate is larger than the exact value by about . The estimate is an overestimate.
3. Deciding whether the estimate is too large or too small
The shape of the curve decides the direction of the error. Each straight top of a trapezium is a chord, and the chord sits on one side of the curve.
- If the curve bends upwards, a chord lies above the curve, so the trapezium rule gives an overestimate.
- If the curve bends downwards, a chord lies below the curve, so the rule gives an underestimate.
The second derivative tells you which way the curve bends. If on the whole interval, the curve bends upwards. If , it bends downwards.
For Example 1, , so . The curve bends upwards on , so every trapezium sits above the curve. This confirms the overestimate without drawing the graph.
Example 2. Use the trapezium rule with four strips to estimate , and decide whether it is an overestimate or an underestimate.
Here , and the strip edges are . Work out the heights:
Substitute into the rule:
The exact value is . The estimate is too large.
To see why, differentiate twice. Write , so and . On the value is positive, so the curve bends upwards. The chords lie above the curve, and the rule overestimates.
4. Limits the true area must lie between
An estimate on its own does not say how far wrong it is. Rectangle sums give limits. On each strip, build two rectangles: one using the smaller height, and one using the larger height.
- The lower sum adds the smaller rectangle on every strip. It is too small, so it is a lower limit for the area.
- The upper sum adds the larger rectangle on every strip. It is too large, so it is an upper limit.
The true area lies between the two sums. For a curve that increases across the interval, the lower sum uses the left-hand height and the upper sum uses the right-hand height.
Example 3. Find limits for using four strips, and check that the exact value lies between them.
The curve increases on , so the smaller height on each strip is the left-hand one. The lower sum is
The larger height on each strip is the right-hand one, so the upper sum is
The exact area satisfies
The limits hold. Notice that the trapezium estimate is the average of the two rectangle sums:
That is not a coincidence. Each trapezium is the average of the two rectangles built on its strip.
5. Estimating from a table
Sometimes the readings arrive as a table, with no formula at all. The trapezium rule still works, because it only needs the heights.
Example 4. A river survey records the water depth at points across a metre channel. Estimate the cross-sectional area of the water.
| Distance across (m) | |||||||
|---|---|---|---|---|---|---|---|
| Depth (m) |
The readings are equally spaced, with width . The two end heights are and . Sum the interior heights:
Substitute into the rule:
The cross-sectional area is about square metres.
Now find limits. On each strip, take the smaller of its two readings and the larger of its two readings.
| Strip | – | – | – | – | – | – |
|---|---|---|---|---|---|---|
| Smaller (m) | ||||||
| Larger (m) |
The lower sum is .
The upper sum is .
So the true area lies between and square metres. The estimate sits inside those limits, as it must.
The limits are wide because the channel is deep in the middle and shallow at the edges, and six readings cannot pin down the shape. The answer is an estimate, not an exact value, because the survey only records the depth at six points. Between the readings the depth is unknown.
6. More strips give a better estimate
A smaller strip width follows the curve more closely, so the estimate improves. For :
| Number of strips | Estimate | Error | |
|---|---|---|---|
Each time the strip width halves, the error falls to about a quarter of its previous value. The estimates approach from above, because the curve bends upwards everywhere on the interval.
Watch out. Three mistakes are common.
Using the whole width instead of the strip width. The formula needs , not . Re-check: count the strip edges. With strips there are of them, and the gaps between them all equal .
Forgetting to double the interior heights. Only and are counted once. Every other height is counted once from the strip on its left and once from the strip on its right. Re-check: the bracket must contain heights in total, counting the doubled ones twice.
Guessing the direction of the error. An estimate is not always too large. Re-check: look at the second derivative, or at the bend of the curve, before you say which way the error goes.
7. Try it: more trapezia, smaller error
Predict first. The figure shows a curve with trapezia drawn under it. Before you change anything, predict whether the estimate on the screen is larger or smaller than the true area. Write your prediction and one reason.
Test. Choose each curve and move the slider to change the number of strips. Watch the estimate, the true area and the message about the direction of the error.
Explain. Write two sentences. The first explains why increasing the number of strips improves the estimate on any curve. The second explains why one curve overestimates and another underestimates.
Progress check
Return to the chapter problem. The river survey gives depths metres at distances metres.
- Estimate the cross-sectional area with the trapezium rule.
- Find a lower limit and an upper limit for the area.
- The water flows at about metres per second. Estimate the flow rate in cubic metres per second.
You should now be able to
- state the trapezium rule and explain where it comes from;
- estimate a definite integral from a formula or from a table;
- use the second derivative to decide whether the estimate is too large or too small;
- use rectangle sums to give lower and upper limits for an area;
- explain why more strips give a better estimate;
- explain why an estimate from a table is not an exact value.