Professional Documents
Culture Documents
The trapezium rule: It is a numerical method used to estimate the area under
a curve or to estimate the value of an integral where Calculus can’t be
applicable.
Therefore the error in the value obtained by trapezium rule = value obtained
by calculus –value by trapezium rule. Consider a function y f (x) , if the area
under the curve is divided into equal trapezoids each of width, h
Y=f(x)
y5
y4
y3
y2
A3 A4
y1 A1 A2
a=x1 x2 x3 x4 x5=b x
A1
y1 y2
h
𝑏
Total area =∫𝑎 𝑓(𝑥)𝑑𝑥= A1 A2 A3 A4
1
A1 h( y1 y2 )
2
1
A1 h( y2 y3 )
2
1
A3 h( y3 y4 )
2
1
A4 h( y4 y5 )
2
= hy1 y5 2( y2 y3 y4 )
1
2
Note:
Example 1:
1
a) Use trapezium rule with 5 subintervals to estimate 5 dx , and give your
2x
5
2x
b) i) Find the exact value of the dx correct to 3 decimal places
0
0 1
0.2 1.9036
0.4 3.6239
0.6 6.8986
0.8 13.1327
1 25
Sub-totals 26 51.1176
1
dx = (0.2)26 2(51.1176)
1
5
2x
Then
0
2
=7.71176
7.712
1
1 5
2x
5
2
1
5
2x
7.456
b) i) dx =
2 ln 5 =
2 ln 5 2 ln 5
0
0
Example:
Use trapezium rule with 6 ordinates to estimate
0
3
tan xdx correct to 3
decimal places
soln
0
h 3 =
6 1 15
x y
0 0
0.2126
15
2 0.4452
15
3 0.7263
15
4 1.1106
15
1.7321
3
Sub-totals 1.7321 2.4947
1
3
tan xdx = 1.732 22.4947 0.703873 0.704
0 2 15
ASSIGNMENT 7.1.10
1. (a) Use trapezium rule with six strips to estimate x sin xdx correct to 2dp.
0