Professional Documents
Culture Documents
Techniques of Integration
Techniques of Integration
3.1
Integration by Parts
Find ∫ x sin x dx
INTEGRATION BY PARTS
Example 1
Let
Then,
Evaluate ∫ ex sinx dx
a 4/5
b 5/4
c 1
d None of the others
e -1
INTEGRATION BY PARTS
Example 4
3.6
Numerical Integration
Numerical Integration
Left
Left endpoint
endpoint Method
Method
Right
Right endpoint
endpoint Method
Method
Midpoint
Midpoint Method
Method
f(x)
∆x
x1 x2 x3 x n
b
f ( x)dx x[ f ( x ) f ( x
a
1 2 ) ... f ( x n )]
Numerical Integration
Trapezoidal
TrapezoidalMethod
Method
b
x x
a
f ( x)dx
2
[ f ( x0 ) f ( x1 )] ...
2
[ f ( xn 1 ) f ( xn )]
x
[ f ( x0 ) 2 f ( x1 ) ... 2 f ( xn 1 ) f ( xn )]
2
Numerical Integration
Simpson
SimpsonMethod
Method
b
x x
a
f ( x)dx
3
[ f ( x0 ) 4 f ( x1 ) f ( x2 )] ... [ f ( xn 2 ) 4 f ( xn 1 ) f ( xn )]
3
x
[ f ( x0 ) 4 f ( x1 ) 2 f ( x2 ) ... 4 f ( xn 1 ) f ( xn )]
3
Numerical Integration
Example
with n = 8, using:
a. Left/Right endpoints
b. Midpoints
c. Trapezoidal method
d. Simpson method
Numerical Integration
Estimate
Estimateerror
errorfor
forMidpoint
Midpoint and
andTrapezoidal
Trapezoidalmethod
method
Estimate
Estimateerror
errorfor
forSimpson
Simpsonmethod
method
Example
How large should we take n in order to guarantee
that the Trapezoidal, Midpoint Rule, Simpson rule
approximations for
| f’’(x) | ≤ 2 for 1 ≤ x ≤ 2
Accuracy to within 0.0001 means that error < 0.0001
Trapezoidal: Choose smallest n so that:
n = 41
Midpoint: n = 30
Simpson:
n=8
TECHNIQUES OF INTEGRATION
3.7
Improper Integrals
b b
f ( x) dx lim f ( x) dx
t t
Convergent if p > 1
Divergent if p ≤ 1
IMPROPER INTEGRAL OF TYPE 1
Example 2
x e
• (a) 2 x3
dx
x e
2 x3
• (b) dx
IMPROPER INTEGRAL OF TYPE 2
Definition
If f is continuous on [a, b) and is discontinuous at b, then
If is convergent, then
is convergent.
If is divergent, then
is divergent.
We have,
| cos( x ) | 1
0 2
2
x x
dx
and 2 converges
1
x
→ I converges.
COMPARISON THEOREM
Example
Investigate the convergence of the improper integrals
x2
(a) 1
x
dx
x2
(b)
1
x 3
dx
e
(c) x2
dx
0
Thanks