KS Maths
Topic 5.8 · AI SL and HL

The trapezoidal rule

Straight lines across a curve, and which way they miss

Estimating an area without integrating, and knowing in advance whether your estimate is too big or too small.

Words you need (10 key words in this lesson)

The maths words this lesson uses, in plain English. Open this before you start if English is not your first language.

estimate
Find an answer that is close, but not exact.Estimate 19 times 21 as 20 times 20.
area
The amount of flat space inside a shape. We measure it in square units.A 3 by 4 rectangle has area 12.
chord
A straight line joining two points on a circle.A diameter is the longest chord.
add
Put numbers together to find the total.Add 3 and 4 to get 7.
trapezium
A quadrilateral with one pair of parallel sides.A trapezium has two parallel sides.
width
How wide something is, side to side.The width of the page is 21 cm.
exact
Not rounded. Completely correct.The exact answer is one third, not 0.33.
less than
Not as big as. The sign is <.3 is less than 5.
greater than
Bigger than. The sign is >.5 is greater than 3.
function
A rule that gives exactly one output for each input.f(x) = x plus 2 is a function.

Preview You are reading the start of this lesson. The rest opens with a plan. See plans Already paid? Sign in

Warm-up

Four quick ones from earlier work. Try each on paper before you open the answer; a slip here shows you what to watch for later in the lesson.

  1. A trapezium has parallel sides of length 3 and 7, and the distance between them is 2. What is its area?
    Answer

    ½ × (3 + 7) × 2 = 10. Add the parallel sides, halve, then multiply by the width. This is the shape the whole rule is built from.

  2. For y = x² + 1, work out y when x = 0, 1, 2 and 3.
    Answer

    1, 2, 5 and 10. Square first, then add 1. A table of heights like this is the first thing every question on this page needs.

  3. The interval from 2 to 8 is split into 3 equal strips. How wide is each strip?
    Answer

    (8 − 2) ÷ 3 = 2. Width is the length of the whole interval divided by the number of strips.

  4. Is the curve y = x² − 4x bending upwards or downwards? How can you tell?
    Answer

    Upwards, like a cup, because the x² term is positive. For a quadratic, a positive x² term means a cup and a negative one means a cap. For other curves, sketch them on your GDC and look.

Words used in this lesson
trapezium
a four-sided shape with one pair of parallel sides. For example: a shape like a ramp with a flat top and a flat bottom.
strip
a narrow slice of the region, with straight sides. For example: a slice of bread.
estimate
an answer that is close but not exact. For example: an estimate of the area of a lake.
chord
a straight line joining two points on a curve. For example: the string of a bow joins the two ends of the bow.
overestimate
give an answer that is bigger than the true value. For example: guessing 12 when the true amount is 10.
underestimate
give an answer that is smaller than the true value. For example: guessing 8 when the true amount is 10.
bends upwards
shaped like a cup, with the curve below its chords. For example: the curve y = x².
bends downwards
shaped like a cap, with the curve above its chords. For example: the curve y = −x².
readings
the values measured at regular places. For example: depths measured every 2 m across a river.
hence
use the result you have just found. For example: “find h and hence the estimate” means use your h.

Predict first. Take y = x² from 0 to 4. With four strips the estimate is 22.00 and the true area is 21.33. Before you press Add strips: as the strips get narrower, do you expect the estimate to move steadily towards 21.33 from above, or to jump above and below it? Decide, and say why.

Then check

Now press Add strips a few times and watch both numbers. Did the estimate ever drop below the true area? Compare what you saw with your prediction, then switch the curve to 8x − x² and see what changes.

Sometimes you cannot integrate: the data came from measurements and there is no function. So you chop the region into strips, pretend the top of each is straight, and add up the trapezia. Add strips and watch the estimate close in.

4812161234y = x²chords sit ABOVE a curve that bends up
22.00trapezoidal estimate
21.33true area
too bigthe estimate is

The chords lie above the curve, so every strip adds a little too much.

The rule

With strips of equal width h, and heights y₀, y₁, up to yn:

Area ≈ h2 (y₀ + yn + 2(y₁ + y₂ + … + yn−1))

The ends count once, everything in the middle counts twice. That is the whole rule, and almost every lost mark on this sub-topic is one of those two things.

Worked example: from a function

Estimate the area under y = x² from 0 to 4 using four strips.

x01234
y014916
h= 4 − 04 = 1 the width, not the number of strips Area≈ 12(0 + 16 + 2(1 + 4 + 9)) = 12(16 + 28) = 22

The true area is 64⁄3, about 21.33, so the estimate is too big by about 0.67. That is not bad luck; it is guaranteed, and you can say so before calculating anything.

Which way does it miss? Draw a chord between two points on the curve and look at where it sits.

If the curve bends upwards, every chord lies above it, so the rule overestimates. If the curve bends downwards, every chord lies below it, so the rule underestimates. Switch the toggle above and look at the gaps.

On a smooth curve like this one, more strips help, and the improvement is quick: going from 4 strips to 8 takes the x² estimate from 22 to 21.5, cutting the error to a quarter. On a curve it never becomes exact, though, because a chord is never a curve.

Worked example: from a table

A lake is measured every 10 m along its length. The widths in metres are 0, 14, 22, 18, 0. Estimate its surface area.

Area≈ 102(0 + 0 + 2(14 + 22 + 18)) = 5 × 108 = 540 m²

No function anywhere, and none needed. This is the case the rule exists for, and it is the case most likely to appear in a question about something real.

On the GDC: checking the trapezium estimate

You already know which way the estimate misses from the way the curve bends. The machine is how you confirm the size of the gap, not the direction.

When you may use it. Applications. A calculator is allowed in every paper.

TI-Nspire CX II

  1. menu → Calculus → Numerical Integral for the exact value
  2. Subtract your trapezium total from it to get the size of your error
  3. The sign of that difference should match what the curve’s bend already told you

The mark people lose. Five readings mean four strips. h is the gap between readings, not the number of them. Count five strips and you divide by the wrong h, and every figure after that is wrong.

The rest of this lesson is in the full course

Still to come in this lesson:

  • A second example, finished by you
  • Check before you go on
  • Where it decides something
  • Your turn
  • and 3 more

In the full lesson every figure moves as you drag it, and every answer you type is checked, with a note on what each wrong answer means.

IB Diploma plan: AI SL$99Every Diploma lesson in both courses and both levels, so a change of course never locks you out, and every lesson from Year 7 for the refreshers. $99 for 12 months or $149 for 2 years.

One plan opens every Diploma lesson, AA and AI, SL and HL, for the whole family.

One payment. Nothing renews. Full refund within 30 days. Prices are in US$; Gumroad shows your local currency at checkout. Pay by card on Gumroad, then come back here and type the email you paid with: we email you a sign-in link. For a refund, reply to your Gumroad receipt or email hello@ksmaths.com.

Try a free sample lesson in every unit, and the whole Skill Tree. See this unit.

Already have a revision pack or the Years 7 to 11 plan? Move up and the unused part of what you paid comes off.

Teaching students who need extra support? Student codes for 5, 10 or 30 students.

AI SL Mock Exam Pack, $19BuyPlan $99