The trapezoid rule approximates area by dividing the interval into strips and using trapezoids. More strips = better approximation. Try n = 1, 2, 4 strips.
Interactive diagram
Explore the labelled diagram, charts and maps for this topic in full study mode.
The trapezoid rule: Used to approximate a definite integral when exact integration is difficult.
∫ f(x) dx from a to b ≈ (h/2)(y₀ + 2y₁ + 2y₂ + … + 2yₙ₋₁ + yₙ)
Reading the formula
- h = (b - a)/(n) is the strip width.
- yk = f(a + kh) are the y-values at equally spaced x-values.
- The first and last y-values appear once; all middle y-values appear twice (multiplied by 2).
Example: Trapezoid rule with n = 4
Step by step
- Approximate ∫₀² x² dx using the trapezoid rule with n = 4 strips.
- h = (2 − 0)/4 = 0.5. x-values: 0, 0.5, 1, 1.5, 2.
- y₀ = 0² = 0; y₁ = 0.25; y₂ = 1; y₃ = 2.25; y₄ = 4.
- Area ≈ (0.5/2)(0 + 2(0.25) + 2(1) + 2(2.25) + 4).
- = 0.25 × (0 + 0.5 + 2 + 4.5 + 4) = 0.25 × 11 = 2.75.
- Exact value: ∫₀² x² dx = [x³/3] from 0 to 2 = 8/3 ≈ 2.667.
Final answer
Trapezoid approximation: 2.75 (exact: 2.667)
Why the approximation is not exact: The trapezoid rule uses straight lines to approximate the curve.
If the curve is concave up (bending upward), the trapezoids overestimate.
If the curve is concave down (bending downward), they underestimate.
For x², which is concave up, the trapezoid rule gives an overestimate.
Free preview
This is the free notes preview
You're reading the free notes. Aimnova Pro unlocks the full study experience — and you can try it with your first topic free to keep:
- FlashcardsLock in vocabulary and key terms with spaced repetition.
- Practice questionsAnswer exam-style questions and get instant AI marking.
- Mock exams & past-paper vaultSit full mocks and see exactly how examiners award marks.
- Personalised study planA daily plan built around your exam date and weak areas.
Building the table of values: For the trapezoid rule, always start by building a table of values.
| x | y = f(x) |
|---|---|
| x₀ = a | y₀ |
| x₁ = a + h | y₁ |
| ... | ... |
| xₙ = b | yₙ |
Then apply the rule: Then apply: T ≈ (h/2)(y₀ + 2y₁ + 2y₂ +... + 2yₙ₋₁ + yₙ)
Example: n = 5 strips
Step by step
- Approximate ∫₁³ (1/x) dx using n = 5 trapezoid strips.
- h = (3 − 1)/5 = 0.4. x-values: 1, 1.4, 1.8, 2.2, 2.6, 3.0.
- y-values: 1/1 = 1; 1/1.4 ≈ 0.714; 1/1.8 ≈ 0.556; 1/2.2 ≈ 0.455; 1/2.6 ≈ 0.385; 1/3 ≈ 0.333.
- T ≈ (0.4/2)(1 + 2(0.714) + 2(0.556) + 2(0.455) + 2(0.385) + 0.333).
- = 0.2 × (1 + 1.428 + 1.112 + 0.910 + 0.770 + 0.333) = 0.2 × 5.553 ≈ 1.111.
- Exact value (from the GDC) ≈ 1.099.
Final answer
Trapezoid approximation ≈ 1.111 (exact: 1.099)
Show the table and the formula: Even when using the GDC, show the table of x and y values and the formula.
Do not just write the final answer — show the table, the formula, and the computation.
Study smarter, not longer
Most students waste 40% of study time on topics they already know. Our AI tracks your progress and optimizes every minute.
Overestimate vs underestimate — from the shape: Whether the trapezoid rule over- or under-estimates depends on how the curve bends between the points.
Read it from the bend
- Curve bends UPWARD (concave up, ∪ shape) → the straight trapezoid tops sit ABOVE the curve → OVERESTIMATE.
- Curve bends DOWNWARD (concave down, ∩ shape) → the trapezoid tops sit BELOW the curve → UNDERESTIMATE.
No second derivative needed: Decide by looking at the graph or a quick sketch — you do not need the second derivative.
Example: over- or underestimate?
For y = x² on [0, 2], does the trapezoid rule give an over- or underestimate?
Step by step
- Sketch or picture y = x². It bends upward (concave up) on this interval.
- So the straight trapezoid tops lie above the curve.
- Therefore the estimate is an OVERESTIMATE.
Final answer
Overestimate — the curve bends upward, so the trapezoids lie above it.
Bends upward (concave up, ∪)
- Trapezoid tops lie above the curve
- Overestimate
- Example: y = x²
Bends downward (concave down, ∩)
- Trapezoid tops lie below the curve
- Underestimate
- Example: y = −x²
Over/underestimate: say why from the shape: Justify by stating the shape: 'The curve bends upward, so the trapezoids lie above it — an overestimate.' No second derivative needed.
Percentage error in the trapezoid rule: After finding the trapezoid estimate, you are often asked to compare it with the exact value.
The formula: Percentage error = |approx − exact| / |exact| × 100%
The 'exact' value is found by evaluating the definite integral (by hand on Paper 1, or by GDC on Paper 2).
Full exam-style question: trapezoid -> exact -> % error
Step by step
- A ridge's cross-section is modelled by y = 0.06x² − 0.002x³ for 0 ≤ x ≤ 30.
- Heights at x = 0, 10, 20, 30 are: y = 0, 4, 8, 0.
- (a) Use the trapezoidal rule with h = 10 to approximate the cross-sectional area. [2 marks]
- T = (10/2)(0 + 2(4) + 2(8) + 0) = 5 × 24 = 120.
- (b) Write down the exact integral and evaluate it. [3 marks]
- ∫₀³⁰ (0.06x² − 0.002x³) dx = [0.02x³ − 0.0005x⁴] from 0 to 30.
- At x = 30: 0.02 × 27 000 − 0.0005 × 810 000 = 540 − 405 = 135.
- (c) Find the percentage error. [2 marks]
- |120 − 135| / 135 × 100 = 15/135 × 100 ≈ 11.1%.
Final answer
T ≈ 120, exact = 135, percentage error ≈ 11.1%
Percentage error in three steps: The percentage error calculation is straightforward once you have both values:
1. Read your trapezoid answer from part (a).
2. Use the exact integral from part (b).
3. Apply the formula: |approx − exact| / |exact| × 100%.
Divide by the exact value, never by the approximate value.
Find exact area using the GDC: On Paper 2 the exact integral is often too hard to do by hand (e.g., it involves cube roots or non-standard functions).
Use the GDC's integration function.
Still write: 'Area = ∫[a→b] f(x) dx = [value]' to show the GDC was used.
Practice with exam-style questions
Answer exam-style questions and get AI feedback that shows you exactly what examiners want to see in a full-marks response.
Make the table first: When the question gives a model instead of a table, work out the heights at the equally spaced x-values first (GDC TABLE), write them down, then use the rule. The heights themselves earn marks.
GDC walkthrough
Step through the exact calculator keystrokes, screen by screen, in study mode.
Area under a model
A ramp's side is modelled by y = 0.1x³ − x² + 3x + 1, 0 ≤ x ≤ 5 (metres). Use the trapezoidal rule with an interval width of 1 to estimate the area of the side.
Step by step
- Heights from the table: 1, 3.1, 3.8, 3.7, 3.4, 3.5. The figure below adds the five trapezoids.
Final answer
Area ≈ 16.25 m².
See it drawn, step by step
In My Learning, handwritten diagrams build one step at a time. Play, pause and replay each explanation until it clicks. Create your free account to try it.
Narrower trapezoids fit better: To reduce the error and still use the trapezoidal rule, use more intervals (narrower trapezoids). If the curve bends down the rule underestimates; if it bends up, it overestimates.
Animated graph
Watch the graph build step by step in study mode.
Exam-style question — a garden bed [7 marks]
The width of a garden bed, y metres, is measured every metre along its 4 m length.
| x (m) | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| y (m) | 2.0 | 2.6 | 3.0 | 2.8 | 2.2 |
(a) Use the trapezoidal rule to estimate the area of the bed. [3]
(b) The bed is filled with soil 0.3 m deep. Estimate the volume of soil. [2]
(c) The exact area is 10.6 m². Find the percentage error in the estimate. [2]
Step by step
- (a) h = 1; ends 2.0 and 2.2, middles 2.6, 3.0, 2.8.
- (b) Area × depth.
- (c) Divide by the exact value.
Final answer
(a) 10.5 m². (b) 3.15 m³. (c) 0.943 %.