Numerical integration with the trapezium rule
Studying this course? Keep your progress in one place.
Key facts
- Trapezium rule: with .
- strips need ordinates; the end ordinates appear once, all others are doubled.
- A convex curve gives an over-estimate; a concave curve gives an under-estimate.
- For an increasing function, left-hand rectangles give a lower limit and right-hand rectangles an upper limit.
- More strips give a more accurate estimate.
The trapezium rule
It replaces the curve with straight chords, so each strip is a trapezium.
With strips of width and ordinates , the trapezium rule estimates the area. There are ordinates for strips.
The formula is in the booklet, but use it correctly: first and last ordinates once, every other ordinate doubled.
How many ordinates are there for 6 strips?
Worked examples
List and values in a table, then apply the formula with full calculator accuracy.
Keep full values until the end, then round. For with strips the ordinates are , giving , exact because the graph is a straight line.
Worked example
Estimate using strips.
- 1
.
- 2
Ordinates: .
- 3
Ends: . Middle: .
- 4
Estimate with 2 strips.
Over-estimate or under-estimate
Convex curves give an over-estimate; concave curves give an under-estimate.
Use a sketch to decide whether the chords lie above or below the curve. A straight line gives the exact value.
State the reason, not just the answer: ‘the curve is convex, so the chords lie above the curve’.
| Convex | Concave | |
|---|---|---|
| Gradient | ||
| Examples | e.g. , | e.g. , |
| Chords | Chords above the curve | Chords below the curve |
| Estimate | Over-estimate | Under-estimate |
Convex
- Gradient:
- Examples:
- e.g. ,
- Chords:
- Chords above the curve
- Estimate:
- Over-estimate
Concave
- Gradient:
- Examples:
- e.g. ,
- Chords:
- Chords below the curve
- Estimate:
- Under-estimate
The trapezium rule is applied to . Is the estimate an over- or under-estimate?
Limits the area must lie between
For an increasing function, left-hand rectangles give a lower limit and right-hand rectangles an upper limit.
lower and upper .
For speeds with : lower limit , upper limit , and the trapezium estimate lies between. For a decreasing function the roles swap.
For a decreasing function, which rectangles give the upper limit?
Accuracy and more strips
More strips give a more accurate estimate; doubling the strips roughly quarters the error.
The rule is used when a function cannot be integrated analytically, or when only data values are given, such as speeds at regular times.
State any assumption: equal strip widths, and that chords approximate the curve well between ordinates.
The error with 4 strips is 0.0181. Roughly what error do you expect with 8 strips?
Try an exam question
Use the trapezium rule with strips to estimate to 3 d.p., and state with a reason whether it is an over-estimate or an under-estimate.
[4 marks]
- [1] and ordinates .
- [1].
- [1].
- [1]Over-estimate, because the curve is convex so the chords lie above the curve.
That's the notes covered.
Carry on to the next subtopic.
Try a question
Which expression gives the trapezium rule estimate of ?
1 mark, marked against the mark scheme
Which expression gives the trapezium rule estimate of ?
1 mark, marked against the mark scheme