Vertex Learn

Trapezium and Simpson's rules: numerical areas

WorksheetShare to Classroom

What this lesson covers

  • When a function cannot be integrated, or only data is given, the area is estimated from ordinates.
  • The strip width h is the interval width divided by the number of strips, not the number of ordinates.
Key idea

When you cannot integrate

  • No antiderivative, or only data.
  • Estimate from the heights: ordinates.
  • Equally spaced values of x.
Key idea

Both rules are in the booklet

  • Trapezium rule and Simpson's rule.
  • Know what goes into them.
  • H = (b − a) ÷ number of strips.
Worked example

y = 1/x, from 1 to 3, four strips

  • Each strip is a trapezium.
  • H = (3 − 1)/4 = 0.5.
  • The tops sit just above the curve.
y = 1/x, from 1 to 3, four strips
Key idea

Try it: add more strips

  • More strips fit the curve better. Compare both rules with the true value.
Worked example

Four strips, five ordinates

  • One ordinate at each strip edge.
  • Ends count once.
  • Middle ordinates count twice.
xy = 1/xWeight
111
1.52/32
21/22
2.52/52
31/31
Worked example

The trapezium rule

  • Ends once, middle twice.
  • Exact fractions, then 4 d.p.
  1. A ≈ (h/2)[ends + 2 × middle]
  2. h/2 = 0.5/2 = 1/4
  3. ends: 1 + 1/3 = 4/3
  4. middle: 2/3 + 1/2 + 2/5
  5. = 20/30 + 15/30 + 12/30 = 47/30
  6. 2 × 47/30 = 47/15
  7. bracket = 20/15 + 47/15 = 67/15
  8. A ≈ (1/4)(67/15) = 67/60
  9. ≈ 1.1167
Worked example

The wrong h: a 2025 error

  • Strips, not ordinates.
  • Strips = ordinates − 1.
  1. bracket = 67/15
  2. h = (3 − 1)/5 = 0.45 ordinates
  3. 0.2 × 67/15 = 67/75 ≈ 0.8933
  4. h = (3 − 1)/4 = 0.54 strips
  5. 0.25 × 67/15 = 67/60 ≈ 1.1167
Key idea

Simpson's rule

  • An even number of strips.
  • Weights 1, 4, 2, 4, …, 4, 1.
  • Multiply by h/3, not h/2.
Worked example

Simpson's rule on y = 1/x

  • Weights: odd 4, even 2.
  • Then multiply by h/3.
  1. A ≈ (h/3)[ends + 4 odd + 2 even]
  2. h/3 = 0.5/3 = 1/6
  3. ends: 1 + 1/3 = 4/3
  4. 4(2/3 + 2/5) = 4(16/15) = 64/15
  5. 2(1/2) = 1the even ordinate
  6. bracket = 4/3 + 64/15 + 1
  7. = 20/15 + 64/15 + 15/15 = 99/15
  8. A ≈ (1/6)(99/15) = 99/90
  9. = 11/10 = 1.1
Worked example

How close are they?

  • Exact: ln 3 ≈ 1.0986.
  • Trapezium is over: the curve bends up.
  • Simpson's is much closer.
Value
exactln 3 ≈ 1.0986
trapezium≈ 1.1167, over
Simpson's1.1000
Key idea

Try it: the exact area to compare

Worked example

From a table: a car speeding up

  • Distance = area under the speed graph.
  • 7 readings, so 6 strips.
  • 6 is even, so both rules work.
t (s)v (m/s)Simpson
001
254
492
6124
8142
10154
12151
Worked example

Distance: the trapezium rule

  • H = 2, so h/2 = 1.
  • Ends once, middle twice.
  1. h = (12 − 0)/6 = 2, h/2 = 1
  2. ends: 0 + 15 = 15
  3. middle: 5 + 9 + 12 + 14 + 15 = 55
  4. d ≈ 1 × [15 + 2(55)]trapezium rule
  5. = 15 + 110 = 125 m
Worked example

Distance: Simpson's rule

  • Simpson's: h/3 = 2/3.
  • Units, and what it means.
  1. h/3 = 2/3
  2. ends: 0 + 15 = 15
  3. 4(5 + 12 + 15) = 4(32) = 128t = 2, 6, 10
  4. 2(9 + 14) = 2(23) = 46t = 4, 8
  5. bracket = 15 + 128 + 46 = 189
  6. d ≈ (2/3)(189) = 126 m
  7. about 126 m in the first 12 s
Key idea

Show every ordinate

  • Write the rule with each ordinate.
  • Full accuracy, then 3 s.f.
  • Odd strips: no Simpson's.
Key idea

Where the marks are

  • Achieved: the trapezium rule, right h.
  • Merit, Excellence: part of a bigger problem.
  • Compare with exact, or use in context.
Summary

What to take away

  • H is the interval width over the number of strips.
h(b − a) ÷ strips
Ordinatesstrips + 1
Trapeziumends + 2 × middle
Simpson'sends + 4 odd + 2 even
Simpson's nmust be even
Show itevery ordinate

Common mistakes

  • 5 ordinates from 1 to 3, so h = (3 − 1)/5 = 0.4.
    h uses strips, not ordinates: 5 ordinates make 4 strips, so h = (3 − 1)/4 = 0.5.
  • A ≈ (1/4)[1 + 2/3 + 1/2 + 2/5 + 1/3]
    The middle ordinates count twice: (h/2)[ends + 2 × middle] = (1/4)(4/3 + 47/15) ≈ 1.1167.
  • Simpson's rule: multiply the bracket by h/2.
    Simpson's uses h/3 with weights 1, 4, 2, 4, ..., 4, 1, and it needs an even number of strips.
  • Rounding each ordinate to 2 d.p. before adding them up.
    Keep exact values or full accuracy inside the bracket, and round only the final answer, e.g. to 3 s.f.
Your turn

Your turn: four questions

  • Question 3 uses the integral in 2.
  • Write out h and every ordinate.
GivenFind
1x = 1 to 5, 8 stripsh, and ordinates
2∫₀⁴ √x dx, 4 stripstrapezium rule
3the same integralSimpson's rule
4y: 3, 5, 6, 4, 2Simpson's, x = 0 to 4
1
2
3
4
Show answer

1. h = (5 − 1)/8 = 0.5, with 9 ordinates. 2. h = 1, ordinates 0, 1, √2, √3, 2: 0.5[0 + 2 + 2(1 + √2 + √3)] ≈ 5.15. 3. (1/3)[0 + 2 + 4(1 + √3) + 2√2] ≈ 5.25, closer to the exact 16/3 ≈ 5.33. 4. (1/3)[3 + 2 + 4(5 + 4) + 2(6)] = 53/3 ≈ 17.7.

Worked example

The answers: questions 1 and 2

  1. 1. h = (5 − 1)/8 = 0.5
  2. 8 strips, so 9 ordinates
  3. 2. h = (4 − 0)/4 = 1
  4. ordinates: 0, 1, √2, √3, 2
  5. (1/2)[0 + 2 + 2(1 + √2 + √3)]trapezium rule
  6. = (1/2)(4 + 2√2 + 2√3)
  7. = (1/2)(10.2925) = 5.14634 d.p.
  8. ≈ 5.15
Worked example

The answers: questions 3 and 4

  1. 3. (1/3)[0 + 2 + 4(1 + √3) + 2√2]
  2. = (1/3)(6 + 4√3 + 2√2)
  3. = (1/3)(15.7566) = 5.25224 d.p.
  4. ≈ 5.25
  5. exact: (2/3)(8) = 16/3 ≈ 5.3333Simpson is closer
  6. 4. (1/3)[3 + 2 + 4(5 + 4) + 2(6)]
  7. = (1/3)(5 + 36 + 12) = 53/3
  8. ≈ 17.7
Your turn

Sample question: Achieved

Use the trapezium rule with 4 strips to estimate ∫₁⁵ √x dx. Give your answer to 4 decimal places.

Hint

h = (5 − 1) ÷ 4 = 1. Find the 5 ordinates, then use (h2)[ends + 2 × middle].

Answer

≈ 6.7643

Step by step
  1. First find the strip width: h = (b − a) ÷ number of strips = (5 − 1) ÷ 4 = 1.
  2. 4 strips need 5 ordinates, one at each strip edge: x = 1, 2, 3, 4 and 5.
  3. Classic mistake: dividing by the number of ordinates, 5, instead of the number of strips, 4.
  4. The ordinates are √1 = 1, √2, √3, √4 = 2 and √5.
  5. The trapezium rule is (h2)[first + last + 2 × (the middle ones)].
  6. Ends: 1 + √5 ≈ 3.2361. Middle: √2 + √3 + 2 ≈ 5.1463, doubled is 10.2925.
  7. Estimate: (12)(3.2361 + 10.2925) = (12)(13.5286) ≈ 6.7643.
  8. Check: the exact value is (23)(5^(32) − 1) ≈ 6.7869. The estimate is slightly under, because √x bends downwards, so each straight top sits below the curve.
Full working
  1. h = (5 − 1) ÷ 4 = 1interval ÷ strips
  2. ordinates: 1, √2, √3, 2, √5x = 1 to 5
  3. ends = 1 + √5 ≈ 3.2361; 2 × middle ≈ 10.2925
  4. (12)(3.2361 + 10.2925)(h2)[ends + 2 × middle]
  5. ≈ 6.7643
Your turn

Sample questions: Merit

1

The function e^(−x²) cannot be integrated with the rules you know. Use Simpson's rule with 4 strips to estimate ∫₀¹ e^(−x²) dx, to 4 decimal places.

Hint

h = 0.25. Weight the ordinates 1, 4, 2, 4, 1 and multiply the total by h3.

Answer

≈ 0.7469

Step by step
  1. No antiderivative means we estimate from heights. Simpson's rule needs an even number of strips, and 4 is even.
  2. h = (1 − 0) ÷ 4 = 0.25, so the x values are 0, 0.25, 0.5, 0.75 and 1.
  3. Ordinates, to 4 decimal places: e⁰ = 1, e^(−0.0625) ≈ 0.9394, e^(−0.25) ≈ 0.7788, e^(−0.5625) ≈ 0.5698, e^(−1) ≈ 0.3679.
  4. Classic mistake: working out e^(−x)² instead of e^(−x²). Square x first, then make it negative.
  5. Simpson's weights are 1, 4, 2, 4, 1: ends once, odd ordinates times 4, even middle ordinates times 2.
  6. Ends: 1 + 0.3679 = 1.3679. Odd ones: 4 × (0.9394 + 0.5698) = 6.0368. Even middle: 2 × 0.7788 = 1.5576.
  7. Bracket total: 1.3679 + 6.0368 + 1.5576 = 8.9623.
  8. Multiply by h3 = 0.25 ÷ 3: 8.9623 × 0.25 ÷ 3 ≈ 0.7469.
  9. Check: the calculator's numerical value is 0.7468, so Simpson's rule is very close.
Full working
  1. h = (1 − 0) ÷ 4 = 0.254 strips, 5 ordinates
  2. y: 1, 0.9394, 0.7788, 0.5698, 0.3679y = e^(−x²)
  3. 1.3679 + 4(0.9394 + 0.5698) + 2(0.7788) = 8.9623weights 1, 4, 2, 4, 1
  4. (0.25 ÷ 3) × 8.9623× h3
  5. ≈ 0.7469
2

A stream is 12 m wide. Its depth, measured every 2 m across from one bank, is 0, 1.2, 2.1, 2.6, 2.4, 1.5 and 0 metres. Use Simpson's rule to estimate the area of the cross-section. The water flows at an average of 0.5 m per second. Estimate the volume of water passing each second.

Hint

7 depths means 6 strips with h = 2. The volume per second is the cross-section area times the speed.

Answer

Area ≈ 20.1 m²; about 10.1 m³ of water passes each second

Step by step
  1. The cross-section is the area under the depth graph, from one bank to the other.
  2. 7 readings means 6 strips. 6 is even, so Simpson's rule can be used. h = 12 ÷ 6 = 2 m.
  3. Simpson's rule: (h3)[ends + 4 × odd + 2 × even middle].
  4. Ends: 0 + 0 = 0. Odd ones, the 2nd, 4th and 6th readings: 1.2 + 2.6 + 1.5 = 5.3, and 4 × 5.3 = 21.2.
  5. Even middle ones, the 3rd and 5th readings: 2.1 + 2.4 = 4.5, and 2 × 4.5 = 9.
  6. Bracket: 0 + 21.2 + 9 = 30.2. Times h3 = 23: 30.2 × 23 ≈ 20.13 m².
  7. Classic mistake: using h2 from the trapezium rule with Simpson's weights. Simpson's always uses h3.
  8. Flow: each second, a slice of water 0.5 m long passes. Its volume is area × length = 20.13 × 0.5 ≈ 10.07 m³.
  9. Check: the trapezium rule gives 2 ÷ 2 × (0 + 2 × 9.8) = 19.6 m², close to 20.1, so the answer is sensible.
Full working
  1. h = 12 ÷ 6 = 27 readings, 6 strips
  2. ends 0 + 0 = 0first and last
  3. 4(1.2 + 2.6 + 1.5) = 21.2odd ordinates
  4. 2(2.1 + 2.4) = 9even middle ordinates
  5. A ≈ (23)(30.2) ≈ 20.13 m²× h3
  6. volume per second ≈ 20.13 × 0.5area × speed
  7. Area ≈ 20.1 m², flow ≈ 10.1 m³ each second
Your turn

Sample questions: Excellence

1

Use the trapezium rule with 4 strips to estimate ∫₀^π sin x dx, giving an exact expression. Compare it with the exact value and explain why the trapezium rule gives an underestimate here. Then use Simpson's rule with the same 4 strips and comment on its accuracy.

Hint

h = π4, and the ordinates are 0, √22, 1, √22, 0. Think about whether the curve bends up or down between ordinates.

Answer

Trapezium (π4)(1 + √2) ≈ 1.896, under the exact value 2 by about 5.2%, because sin x bends downwards on 0 to π. Simpson's (π6)(2√2 + 1) ≈ 2.005, within about 0.23%.

Step by step
  1. Exact value first: ∫₀^π sin x dx = [−cos x]₀^π = −cos π + cos 0 = 1 + 1 = 2.
  2. Strip width: h = (π − 0) ÷ 4 = π4. The x values are 0, π4, π2, 3π4 and π.
  3. Ordinates: sin 0 = 0, sin(π4) = √22, sin(π2) = 1, sin(3π4) = √22, sin π = 0.
  4. Trapezium rule: (h2)[ends + 2 × middle] = (π8)[0 + 2(√22 + 1 + √22)] = (π8)(2√2 + 2) = (π4)(1 + √2).
  5. That is about 1.896, which is less than 2 by about 0.104, or 5.2%.
  6. Why it is under: on 0 to π, sin x is concave down, like a hill. Each strip's straight top joins two points on the curve, and the curve bulges above that line.
  7. So every trapezium misses a thin sliver of area above it, and the estimate is too small.
  8. Classic mistake: saying the trapezium rule always overestimates. It depends on the curve: over when it bends up, under when it bends down.
  9. Simpson's rule: (h3)[ends + 4 × odd + 2 × even] = (π12)[0 + 4(√22 + √22) + 2(1)] = (π12)(4√2 + 2) = (π6)(2√2 + 1).
  10. That is about 2.005, only about 0.23% above 2.
  11. Simpson's fits curves through the points instead of straight lines, so it follows the hill much more closely with the same ordinates.
Full working
  1. exact = [−cos x]₀^π = 2
  2. h = π4; ordinates 0, √22, 1, √22, 0
  3. T = (π8)(2√2 + 2) = (π4)(1 + √2) ≈ 1.896under by about 5.2%
  4. sin x is concave down, so the chords lie below the curvewhy it is under
  5. S = (π12)(4√2 + 2) = (π6)(2√2 + 1) ≈ 2.005within 0.23%
  6. Trapezium ≈ 1.896 (under); Simpson's ≈ 2.005, much closer to 2
2

a is a positive constant. Show that Simpson's rule with 2 strips gives the exact value of ∫₀^(2a) x³ dx for every value of a, but the trapezium rule with 2 strips does not. By what percentage is the trapezium rule wrong?

Hint

With 2 strips, h = a and the ordinates are at x = 0, a and 2a. Work out each rule in terms of a and compare with the exact integral.

Answer

Exact 4a⁴; Simpson's gives 4a⁴ (exact for every a); trapezium gives 5a⁴, which is 25% too big

Step by step
  1. This is a general result, so keep a as a letter the whole way.
  2. Exact value: ∫₀^(2a) x³ dx = [(14)x⁴]₀^(2a) = (2a)⁴4 = 16a⁴4 = 4a⁴.
  3. Classic mistake: (2a)⁴ = 2a⁴. The 2 is inside the bracket, so it is raised to the power too: 2⁴ = 16.
  4. Two strips over 0 to 2a means h = a. The ordinates are at x = 0, a and 2a: 0, a³ and 8a³.
  5. Simpson's rule: (h3)[ends + 4 × middle] = (a3)[0 + 8a³ + 4a³] = (a3)(12a³) = 4a⁴.
  6. That equals the exact value, and a was never given a number, so it holds for every a > 0.
  7. Trapezium rule: (h2)[ends + 2 × middle] = (a2)[0 + 8a³ + 2a³] = (a2)(10a³) = 5a⁴.
  8. 5a⁴ is not 4a⁴, so the trapezium rule is not exact. It is over by a⁴.
  9. Percentage error: a⁴ ÷ 4a⁴ = 14 = 25% too big, whatever a is.
  10. It is too big because x³ bends upwards on 0 to 2a, so the straight tops sit above the curve.
  11. Check with a = 3: exact 4 × 81 = 324, Simpson's (33)(0 + 216 + 4 × 27) = 324. It matches.
Full working
  1. ∫₀^(2a) x³ dx = (2a)⁴4 = 4a⁴exact
  2. h = a; ordinates 0, a³, 8a³
  3. S = (a3)(0 + 8a³ + 4a³) = 4a⁴equals the exact value
  4. T = (a2)(0 + 8a³ + 2a³) = 5a⁴over by a⁴
  5. a⁴ ÷ 4a⁴ = 25%same for every a
  6. Simpson's is exact (4a⁴); the trapezium rule gives 5a⁴, 25% too big
Practice

Practise this

Worksheet with answersWithout answersDownload PDF
2026 practice paper with worked answersOpen the paper
Report a mistake

More in AS 91579

Is your child on track?

Take the free placement test