Professional Documents
Culture Documents
TECHNIQUES OF INTEGRATION
Contents
Integration by parts
Approximate Integration
Improper Integrals
exercises
• Find the most general antiderivatives of the
functions:
• f(x)= x2lnx
• f(x)= xe-3x
• f(x) = -x sin3x
• f(x) = (lnx)2
TECHNIQUES OF INTEGRATION
Approximate Integration
æ f ( xi -1 ) + f ( xi ) ö Dx
Dx ç ÷ = [ f ( xi -1 ) + f ( xi )]
è 2 ø 2
b
ò
a
f ( x) dx » Tn =
Dx
= [ f ( x0 ) + 2 f ( x1 ) + 2 f ( x2 ) +... + 2 f ( xn-1 ) + f ( xn ) ]
2
• where ∆x = (b – a)/n and xi = a + i ∆x
APPROXIMATE INTEGRATION
• ò1
(1/ x) dx
with n = 5, using:
a. Trapezoidal Rule
• b. Midpoint Rule
APPROXIMATE INTEGRATION
• With n = 5, a = 1 and b = 2,
we have: ∆x = (2 – 1)/5 = 0.2
2 1 0.2
ò1 x
dx » T5 =
2
[ f (1) + 2 f (1.2) + 2 f (1.4)
2 1
ò1 x
dx » Dx [ f (1.1) + f (1.3) + f (1.5)
+ f (1.7) + f (1.9)]
1æ 1 1 1 1 1 ö
= ç + + + + ÷
5 è 1.1 1.3 1.5 1.7 1.9 ø
» 0.691908
APPROXIMATE INTEGRATION
• In Example 1, we deliberately chose
an integral whose value can be computed
explicitly so that we can see how accurate
the Trapezoidal and Midpoint Rules are.
– By the FTC,
2 1
ò1 x
dx = ln x]12 = ln 2 = 0.693147...
APPROXIMATE INTEGRATION
• From the values in Example 1, we see that
the errors in the Trapezoidal and Midpoint Rule
approximations for n = 5 are:
ET ≈ – 0.002488
EM ≈ 0.001239
APPROXIMATE INTEGRATION
• In general, we have:
b
ET = ò f ( x) dx - Tn
a
b
EM = ò f ( x) dx - M n
a
ERROR BOUNDS Estimate 3
K (b - a)3 K (b - a)3
ET £ 2
and EM £ 2
12n 24n
SIMPSON’S RULE
• This is called Simpson’s Rule—after
the English mathematician Thomas
Simpson (1710–1761).
SIMPSON’S RULE
b
ò
a
f ( x) dx » Sn
Dx
= [ f ( x0 ) + 4 f ( x1 ) + 2 f ( x2 ) + 4 f ( x3 )
3
+ ... + 2 f ( xn - 2 ) + 4 f ( xn -1 ) + f ( xn )]
• where n is even and ∆x = (b – a)/n.
APPROXIMATE INTEGRATION
• This means that the area under the parabola through P0,
P1, and P2 from x = x0 to x = x2 is still:
h
( y0 + 4 y1 + y2 )
3
ERROR BOUND (SIMPSON’S RULE)
• Suppose that | f (4)(x) | ≤ K for a ≤ x ≤ b.
K (b - a) 5
Es £ 4
180n
SIMPSON’S RULE Example 4
2
ò1
(1/ x) dx
SIMPSON’S RULE Example 4
• Putting f(x) = 1/x, n = 10, and ∆x = 0.1 in
Simpson’s Rule, we obtain:
2 1 Dx
ò
1 x
dx » S10 =
3
[ f (1) + 4 f (1.1) + 2 f (1.2) + 4 f (1.3)
Improper Integrals
b b
ò -¥
f ( x) dx = lim ò f ( x) dx
t ®¥ t
¥ a ¥
ò -¥
f ( x) dx = ò f ( x) dx + ò f ( x) dx
-¥ a
– Convergent if p > 1
– Divergent if p ≤ 1
IMPROPER INTEGRAL OF TYPE 2
• If f is continuous on [a, b) and is discontinuous at b, then
• b t
òa
f ( x) dx = lim- ò f ( x) dx
t ®b a