Trapezium Rule Explained with Worked Examples

The trapezium rule estimates , with .

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

What Trapezium rule (area under a graph and numerical integration) means

Split the area under the curve into strips of equal width and approximate each by a trapezium. The first and last -values are counted once, and all the middle ones twice.

The estimate is better with more strips. For a convex curve the rule overestimates; for a concave curve it underestimates.

It is used when the integral cannot be found exactly or when data is given in a table. Other ways to approximate an integral by strips are described in Riemann sums. The area of each strip is the area of a trapezium, the exact value is from the fundamental theorem of calculus, and the comparison with area under a curve shows its error.

This page is part of Integration in Calculus. Topics that work alongside it: Area under a curve, Area of a trapezium, Fundamental theorem of calculus, Integration using partial fractions, Separable differential equation and Integration by parts.

What is it used for?

The trapezium rule estimates the area under a curve by splitting it into trapezia. It works when the integral is too hard to find exactly or when you only have data points.

How to use trapezium rule (area under a graph and numerical integration)

  1. Find .
  2. Work out the -values at the strip boundaries.
  3. Apply the formula: half times (first + last + 2 × the rest).
  4. Comment on accuracy if asked.

Graph

Trapezium rule with 4 strips for y = x² from 0 to 2-0.200.20.40.60.811.21.41.61.822.22.401234Trapezium rule with 4 strips for y = x² from 0 to 2xyGraph with x from -0.2 to 2.4 and y from -0.3 to 4.6. Shows the curve y = x^2; chords (5).

The straight-line tops of the trapezia lie above this convex curve, so the estimate 2.75 is slightly larger than the exact area 8/3 ≈ 2.667.

Worked examples

These examples are worked by hand, step by step, so you can compare your own working.

Example 1: four strips

Use the trapezium rule with 4 strips to estimate .

Worked example
Answer
2222
  1. Strip width
  2. y-values
  3. Apply the rule

Example 2: compare with the exact value

The exact value of is . Is the estimate an over- or under-estimate?

Worked example
Answer
Overestimate\text{Overestimate}
  1. Compare
  2. Conclude
    The curve is convex, so the trapezium rule overestimates.

Example 3: an exponential

Use the trapezium rule with 4 strips to estimate .

Worked example
Answer
≈6.52\approx 6.52
  1. Strip width
  2. y-values
  3. Apply the rule

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

∫₀¹ x² dx, n = 4

h = 0.25

0.34375.

∫₀² eˣ dx, n = 4

h = 0.5

6.5216.

∫₀^π sin x dx, n = 4

h = π/4

1.8961.

Exact ∫₀¹ x²

1/3

Overestimate for convex.

Word problems

∫ₐᵇ y dx ≈ (h/2)[y₀ + 2(y₁ + … + yₙ₋₁) + yₙ] with h = (b − a)/n. It overestimates for convex curves and underestimates for concave ones.

Quadratic

x² on [0, 1], n = 4: (0.25/2)[0 + 2(0.0625 + 0.25 + 0.5625) + 1].

  1. 0.125 × 2.75
  2. Check: ✓0.34375

Exponential

eˣ on [0, 2], n = 4.

  1. 0.25 × 26.09
  2. Check: ✓6.5216

Sine Higher

sin x on [0, π], n = 4.

  1. (π/8) × 4.828
  2. Check: ✓1.8961

Error Higher

Exact ∫₀¹ x² is 1/3. The estimate 0.34375 is?

  1. too big by 0.0104
  2. Check: ✓0.0104

Common mistakes

Not doubling the middle values

single ✗

2 × middle ordinates ✓

Shared trapezia.

h = (b − a)/(n+1)

wrong ✗

h = (b − a)/n ✓

Strips.

Wrong ends

doubling ends ✗

ends once ✓

Check.

Degrees in sin

wrong mode ✗

radians ✓

Calculator mode.

Exam tips

  1. h = (b − a)/n.
  2. Ends once, middle twice.
  3. Convex: over.
  4. More strips: better.
  5. Radians.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. x² on [0, 1], n = 2 Foundation

0.375

2. x² on [0, 2], n = 4 Foundation

2.75

3. 1/x on [1, 2], n = 2 Foundation

0.7083

4. √x on [0, 4], n = 4 Higher

5.1463

5. x³ on [0, 1], n = 2 Higher

0.3125

6. Error 0.34375 − 1/3 to 4 d.p. Higher

0.0104

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Trapezium rule
Area estimate with trapezia.
Strip width (h)
(b − a)/n.
Ordinate
y-value.
Convex
Curves upwards.
Concave
Curves downwards.
Overestimate
Estimate too large.

Frequently asked questions

What is the trapezium rule?

(h/2)[y₀ + 2(y₁ + … ) + yₙ].

What is h?

(b − a)/n.

When does it overestimate?

For convex curves.

How can I improve accuracy?

Use more strips.

Which page covers separable equations?

separable differential equations.

Which page covers ∫f′/f?

integral of f′/f.

More in Calculus and the formula sheets.