Integration - The Trapezium Rule / Trapezoidal Rule or Trapezoid Rule

The area between a function and the x-axis can be calculated by integration provided that the function in question can be integrated by known techniques. Sometimes we come across functions which cannot be integrated, though. In such situations, we use the Trapezium Rule to deal with it. The Trapezium Rule never gives the exact area, but an approximate value of the area.

The technique involves the division of the area into a finite number of steps of equal width. If the width is narrow enough, each strip can be treated as a trapezium.

Trapezium Rule General

Suppose the area under the curve is divided into four strips of equal width h; the shape of each strip is nearly a trapezium. So, let's calculate the area of each trapezium.

A1 = h/2 [f(a) + f(p)]
A2 = h/2 [f(p) + f(q)]
A3 = h/2 [f(q) + f(r)]
A4 = h/2 [f(r) + f(b)]

So, Total Area = h/2 [ f(a) + 2f(p) + 2f(q) + 2f(r) + f(b)]

If there are n number of strips of width h, the formula simply takes the following form:

Area = h/2 [ f(a) + 2f(1) + 2f(2) + 2f(3) + 2f(4) + ...... + 2f(n - 1) + f(b) ]

h = (b - a)/n

In order to maximize the accuracy, the number of strips must be increased. It can, however, make the calculations a bit more cumbersome.




Find the area under the curve, y = x2 + 2, between x = 2 and x = 6.

Trapezium Rule - quadratic curve

Let's divide the area into four equal strips and do the calculations first.
So, h = (6 -2)/4 = 1
A = 1/2[ f(2) + 2f(3) + 2f(4) + 2f(5) + f(6)]
= 1/2[6 + 2(11) + 2(18) + 2(27) + 38]
= 1/2[6 + 22 + 36 + 54 + 38]
= 1/2[156] = 78

Now, let's use integration to find the exact area under the curve between x = 2 and x = 6.

Area by integration - quadratic curve

A = 26 (x2 + 2)dx
= [ x3/3 + 2x]26
= [216/3 + 2X6] - [8/3 + 2X2]
= 77.3

The value of the real area is significantly lower than that we got from the trapezium rule. This is because the strips that we use are not thin enough for a greater accuracy. In short, it was an over estimate.


Calculate the area between x=1 and x= 3 of the curve, y = √x2+1 and the x-axis.

Let's use the following formula to work out the area:

So, Total Area = h/2 [ f(a) + 2f(p) + 2f(q) + 2f(r) + f(b)]


Trapezium Rule -worked example


In this case, let's use four strips. Therefore, the width of each strip, h, is 0.5. The following table summarizes the f(x) values:


So, the total area of the strips = (0.5/2)[ 1.41 + 2 X 1.58 + 2 X 2.34 + 2 X 2.69 + 3.16 ] = 4.4475

The following animation shows the real area under the curve:


Trapezium Rule -worked example




Error in the Calculation of Areas

As you can see, the area from the Trapezium Rule is slightly less than the real value, given by integration as shown in the animation.

It is important to be aware of the inevitable errors when we use the Trapezium Rule. The following animation clearly shows it.

Trapezium Rule - errors


An Animation on the Trapezium Rule

animation of trapezium rule






Resources at Fingertips

This is a vast collection of tutorials, covering the syllabuses of GCSE, iGCSE, A-level and even at undergraduate level. They are organized according to these specific levels.
The major categories are for core mathematics, statistics, mechanics and trigonometry. Under each category, the tutorials are grouped according to the academic level.
This is also an opportunity to pay tribute to the intellectual giants like Newton, Pythagoras and Leibniz, who came up with lots of concepts in maths that we take for granted today - by using them to serve mankind.


Stand Out - from the crowd


"There's no such thing as a free lunch."

The best things in nature are free with no strings attached - fresh air, breathtakingly warm sunshine, scene of meadow on the horizon...

Vivax Solutions, while mimicking nature, offers a huge set of tutorials along with interactive tools for free.

Please use them and excel in the sphere of science education.

Everything is free; not even registration is required.






Recommended Reading


Maths is challenging; so is finding the right book. K A Stroud, in this book, cleverly managed to make all the major topics crystal clear with plenty of examples; popularity of the book speak for itself - 7th edition in print.

amazon icon Amazon Ad