How do you use the trapezium rule?
The trapezium rule estimates a definite integral by splitting the area under a curve into trapezia of equal width h = (b - a)/n. The estimate is h/2 [y<sub>0</sub> + y<sub>n</sub> + 2(y<sub>1</sub> + y<sub>2</sub> + ... + y<sub>n-1</sub>)]. It overestimates for a convex curve and underestimates for a concave one. This is AQA A Level Maths (7357), 3.10 I3. Example: Estimate the integral of x<sup>2</sup> from 0 to 2 using 4 strips. h = 0.5, so 0.25[0 + 4 + 2(0.25 + 1 + 2.25)] Answer: 2.75 (exact value 8/3).
Quick answer: The trapezium rule estimates the area under a curve, so it estimates a definite integral. Split the interval into n strips of equal width h = (b - a)/n, then use ∫ab y dx ≈ h/2 [y0 + yn + 2(y1 + y2 + ... + yn-1)]. This page is for AQA A Level Mathematics (7357).
What the specification expects
This topic is in section 3.10 I: Numerical methods of the AQA A-level Mathematics specification (7357), content reference I3. The specification states:
- Understand and use numerical integration of functions, including the use of the trapezium rule and estimating the approximate area under a curve and limits that it must lie between. (3.10, I3)
Method
- Find h = (b - a)/n, where n is the number of strips.
- Make a table of x values from a to b in steps of h and work out each y value (in radians for trigonometric functions).
- Add the first and last y values, then add twice the sum of the middle y values.
- Multiply the total by h/2.
- Compare with the shape of the curve to say whether the estimate is an over- or underestimate.
Worked example 1: using the trapezium rule on a quadratic with 4 strips
Use the trapezium rule with 4 strips to estimate the integral of x2 from 0 to 2.
- h = (2 - 0)/4 = 0.5.
- y values at x = 0, 0.5, 1, 1.5, 2: 0, 0.25, 1, 2.25, 4.
- Estimate = 0.5/2 [0 + 4 + 2(0.25 + 1 + 2.25)] = 0.25 [4 + 7] = 0.25 × 11 = 2.75.
- Check: the exact value is [x3/3] from 0 to 2 = 8/3 = 2.67 to 3 s.f. The curve is convex, so the rule overestimates.
Answer: 2.75, which is an overestimate of the exact value 8/3.
Worked example 2: a reciprocal function
Use the trapezium rule with 4 strips to estimate the integral of 1/x from 1 to 3. Give your answer to 3 s.f.
- h = (3 - 1)/4 = 0.5.
- y values at x = 1, 1.5, 2, 2.5, 3: 1, 0.6667, 0.5, 0.4, 0.3333 (to 4 d.p.).
- Estimate = 0.25 [1 + 0.3333 + 2(0.6667 + 0.5 + 0.4)] = 0.25 [1.3333 + 3.1333] = 0.25 × 4.4667 = 1.1167.
- Check: the exact value is ln 3 = 1.0986. The estimate is slightly larger because 1/x is convex.
Answer: 1.12 to 3 s.f.
Worked example 3: a trigonometric function in radians
Use the trapezium rule with 3 strips to estimate the integral of sin x from 0 to π/2, with x in radians. Give your answer to 3 s.f.
- h = (π/2 - 0)/3 = π/6.
- y values at x = 0, π/6, π/3, π/2: 0, 0.5, 0.8660, 1.
- Estimate = (π/12) [0 + 1 + 2(0.5 + 0.8660)] = (π/12) × 3.7321 = 0.9770.
- Check: the exact value is 1. The curve is concave on this interval, so the rule underestimates.
Answer: 0.977 to 3 s.f., an underestimate.
Worked example 4: limits that the area must lie between
The function y = x2 is increasing for x ≥ 0. Use 4 strips to find a lower and an upper limit for the area under the curve from x = 0 to x = 2.
- Lower limit: rectangles that stay under the curve, using the left-hand y value of each strip: 0.5(0 + 0.25 + 1 + 2.25) = 1.75.
- Upper limit: rectangles that reach above the curve, using the right-hand y value: 0.5(0.25 + 1 + 2.25 + 4) = 3.75.
- The trapezium estimate 2.75 lies between them, as does the exact value 8/3.
Answer: The area lies between 1.75 and 3.75.
Common mistakes
- Using n points instead of n strips, so h is wrong.
- Forgetting to double the middle y values.
- Using degrees instead of radians for trigonometric functions.
- Rounding the y values too early. Keep at least 4 decimal places until the end.
FAQs
How many strips do I use?
Use the number the question gives. More strips make the trapezia fit the curve better, so the estimate improves.
When is the trapezium rule an overestimate?
When the curve is convex (curving upwards) on the interval, the tops of the trapezia lie above the curve.
Is the rule exact for a straight line?
Yes. A straight-line graph makes true trapezia, so the estimate equals the exact area.
Want one-to-one help? Find an online Maths tutor with ExpertTutor.
Want one-to-one support?
One-to-one online tuition can help you build confidence in your subject. Find a tutor who teaches your course.
Find a TutorLearn face to face in Glasgow
Prefer in-person lessons? Visit the ExpertTutor Glasgow Southside centre.
See the centre