Trapezium Rule

01Trapezium Rule

Trapezium Formula

This section covers the trapezium rule, its notation and how adjacent trapezia give the formula.

Approximating an integral

The trapezium rule replaces short sections of a curve by straight lines and adds the resulting trapezium areas to approximate an integral. It provides a numerical estimate when the integral cannot be evaluated exactly by the usual methods.

For y=f(x)y=f(x) on [a,b][a,b], use nn equal-width strips. The heights at the strip boundaries are y0,y1,…,yny_0,y_1,\ldots,y_n.

∫aby dx≈h2[y0+yn+2(y1+⋯+yn−1)]\begin{aligned}\int_a^b y\,\mathrm{d}x&\approx\frac{h}{2}\bigl[y_0+y_n\\&\qquad+2(y_1+\cdots+y_{n-1})\bigr]\end{aligned} h=b−anh=\frac{b-a}{n}
xy0y=f(x)y0y1y2y3y4a=x0x1x2x3x4=bhhhh
Four equal strips need five heights; hh measures the horizontal spacing.

Why the interior heights are doubled

The first trapezium has area h2(y0+y1)\frac{h}{2}(y_0+y_1); the next has area h2(y1+y2)\frac{h}{2}(y_1+y_2).

  • The two end heights, y0y_0 and yny_n, are each used once.
  • Every interior height is shared by two adjacent trapezia, so it is counted twice.
  • The list of boundary heights contains one more value than the number of strips.

The estimate is the area of the trapezia, not the exact area under the curved boundary. Use ≈\approx when equating it to the integral.

Create a free account to continue

Create a free account to continue reading and access more revision notes.