To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
The technical storage or access that is used exclusively for statistical purposes.
The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Trapezium 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.
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.
E.g.1
Find the area under the curve, y = x2 + 2, between x = 2 and x = 6.
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.
A = 2∫6 (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.
E.g.2
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)]
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 – interactive
In the following applet, you can change the number of stripes, n, and see how it affects the area under the curve; the more stripes there are, the greater the accuracy.
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 TUTORIAL
Assignment
ASSIGNMENT : TRAPEZIUM RULE ASSIGNMENT MARKS : 50 DURATION : 3 days