The trapezoidal rule
When you only have a table of measurements, or want a quick estimate, split the area under a curve into trapezia and add them up. This page covers the trapezoidal rule from a function or a table, whether it over- or underestimates, and the percentage error compared with the GDC integral.
1What you need to know
Tick these off as you go. By the end of the page you should be able to do all of them without notes.
- Apply the trapezoidal rule with strips of equal width, from a functionSL 5.8
- Apply the trapezoidal rule to a table of dataSL 5.8
- Decide from the shape of the curve whether the estimate is too big or too smallSL 5.8
- Compare the estimate with the GDC integral using a percentage errorSL 5.8, 1.6
2Notes & worked examples
Each idea is followed by a worked example. Try the question yourself first, then reveal the solution one step at a time.
Join neighbouring points on the curve with straight lines, and the area under the curve becomes a row of trapezia. Each has area . Adding them, every inner height is counted twice and the two end heights once: that is the whole formula. More strips give a better estimate.
2.1 The formula
is the number of strips (not the number of -values: there are of those).
2.2 Too big or too small?
If the curve bends upwards (like a U, concave up), the straight tops of the trapezia lie above the curve: an overestimate. If it bends downwards (like an arch), they lie below: an underestimate. In worked example 1, is U-shaped, so 15 is an overestimate of the true value 14.67.
y-values: define on a Graphs page and open the table (ctrl T); set the table step to (menu → Table → Edit Table Settings). Or type the trapezoidal sum in one line on a Calculator page. Exact value for comparison: menu → Calculus → Numerical Integral.
3Explore it
Choose a curve and the number of strips. The shaded trapezia are the estimate; compare it with the true area. Notice which curve gives an overestimate and which an underestimate, and how the error shrinks as n grows.
4Common mistakes & exam tips
Common mistakes
- Taking as the number of -values instead of the number of strips.
- Doubling the first and last -values, or forgetting to double the middle ones.
- Forgetting the factor .
- Using strips of unequal width (the formula needs equal widths).
- Dividing by the estimate instead of the exact value in a percentage error.
Exam tips
- The formula is in the formula booklet.
- List the -values and -values in a table before substituting.
- "Explain why the estimate is an overestimate": refer to the shape of the curve (concave up), so the trapezia lie above it.
- Typical follow-up: "find the exact value with the GDC, then the percentage error".
5Practice
Fluency questions build the basics. Problem-solving questions make you think about which method to use.
6Exam-style questions
Original questions in the style of the IB Maths AI SL exam, with full markschemes. Your GDC is allowed throughout: use it, but write down what you entered and what it gave you. Give yourself about 1 minute per mark.
The depth of a river, metres, is measured every 2 m across its 12 m width: 0, 1.2, 2.1, 2.5, 1.8, 0.9, 0.
- (a)Write down the value of .[1]
- (b)Use the trapezoidal rule to estimate the area of the cross-section.[3]
- (c)The water flows at 0.8 m s−1. Estimate the volume of water passing per second.[1]
| (a) | |
| 2 | A1 |
| (b) | |
| (M1)(A1) | |
| A1 | |
| (c) | |
| A1 | |
Let .
- (a)Use the trapezoidal rule with 4 strips to estimate .[3]
- (b)Find the exact value of the integral using your GDC.[1]
- (c)Find the percentage error in your estimate.[2]
- (d)Suggest how the estimate could be improved.[1]
| (a) | |
| -values 2, 5.2, 11.6, 16.4, 14.8 | (A1) |
| (M1) | |
| 83.2 | A1 |
| (b) | |
| 84.3 | A1 |
| (c) | |
| (M1) | |
| 1.27% | A1 |
| (d) | |
| use more strips (a smaller ) | R1 |
The rate of water flowing into a tank, litres per minute, is recorded every 5 minutes.
| (min) | 0 | 5 | 10 | 15 | 20 | 25 | 30 |
|---|---|---|---|---|---|---|---|
| 12 | 15 | 19 | 22 | 20 | 16 | 10 |
- (a)Use the trapezoidal rule to estimate the volume of water that flows in during the 30 minutes.[3]
- (b)Explain why your answer is an estimate.[1]
- (c)Find the mean rate of flow over the 30 minutes.[2]
| (a) | |
| (A1) | |
| (M1) | |
| 515 litres | A1 |
| (b) | |
| the rate is only known at 5-minute intervals; straight lines are assumed between the readings | R1 |
| (c) | |
| (M1) | |
| 17.2 litres per minute | A1 |
7Check yourself
Six quick questions, marked instantly. Aim for 6/6 before moving on. Fractions like 3/2 are accepted.
8Past-paper practice
Once you're scoring well above, try these real IB Maths AI SL questions. Your school or teacher will have the papers.
| Paper | Question | Focus | Difficulty |
|---|---|---|---|
| May 2026 · TZ3 · Paper 1 | Q7 | Lawn area by the trapezoidal rule; cost of turf | ★★★ |
| May 2023 · TZ1 · Paper 1 | Q9 | Hill model: trapezoidal estimate, exact integral, percentage error | ★★★ |
| May 2022 · TZ1 · Paper 1 | Q6 | Painting region: trapezoidal estimate, exact area | ★★☆ |
| Nov 2023 · TZ1 · Paper 2 | Q1 | Propeller cross-section: table, trapezoidal estimate, exact integral | ★★☆ |
