Menu
Sign up Sign in

AI SL · 13.5

Integration

13.5.8

The trapezium rule with data, and its error

13.5.8

The trapezium rule with data, and its error

Target: I can estimate an area from measured depths, widths or heights at equal intervals. (+4 more)

By the end of this section

Key points

Measured data

  • A river bed, a lake or a tunnel is measured at equal spacing. The spacing is h. The measurements are the y-values.
  • Where the edge of a lake or river meets the bank, the measurement is 0. Both ends can be 0.
  • Always sketch the region and mark the measurements. It shows which values are ends and which are in the middle.
  • Give the answer with its unit: m² for an area.

Region between two edges

  • For a region between a top edge and a bottom edge, apply the rule to each edge and subtract: area = (area under top) − (area under bottom).
  • Both edges use the same x-values, so h is the same for both.

Too large or too small?

  • Each strip's top is a straight chord. Where the curve is concave down (it bends away from the chord), the chord lies below the curve: the estimate is an underestimate.
  • Where the curve is concave up, the chord lies above the curve: the estimate is an overestimate.
  • Say it with a reason: "the curve is concave down, so the trapeziums lie below it and the estimate is too small".

Percentage error

  • \(\text{percentage error}=\dfrac{|\text{estimate}-\text{exact}|}{\text{exact}}\times 100\%\).
  • Find the exact value of the integral with your calculator. Divide by the exact value, not by the estimate.
  • A square-root function is concave down, so the rule gives an underestimate.

On the calculator

Table of values

  • Enter the function as f(x) on a graphs page, then open the table of values. Or put the x-values in a list and the formula in the next column.
  • Read each y-value from the table. Do not round until the end of the working.
  • Type the whole bracket on a calculator page, or add the values from the table by hand.

Screenshot and video to come

The value of an integral

  • On a calculator page, use the definite integral template. Enter the function, x, and the two limits.
  • Use it to check a trapezium estimate: the two values should be close.
  • The trapezium estimate is only an approximation. The calculator value is the one to compare it with.

Screenshot and video to come

Explore: the trapezium rule

Choose a function and the limits a and b. Change the number of strips n and compare the estimate with the calculator value. Or add the strips one at a time.

Trapezium estimate
Calculator value
Percentage error
xyTimes used

Both ends once, the middle values twice. The working shows y to 3 decimal places; the estimate uses more.

Change n to see the estimate move.

  1. Set n = 1, then n = 2, then n = 4. What happens to the estimate and to the percentage error? Why?
  2. For which functions is the estimate too big, and for which too small? What do those curves look like between the chords?
  3. In the table, why are the first and last y-values used once but the others twice?

Worked examples

Problems like the ones in class. Pick one, try it, then open the working.
A table and a graph

The graph shows part of \(y=f(x)\). The table gives some values of \(f(x)\). x: 1.5, 2, 2.5, 3, 3.5 y: 1.7, 3.3, 4.2, 3.5, 1.9 Estimate the area between the graph and the x-axis, from x = 1.5 to x = 3.5.

1.522.533.512345xy
Working
  1. Strip width

    h = 0.5

    The x-values are 0.5 apart, so each strip is 0.5 wide. There are 4 strips.

  2. The rule

    \(\tfrac12(0.5)[(1.700+1.900)+2(3.300+4.200+3.500)]\) = 6.400

    Both ends once, the middle values twice. The y-values are given, so there is no table to build.

  3. Answer

    ≈ 6.40

    Dashed lines mark the five y-values. Four strips.

Video walkthrough coming
A pond from its widths

The width of a pond is measured every 4 m along its length. The widths are 0, 6.2, 9.8, 11.4, 7.7 and 0 m. Estimate the area of the pond.

5101520−6−4−2246length (m)
Working
  1. Strips

    h = 4

    The widths are measured 4 m apart. Five strips.

  2. The rule

    \(\tfrac12(4)[(0+0)+2(6.200+9.800+11.40+7.700)]\) = 140.4

    Both ends are 0, because the pond has no width there. Only the middle widths are counted, twice.

  3. Answer

    ≈ 140 m²

    Area, so square metres.

Video walkthrough coming
A square-root function

Use the trapezium rule with 4 strips to estimate \(\int_{2}^{6} \sqrt{3x-5}\,dx\).

Working
  1. Strip width

    \(h=\dfrac{6-2}{4}=1\)

    The interval is cut into 4 equal strips.

  2. Table of values

    x: 2, 3, 4, 5, 6; y: 1.000, 2.000, 2.646, 3.162, 3.606

    4 strips need 5 y-values. Keep 4 significant figures in the table.

  3. The rule

    \(\tfrac12(1)[(1.000+3.606)+2(2.000+2.646+3.162)]\) = 10.11

    Both ends once, the middle values twice, then ½h.

  4. Answer

    ≈ 10.1

    Give 3 significant figures. Check the first value: for x = 2, 3 × 2 − 5 = 1, so y = 1.

Video walkthrough coming
A field on a map

A field is drawn on a map. Points on its top edge are (10, 88), (20, 101), (30, 94), (40, 108), (50, 99), (60, 90). Points on its bottom edge are (10, 42), (20, 36), (30, 44), (40, 39), (50, 45), (60, 40). Distances are in metres. Estimate the area of the field.

10203040506020406080100120east (m)north (m)
Working
  1. Strips

    h = 10

    The x-values are 10 m apart. Five strips.

  2. Under the top edge

    \(\tfrac12(10)[(88.00+90.00)+2(101.0+94.00+108.0+99.00)]\) = 4910

    Apply the rule to the top y-values.

  3. Under the bottom edge

    \(\tfrac12(10)[(42.00+40.00)+2(36.00+44.00+39.00+45.00)]\) = 2050

    The same h, with the bottom y-values.

  4. Subtract

    4910 − 2050 = 2860 ≈ 2860 m²

    The field is the area under the top edge minus the area under the bottom edge.

Video walkthrough coming
Over or under?

The trapezium rule with 3 strips is used to estimate \(\int_1^4 \frac{6}{x}\,dx\). (a) Find the estimate. (b) Say whether it is an overestimate or an underestimate, and give a reason.

11.522.533.541234567xy
Working
  1. The rule

    h = 1: \(\tfrac12(1)[(6.000+1.500)+2(3.000+2.000)]\) = 8.750

    Part (a): the estimate with 3 strips.

  2. Look at the curve

    The curve is concave up.

    It is steep on the left and flattens to the right.

  3. The chords

    Each chord lies above the curve.

    A straight line between two points of a concave-up curve is above the curve.

  4. State

    The estimate 8.75 is an overestimate.

    Chords above the curve mean too much area.

Video walkthrough coming
Percentage error

The trapezium rule with 4 strips is used to estimate \(\int_0^5 (5x-x^2)\,dx\). Find the percentage error of the estimate.

Working
  1. Estimate

    h = 1.25; x: 0, 1.25, 2.5, 3.75, 5; y: 0, 4.688, 6.250, 4.688, 0; \(\tfrac12(1.25)[(0+0)+2(4.688+6.250+4.688)]\) = 19.53

    The trapezium rule with 4 strips.

  2. Exact value

    Calculator: \(\int_0^5(5x-x^2)\,dx = 20.83\)

    Use the definite integral on the calculator.

  3. Percentage error

    \(\dfrac{|19.53-20.83|}{20.83}\times100 = 6.25\%\)

    The estimate is below the exact value, because the curve is concave down.

Video walkthrough coming