5.8 Trapezoidal rule
Studying this course? Keep your progress in one place.
Key facts
- The trapezoidal rule estimates an area by splitting it into strips of equal width .
- , with intervals and values.
- For a function on , the strip width is .
- Concave up gives an over-estimate; concave down gives an under-estimate.
- The area under a rate–time graph is the total amount, so state the unit.
Splitting into trapezoids
Strips of equal width are treated as trapezoids, and their areas are added.
The area under a curve (or a graph made from data) is estimated by vertical strips of equal width , each treated as a trapezoid.
A strip between and has area . Interior values belong to two strips, so they are used twice. The first and last values are used once.
There are intervals and values.
- Area
Worked example
Estimate the area using the readings 3, 5, 6, 4 taken at .
- 1
There are 4 values, so intervals, with .
- 2
.
Seven readings are taken at equal spacing. How many intervals are there?
Using a table of data
The readings must be equally spaced; list , and the values before substituting.
When data is given in a table, the values need equal spacing.
Example: widths 12, 30, 44, 50, 36 and 8 metres measured every 20 m give five intervals with .
Check units: width (m) times distance (m) gives m². Multiplying by an average depth of 2.5 m gives a volume of 8500 m³.
Readings are taken every 20 m and there are 6 readings. What is in the trapezoidal rule?
Using a function
Choose , work out , then find each ordinate from the function.
Given a function, choose and find . Use your GDC table to find each ordinate.
For on with , and the values are .
Then .
You can use the GDC to generate the table, but show the substitution into the rule.
Which values are multiplied by 2 in the rule?
Accuracy and percentage error
The sign of the error depends on whether the curve bends up or down.
The exact area is found by integration on your GDC: . The estimate 26 is an over-estimate because the curve bends upwards and the chords lie above it.
If the curve bends downwards, as for , the estimate is an under-estimate.
Percentage error .
More, narrower strips usually reduce the error.
Worked example
Find the percentage error when the trapezoidal rule with estimates .
- 1
Estimate: 26. Exact: 25.33 (from the GDC).
- 2
Error: .
A curve bends downwards. The trapezoidal rule gives…
Upper and lower bounds
Use the lower bound of every reading for the lower bound of the area, and the upper bounds for the upper bound.
A reading of 4.2 to 1 decimal place lies between 4.15 and 4.25.
For the lower bound of a trapezoidal estimate, use the lower bound of every reading. For the upper bound, use the upper bounds.
For rainfall readings 0.4, 4.2, 9.6, 12.4, 8.8, 3.6, 0.8 (mm per hour, every 0.5 hours) the estimate is 19.6 mm, with lower bound 19.45 mm and upper bound 19.75 mm.
Worked example
Find the lower bound of the area for the rainfall readings, with .
- 1
Lower bounds of the readings: 0.35, 4.15, 9.55, 12.35, 8.75, 3.55, 0.75.
- 2
.
- 3
.
Which readings give the upper bound of the area?
Interpreting the area
The area under a rate–time graph is the total amount.
The area under a rate against time graph is the total amount. A rainfall rate in mm per hour multiplied by hours gives mm of rain. A flow rate in litres per minute multiplied by minutes gives litres.
Always state the unit and what the area represents.
The rule joins readings with straight lines, so the result is an approximation.
| Rainfall rate against time | Flow rate against time | Width against distance | |
|---|---|---|---|
| Area represents | Total rainfall | Total volume | Surface area |
| Unit | mm | litres | m² |
Rainfall rate against time
- Area represents:
- Total rainfall
- Unit:
- mm
Flow rate against time
- Area represents:
- Total volume
- Unit:
- litres
Width against distance
- Area represents:
- Surface area
- Unit:
- m²
A graph shows a flow rate in litres per minute against time in minutes. What does the area under it represent?
Try an exam question
The speed of a car, in m s⁻¹, is measured every 2 s: 0, 6, 10, 12, 12 at . Use the trapezoidal rule to estimate the distance travelled in the 8 s.
[4 marks]
- [1]Identifies 4 intervals with (area under the speed–time graph is distance).
- [1]Correct substitution: .
- [1]Evaluates to 68.
- [1]States the unit: 68 m.
That's the notes covered.
Carry on to the next subtopic.
Try a question
How many trapezoids are used when the trapezoidal rule is applied to all the measurements?
1 mark, marked against the mark scheme
How many trapezoids are used when the trapezoidal rule is applied to all the measurements?
1 mark, marked against the mark scheme