Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›IB Mathematics: Applications and Interpretation
  3. ›5 Calculus
  4. ›5.8 Trapezoidal rule

IB Mathematics: Applications and Interpretation · Topic 5 · Calculus

5.8 Trapezoidal rule

Use the trapezoidal rule to estimate a definite integral, and compare the estimate with exact values and with the shape of the curve.

  • 4 min read
  • 5 parts
  • 10 questions
  • Draft
Start a Quick 5 on this topic→Jump to the 10 questions
1/5Some areas cannot be found by integrating exactly
  1. 1Some areas cannot be found by integrating exactly
  2. 2The trapezoidal rule replaces the curve with straight chords
  3. 3The formula counts end heights once and middle heights twice
  4. 4The shape of the curve decides whether the estimate is high or low
  5. 5More strips give a closer estimate
  6. Check your recall
  7. Practice: 10 questions
1

Part 1 of 5: Some areas cannot be found by integrating exactly

Imagine a car whose speed is recorded every 2 seconds. You have a table of numbers, not a formula. You still want the distance travelled.

That distance equals the area under the speed–time graph. It is a definite integral, but without a formula we cannot find an antiderivative.

Some formulae also resist integration by the methods in this course. In both cases we need an estimate. The trapezoidal rule is a reliable way to make one, and it uses only straight lines and simple arithmetic.

Key terms · tap one for its definition

definite integral

A definite integral of a rate over an interval measures its accumulated, signed change.

trapezoidal rule

The trapezoidal rule estimates a definite integral by adding the areas of trapezia formed under straight chords joining points on the curve.

Part 1 done

2

Part 2 of 5: The trapezoidal rule replaces the curve with straight chords

The idea is to slice the region into thin vertical pieces of equal width. Each piece is a strip. Over each strip, replace the curve by a straight line joining its ends. The strip then becomes a trapezium.

A trapezium has one pair of parallel sides. Here those sides are the left and right heights of the strip. The strip’s width is the distance between them. The two heights can differ, as they do on any sloping curve.

Its area is 12h (yleft+yright)\frac12h\,(y_\mathrm{left}+y_\mathrm{right})21​h(yleft​+yright​), where hhh is the strip width. Adding the areas of all strips gives the estimate.

Key terms · tap one for its definition

strip

A strip is one of nnn vertical slices of equal width hhh into which the region between x=ax=ax=a and x=bx=bx=b is divided.

trapezium

A trapezium is a quadrilateral with one pair of parallel sides.

Part 2 done

Quick check

One question on the part you just read

Easy

Identify the expression for the strip width hhh when the interval from x=ax=ax=a to x=bx=bx=b is split into nnn strips.
Show answer and explanation

Answer: C · Worked explanation

The total width b−ab-ab−a is shared equally among nnn strips, so h=b−anh=\frac{b-a}{n}h=nb−a​. Dividing by n+1n+1n+1 would count the heights instead of the strips, since nnn strips have n+1n+1n+1 heights. Multiplying by nnn would make hhh larger than the whole interval.
3

Part 3 of 5: The formula counts end heights once and middle heights twice

Add up every trapezium and a pattern appears. Each middle height belongs to two neighbouring strips. The first and last heights belong to one strip each.

For nnn strips between x=ax=ax=a and x=bx=bx=b, the width is h=b−anh=\frac{b-a}{n}h=nb−a​. The n+1n+1n+1 heights are y0,y1,…,yny_0,y_1,\dots,y_ny0​,y1​,…,yn​. Then ∫aby dx≈h2[(y0+yn)+2(y1+y2+⋯+yn−1)]\int_a^b y\,dx\approx\frac{h}{2}\left[(y_0+y_n)+2(y_1+y_2+\dots+y_{n-1})\right]∫ab​ydx≈2h​[(y0​+yn​)+2(y1​+y2​+⋯+yn−1​)].

Check the formula on one strip. With n=1n=1n=1 it gives h2(y0+y1)\frac{h}{2}(y_0+y_1)2h​(y0​+y1​), the single trapezium from before. Each extra strip adds its own area, and every shared height is counted twice.

Common mistake

A table of 5 heights gives 4 strips, not 5. Count the gaps between heights, not the heights themselves.

Worked example

Distance from speeds

A car’s speed vvv is recorded every 2 s. At t=0,2,4,6,8t=0,2,4,6,8t=0,2,4,6,8 s the speeds are 0,6,10,12,12 m s−10,6,10,12,12\,\mathrm{m\,s^{-1}}0,6,10,12,12ms−1. Estimate the distance travelled in 8 s.
  1. 1
    Five heights give n=4n=4n=4 strips, with h=2h=2h=2 s.
  2. 2
    End heights: 0+12=120+12=120+12=12.
  3. 3
    Middle heights: 6+10+12=286+10+12=286+10+12=28, doubled to 56.
  4. 4
    Distance ≈22(12+56)=68\approx\frac{2}{2}(12+56)=68≈22​(12+56)=68.

Answer: The distance travelled is about 68 m68\,\mathrm{m}68m.

Part 3 done

4

Part 4 of 5: The shape of the curve decides whether the estimate is high or low

Exact values are available only when we can find an antiderivative. A polynomial is a good test case, because we can integrate it and compare. To judge an estimate, compare it with the exact value. The size of the difference, divided by the exact value, gives the percentage error.

Worked example

Estimate against exact

Estimate ∫04x2 dx\int_0^4 x^2\,dx∫04​x2dx using 4 strips, then compare with the exact value.
  1. 1
    h=4−04=1h=\frac{4-0}{4}=1h=44−0​=1. The heights at x=0,1,2,3,4x=0,1,2,3,4x=0,1,2,3,4 are 0,1,4,9,16.
  2. 2
    Estimate: 12(1)[(0+16)+2(1+4+9)]=12(44)=22\frac12(1)\left[(0+16)+2(1+4+9)\right]=\frac12(44)=2221​(1)[(0+16)+2(1+4+9)]=21​(44)=22.
  3. 3
    Exact: ∫04x2 dx=[x33]04=643≈21.3\int_0^4 x^2\,dx=\left[\frac{x^3}{3}\right]_0^4=\frac{64}{3}\approx21.3∫04​x2dx=[3x3​]04​=364​≈21.3.
  4. 4
    Error: 22−21.33≈0.6722-21.33\approx0.6722−21.33≈0.67, so the percentage error is 0.66721.33×100≈3.1%\frac{0.667}{21.33}\times100\approx3.1\%21.330.667​×100≈3.1%.

Answer: The estimate is 22, which is about 3.1% above the exact value 643\frac{64}{3}364​.

Figure 1. Four straight chords join points on the curve y = x², and each chord lies above the curve.

Here the curve bends upwards, so each chord lies above it. The trapezia cover slightly too much area, giving an overestimate. If a positive curve bends downwards, the chords lie below it and the estimate is too low. Always give the reason from the shape of the curve.

Key term

percentage error

The percentage error is the size of the difference between an estimate and the exact value, divided by the exact value, as a percentage.

Part 4 done

Quick check

One question on the part you just read

Easy

State which heights are counted once inside the bracket of the trapezoidal rule.
Show answer and explanation

Answer: A · Worked explanation

The first and last heights each belong to only one trapezium, so they are counted once. Every middle height is shared by two trapezia, so it is counted twice. Counting all heights once would give only the sum of the heights, with no allowance for the shared sides.
5

Part 5 of 5: More strips give a closer estimate

The error of 0.67 is small but not zero. Narrower strips follow the curve more closely.

Use 8 strips for the same integral, so h=0.5h=0.5h=0.5. The middle heights are 0.25,1,2.25,4,6.25,9,12.250.25,1,2.25,4,6.25,9,12.250.25,1,2.25,4,6.25,9,12.25, with sum 35. The estimate is 0.52(16+70)=21.5\frac{0.5}{2}(16+70)=21.520.5​(16+70)=21.5. The error has fallen to about 0.17.

A graphing calculator can check the exact integral. In written work, show the formula, the substitution and the final answer to 3 significant figures.

Exam tip

List the heights and state hhh clearly. This earns method marks even if the arithmetic slips.

Go deeperDoubling the strips

For a smooth curve, doubling the number of strips cuts the error to about one quarter. In the example the error fell from 0.67 to 0.17.

With 16 strips it would be near 0.04. The reason is that the total error depends on the square of the strip width.

Note read

Check your recall[14 marks]

5 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.Write down[3 marks]

    Write down the trapezoidal rule for nnn strips between x=ax=ax=a and x=bx=bx=b, including the strip width hhh.

    Show mark schemeHide mark scheme

    Model answer

    h=b−anh=\frac{b-a}{n}h=nb−a​ and ∫aby dx≈h2[(y0+yn)+2(y1+y2+⋯+yn−1)]\int_a^b y\,dx\approx\frac{h}{2}\left[(y_0+y_n)+2(y_1+y_2+\dots+y_{n-1})\right]∫ab​ydx≈2h​[(y0​+yn​)+2(y1​+y2​+⋯+yn−1​)].

    • 1 mark for stating h=b−anh=\frac{b-a}{n}h=nb−a​
    • 1 mark for multiplying the bracket by h2\frac{h}{2}2h​
    • 1 mark for adding the first and last heights once and the middle heights twice
  2. 2.Calculate[3 marks]

    Calculate the trapezoidal estimate of the area when the heights at x=0,1,2,3x=0,1,2,3x=0,1,2,3 are 2, 5, 6 and 3.

    Show mark schemeHide mark scheme

    Model answer

    There are 3 strips with h=1h=1h=1. Estimate =12(1)[(2+3)+2(5+6)]=12(27)=13.5=\frac12(1)\left[(2+3)+2(5+6)\right]=\frac12(27)=13.5=21​(1)[(2+3)+2(5+6)]=21​(27)=13.5.

    • 1 mark for identifying n=3n=3n=3 and h=1h=1h=1
    • 1 mark for substituting the end heights 2 and 3 and the middle heights 5 and 6
    • 1 mark for obtaining 13.5
  3. 3.Explain[2 marks]

    Explain why the middle heights are counted twice in the trapezoidal rule.

    Show mark schemeHide mark scheme

    Model answer

    Each middle height is shared by two neighbouring trapezia, so it appears in the area of both. The first and last heights belong to only one trapezium.

    • 1 mark for stating that each middle height belongs to two neighbouring strips
    • 1 mark for stating that the end heights belong to only one strip
  4. 4.Calculate[4 marks]

    Calculate the trapezoidal estimate of ∫02x2 dx\int_0^2 x^2\,dx∫02​x2dx using 2 strips, and deduce whether it is an overestimate or an underestimate, given that the exact value is 83\frac{8}{3}38​.

    Show mark schemeHide mark scheme

    Model answer

    With h=1h=1h=1, the heights are 0, 1 and 4. Estimate =12(1)[(0+4)+2(1)]=3=\frac12(1)\left[(0+4)+2(1)\right]=3=21​(1)[(0+4)+2(1)]=3. Since 83≈2.67\frac83\approx2.6738​≈2.67, the estimate of 3 is an overestimate, because the curve bends upwards and the chords lie above it.

    • 1 mark for finding h=1h=1h=1 and the heights 0, 1 and 4
    • 1 mark for obtaining an estimate of 3
    • 1 mark for comparing 3 with 83≈2.67\frac83\approx2.6738​≈2.67
    • 1 mark for deducing an overestimate, since the chords lie above the curve
  5. 5.Describe[2 marks]

    Describe how the estimate from the trapezoidal rule can be made more accurate.

    Show mark schemeHide mark scheme

    Model answer

    Use more strips, so each strip is narrower. The chords then follow the curve more closely and the error becomes smaller.

    • 1 mark for stating that more or narrower strips should be used
    • 1 mark for stating that the chords then follow the curve more closely, reducing the error

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the 2 quick checks in the note above.

3.

Easy·Determine[1 mark]

Determine how many heights are needed for the trapezoidal rule with 6 strips.
Show answer and explanation

Answer: C · Worked explanation

Six strips have seven edges, so seven heights are needed, labelled y0y_0y0​ to y6y_6y6​. The number of heights is always one more than the number of strips. The value 6 confuses the number of heights with the number of strips.
4.

Medium·Calculate[2 marks]

The heights of a curve at x=0,2,4x=0,2,4x=0,2,4 are 1, 3 and 7. Calculate the trapezoidal estimate of the area using 2 strips.
Show answer and explanation

Answer: B · Worked explanation

Here h=2h=2h=2, so the estimate is 22[(1+7)+2(3)]=14\frac22\left[(1+7)+2(3)\right]=1422​[(1+7)+2(3)]=14. The value 11 adds the three heights with no doubling or width. The value 28 leaves out the factor of one half, so it is twice the estimate. Include the width h=2h=2h=2 in the formula before simplifying.
5.

Medium·Calculate[2 marks]

The heights of a curve at x=1,2,3,4,5x=1,2,3,4,5x=1,2,3,4,5 are 2.0, 2.5, 3.5, 3.0 and 2.0. Calculate the trapezoidal estimate of the area.
Show answer and explanation

Answer: D · Worked explanation

There are 4 strips with h=1h=1h=1. The estimate is 12[(2.0+2.0)+2(2.5+3.5+3.0)]=12(4+18)=11.0\frac12\left[(2.0+2.0)+2(2.5+3.5+3.0)\right]=\frac12(4+18)=11.021​[(2.0+2.0)+2(2.5+3.5+3.0)]=21​(4+18)=11.0. The value 22.0 leaves out the factor of one half. The value 6.5 forgets to double the middle heights. The width is h=1h=1h=1, found from the 4 strips between x=1x=1x=1 and x=5x=5x=5. Always state hhh.
6.

Medium·Calculate[2 marks]

The trapezoidal rule gives an estimate of 3 for an integral whose exact value is 83\frac{8}{3}38​. Calculate the percentage error.
Show answer and explanation

Answer: B · Worked explanation

The difference is 3−83=133-\frac83=\frac133−38​=31​. Dividing by the exact value gives 1/38/3=18=12.5%\frac{1/3}{8/3}=\frac18=12.5\%8/31/3​=81​=12.5%. The value 11.1% divides by the estimate instead of the exact value, and 33.3% treats the difference itself as a percentage. Always divide by the exact value, since it is the true value.
7.

Medium·Predict[2 marks]

The curve y=10−x2y=10-x^2y=10−x2 lies above the xxx-axis for 0≤x≤30\le x\le30≤x≤3 and bends downwards. Predict how the trapezoidal estimate compares with the exact area.
Show answer and explanation

Answer: B · Worked explanation

When a positive curve bends downwards, each chord joining two points on it lies below the curve. The trapezia then cover less area than the region, so the estimate is too low. An overestimate would need the curve to bend upwards.
8.

Hard·Calculate[2 marks]

A cyclist’s speed is recorded every 5 s. At t=0,5,10,15t=0,5,10,15t=0,5,10,15 s the speeds are 0,8,10,4 m s−10,8,10,4\,\mathrm{m\,s^{-1}}0,8,10,4ms−1. Calculate the trapezoidal estimate of the distance travelled.
Show answer and explanation

Answer: C · Worked explanation

There are 3 strips with h=5h=5h=5 s. The estimate is 52[(0+4)+2(8+10)]=52(40)=100 m\frac52\left[(0+4)+2(8+10)\right]=\frac52(40)=100\,\mathrm{m}25​[(0+4)+2(8+10)]=25​(40)=100m. The value 110 m adds all four speeds once and multiplies by 5. The value 200 m forgets the factor of one half. The speeds are in m s−1\mathrm{m\,s^{-1}}ms−1 and hhh is in seconds, so the unit is metres.
9.

Hard·Predict[2 marks]

For ∫04x2 dx\int_0^4 x^2\,dx∫04​x2dx, 4 strips give an error of about 0.67 and 8 strips give about 0.17. Predict the error with 16 strips.
Show answer and explanation

Answer: B · Worked explanation

For a smooth curve, doubling the strips cuts the error to about one quarter. Going from 4 to 8 strips took 0.67 to 0.17, so 16 strips should give about 0.17÷4≈0.040.17\div4\approx0.040.17÷4≈0.04. The value 0.08 assumes the error only halves, which is not what the pattern shows.
10.

Hard·Calculate[2 marks]

The heights of y=x2y=x^2y=x2 at x=1,2,3,4x=1,2,3,4x=1,2,3,4 are 1, 4, 9 and 16. Calculate the trapezoidal estimate of ∫14x2 dx\int_1^4 x^2\,dx∫14​x2dx and compare it with the exact value 21.
Show answer and explanation

Answer: A · Worked explanation

Here h=1h=1h=1, so the estimate is 12[(1+16)+2(4+9)]=12(43)=21.5\frac12\left[(1+16)+2(4+9)\right]=\frac12(43)=21.521​[(1+16)+2(4+9)]=21​(43)=21.5. This is above 21 because the curve bends upwards, so the chords lie above it. The value 43 forgets the factor of one half. The rule is exact only for straight lines, not for every polynomial.

Keep going

Next topic5.9 Differentiation rules and related ratesPrevious topic5.7 Optimization

More in Topic 5 · Calculus

  1. 5.4Tangents and normalsNotes · 10 questions
  2. 5.5Introduction to integrationNotes · 10 questions
  3. 5.6Stationary pointsNotes · 10 questions
  4. 5.7OptimizationNotes · 10 questions
  5. 5.8Trapezoidal ruleNotes · 10 questions
  6. 5.9Differentiation rules and related ratesNotes · 9 questions· HL only
  7. 5.10Second derivativesNotes · 10 questions· HL only
  8. 5.11Further integrationNotes · 10 questions· HL only
  9. 5.12Areas and volumes of revolutionNotes · 10 questions· HL only

All IB Mathematics: Applications and Interpretation topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by IB Diploma Programme or any exam board.

On this page

0/5 read

  1. 1Some areas cannot be found by integrating exactly
  2. 2The trapezoidal rule replaces the curve with straight chords
  3. 3The formula counts end heights once and middle heights twice
  4. 4The shape of the curve decides whether the estimate is high or low
  5. 5More strips give a closer estimate
  6. Check your recall
  7. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe

Chords under a parabola

y01234051015x
  • Curve y = x²
  • Chords