Professional Documents
Culture Documents
Chapter 3
TECHNIQUES OF INTEGRATION
(Page 261-330, Calculus Volume 2)
MAE101
CONTENT
3.1 Integration by Parts
TECHNIQUES OF INTEGRATION
INTEGRATION BY PARTS
ò f ( x) g '( x) dx = f ( x) g ( x) - ò g ( x) f '( x) dx
Let u = f(x) and v = g(x).
Then, the differentials are:
du = f’(x) dx and dv = g’(x) dx
INTEGRATION BY PARTS
b b
f ( x) g '( x) dx f ( x) g ( x) a g ( x) f '( x) dx
b
a a
INTEGRATION BY PARTS
Example 1
INTEGRATION BY PARTS
Example 1
Let u x dv sin x dx
Then, du dx v cos x
Using Formula 2, we have:
u dv u v v du
INTEGRATION BY PARTS
Example 2
Evaluate I= ∫ ex sinx dx
INTEGRATION BY PARTS
Example 2
Nevertheless, we try choosing
u = ex and dv = sin x
INTEGRATION BY PARTS
Example 2
INTEGRATION BY PARTS
Example 2
INTEGRATION BY PARTS
Example 2
This time, we use
u = ex and dv = cos x dx
sin x dx
x x x
e cos x dx e sin x e
INTEGRATION BY PARTS
Example 2
we get:
sin x dx
x x x x
e sin x dx e cos x e sin x e
INTEGRATION BY PARTS
Example 2
INTEGRATION BY PARTS
Example 2
Example 3
a 4/5
b 5/4
c 1
d None of the others
e -1
Example 4
3.6
Numerical Integration
Midpoint Method
f(x)
∆x
x1 x2 x3 x n
b
f ( x)dx x[ f ( x ) f ( x
a
1 2 ) ... f ( x n )]
Trapezoidal Method
x x
b
a
f ( x)dx
2
[ f ( x0 ) f ( x1 )] ... [ f ( xn 1 ) f ( xn )]
2
x
[ f ( x0 ) 2 f ( x1 ) ... 2 f ( xn1 ) f ( xn )]
2
Mathematics for Engineering
ĐẠI HỌC FPT CẦN THƠ
Simpson Method
x x
b
f ( x)dx
a
3
[ f ( x0 ) 4 f ( x1 ) f ( x2 )] ... [ f ( xn2 ) 4 f ( xn1 ) f ( xn )]
3
x
[ f ( x0 ) 4 f ( x1 ) 2 f ( x2 ) ... 4 f ( xn1 ) f ( xn )]
3
Mathematics for Engineering
ĐẠI HỌC FPT CẦN THƠ
Example
ò
2
Approximate the integral (1/ x) dx
with n = 8, using: 1
a. Left/Right endpoints
b. Midpoints
c. Trapezoidal method
d. Simpson method
K (b - a) 3
K (b - a) 3
ET £ and EM £
12n2 24n2
K (b - a)5
Es £
180n 4
Example
How large should we take n in order to guarantee
that the Trapezoidal, Midpoint Rule, Simpson rule
approximations for
ò
2
(1/ x) dx
1
are accurate to within 0.0001?
| f’’(x) | ≤ 2 for 1 ≤ x ≤ 2
Accuracy to within 0.0001 means that error < 0.0001
3
Trapezoidal: Choose smallest n so that: 2(1)
< 0.0001
n = 41
2
12n
3
2(1)
Midpoint:
2
< 0.0001 n = 30
24n
24
Simpson: f (4) ( x) = £ 24
x 5
24(1)5
4
< 0.0001 n=8
180n
TECHNIQUES OF INTEGRATION
Definition
t
If ò
a
f ( x) dx exists for every number t ≥ a, then
¥ t
òa
f ( x) dx = lim ò f ( x) dx
t ®¥ a
Definition
b
If ò
t
f ( x) dx exists for every number t ≤ a, then
b b
f ( x) dx lim f ( x) dx
t t
Definition
¥ b
The improper integrals
are called:
òa
f ( x) dx and ò-¥
f ( x) dx
Definition
¥ a
If both ò a
f ( x) dx and ò
-¥
f ( x) dx are convergent,
then we define:
¥ a ¥
ò
-¥
f ( x) dx = ò f ( x) dx + ò f ( x) dx
-¥ a
Example 1
¥ 1
For what values of p is the integral ò
1 x p
dx convergent?
Convergent if p > 1
Divergent if p ≤ 1
Example 2
x e
2 x3
dx
(a)
x e
2 x3
(b) dx
Definition
b
The improper integral òa
f ( x) dx is called:
Definition
If f has a discontinuity at c, where a < c < b, and
c b
both ò
a
f ( x) dx and ò
c
f ( x) dx are convergent, then we
b c b
define: ò
a
f ( x) dx = ò f ( x) dx + ò f ( x) dx
a c
Example 1
is divergent.
Note: A similar theorem is true for Type II integrals Mathematics for Engineering
ĐẠI HỌC FPT CẦN THƠ
Example
| cos(x ) | dx
Does I 1 x 2
converge?
We have,
| cos(x ) | 1
0 2
2
x x
dx
and 2 converges
1
x
→ I converges.
Example
Investigate the convergence of the improper integrals
x2
(a)
1
x
dx
x2
(b) 1
x 3
dx
e
x2
(c) dx
0