15.2 The Trapezium Rule
AQA A-level Maths Year 2 · 7357 · Chapter 15: Numerical Integration
What is in the full lesson (10 activities)
Every item below opens free in the course.
- Video: The Trapezium Rule (Intro)
- Video: The Trapezium Rule example 1
- Video: The Trapezium Rule example 2
- Video: The Trapezium Rule example 3
- Notes: Lesson notes: The Trapezium Rule
- Interactive lesson: Interactive lesson: Trapezium Rule Lab
- Interactive lesson: Interactive practice: The Trapezium Rule Practice
- Practice questions: Practice questions (8 questions, 13 marks)
- Worksheet: Worksheet: The Trapezium Rule
- Answers: Answers and mark scheme of the Worksheet: The Trapezium Rule
A free AQA A-level Maths Year 2 lesson for AQA A-level Mathematics (7357) from OBA School: estimating definite integrals with trapezia, and deciding whether the estimate is too big or too small (AQA 7357: I3). Watch the video, read the explanation and worked examples, then try the revision questions. You can work through the full lesson, with more videos, an interactive lesson, a practice quiz and printable worksheets, in our free online course.
What you will learn
- Use the trapezium rule with n strips to estimate a definite integral
- Set out a table of y-values accurately and efficiently
- Decide whether the estimate is an overestimate or an underestimate from the shape of the curve
- Explain how to improve the estimate and find the percentage error when the exact value is known
- Apply the trapezium rule to data in a context
Key words
- Ordinate: A y-value used in the rule. With n strips there are n + 1 ordinates.
- Strip width h: h = (b − a)/n for n strips from x = a to x = b.
- Over or under: An overestimate is too big (convex curve, trapezia above it); an underestimate is too small (concave curve, trapezia below it).
- Percentage error: (|estimate − exact|)/exact × 100
The rule
Join neighbouring points on the curve with straight lines. Each strip becomes a trapezium of area (h/2)(y(left) + y(right)). Adding them, the inside ordinates are counted twice.
Key fact: ∫ from a to b, y dx ≈ h/2[y₀ + 2(y₁ + y₂ +... + yₙ₋₁) + yₙ], where h = (b − a)/n
Worked example: four strips
Use the trapezium rule with 4 strips to estimate ∫ from 0 to 2, √(x³ + 1) dx.
h = 0.5. Ordinates at x = 0, 0.5, 1, 1.5, 2: 1, 1.0607, 1.4142, 2.0917, 3
≈ 0.5/2[1 + 3 + 2(1.0607 + 1.4142 + 2.0917)] = 0.25 × 13.1332
Answer: 3.283 (3 d.p.)
Make a table: x-values in one row, y-values (to 4 or 5 d.p.) in the next. It keeps your work clear and earns the method marks.
Overestimate or underestimate?
If the curve is convex (bends upwards, f''(x) > 0) the straight tops of the trapezia lie above the curve, so the rule overestimates. If it is concave (f''(x) < 0) they lie below, so it underestimates.
Worked example: an underestimate
Estimate ∫ from 1 to 3, ln x dx with 4 strips, and compare with the exact value 3 ln 3 − 2.
Ordinates at 1, 1.5, 2, 2.5, 3: 0, 0.4055, 0.6931, 0.9163, 1.0986
≈ 0.25[0 + 1.0986 + 2(2.0149)] = 1.2821; exact value 1.2958
Answer: an underestimate, as expected because (d²/dx²)(ln x) = −1/x² < 0
Worked example: estimating a logarithm
Use 4 strips to estimate ∫ from 1 to 2, 1/x dx, and hence estimate ln 2.
Ordinates: 1, 0.8, 0.6667, 0.5714, 0.5. ≈ 0.125[1.5 + 2(2.0381)] = 0.6970
Answer: ln 2 ≈ 0.6970, an overestimate because 1/x is convex (true value 0.6931)
Improving the estimate
More strips make the trapezia fit the curve more closely, so the error gets smaller. When the exact value is known, measure the accuracy with the percentage error.
- Estimate of ∫ from 0 to 1, exp(x²) dx; 1 1.8591; 2 1.5716; 4 1.4907; 8 1.4697
Worked example: percentage error
Estimate ∫ from 0 to π, sin x dx with 4 strips and find the percentage error.
h = π/4, ordinates 0, 0.7071, 1, 0.7071, 0: π/8[0 + 2(2.4142) + 0] = 1.8961
Exact value 2. Percentage error = (2 − 1.8961)/2 × 100
Answer: 5.19% (an underestimate: sin x is concave on [0, π])
Using data
The rule needs only the y-values at equally spaced x-values, so it works for measured data where there is no formula. For example, the area under a velocity-time graph is the distance travelled.
Worked example: distance from speeds
A cyclist's speed v m/s is recorded every 5 s: 4, 6.5, 8, 8.5, 7 at t = 0, 5, 10, 15, 20. Estimate the distance travelled.
≈ 5/2[4 + 7 + 2(6.5 + 8 + 8.5)] = 2.5 × 57
Answer: 142.5 m (about 143 m)
Common mistakes
- Using the number of ordinates instead of the number of strips: 4 strips need 5 y-values.
- Forgetting to double the middle ordinates, or doubling the first and last ones.
- Using degrees for trigonometric functions. Use radians.
- Getting over and under the wrong way round: convex (bending up) means overestimate.
- Rounding the y-values too early. Keep 4 or 5 d.p. and round only the final answer.
Revision questions
Try these, then check your answers below each one.
Question 1. With n strips of width h, the trapezium rule estimate of ∫ from a to b, y dx is (Choose from: h/2[y₀ + y₁ +... + yₙ]; 2h[y₀ + yₙ]; h[y₀ + 2(y₁ +... + yₙ₋₁) + yₙ]; h/2[y₀ + 2(y₁ +... + yₙ₋₁) + yₙ].)
Answer: h/2[y₀ + 2(y₁ +... + yₙ₋₁) + yₙ]
Working: Adding the trapezia, the inside ordinates are counted twice: h/2[y₀ + 2(y₁ +... + yₙ₋₁) + yₙ].
Question 2. Use the trapezium rule with 2 strips to estimate ∫ from 0 to 2, x² dx.
Answer: 3
Working: 1/2[0 + 4 + 2(1)] = 3. (The exact value is 8/3.)
Question 3. Use the trapezium rule with 2 strips to estimate ∫ from 1 to 3, 1/x dx, to 4 decimal places.
Answer: 1.1667
Working: 1/2[1 + 0.3333 + 2(0.5)] = 1.1667.
Related lessons
- Previous lesson: 15.1 Integration as the Limit of a Sum
- Next lesson: 16.1 Describing Motion in Two Dimensions
Continue in the full course
This lesson is section 15.2 of our free AQA A-level Maths Year 2 course. In the full course you get every video for this section, an animated interactive lesson, a self-marking practice quiz, a printable worksheet with a mark scheme, an end-of-chapter test and your progress saved.
Continue lesson 15.2 in the free course →