Integration Web
Integration Web
Numerical Integration
Quadrature
1
11/28/2007
Newton-Cotes Quadrature
(quadrature based on polynomial interpolation)
2
11/28/2007
b ∫ f ( x )dx
a
f(x)
I = ∫ f ( x )dx y
Where:
f(x) is the integrand
a= lower limit of integration
b= upper limit of integration
a b x
3
11/28/2007
4
11/28/2007
5
11/28/2007
6
11/28/2007
7
11/28/2007
8
11/28/2007
9
11/28/2007
b x2 x4
∫ f ( x )dx = ∫ f ( x )dx + ∫ f ( x )dx + .....
a x0 x2
. . .
x2 M
+ ∫ f ( x)dx x
. x 2 M −2 x0 x2 x2M x2M
-2
b
⎡ f ( x0 ) + 4 f ( x1 ) + f ( x2 )⎤
∫ f ( x )dx = ( x2 − x0 )⎢ ⎥⎦ + ...
a ⎣ 6
⎡ f ( x2 M − 2 ) + 4 f ( x2 M −1 ) + f ( x2 M ) ⎤
+ ( x2 M − x 2 M − 2 ) ⎢ ⎥⎦
⎣ 6
xi − xi − 2 = 2 h
⎡ f ( x2 M − 2 ) + 4 f ( x2 M −1 ) + f ( x2 M ) ⎤
+ 2h ⎢ ⎥⎦
⎣ 6
b
∫ f ( x )dx =
h
[ f ( x0 ) + 4{ f ( x1 ) + f ( x3 ) + ... + f ( x2 M −1 )}+ ...]
a 3
... + 2{ f ( x2 ) + f ( x4 ) + ... + f ( x2 M − 2 )}+ f ( x2 M )}]
⎡ ⎤
h⎢M
= ∑ ( f ( x2i −2 ) + 4 f ( x2i −1 ) + f ( x2i ) )⎥⎥
3 ⎢ i =1
⎣⎢ ⎦⎥
10
11/28/2007
Recursive Rules
11
11/28/2007
12
11/28/2007
13
11/28/2007
Romberg Integration
recall that
14
11/28/2007
Romberg Integration
The pattern for integration rules of increasing accuracy is of the form:
.....
15
11/28/2007
16
11/28/2007
17
11/28/2007
Gauss Quadrature
18
11/28/2007
b
∫ f ( x )dx ≅ c1 f ( a ) + c 2 f ( b )
a
b−a b−a
= f(a)+ f (b)
2 2
b
I = ∫ f ( x )dx ≈ c1 f ( x1 ) + c 2 f ( x 2 )
a
19
11/28/2007
20
11/28/2007
21
11/28/2007
22