Beruflich Dokumente
Kultur Dokumente
Lesson 19
Wang Fei
matwf@nus.edu.sg
Department of Mathematics
Office: S14-02-09
Tel: 6516-2937
1
Chapter 6:
Inverse Functions and
Techniques of Integration 2 / 20
Substitution Rule
• Substitution Rule (2nd Version). Let f be a continuous function, and x = g(t) be a
differentiable function.
◦ If g ′ isZ continuous, Z
◦ then f (x) dx = f (g(t))g ′(t) dt.
Proof. d
Z
dx d
Z
f (x) dx = · f (x) dx
dt dt dx
= g ′(t)f (x) = g ′(t)f (g(t)).
• Remark. Note that the integral in x is converted to an integral in t.
◦ After integration we shall convert the function in t back to a function in x.
◦ So usually it requires x = g(t) to be one to one.
3 / 20
Example
1
Z
• Evaluate dx.
x(1 + x4 )
1 1 dx 1
◦ Let t = . Then x = , and = − 2.
x t dt t
1 − t12 dt t3
Z Z Z
dx = 1 = − dt
x(1 + x4 ) t
(1 + t14 ) 1 + t4
1 d(1 + t4 ) 1
Z
=− = − ln(1 + t4 ) + C
4 1+t 4 4
1 1
= − ln(1 + 4 ) + C.
4 x
Z
• Exercise. Evaluate sec x dx using t = tan(x/2).
Z
1 + tan(x/2)
◦ Answer: sec x dx = ln +C .
1 − tan(x/2)
4 / 20
2
Example
1
Z
• Evaluate dx, n ∈ Z+ .
(1 + x2 )n
1
◦ We have seen that (tan−1 x)′ = .
1 + x2
dx
◦ Let x = tan t, t ∈ (− π2 , π2 ). Then = sec2 t.
dt
1 1
Z Z
dx = · sec2 t dt
(1 + x ) 2 n (1 + tan2 t)n
sec2 t
Z Z
= dt = cos2n−2 t dt.
sec2n t
When n = 1,
◦ Z
1
Z
dx = 1 dt = t + C = tan−1 x + C .
1 + x2
5 / 20
Example
◦ When n = 2,
1 1
Z Z Z
2
dx = cos t dt = (1 + cos 2t) dt
(1 + x2 )2 2
1 1
= t + sin 2t + C
2 4
1 1 2 tan t
= t+ +C
2 4 1 + tan2 t
1 x
= tan−1 x + +C
2 2(1 + x2 )
When n = 3,
◦ Z
1
Z
dx = cos4 t dt = · · · · · · .
(1 + x2 )3 Z
◦ Problem. In general, how to evaluate cosm t dt?
6 / 20
3
Integration by Parts
• Recall the product law for differentiation:
◦ (f (x)g(x))′ = f ′ (x)g(x) + f (x)g ′ (x).
Equivalently it can be written as
Z Z
′
◦ f (x)g(x) = f (x)g(x) dx +f (x)g ′ (x) dx.
Z Z
Or f (x)g (x) dx = f (x)g(x) − f ′ (x)g(x) dx.
′
7 / 20
Examples
Z Z
• Evaluate x sin x dx and ln x dx.
◦ Let u = x and v = − cos x. Then
Z Z Z
x sin x dx = x d(− cos x) = x(− cos x) − (− cos x) dx
Z
= −x cos x + cos x dx = −x cos x + sin x + C
◦ Let u = ln x and v = x. Then
Z Z
ln x dx = ln x · x − x d(ln x)
Z Z
= ln x · x − x(1/x) dx = x ln x − dx
= x ln x − x + C.
8 / 20
4
Examples
Z Z
• Find e sin x dx and ex cos x dx.
x
Z Z Z
x
e sin x dx = sin x d(e ) = e sin x − ex d(sin x)
x x
Z
= e sin x − ex cos x dx.
x
Z Z Z
e cos x dx = cos x d(e ) = e cos x − ex d(cos x)
x x x
Z
= e cos x + ex sin x dx.
x
1
Z
ex sin x dx = ex (sin x − cos x) + C,
∴ 2
1
Z
x
e cos x dx = ex (sin x + cos x) + C.
2
9 / 20
Examples
Z
• Evaluate cosn x dx.
Z Z Z
n n−1
cos x dx = cos x cos x dx = cosn−1 x d(sin x)
Z
n−1
= cos x sin x − sin x d(cosn−1 x)
Z
n−1
= cos x sin x + (n − 1) sin2 x cosn−2 x dx
Z
n−1
= cos x sin x + (n − 1) (1 − cos2 x) cosn−2 x dx
Z Z
n−1 n−2
= cos x sin x + (n − 1) cos x dx − (n − 1) cosn x dx
1 n−1
Z Z
n n−1
cos x dx = cos x sin x + cosn−2 x dx.
n n
10 / 20
5
Examples
1 n−1
Z Z
n n−1
• cos x dx = cos x sin x + cosn−2 x dx.
n n
1 1
Z
◦ cos2 x dx = cos x sin x + x + C .
2 2
1 3 3
Z
◦ cos4 x dx = cos3 x sin x + cos x sin x + x + C .
4 8 8
1
Z Z
• Recall dx = cos4 t dt (x = tan t).
(1 + x2 )3
1 3 3
= cos3 t sin t + cos t sin t + t + C
4 8 8
1 x 3 x 3
= + + tan−1 x + C .
4 (1 + x )2 2 81+x 2 8
1
Z
• Similarly, for any n ∈ Z+ , dx can be evaluated (although it may be very tedious).
(1 + x2 )n
11 / 20
More Examples
Z Z
n n−1
• n cos x dx = cos x sin x + (n − 1) cosn−2 x dx.
Z Z
◦ − sec x dx = sec x sin x − 2 sec3 x dx.
2
1 1
Z Z
3 2
sec x dx = sec x sin x + sec x dx
2 2
1 1
= sec x tan x + ln | sec x + tan x| + C .
2 2
Z Z
◦ −2 sec x dx = sec x sin x − 3 sec4 x dx.
2 3
1 2
Z Z
4 3
sec x dx = sec sin x + sec2 x dx
3 3
1 2 2
= sec x tan x + tan x + C .
3 3
Z Z
• Exercise. Evaluate sinn x dx and tann x dx.
12 / 20
6
Trigonometric Substitution
Z √
• Example. Evaluate 1 − x2 dx.
1 + cos 2t 1 1
Z
= dt = t + sin 2t + C
2 2 4
1 −1 1 √
= sin x + x 1 − x2 + C .
2 2
Z √
• Exercise. x2 9 − x2 dx. x = 3 sin t, t ∈ [− π2 , π2 ]
13 / 20
Trigonometric Substitution
Z √
• Example. Evaluate 1 + x2 dx.
◦ Try x = tan t, t ∈ (− π2 , π2 ). Then t = tan−1 x.
dx √
• = sec2 t, 1 + x2 = sec t.
dt
Z √ Z Z
◦ 1 + x2 dx = sec t sec t dt = sec3 t dt
2
1 1
= tan t sec t + ln | tan t + sec t| + C
2 2
1 √ 1 √
= x 1 + x2 + ln(x + x2 + 1) + C .
2 2
Z √
• Exercise. x2 − 1 dx.
14 / 20
7
Trigonometric Substitution
• If we have the quadratic form in the integrands, we may try the trigonometric substitution:
i) a2 − x2 , x = a sin t, t ∈ [− π2 , π2 ];
ii) a2 + x2 , x = a tan t, t ∈ (− π2 , π2 );
x2 − a2 ,
iii) x = a sec t, t ∈ [0, π2 ) ∪ [π, 3π
2
).
Z √
• Example. 1 + 2x − x2 dx.
√
◦ 1 + 2x − x2 =√2 − (x − 1)2 = ( 2)2 − (x − 1)2 .
Try x − 1 = 2 sin t, t ∈ [− π2 , π2 ].
Z √ Z √ √
◦ 1 + 2x − x dx =
2 2 cos t 2 cos t dt
= t + sint cos t + C
x−1 1 √
= sin−1 √ + (x − 1) 1 + 2x − x2 + C .
2 2
15 / 20
16 / 20
8
Integration of Rational Functions
• Let’s make some assumptions first.
1. Assume that A(x) and B(x) have no common factor.
They are called relatively prime or coprime.
◦ Divide both A(x) and B(x) by the leading coefficient of B(x) otherwise.
3
3x − 1 2
x − 12
.
2x2 + 1 x2 + 12
17 / 20
x3 − x2 + 2x + 2 (x2 + 1)(x − 1) + (x + 3)
x2 + 1 x2 + 1
x+3
(x − 1) + 2 .
x +1
18 / 20
9
Integration of Rational Functions
• Let’s now list two facts. (See Appendix for proof)
Fact 1. Every nonconstant monic polynomial B(x) can be uniquely factorized into the product of
linear factors and quadratic factors (over R).
B(x) = (x + a1 )k1 (x + a2 )k2 · · · (x + am )km
×(x2 + b1 x + c1 )r1 · · · (x2 + bn x + cn )rn .
◦ Here x2 + bi x + ci cannot be factorized further into linear factors; equivalently, b2i < 4ci .
19 / 20
20 / 20
10