You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
This lesson covers the trapezium rule — a numerical method for approximating definite integrals — as required by the Edexcel A-Level Mathematics specification (9MA0). You need to know the formula, apply it with a given number of strips, understand whether the approximation is an overestimate or underestimate, and know how to improve accuracy.
Some functions cannot be integrated analytically — that is, there is no formula for their antiderivative in terms of standard functions. For example:
In these cases, we use numerical methods to approximate the value of the definite integral. The trapezium rule is the most common method at A-Level.
The area under a curve y = f(x) between x = a and x = b is approximated by dividing the region into n equal strips (intervals) and treating each strip as a trapezium rather than following the exact curve.
The area of a trapezium is:
Area = (1/2)(a + b) × h
where a and b are the parallel sides and h is the distance between them.
For each strip under the curve, the two parallel sides are the y-values at the left and right edges, and h is the width of the strip.
With n strips (n + 1 ordinates) from x = a to x = b:
h = (b - a) / n
where h is the width of each strip.
The approximation is:
∫ from a to b of y dx ≈ (h/2)[y₀ + y_n + 2(y₁ + y₂ + ... + y_{n-1})]
In words: (h/2) × [first y + last y + 2 × (sum of all middle y-values)]
Where:
Exam Tip: This formula is given in the formula booklet, but you should be very comfortable using it quickly and accurately.
Use the trapezium rule with 4 strips to estimate ∫ from 0 to 2 of √(4 + x²) dx.
Step 1: h = (2 - 0)/4 = 0.5
Step 2: x-values: 0, 0.5, 1, 1.5, 2
Step 3: y-values:
| x | y = √(4 + x²) |
|---|---|
| 0 | √4 = 2 |
| 0.5 | √4.25 = 2.0616 |
| 1 | √5 = 2.2361 |
| 1.5 | √6.25 = 2.5 |
| 2 | √8 = 2.8284 |
Step 4: Apply the formula: (0.5/2)[2 + 2.8284 + 2(2.0616 + 2.2361 + 2.5)] = 0.25[4.8284 + 2(6.7977)] = 0.25[4.8284 + 13.5954] = 0.25[18.4238] = 4.6060 (4 d.p.)
The table below shows values of y = e^(x²) for selected values of x.
| x | 0 | 0.25 | 0.5 | 0.75 | 1 |
|---|---|---|---|---|---|
| y | 1 | 1.0645 | 1.2840 | 1.7551 | 2.7183 |
Use the trapezium rule with all the values in the table to estimate ∫ from 0 to 1 of e^(x²) dx.
h = 0.25, n = 4
Estimate = (0.25/2)[1 + 2.7183 + 2(1.0645 + 1.2840 + 1.7551)] = 0.125[3.7183 + 2(4.1036)] = 0.125[3.7183 + 8.2072] = 0.125[11.9255] = 1.4907 (4 d.p.)
Whether the trapezium rule gives an overestimate or underestimate depends on the shape of the curve:
| Curve Shape | Effect |
|---|---|
| Concave up (curves upward, like y = x²) | Overestimate — the trapezium tops lie above the curve |
| Concave down (curves downward, like y = √x) | Underestimate — the trapezium tops lie below the curve |
A curve y = f(x) is:
Example: For y = x², d²y/dx² = 2 > 0, so the curve is concave up. The trapezium rule will give an overestimate.
Example: For y = √x = x^(1/2), d²y/dx² = -1/(4x^(3/2)) < 0, so the curve is concave down. The trapezium rule will give an underestimate.
Exam Tip: A quick sketch of the curve often makes it obvious whether the trapezia lie above or below the curve. If the curve bends towards the tops of the trapezia, it is an underestimate; if it bends away, it is an overestimate.
The accuracy of the trapezium rule can be improved by:
Increasing the number of strips (n) — More strips means each strip is narrower, so the straight-line top of each trapezium more closely follows the curve.
Using more strips in regions where the curve changes rapidly — If the curve is nearly straight, even a few strips give a good approximation.
Doubling the number of strips roughly quarters the error (the error is proportional to h², where h is the strip width). So:
h = (π/2 - 0)/4 = π/8 ≈ 0.3927
| x | 0 | π/8 | π/4 | 3π/8 | π/2 |
|---|---|---|---|---|---|
| sin x | 0 | 0.3827 | 0.7071 | 0.9239 | 1 |
| √(sin x) | 0 | 0.6186 | 0.8409 | 0.9612 | 1 |
Estimate = (0.3927/2)[0 + 1 + 2(0.6186 + 0.8409 + 0.9612)] = 0.19635[1 + 2(2.4207)] = 0.19635[1 + 4.8414] = 0.19635[5.8414] = 1.1469 (4 d.p.)
Typical exam questions will:
Edexcel 9MA0 specification section 10 — Integration, sub-strand 10.5 (numerical integration) covers the trapezium rule with equally spaced ordinates to estimate the area under a curve; relate the accuracy of the estimate to the concavity of the integrand and to the number of strips (refer to the official specification document for exact wording). The rule is examined on 9MA0-02 (Paper 2 — Pure Mathematics) and frequently appears in section 8 (Differentiation) synoptic contexts where the second derivative is used to justify whether the estimate is an over- or under-approximation. The trapezium rule formula ∫abf(x)dx≈2h[y0+2(y1+y2+…+yn−1)+yn] with h=(b−a)/n is printed in the Edexcel formula booklet — but the over/under reasoning is not, and that is where most of the AO2 marks live.
Question (8 marks): Use the trapezium rule with 5 strips to estimate ∫011+x2dx, giving your answer to 4 decimal places. State, with justification, whether the estimate is an over- or under-estimate of the true value. (8)
Solution with mark scheme:
Step 1 — set up the strip width and ordinates.
With n=5 strips on [0,1], h=(1−0)/5=0.2. The ordinates are at x=0,0.2,0.4,0.6,0.8,1.0.
M1 — correct h and 6 ordinate values listed.
Step 2 — compute the y-values.
Let f(x)=1+x2.
| x | y=1+x2 |
|---|---|
| 0.0 | 1.0000 |
| 0.2 | 1.0198 |
| 0.4 | 1.0770 |
| 0.6 | 1.1662 |
| 0.8 | 1.2806 |
| 1.0 | 1.4142 |
M1 — at least 4 of 6 ordinates correct to 4 d.p. A1 — all six correct.
Step 3 — apply the rule.
∫011+x2dx≈20.2[1.0000+1.4142+2(1.0198+1.0770+1.1662+1.2806)]
The interior sum is 1.0198+1.0770+1.1662+1.2806=4.5436, doubled to 9.0872. The end pair contributes 1.0000+1.4142=2.4142. Total inside the bracket: 11.5014.
M1 — correct structure (end ordinates once, interior ordinates doubled). A1 — correct bracket value.
≈0.1×11.5014=1.1501
A1 — final answer 1.1501 (4 d.p.).
Step 4 — over/under justification.
Compute f′′(x). With f(x)=(1+x2)1/2:
f′(x)=x(1+x2)−1/2,f′′(x)=(1+x2)−3/2
For all x∈[0,1], f′′(x)>0, so the curve is concave up throughout the interval. The trapezium chords therefore lie above the curve, and the trapezium estimate is an over-estimate of the true integral.
M1 — computing or stating sign of f′′ on the interval. A1 — correct conclusion (over-estimate) with concavity reason.
Total: 8 marks (M4 A4).
Question (6 marks): The function f is defined by f(x)=ln(2+x2) for x≥0.
(a) Use the trapezium rule with 4 strips to estimate ∫02ln(2+x2)dx, giving your answer to 3 decimal places. (4)
(b) By considering the second derivative, determine whether your answer to (a) is an over- or under-estimate. (2)
Mark scheme decomposition by AO:
(a)
(b)
Total: 6 marks split AO1 = 3, AO2 = 1, AO3 = 2. This is exactly the kind of question Edexcel uses to separate B from A* candidates: the rote calculation is AO1, but recognising that concavity changes inside the interval is AO3 reasoning.
Connects to:
Section 8 — Definite integration (exact methods): when the integrand has an elementary antiderivative, the trapezium rule's error can be benchmarked against the true value. ∫01(1+x2)dx=4/3 exactly; comparing against the trapezium estimate with n=5 shows roughly a 0.4% over-estimate, validating the rule.
Section 9 — Concavity from the second derivative: f′′(x)>0 on [a,b] means the curve is concave up, so chord segments lie above the curve and the trapezium rule over-estimates; f′′(x)<0 means concave down, chords lie below, so the rule under-estimates. This is the single most-tested AO2 reasoning step on trapezium-rule questions.
Simpson's rule (Further Maths 9FM0): Simpson's rule uses parabolic arcs through three consecutive ordinates and is exact for any cubic. Its error scales as O(h4) versus the trapezium rule's O(h2) — a fundamental jump in convergence rate that motivates higher-order quadrature.
Numerical methods (section 10 sub-strand): trapezium rule is one member of a family that includes the midpoint rule (one-point quadrature) and rectangle rule (left/right Riemann sums). Each represents a different polynomial fit to the integrand; trapezium uses linear interpolation between consecutive ordinates.
Experimental physics and statistics: when an integrand is known only as a table of measured data points (e.g. velocity vs time from a sensor), no antiderivative exists and numerical integration is the only option. The trapezium rule is the workhorse for computing displacement, work done, or expected values from tabulated data.
Trapezium-rule questions on 9MA0-02 split AO marks as follows:
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.