

















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


















12 10 8 6 4 2 0
3
5
7
9
11
13
15
Idea is to do integral in small parts, like the way youfirst learned integration - a summationNumerical methods just try to make it faster andmore accurate
Trapezoidal Rule : Linear
Simpson’s 1/3-Rule : Quadratic
Simpson’s 3/8-Rule : Cubic
Boole’s Rule : Fourth-order
midpoint rule
1
0
1 1 0 0 i 1
0 i
i
b a
=
x
x
x
f(x)
L(x)
h^3
) x ( f c ) x ( f c ) x ( f c ) x ( f c
dx ) x ( f
2
1
0
2 2 1 1 0 0 i 2
0 i
i
b a
=
x
x
x
f(x)
x
h
h
L(x)
h 3 8
)
f(x
c
)
f(x
c
)
f(x
c
)
f(x
c ) x ( f c
dx ) x ( f
3
2
1
0
3 3 2 2 1 1 0 0 i
3 0 i
i
b a
=
=
≈
=
x
x
x
f(x)
x
h
h
L(x)
x
h
3
m
b a
η
a
b
x
f(x)
xm
Two-Two
-point Newton
point Newton-
-Cotes Open
Cotes Open
FormulaFormula
[
]
)
(
f
108
) a b ( ) x ( f ) x ( f 2
a
b
dx ) x ( f
3
2
1
b a
η ′′
− + + − ≈ ∫
x
x
x
f(x)
x
h
h
x
h
Better Numerical IntegrationBetter Numerical Integration
Composite Trapezoidal Rule
Composite Simpson’s Rule
7 6 5 4 3 2 1 0 3
5
7
9
11
13
15
Two segments 7 6 5 4 3 2 1 03
5
7
9
11
13
15
Four segments
7 6 5 4 3 2 1 0 3
5
7
9
11
13
15
Many segments 7 6 5 4 3 2 1 03
5
7
9
11
13
15
Three segments
Composite Trapezoid RuleComposite Trapezoid Rule
(^40)
x 2
∫
[
]
[
]
[
]
[
]
[
]^
% (^66). 2
(^95).
5355
) 4 ( f
)
(^75). 3 ( f 2
) (^5). 3 ( f 2
) (^5). 0 ( f 2
)
(^25). 0 ( f 2 ) 0 ( f
h^2
I
(^25). 0
h ,
16
n
% (^50).
10
(^76).
5764
) 4 ( f
) (^5). 3 ( f 2
) 3 ( f 2 )
(^5). 2 ( f 2 ) 2 ( f 2 )
(^5). 1 ( f 2
) 1 ( f 2 )
(^5). 0 ( f 2 ) 0 ( f
h^2
I
(^5). 0
h , 8
n
% (^71).
39
(^79).
7288
) 4 ( f ) 3 ( f 2
) 2 ( f 2 ) 1 ( f 2 ) 0 ( f
h 2
I
1
h, 4
n
% (^75).
132
(^23).
12142
) 4 ( f ) 2 ( f 2 ) 0 ( f
h^2
I
2
h, 2
n
% (^12).
357
(^66).
23847
) 4 ( f ) 0 ( f
h 2
I 4 h , 1 n
=
=
=
− = = + + = ⇒ = = − = = + = ⇒ = = ε ε ε ε ε L
Composite Trapezoid Rule with UnequalComposite Trapezoid Rule with Unequal
SegmentsSegments
1
2
3
4
(^40)
x 2
∫
[
]
[
]
[
]
[
]
[
]
[
]
[
]
[
]
3e
8
7
7
6
6
4
4
4
3
2
1
4 (^5). 3
(^5). (^33)
(^32)
(^20)
∫
∫
∫
∫
e
e
e
e
e
e
f f h f f h
f f h f f h
dx x
f
dx x
f
dx x
f
dx x
f
[
]
[
]
[
]
[
] ) x ( f ) x ( f 4 ) x ( f 2 )
4f(x
) x ( f 2 )
f(x 4
2f(x
f(x 4
2f(x
f(x 4
f(x
h^3
f(x
4f(x
f(x
h 3
f(x
f(x 4
f(x
h^3
f(x
f(x 4
f(x
h^3
f(x)dx
f(x)dx
f(x)dx
f(x)dx
n
1 n
2 n
1
2i
i 2
(^1) - 2i
4
3
2
1
0
n
1 n
2 n
4 3 2 2 1 0
x x
x x
x x
b a
n
2 n
(^42)
(^20)
−
−
−
−
∫
∫
∫
∫
−
Composite Simpson’^ Composite Simpson
’s Rule
s Rule
Composite Simpson’Composite Simpson
’s Rule
s Rule
(^40)
x 2
∫
[
]
[
]
e 4 ) e 3 ( 4 ) e 2 ( 2 ) e ( 4 0
) 4 ( f ) 3 ( f 4 ) 2 ( f 2 ) 1 ( f 4 ) 0 ( f
h^3
8
6
4
2
[
]
[
]
%
(^96).
57
(^411).
8240
e 4 ) e 2 ( 4 0
2 3
) 4 ( f ) 2 ( f 4 ) 0 ( f
h 3
I
8
4
− = ⇒ = + + =
=
ε