Trapezoidal rule
In a minute
The estimates the area under a curve. It splits the area into strips of equal width and treats each strip as a trapezoid with a straight top. It works from a table of measurements or from a function, and when the curve bends the same way throughout, its shape tells you whether the estimate is too big or too small.
You'll be able to
- Estimate an area with the trapezoidal rule from a table of values at equal intervals, counting the intervals correctly.
- Use the trapezoidal rule when the curve is given as a function, finding its values on your GDC.
- Interpret a trapezoidal estimate in context, with units, including a total found from a rate.
- Explain from the shape of the curve whether an estimate is too big or too small, and find its against the .
- Find the and of an estimate made from rounded measurements.
Before you start2 quick questions on what this builds on
Revise first: 1.6 Rounding, bounds and percentage error and 5.5 Antidifferentiation, definite integrals and area
The trapezoidal rule
Often you need an area under a curve but have only measurements, such as a width every few metres. The trapezoidal rule turns a table like this into an estimate.
Join each pair of neighbouring points with a straight line. The region splits into vertical strips of equal width . Each strip is a trapezoid (also called a trapezium): two parallel vertical sides and a straight top.
A trapezoid whose parallel sides and are a distance apart has area . This is in the prior-learning section of the formula booklet.
Now add the strips. The first uses heights and , the second and , and so on. Each inside height is a side of two strips, so it is counted twice. The two end heights belong to one strip each.
Here are the heights at equally spaced -values from to . With intervals there are heights. The rule is in the formula booklet: your job is to count , find and substitute correctly.
Adding the areas of the separate trapezoids one by one gives exactly the same total. The formula is just faster.
Try it first, then reveal one step at a time.
- Count the intervals: values give intervals, so .
- The end values are and . The inside values are , and .
- Substitute: .
- , so about m².
- Sense check: the widths are all about m over a length of m, and .
The rule estimates any definite integral, not only a geometric area. If is a rate, the area under its graph is a total change (5.5). Its units are the rate's units times the -units.
Try it first, then reveal one step at a time.
- values give intervals, and .
- Ends: , . Inside: .
- Substitute: .
- Units: kilowatts times hours gives kilowatt hours.
- Interpret: the panel produced about kWh of energy between 06:00 and 18:00. It is an estimate, because the output between readings is assumed to change in a straight line.
Estimating from a function
When the curve is a function , work out the heights yourself: , , , and so on, up to . Then the rule is the same.
A table of values on your GDC, starting at with step , lists the heights for you. Keep their full values and round only the final estimate.
Try it first, then reveal one step at a time.
- , so the -values are .
- Substitute each into : , , , , .
- Ends and , inside .
- .
- So the wall has about m² of glass.
If you know the function, your GDC can also find the exact (5.5). Questions often ask for both, to judge the estimate.
Try it first, then reveal one step at a time.
- , so you need at .
- From the GDC table: , , , , , . Keep these full values.
- Ends: . Inside: .
- Distance
- Interpret: the car travels about m in the first seconds.
How good is the estimate?
Each trapezoid has a straight top, but the curve bends. The thin gap between them is that strip's error.
If the curve bends upwards in some places and downwards in others, the errors partly cancel. Then the shape alone can't tell you which way the estimate is out: compare it with the definite integral instead. For a straight line the estimate is exact.
Try it first, then reveal one step at a time.
- Look at the shape: is a parabola that opens upwards, so it bends upwards (is concave up) across the whole of .
- Join any two neighbouring points on it with a straight line. The line lies above the curve between them.
- So each trapezoid includes a thin piece of area above the ramp's edge, and the total is too big.
- It is an overestimate. The curve is concave up across the whole interval, so the straight top of each trapezoid lies above the curve and each trapezoid includes extra area.
When you can also find the exact value, on your GDC, measure the estimate's accuracy with the from 1.6. The estimate is and the exact integral is .
Try it first, then reveal one step at a time.
- (a) The speed rises more and more slowly, so the graph of bends downwards across the whole interval. Each straight top lies below the curve, so each strip misses some area.
- (b) Write down the integral: . The GDC gives m.
- This is larger than the estimate, as part (a) predicts.
- So the estimate is about below the true distance. Using the stored values, not and , keeps this accurate.
More intervals usually give a closer estimate, because shorter straight tops follow the curve more closely.
Measurements in a table are usually rounded. Take the -values, and so , as exact: each height then lies between its and (1.6). Every height in the rule is multiplied by a positive number. So putting in all the upper bounds gives the upper bound of the estimate, and all the lower bounds give its lower bound.
Try it first, then reveal one step at a time.
- Each width is rounded to the nearest m, so its upper bound is m more: .
- and as before.
- Check: each height rose by , which adds to the earlier .
- So the trapezoidal estimate is less than m², about m², whatever the true widths were.
Common mistakes
- Counting values instead of intervals. Six values give , so .
- Doubling the end values, or forgetting to double the inside ones. Only and appear once.
- Leaving out the , or putting the -values into the rule instead of the heights.
- Rounding each height before adding. Keep full GDC values and round only the final estimate.
- Dividing by the estimate in a percentage error. Divide by the exact value.
- Explaining "overestimate" only with a number from a later part. Describe the curve's shape and where the straight tops lie.
Exam tips
- "Use the trapezoidal rule": write the rule with and every value substituted, then the answer. The substitution earns the method mark.
- "Explain" an over- or underestimate: say how the curve bends and whether the straight tops lie above or below it.
- "Write down the integral" for the exact area: the limits, the function and . Then evaluate it on your GDC and give the answer to 3 s.f.
- Give units: m² for an area, and the rate's units times the -units for a total, such as kW × hours = kWh.
Key takeaways
Practise this
10 past-paper questions on Trapezoidal rule in the AI HL bank, each with a mark scheme and a worked explanation.