Beruflich Dokumente
Kultur Dokumente
Contents
1 Preliminaries 2
1.1 Trigonometric identities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 Mathematical Induction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 Sequences 6
2.1 Intuitive definition of limits of sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2 Monotone Convergence theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.3 Sandwich theorem for sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3 Limits of functions 15
3.1 Intuitive definition of limits of functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.2 Sandwich theorem for functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.3 Two important limits: lim (1 + x1 )x = e and lim sinx x = 1 . . . . . . . . . . . . . . . . . . . . . . 17
x→+∞ x→0
4 Continuity 21
4.1 Definition of continuity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4.2 Intermediate value theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
5 Differentiation 24
5.1 Definition of differentiability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
5.2 Derivatives and Chain Rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
5.3 Higher derivatives (Leibniz’s Rule) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
6 Application of differentiation 31
6.1 Rolle’s Theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
6.2 Lagrange’s mean value theorem and Cauchy’s mean value theorem . . . . . . . . . . . . . . . . . . 31
6.3 First and second derivative check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
6.4 Curve sketching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
7 Indefinite integration 42
7.1 Primitive functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
7.2 Integration by substitution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
7.3 Integration by parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
7.4 Trigonometric substitution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
7.5 Integration of rational functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
7.6 Reduction formulae . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
8 Definite Integration 57
8.1 Mean value theorem for integrals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
8.2 Fundamental theorem of Calculus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
8.3 Reduction formulae . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
8.4 Improper integrals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
8.5 Inequalities Involving Integrals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
2
1 Preliminaries
1.1 Trigonometric identities
Exercise 1. (Level 1)
Let a, b, θ be three real numbers. Prove that
p
|a sin θ + b cos θ| ≤ a2 + b2 .
Solution.
p
|a sin θ + b cos θ| ≤ |a sin θ + b cos θ|2 + |a cos θ − b sin θ|2
p
= a2 + b2
5π π π
cos + cos = cos .
12 4 12
Solution. Using the well-known formula cos α + cos β = 2 cos α+β α−β
2 cos 2 , we obtain that
5π π 5π π
5π π 12 + 4 12 − 4 π π π
cos + cos = 2 cos cos = 2 cos cos = cos .
12 4 2 2 3 12 12
Exercise 3. (Level 3)
tan A+tan B
Using tan(A + B) = 1−tan A tan B , show that
tan A+tan B
Solution. Using tan(A + B) = 1−tan A tan B , one gets
5π π 7π 4π
tan + tan + tan = tan .
18 3 18 9
5π π 7π π tan A+tan B
√
Solution. Write α = 18 , β = 3,γ = 18 and δ = 18 . Using tan(A + B) = 1−tan A tan B and tan π3 = 3, we have
tan α tan γ
= tan(β − δ) tan(β + δ)
√ √
3 − tan δ 3 + tan δ
= √ √
1 + 3 tan δ 1 − 3 tan2 δ
2
3 − tan2 δ
= .
1 − 3 tan2 δ
Exercise 5. (Level 2)
A sequence {an } is defined as follows:
1 1 1
a1 = and − = 2n + 5 for n = 1, 2, 3, · · · .
5 an+1 an
1
Show that an = n2 +4n for n = 1, 2, 3, · · · .
1
Solution. Let P (n) be the statement that an = n2 +4n .
1 1
• When n = 1, a1 = 5 = (1)2 +4(1) , hence P (1) is true.
1
• Suppose P (n) is true for some natural number n, i.e. an = n2 +4n for some natural number n.
Then,
1 1
= + 2n + 5
an+1 an
. = n2 + 4n + 2n + 5
= (n + 1)2 + 4(n + 1).
1
Therefore, an+1 = (n+1)2 +4(n+1) , hence P (n + 1) is true.
4
(b) Factorize a4 + a2 + 1.
Solution. (a) Let P (n) be the statement that xn − y n = (x − y)(xn−1 + xn−2 y + · · · + xy n−2 + y n−1 ).
Therefore, P (n + 1) is true.
Exercise 7. (Level 4)
Show that for every positive integer n, there are r, cr , · · · , c0 such that rN ∪ {0}, cr = 1, cj ∈ {0, 1} for 0 ≤ j < r
and
n = cr 2r + cr−1 2r−1 + · · · + c1 2 + c0 .
Solution. Let P (n) be the statement that there are r, cr , · · · , c0 such that r ∈ N ∪ {0}, cr = 1, cj ∈ {0, 1} for
0 ≤ j < r and
n = cr 2r + cr−1 2r−1 + · · · + c1 2 + c0 .
• Suppose P (m) is true for 1 ≤ m < k, i.e. there are r, cr , · · · , c0 such that r ∈ N ∪ {0}, cr = 1, cj ∈ {0, 1}
for 0 ≤ j < r and
m = cr 2r + cr−1 2r−1 + · · · + c1 2 + c0 .
We want to show that there are r0 , c0r0 , · · · , c00 such that r0 ∈ N ∪ {0}, c0r0 = 1, c0j ∈ {0, 1} for 0 ≤ j < r0 and
Consider two cases according to the parity of k. First, suppose k is even. By induction hypothesis, there
are r, cr , · · · , c0 such that r ∈ N ∪ {0}, cr = 1, cj ∈ {0, 1} for 0 ≤ j < r and
k
= cr 2r + cr−1 2r−1 + · · · + c1 2 + c0 ,
2
then
k = cr 2r+1 + cr−1 2r + · · · + c1 22 + c0 2.
We set r0 = r + 1, c00 = 0 and c0j+1 = cj for 0 ≤ j ≤ r. Thus, there are r0 , c0r0 , · · · , c00 such that r0 ∈ N ∪ {0},
c0r0 = 1, c0j ∈ {0, 1} for 0 ≤ j < r0 and
Now suppose that k is odd, that is, k = 2m + 1 for some m < k. Apply the induction hypothesis on m.
There are r, cr , · · · , c0 such that r ∈ N ∪ {0}, cr = 1, cj ∈ {0, 1} for 0 ≤ j < r and
m = cr 2r + cr−1 2r−1 + · · · + c1 2 + c0 ,
then
k = cr 2r+1 + cr−1 2r + · · · + c1 22 + c0 2 + 1.
We set r0 = r + 1, c00 = 1 and c0j+1 = cj for 0 ≤ j ≤ r. Thus, there are r0 , c0r0 , · · · , c00 such that r0 ∈ N ∪ {0},
c0r0 = 1, c0j ∈ {0, 1} for 0 ≤ j < r0 and
2 Sequences
2.1 Intuitive definition of limits of sequences
Exercise 1. (Level 2)
Evaluate the following limits.
n5 +n2 −n+1
(a) lim 5 4 2
n→∞ 3n +4(n+1) +2(2n−1)
√ √
3
(b) lim ( 3 n2 + 1 − n2 )
n→∞
h 3 3
i √ √
(c) lim { (n + 1) 2 − n 2 ( n + 1 − n)}
n→∞
1 1 1
(d) lim 1− 22 1− 32 ··· 1 − n2
n→∞
Solution. (a)
1
=
3
(b)
p
3
√
3
lim ( n2 + 1 − n2 )
n→∞
√
√
p p 3
p
3 3
3
(n2 + 1)2 + 3 n2 (n2 + 1) + n4
= 2 2
lim ( n + 1 − n p p √
3
)
n→∞ 3
(n2 + 1)2 + 3 n2 (n2 + 1) + n4
1
= lim p p √
3
n→∞ 3
(n2 + 1)2 + n2 (n2 + 1) + n4
3
= 0
(c)
h 3 3
i √ √
lim { (n + 1) 2 − n 2 ( n + 1 − n)}
n→∞
i (n + 1) 32 + n 23 √ √ √
h 3 3 √ n+1+ n
= lim { (n + 1) − n
2 2
3 3 ( n + 1 − n) √ √ }
n→∞ (n + 1) 2 + n 2 n+1+ n
3n2 + 3n + 1
= lim 3 3√ √
n→∞ ((n + 1) + n 2 )( n + 1 +
2 n)
3
+ n12
3+ n
= lim q
n→∞ 3
((1 + n1 ) 2 + 1)( 1 + 1
n + 1)
3
=
4
7
(d)
1 1 1
lim 1− 2 1 − 2 ··· 1 − 2
n→∞ 2 3 n
1 1 1 1 1 1
= lim 1− 1+ 1− 1+ ··· 1 − 1+
n→∞ 2 2 3 3 n n
1 3 2 4 n−1 n+1
= lim ···
n→∞ 2 2 3 3 n n
1 n+1
= lim
n→∞ 2 n
1
=
2
Exercise 2. (Level 2)
Let a ∈ R. A sequence {un } is defined by
an
un = .
1 + an+1
h i
1 1
(a) Show that un = a 1− 1+an+1 .
(b) Discuss the behaviour, as n → ∞, of the sequence {un } for the cases
(Hint: You may use lim an = ±∞ for |a| > 1 and lim an = 0 for |a| < 1.)
n→∞ n→∞
(b) (i) For |a| > 1, using the well-known limits lim an = ±∞, one gets
n→∞
1 1 1
lim un = lim 1− n+1
= .
n→∞ n→∞ a 1+a a
(ii) For |a| < 1, using the well-known limit lim an = 0, we have
n→∞
1 1
lim un = lim 1− = 0.
n→∞ n→∞ a 1 + an+1
1
(iii) For a = 1, un = 2 for all positive integers n, thus, lim un = 12 .
n→∞
Exercise 3. (Level 2)
For each of the following sequence,
Exercise 4. (Level 3)
A sequence is defined by x1 = 1, xn+1 = 23 xn + 9
x2n for n ≥ 1.
2 9
xn+1 − 3 = xn + 2 − 3
3 xn
2x3n − 9x2n + 27
=
3x2n
(xn − 3)2 (2xn + 3)
= .
3x2n
Note that x2 > 3. Thus xn+1 − 3 > 0 for n ≥ 2. Hence xn > 3 for n ≥ 2.
(ii) Noting that
2 9
xn+1 − xn = xn + 2 − xn
3 xn
27 − x3n
=
3x2n
(3 − xn )(x2n + xn + 9)
= ,
3x2n
(b) From parts (i) and (ii) of (a), {xn } converges by monotone convergence theorem. Let lim xn = L. Then, by
n→∞
the convergence of sub-sequence,
2 9
lim xn+1 = lim xn + 2
n→∞ n→∞ 3 xn
2 9
L = L+ 2
3 L
Exercise 5. (Level 4)
Let a1 and b1 be any two positive numbers such that a1 > b1 . Let {an } and {bn } be two sequences satisfying the
equations
an + bn p
an+1 = and bn+1 = an bn
2
for all positive integers n.
10
(a) (i) Show that an > bn for for all positive integers n.
(ii) Deduce that {an } is monotonic decreasing and {bn } is monotonic increasing.
(b) Show that both lim an and lim bn exist. Hence prove that lim an = lim bn .
n→∞ n→∞ n→∞ n→∞
an + bn an + an
an+1 = < = an ,
2 2
that is, {an } is monotonic decreasing. Also, by similar arguments, one obtains, for n ≥ 1,
p p
bn+1 = an bn > bn · bn = bn
Exercise 6. (Level 4)
The two sequences of positive integers {a1 , a2 , · · · , an , · · · }, {b1 , b2 , · · · , bn , · · · } satisfy the following conditions:
an √ an √
< 2 if n is odd, > 2 if n is even,
bn bn
and
an+2 an 2(−1)n+1
− = .
bn+2 bn bn (2an + 3bn )
11
By the principle of induction, the results are true for all positive integers n. Next, noting that a2n+1 − 2b2n+1 =
(an + 2bn )2 − 2(an + bn )2 = −(a2n − 2b2n ), one gives that
an
√
(b) (i) Using (a), if n is odd, one gets a2n − 2b2n = −1 < 0 implying that bn < 2 and if n is even, one gets
√
a2n − 2b2n = 1 > 0 implying that (by (a), abnn > 0 ) abnn > 2.
Again, by (a), we see that
a2k−2
a2k−1 a2k−2 + 2b2k−2 b2k−2 +2
lim = lim = lim a2k−2
k→∞ b2k−1 k→∞ a2k−2 + b2k−2 k→∞ +1
b2k−2
and
a2k−1
a2k a2k−1 + 2b2k−1 b2k−1 +2
lim = lim = lim a2k−1 .
k→∞ b2k k→∞ a2k−1 + b2k−1 k→∞ +1
b2k−1
12
Exercise 7. (Level 3)
Evaluate the following limits
√
n+1
(a) lim n
n→∞
(−1)n n2 −1
(b) lim n3
n→∞
sin2 (n!)
(c) lim n!
n→∞
sinh2 (n−2 )
(d) lim n
n→∞
−n2 − 1 (−1)n n2 − 1 n2 − 1
< < .
n3 n3 n3
−n2 −1 n2 −1 (−1)n n2 −1
With this fact lim n3 = lim n3 = 0, by sandwich theorem, one has lim n3 = 0.
n→∞ n→∞ n→∞
sin2 (n!)
(c) Since 0 < sin2 (n!) < 1, then we have that 0 < n! < 1
n! ≤ 1
n for all positive integer n. Hence lim 1
=0
n→∞ n
sin2 (n!)
gives lim n! = 0 by the sandwich theorem.
n→∞
ex −e−x
(d) Recall that sinh x = 2 , then 0 < sinh2 (n−2 ) < e−1
2 < 1 for all positive integer n. Thus, it implies that
sinh2 (n−2 ) 1
0< < .
n n
1 sinh2 (n−2 )
Therefore, because lim = 0, lim = 0 by sandwich theorem.
n→∞ n n→∞ n
13
Exercise 8. (Level 3)
1
(b) Find lim √ , if exists.
n→∞ n n!
(n!)2 ≥ nn .
1 1 1 1
(b) From the previous part, one has 0 < √
n
≤ √ . Since lim √ = 0, by the sandwich theorem, lim √ =
n! n n→∞ n n→∞ n n!
0.
Exercise 9. (Level 3)
1 1 1
Let sn = 2
+ 2
+ ··· + , show that lim sn = 0.
(2n) (2n + 1) (3n)2 n→∞
2n + 1 1 1 1 1 1 1
≤ + + ··· + ≤ + + ··· +
(3n)2 (3n)2 (3n)2 (3n)2 (2n)2 (2n + 1)2 (3n)2
and
1 1 1 1 1 1 2n + 1
+ + ··· + ≤ + + ··· + ≤ .
(2n)2 (2n + 1)2 (3n)2 (2n)2 (2n)2 (2n)2 (3n)2
2n+1 2n+1 2n+1 2n+1
Then (3n)2 ≤ sn ≤ (2n)2 , together with lim 2 = lim 2 = 0, by the sandwich theorem, lim sn = 0 as
n→∞ (2n) n→∞ (3n) n→∞
desired.
(a) Let x be a positive real number. Prove that for any positive integer n greater than 1,
a1 , a2 , · · · , an , · · ·
√
n
where an = t.
t−1
1 < an < 1 + .
n
(c) For any k fixed positive numbers a1 , a2 , · · · , ak , prove that the sequence
p
vn = n
an1 + an2 + · · · + ank
Solution. (a) For any positive integer n greater than 1, using binomial theorem, one gets
√
n
(b) (i) A. Since t > 1, an > t > 1.
B. By the previous result, an > 1 for n ≥ 2. For the other inequality, consider (1 + xn )n . Using part (a),
t−1 t−1
we have t = (1 + xn )n > 1 + nxn , therefore, xn < n for n ≥ 2. Hence 1 < an = 1 + xn < 1 + n
for n ≥ 2.
t−1
C. Since lim n = 0, by sandwich theorem, we get lim an = 1.
n→+∞ t→∞
√
n
By above result, lim k = 1, therefore, by sandwich theorem, we get
t→∞
p
lim n
an1 + an2 + · · · + ank = a.
t→∞
15
3 Limits of functions
3.1 Intuitive definition of limits of functions
Exercise 1. (Level 2)
Evaluate the following limits.
x3 −2x−1
(a) lim 5
x→−1 x −2x−1
x2 +3
(c) lim √
x→+∞ x x2 +1
x2 +3
(d) lim x
√
x2 +1
x→−∞
h 3 √ √ √ i
(e) lim x2 x+2−2 x+1+ x
x→+∞
Solution. (a)
x3 − 2x − 1 (x + 1)(x2 − x − 1)
lim = lim
x→−1 x5 − 2x − 1 x→−1 (x + 1)(x4 − x3 + x2 − x − 1)
(x2 − x − 1)
= lim
x→−1 (x4 − x3 + x2 − x − 1)
1
=
3
x + x2 + x3 + · · · + xn − n
lim
x→1 x−1
(x − 1) + (x2 − 1) + (x3 − 1) + · · · + (xn − 1)
= lim
x→1 x−1
x−1 x2 − 1 x3 − 1 xn − 1
= lim + lim + lim + · · · + lim
x→1 x − 1 x→1 x − 1 x→1 x − 1 x→1 x − 1
= 1 + 2 + 3 + ··· + n
n(n + 1)
= .
2
(c)
x2 + 3 1 + 32
lim √ = lim q x = 1
x→+∞ x x2 + 1 x→+∞
1 + 12 x
x2 + 3 y2 + 3 1 + y32
lim √ = lim − p = lim − q = −1.
x→−∞ x x2 + 1 y→+∞ y y 2 + 1 y→+∞ 1 + 12 y
16
(e)
h 3 √ √ √ i
lim x2 x+2−2 x+1+ x
x→+∞
h 3 √ √ √ √ i
= lim x2 x+2− x+1+ x− x+1
x→+∞
h 3 √ √ √ √ √ √ √ √ i
= lim x 2 ( x+2−√x+1)(√
x+2+ x+1)
x+2+ x+1
+ ( x− x+1)( x+ x+1)
√ √
x+ x+1
x→+∞
3 1 1
= lim x2 √ √ −√ √
x→+∞ x+2+ x+1 x+ x+1
√ √
3 ( x − x + 2)
= lim x 2 √ √ √ √
x→+∞ ( x + 2 + x + 1)( x + x + 1)
√ √ √ √
3 ( x − x + 2)( x + x + 2)
= lim x 2 √ √ √ √ √ √
x→+∞ ( x + 2 + x + 1)( x + x + 1)( x + x + 2)
3 −2
= lim x 2 √ √ √ √ √ √
x→+∞ ( x + 2 + x + 1)( x + x + 1)( x + x + 2)
−2
= lim q q q q
x→+∞
( 1 + x2 + 1 + x1 )(1 + 1 + x1 )(1 + 1 + x2 )
1
= −
4
Exercise 2. (Level 2)
Evaluate the following limits.
x5 +x3 sin 1
x2
(c) lim x5 +7
x→+∞
Solution. (a) Since for x < 0, 0 < | sin x1 | < 1, we get x < x| sin x1 | < 0 for x < 0. Because lim x = 0, by the
x→0−
1
sandwich theorem, lim− x| sin x| = 0.
x→0
(b) Provided that x is large enough, we have −1 < sin tan x < 1 and −tan1 < tan sin x < tan1. Then
one has − 1+tan1
x+1 < sin tan x+tan sin x
x+1 < 1+tan1
x+1 . Because lim 1+tan1
x+1 = 0, by the sandwich theorem,
x→+∞
sin tan x+tan sin x
lim x+1 =0
x→+∞
17
5 3 1
x +x sin x2
thus, by the sandwich theorem, we have lim x5 +7 = 1.
x→+∞
3 + sinx25x + cosx27x 3
lim = 11 .
x→+∞ 11 + sin 13x + cosx17x
x2 2
Exercise 3. (Level 3)
Evaluate the following limits.
1+sin x−cos x
(a) lim
x→0 1+sin px−cos px
cot(a+2x)−2 cot(a+x)+cot a
(b) lim x2
x→0
x2 √
(c) lim √
1+x sin x− cos x
x→0
(x+a)x+a (x+b)x+b
(e) lim 2x+a+b
x→+∞ (x+a+b)
√
1+x sin x−1
(f) lim ex2 −1
x→0
Solution. (a)
1
=
p
18
− sin x sin x
= +
sin(a + 2x) sin(a + x) sin(a) sin(a + x)
sin x sin(a + 2x) − sin(a)
= ·
sin(a + x) sin(a + 2x) sin(a)
sin x 2 cos(a + x) sin x
= ·
sin(a + x) sin(a + 2x) sin(a)
2 cos(a + x) sin2 x
= .
sin(a + 2x) sin(a + x) sin(a)
2
2 cos(a + x) sinx2 x
= lim
x→0 sin(a + 2x) sin(a + x) sin(a)
2 cos a
= .
sin3 a
(c)
x2
lim √ √
x→0 1 + x sin x − cos x
√ √
x2 1 + x sin x + cos x
= lim √ √ · √ √
x→0 1 + x sin x − cos x 1 + x sin x + cos x
√ √
x2 ( 1 + x sin x + cos x)
= lim
x→0 1 + x sin x − cos x
2
√ √
x ( 1 + x sin x + cos x)
= lim
x→0 2 sin2 x2 + x sin x
√ √
1 + x sin x + cos x
= lim sin2 x
x→0
2 x2 2 + sinx x
4
=
3
19
= n2 ,
one gets
(e)
(x + a)x+a (x + b)x+b
lim
x→+∞ (x + a + b)2x+a+b
(1 + xa )x+a (1 + xb )x+b
= lim a+b 2x+a+b
x→+∞ (1 + x )
x a x b
(1 + xa )1+ a (1 + xb )1+ b
= lim ia+b
x→+∞
h 2x
1+ a+b
(1 + a+b
x )
x a x b
(1 + xa ) a (1 + xa ) (1 + xb ) b (1 + xb )
= lim ia+b
x→+∞
h 2x
(1 + a+b x )
a+b (1 + a+b )
x
ea · ea
=
e2(a+b)
= e−a−b
(f)
√ √
1 + x sin x − 1 1 + x sin x − 1 x2
lim = lim
x→0 ex2 − 1 x→0 x2 ex2 − 1
√ √
1 + x sin x − 1 1 + x sin x + 1 x2
= lim √ 2
x→0 x2 1 + x sin x + 1 ex − 1
x sin x x2
= lim √ x 2
x→0 x2 ( 1 + x sin x + 1) e − 1
sin x
x x2
= lim √ x2
x→0 1 + x sin x + 1 e − 1
1
=
2
21
4 Continuity
4.1 Definition of continuity
Exercise 1. (Level 2)
The function f is continuous at x = 0 and is defined for −1 < x < 1 by
2a
x ln(1 + x) if − 1 < x < 0
f (x) = b if x = 0
x2√cos x
if 0 < x < 1.
1− 1−x2
and
p
lim+ f (x) = lim+ cos x(1 + 1 − x2 ) = 2.
x→0 x→0
Exercise 2. (Level 3)
Evaluate the following limits.
√ √
(a) lim sin x + 1 − sin x
x→+∞
1
cos x
x2
(b) lim cos 2x
x→0
ax +bx +cx
x1
(c) lim 3 (a, b, c > 0)
x→0
cos(xex )−cos(xe−x )
(d) lim x3
x→0
1
nx x12
lim (cos nx) x2 = lim 1 − 2 sin2
x→0 x→0 2
nx x12
lim ln 1−2 sin2
= e x→0 2
−2 sin2 nx
2
nx 2 sin−1
2 nx
lim ln 1−2 sin2 2
= ex→0 x2 2
n2
= e− 2 .
1 12 22 3
cos x
= e−
x2
We get lim cos 2x
2 e 2 = e2 .
x→0
dx −1
(c) By using lim x = ln d for d > 0, one has
x→0
x1
ax + bx + cx
lim
x→0 3
x +bx +cx 1
lim ln( a 3 )x
= ex→0
3
ax − 1 + bx − 1 + cx − 1 ax − 1 + bx − 1 + cx − 1 ax −1+bx −1+cx −1
lim ln1+
x→0 3x 3
= e
ln a+ln b+ln c
= e 3
√3
= abc
(d)
cos(xex ) − cos(xe−x )
lim
x→0 x3
ex + e−x ex − e−x
−2
= lim sin( x) sin( x)
x→0 x3 2 2
+e−x
x x −x
!
sin( e 2 x) ex + e−x sin( e −e 2 x) ex − e−x
= lim −2 ex +e−x e x −e−x
x→0
2 x 2 2 x 2x
x
+e−x x −x
!
−x sin(
e
2 x) ex + e−x sin( e −e
2 x) e2x − 1
= lim −2e ex +e−x x
e −e −x
x→0
2 x 2 2 x 2x
= −2
Exercise 3. (Level 3)
Suppose f : [0, 1] → [0, 1] is a continuous function on [0, 1]. Show that there exists a point x ∈ [0, 1] such that
f (x) = x.
23
Solution. Since 0 ≤ f (x) ≤ 1 for x ∈ [0, 1], we may assume that f (0) > 0 and f (1) < 1. Otherwise f (0) = 0 or
f (1) = 1, then we are done. Let g : [0, 1] → [0, 1] is defined by g(x) = f (x) − x for x ∈ [0, 1]. Note that g is a
continuous function. Since g(0) = f (0) > 0 and g(1) = f (1) − 1 < 0, by intermediate value theorem, there exists
a point x ∈ (0, 1) such that g(x) = 0 i.e. f (x) = x.
Exercise 4. (Level 4)
Let n be a positive integer greater than 2. Let f : [0, 1] → R is a continuous function. Suppose f (0) = f (1).
Define a function g : [0, 1 − n1 ] → R by g(x) = f (x + n1 ) − f (x) for all x ∈ [0, 1 − n1 ].
n−1
g( nk ) = 0.
P
(a) Show that
k=0
(b) Deduce that there exists a point x ∈ [0, 1 − n1 ] such that f (x + n1 ) = f (x).
n−1 n−1
g( nk ) = f ( k+1 k
P P
Solution. (a) n ) − f ( n ) = f (1) − f (0) = 0.
k=0 k=0
5 Differentiation
5.1 Definition of differentiability
Exercise 1. (Level 2)
Investigate the differentiability of the following functions at x = 0.
|x|
(a) y = 1+x2
(
tan−1 1
x x 6= 0
(b) y =
0 x=0
(
x tan−1 1
x x 6= 0
(c) y =
0 x=0
(
x2 tan−1 1
x x 6= 0
(d) y =
0 x=0
Exercise 2. (Level 2)
dy
Find dx , from the first principles, of the following functions:
1
(a) y = x2 +x+1
(b) y = 2x sin 2x
√
√4
3
(c) y = 6 x4 + x
25
Solution. (a)
dy 1 1 1
= lim −
dx h→0 h (x + h)2 + (x + h) + 1 x2 + x + 1
2x + h + 1
= lim −
h→0 [(x + h)2 + (x + h) + 1](x2 + x + 1)
2x + 1
= −
(x2 + x + 1)2
(b)
(c)
dy 1 4 4 4 4
= lim 6(x + h) 3 + 1 − 6x 3 −
1
dx h→0 h (x + h) 2 x2
1 4 4 4 4
= lim 6(x + h) 3 − 6x 3 + 1 − 1
h→0 h (x + h) 2 x2
6(x + h)4 − 6x4
1 4x − 4(x + h)
= lim 8 4 4 8 + 1 1 1 1
h→0 h (x + h) 3 + (x + h) 3 x 3 + x 3 x 2 (x + h) 2 [x 2 + (x + h) 2 ]
1 6(4x3 + 6x62h + 4xh2 + h3 )
4
= lim 8 4 4 8 − 1 1 1 1
h→0 h (x + h) 3 + (x + h) 3 x 3 + x 3 x 2 (x + h) 2 [x 2 + (x + h) 2 ]
1 3
= 8x 3 − 2x− 2
Exercise 3. (Level 1)
3
2x2 −7x
Let f : (−1, 1) → R be a function defined by f (x) = xesec x
sin cos x sin−1 tan−1 9 . Find f 0 (0).
2
0 f (h) − f (0) sec3 h −1 −1 2h − 7h
f (0) = lim = lim e sin cos h sin tan = 0.
h→0 h h→0 9
26
Exercise 4. (Level 2)
Find the derivative of the following:
sin x
(a) y = √
a2 cos2 +b2 sin2 x
a a x a x x x a
(b) y = xa + ax + aa + xx + xa + ax + xx + aa
(c) y = x10x
(d) y = xsin x
Solution. (a)
dy
dx
p −2a2 cos x sin x + 2b2 sin x cos x
cos x a2 cos2 +b2 sin2 x − sin x p
2 a2 cos2 +b2 sin2 x
=
a2 cos2 +b2 sin2 x
cos x(a2 cos2 +b2 sin2 x) + (a2 − b2 ) cos x sin2 x
= 3
(a2 cos2 +b2 sin2 x) 2
a2 cos x(cos2 + sin2 x)
= 3
(a2 cos2 +b2 sin2 x) 2
a2 cos x
= 3
(a2 cos2 +b2 sin2 x) 2
dy
dx
a a x a
−1
= aa xa + a ln axa−1 ax + (ln a)2 ax aa + xa−1 (1 + a ln x)xx
1 x x 1 x
+ax ( + ln a ln x)xa + xx ln a(1 + ln x)ax + xx (ln x + (ln x)2 + )xx .
x x
27
(c)
dy
= 10x + x10x ln 10
dx
(d)
dy desin x ln x sin x sin x
= =( + cos x ln x)esin x ln x = ( + cos x ln x)xsin x
dx dx x x
0 0
((sin x)cos x ) = ecos x ln sin x
we have
dy
= x(cot x cos x − sin x ln sin x)(sin x)cos x + (sin x)cos x .
dx
3
ln y = ln(x2 + 2x − 1) + 3 ln(x4 − 3),
2
4x3
dy 3 2x + 2
= y · +3· 4
dx 2 x2 + 2x − 1 x −3
12x3
2 3
4 3 3x + 3
= (x + 2x − 1) (x − 3)
2 + .
x2 + 2x − 1 x4 − 3
Exercise 5. (Level 2)
dy xy ln y−y 2
If xy = y x , prove that dx = xy ln x−x2 .
xy ln y−y 2
Solution. Differentiation both sides gives xy ( xy + ln x dx
dy
) = y x (ln y + x dy
y dx ), and hence dy
dx = xy ln x−x2 .
Exercise 6. (Level 3)
Using the identity
x x x sin x
cos cos · · · cos n = n ,
2 4 2 2 sin 2xn
1 x 1 x 1 x
Sn = tan + tan + · · · + n tan n .
2 2 4 4 2 2
28
x x x x
ln cos + ln cos + · · · + ln cos n = ln sin x − ln 2n − ln sin n ,
2 4 2 2
Exercise 7. (Level 3)
Find a polynomial P (x) such that
P 0 (x) − 2P (x) = xn ,
m
ar xr , then from P 0 (x) − 2P (x) = xn , we have
P
Solution. Let P (x) =
r=0
m
X m
X
rar xr−1 − 2 a r xr = xn
r=1 r=0
m−1
X m
X
(r + 1)ar+1 xr − 2 a r xr = xn
r=0 r=0
n−1
X n−1
X m−1
X m
X
(r + 1)ar+1 xr − 2 ar xr + (r + 1)ar+1 xr − 2 a r xr = xn
r=0 r=0 r=n r=n
n−1
X n−1
X
(r + 1)ar+1 xr − 2 ar xr − 2an xn = xn
r=0 r=0
then
1 r+1
an = − and ar = ar+1 for r = 1, 2, 3, · · · , n − 1.
2 2
Thus, for r = 1, 2, 3, · · · , n,
1 n(n − 1) · · · (n − r)
an−r = − ,
2 2r
implies that
1 n n n−1 n!
P (x) = − x + x + ··· + n .
2 2 2
29
Exercise 8. (Level 3)
Let f (x) = xn ex where n is a positive integer.
n
dn n x X
(x e ) = Crn (xn )(r) (ex )(n−r)
dxn r=0
n
X n!
= n(n − 1) · · · (n − r + 1)xn−r ex
r=0
r!(n − r)!
n
X n! n!
= xn−r ex
r=0
r!(n − r)! (n − r)!
2n
d2n n x X
(x e ) = Cr2n (xn )(r) (ex )(2n−r)
dx2n r=0
n
X (2n)!
= n(n − 1) · · · (n − r + 1)xn−r ex
r=0
r!(2n − r)!
(2n)!
which gives f (2n) (0) = n! .
Exercise 9. (Level 4)
Let y = (sin−1 x)2
(i) (1 − x2 )y 00 − xy 0 = 2,
(ii) (1 − x2 )y (n+2) − (2n + 1)xy (n+1) − n2 y (n) = 0.
sin−1 x
√ √
(i) y 0 = 2√
1−x2
gives 1 − x2 y 0 = 2 sin−1 x. Differentiation gives 1 − x2 y 00 − √ x
1−x2
y0 = √ 2
1−x2
, that is,
2 00 0
(1 − x )y − xy = 2.
(ii) Differentiate n times by Leibniz theorem, we have that
0 = ((1 − x2 )y 00 − xy 0 )(n)
n(n − 1)
= (1 − x2 )y (n+2) + n(−2x)y (n+1) + (−2)y (n) − xy (n+1) − ny (n)
2
= (1 − x2 )y (n+2) − (2n + 1)xy (n+1) − n2 y (n)
6 Application of differentiation
6.1 Rolle’s Theorem
Exercise 1. (Level 3)
Prove that the equation
a1 a2 an
a1 x + a2 x2 + · · · + an xn = + + ··· +
2 3 n+1
is solvable.
a1 x2 a2 x3 an xn
a1 a2 an
f (x) = + + ··· + − + + ··· + x
2 3 n+1 2 3 n+1
a1 a2 an
for all x ∈ R. Note that f is differentiable on R and that f 0 (x) = a1 x+a2 x2 +· · ·+an xn − 2 + 3 + ··· + n+1 .
For f (0) = f (1) = 0 therefore, by Rolle’s theorem, there is an c ∈ (0, 1) such that f 0 (c) = 0 which shows the
result.
Exercise 2. (Level 3)
Let f be a smooth function. Prove that, if a < c < b, there is an ζ ∈ (a, b) such that
6.2 Lagrange’s mean value theorem and Cauchy’s mean value theorem
Exercise 3. (Level 1)
Suppose a function f is continuous on [a, b] and differentiable on (a, b). Decide whether it is possible to find for
each point ξ of (a, b), there are two points c, d, a ≤ c < ξ < d ≤ b, such that
f (c) − f (d)
= f 0 (ξ).
c−d
Solution. It is impossible. Suppose not, we consider f (x) = x3 and ξ = 0. Then c must be negative while d must
be positive, and
f (c) − f (d) c3 − d3
0 = 3(0)2 = = >0
c−d c−d
which is absurd.
32
Exercise 4. (Level 2)
Show that for x ∈ (0, π2 ), f (x) = sin x tan x − 2 ln sec x is always positive.
Exercise 5. (Level 3)
Let I be an open interval and a, b ∈ I with a < b. If f is differentiable on I and if λ is a number between f 0 (a)
and f 0 (b), show that there is at least one point c ∈ (a, b) such that f 0 (c) = λ.
(
f 0 (a) if t = a
(Hint: You may start with defining a function fa (t) = f (a)−f (t) .
t−a if t 6= a
and (
f 0 (b) if t = b
fb (t) = f (b)−f (t) .
t−b 6 b
if t =
Since f is differentiable at x = a, x = b, fa and fb are continuous. From the definitions, it follows that
fa (a) = f 0 (a), fa (b) = fb (a) and fb (b) = f 0 (b). Hence λ lies between fa (a) and fa (b) or λ lies between fb (a) and
fb (b). Without loss of generality, we assume λ lies between fa (a) and fa (b). By the intermediate value theorem,
there exists s in (a, b) such that
f (a) − f (s)
λ = fa (s) = .
a−s
Thanks the mean value theorem, there is an c ∈ (a, s) such that
f (a) − f (s)
f 0 (c) = = λ.
a−s
θ2 θ4
Solution. Let f (θ) = 1 − 2 + 24 − cos θ. Note that for 0 < θ < 2π,
θ3
f 0 (θ) = −θ + + sin θ,
6
θ2
f 00 (θ) = −1 + + cos θ,
3
f (3) (θ) = θ − sin θ,
f (4) (θ) = 1 − cos θ > 0,
33
and
f (0) = f 0 (0) = f 00 (0) = f (3) (0) = f (4) (0) = 0.
It follows that f (3) is increasing on [0, 2π], and hence f (3) (θ) > f (3) (0) = 0 for 0 < θ < 2π. Apply the argument
00 0
in the same manner, we get f (θ) > 0, f (θ) > 0 and f (θ) > 0 for 0 < θ < 2π. Then one gets when 0 < θ < 2π,
θ2 θ4
1− 2 + 24 > cos θ.
θ2
Similarly, let g(θ) = cos θ − 1 + 2 . Note that for 0 < θ < 2π,
g 0 (θ) = − sin θ + θ,
00
g (θ) = 1 − cos θ > 0,
and
g(0) = g 0 (0) = 0.
θ2 θ2 θ4 θ2
We get when 0 < θ < 2π, cos θ > 1 − 2 , so 1 − 2 + 24 > cos θ > 1 − 2 is established.
Exercise 7. (Level 5)
π
(a) Prove that for 0 < θ < 2, tan θ > θ > sin θ.
π
where 0 < θ < 2.
(c) (i) Given that α1 , · · · , αn are the roots of an xn + an−1 xn−1 + · · · + a0 = 0 where an 6= 0.
A. Show that α1 + · · · + αn = − an−1
an .
B. Furthermore, α1 , · · · , αn are pairwise distinct, does there exist a β 6∈ {α1 , · · · , αn } such that an β n +
an−1 β n−1 + · · · + a0 = 0?
(ii) Using (b), show that
n
X kπ n(2n − 1)
cot2 = ,
2n + 1 3
k=1
n
1
P
(d) Let An = k2 . Show that
k=1
π2 π2
2n 2n − 1 2n 2n + 2
< An < .
6 2n + 1 2n + 1 6 2n + 1 2n + 1
Solution. (a) Let f (θ) = tan θ − θ and f (θ) = sin θ − θ for 0 < θ < π
2. Differentiation gives f 0 (θ) = sec2 θ − 1 > 0
and g 0 (θ) = cos θ − 1 < 0. Then f is strictly increasing and g is strictly decreasing. Thus, for 0 < θ < π
2,
f (θ) > f (0) and g(θ) < g(0), i.e. tan θ > θ > sin θ.
and
2n+1 2n+1 2n+1
C2r+1 − 2C2r + C2r−1
2n+1 2n+1 2n+1 2n+1
= C2r+1 − C2r + C2r−1 − C2r
2n 2n 2n 2n 2n 2n 2n 2n
= C2r+1 + C2r − C2r − C2r−1 + C2r−1 + C2r−2 − C2r − C2r−1
2n 2n 2n 2n
= C2r+1 − C2r−1 + C2r−2 − C2r
2n−1 2n−1 2n−1 2n−1 2n−1 2n−1 2n−1 2n−1
= C2r+1 + C2r − C2r−1 − C2r−2 + C2r−2 + C2r−3 − C2r − C2r−1
2n−1 2n−1 2n−1
= C2r+1 − 2C2r−1 + C2r−3 .
sin 3θ = sin(2θ + θ)
= sin 2θ cos θ + sin θ cos 2θ
= 2 sin θ cos2 θ + sin θ(cos2 θ − sin2 θ)
= 3 sin θ cos2 θ − sin3 θ
= sin3 θ(3 cot2 θ − 1)
n
X
= sin3 θ (−1)r C2r+1
3
(cot2 θ)1−r .
r=0
Suppose that
k
X
2k+1 2k+1
sin(2k + 1)θ = sin θ (−1)r C2r+1 (cot2 θ)k−r ,
r=0
35
for all k ≤ n. Noting that sin(2n + 1)θ cos 2θ = 21 (sin(2n + 3)θ + sin(2n − 1)θ). It gives that
sin(2n + 3)θ
= − sin(2n − 1)θ + 2 sin(2n + 1)θ cos 2θ
n−1
X
2n−1
= sin2n−1 θ (−1)r+1 C2r+1 (cot2 θ)n−1−r
r=0
n
X
2n+1
+ sin2n+1 θ (−1)r C2r+1 2 cos 2θ(cot2 θ)n−r
r=0
n−1
X
2n−1
= sin2n+3 θ (−1)r+1 C2r+1 (cot2 θ)n−1−r csc4 θ
r=0
n
X
2n+1 2 cos 2θ
+ sin2n+3 θ (−1)r C2r+1 (cot2 θ)n−r
r=0
sin2 θ
n−1
X
2n−1
= sin2n+3 θ (−1)r+1 C2r+1 (cot2 θ)n−1−r (cot4 θ + 2 cot2 θ + 1)
r=0
n
X
2n+3 2n+1
+ sin θ (−1)r C2r+1 (2 cot2 θ − 2)(cot2 θ)n−r .
r=0
n−1
X
2n−1
sin2n+3 θ (−1)r+1 C2r+1 (cot2 θ)n−1−r (cot4 θ + 2 cot2 θ + 1)
r=0
n−1
X
2n−1
= sin2n+3 θ (−1)r+1 C2r+1 (cot2 θ)n+1−r
r=0
n−1
X
2n−1
+ sin2n+3 θ (−1)r+1 2C2r+1 (cot2 θ)n−r
r=0
n−1
X
2n−1
+ sin2n+3 θ (−1)r+1 C2r+1 (cot2 θ)n−1−r
r=0
n−1
X
2n−1
= sin2n+3 θ (−1)r+1 C2r+1 (cot2 θ)n+1−r
r=0
n
X
2n−1
+ sin2n+3 θ (−1)r 2C2r−1 (cot2 θ)n+1−r
r=1
n+1
X
2n−1
+ sin2n+3 θ (−1)r+1 C2r−3 (cot2 θ)n+1−r ,
r=2
36
n
X
2n+1
sin2n+3 θ (−1)r C2r+1 (2 cot2 θ − 2)(cot2 θ)n−r
r=0
n
X
2n+1
= sin2n+3 θ (−1)r 2C2r+1 (cot2 θ)n+1−r
r=0
n
X
2n+1
+ sin2n+3 θ (−1)r 2C2r+1 (cot2 θ)n−r
r=0
n
X
2n+1
= sin2n+3 θ (−1)r 2C2r+1 (cot2 θ)n+1−r
r=0
n+1
X
2n+1
+ sin2n+3 θ (−1)r+1 2C2r−1 (cot2 θ)n+1−r .
r=1
37
sin(2n + 3)θ
n−1
X
2n−1
= sin2n+3 θ (−1)r+1 C2r+1 (cot2 θ)n−1−r (cot4 θ + 2 cot2 θ + 1)
r=0
n
X
2n+1
+ sin2n+3 θ (−1)r C2r+1 (2 cot2 θ − 2)(cot2 θ)n−r
r=0
n−1
X
2n−1
= sin2n+3 θ (−1)r+1 C2r+1 (cot2 θ)n+1−r
r=0
n
X
2n−1
+ sin2n+3 θ (−1)r 2C2r−1 (cot2 θ)n+1−r
r=1
n+1
X
2n−1
+ sin2n+3 θ (−1)r+1 C2r−3 (cot2 θ)n+1−r
r=2
n
X
2n+1
+ sin2n+3 θ (−1)r 2C2r+1 (cot2 θ)n+1−r
r=0
n+1
X
2n+1
+ sin2n+3 θ (−1)r+1 2C2r−1 (cot2 θ)n+1−r
r=1
= sin 2n+3
θ(−C12n−1 + 2C12n+1 )(cot2 θ)n+1
+ sin2n+3 θ(C32n−1 − 2C12n−1 − 2C32n+1 − 2C12n+1 )(cot2 θ)n
n−1
X
2n+1 2n+1 2n−1 2n−1 2n−1
+ sin2n+3 θ (−1)r (2C2r+1 + 2C2r−1 − C2r+1 + 2C2r−1 − C2r−3 )(cot2 θ)n+1−r
r=2
2n+3 2n−1 2n−1 2n+1 2n+1
+ sin θ(−1)n (2C2n−1 − C2n−3 + 2C2n+1 + 2C2n−1 ) cot2 θ
2n−1 2n+1
+ sin2n+3 θ(−1)n+1 (−C2n−1 + 2C2n+1 )
= sin2n+3 θ(cot2 θ)n+1 + sin2n+3 θ(−C32n+3 )(cot2 θ)n
n−1
X
2n+3 2n+3
+ sin2n+3 θ (−1)r (C2r+1 )(cot2 θ)n+1−r + sin2n+3 θ(−1)n (C2n+1 ) cot2 θ
r=2
+ sin2n+3 θ(−1)n+1
n+1
X
2n+3
= sin2n+3 θ (−1)r C2r+1 (cot2 θ)n+1−r .
r=0
an−1 n−1 a0
xn + x + ··· + = (x − α1 )(x − α2 ) · · · (x − αn )
an an
= xn − (α1 + · · · + αn )xn−1 + · · · + α1 · · · αn
and hence
n n
X kπ X kπ n(2n − 1) n(2n + 2)
csc2 = 1 + cot2 =n+ = .
2n + 1 2n + 1 3 3
k=1 k=1
n n 2 n
X kπ X 2n + 1 X kπ
cot2 < < csc2 .
2n + 1 kπ 2n + 1
k=1 k=1 k=1
π2
Applying the results of (c)(ii) and multiplying the constant (2n+1)2 , we have
π2 π2
2n 2n − 1 2n 2n + 2
< An < .
6 2n + 1 2n + 1 6 2n + 1 2n + 1
2n 2n−1 2n 2n+2
Since lim 2n+1 · 2n+1 = 1 and lim 2n+1 · 2n+1 = 1, by the sandwich theorem, one gets lim An =
n→+∞ n→+∞ n→+∞
π2
6 .
Exercise 8. (Level 3)
Prove that the function
9 1
f (x) = +
x 4−x
has a maximum point and a minimum point.
The critical values are x = 0, 3, 4, 6. f 0 does not change sign through x = 0 and x = 4, so x = 0 and x = 4 do not
serve as an extremum point. (Or, you may say x = 0 and x = 4 are not any candidate for extremum point, since
the domain of function exclude those two points.) Because f 00 (6) < 0 and f 00 (3) > 0, by the second derivative
test, the maximum point is (6, f (6)) and the minimum point is (3, f (3)).
39
Exercise 9. (Level 5)
1 5
Let I = [2, 3] and g(x) = 2 x+ x , where x ∈ I. Let x0 ∈ I and define xn+1 = g(xn ) for n = 1, 2, 3, · · · .
(a) Show that the equation x = g(x) has exactly one root in I.
Solution. (a) Let f (x) = x − g(x). Since f (2)f (3) < 0, by intermediate value theorem, f (x) = 0 i.e. x = g(x)
has at least one root in I. Note that f 0 (x) = 1
2 + 5
2x2 > 0 for all x ∈ I. It says that f is a strictly increasing,
and the root in I is unique.
(b) We shall investigate the absolute maximum and minimum of g on I. The derivative g 0 (x) = 1 5
2 1− x2 . From
√ √ √
g 0 (x) = 0, we have x = 5 or − 5. We look at x = 5. Note that
√ 5
g 00 ( 5) = √ > 0,
( 5)3
√
by the second derivative test, g(x) attains the local minimum at x = 5. Comparing the following three
candidates:
9 √ √ 7
g(2) = , g( 5) = 5 and g(3) = ,
4 3
√ √
one obtains 5 = g( 5) ≤ g(x) ≤ g(3) = 37 , and hence 2 < g(x) < 3 for all x ∈ I. From xn = g(xn−1 ), we
have 2 < xn < 3.
(c) For g 0 (x) = 21 1 − x52 and g 00 (x) = x53 > 0 for all x ∈ I, so g 0 is increasing, therefore,
1 2
− = g 0 (2) ≤ g 0 (x) ≤ g 0 (3) = .
8 9
(d) (i) By the mean value theorem, there exists ξ ∈ (2, 3) such that
g(xn−1 ) − g(α)
= g 0 (ξ).
xn−1 − α
1 5
lim xn+1 = lim xn + .
n→∞ n→∞ 2 xn
1 5
√
One arrives α = 2 α+ α which gives α2 = 5. Since α ∈ [2, 3], then we have α = 5, in other words,
√
lim xn = 5.
n→∞
(b) Find, if any, the relative maximum and minimum points and the point of inflexion of f (x).
Solution. (a) Differentiation gives f 0 (x) = −(2x + 1)e−2x and f 00 (x) = 4xe−2x .
(b) f (x) = 0 gives x = − 12 . Because f 00 (− 12 ) < 0, by the second derivative test, the maximum point is
(− 21 , f (− 12 )) = (− 12 , 2e ).
Note that
< 0 if x < 0
00
f (x) = 0 if x = 0 .
> 0 if x > 0
(c) First notice that lim f (x) = ∞. Making use of the mean value theorem, we get ex > 1 + x for x > 0,
x→−∞
and hence 0 < (1 + x)e−2x < e−x for x > 0. Then, by the sandwich theorem, we have lim f (x) =
x→+∞
(d)
(e)
(f)
(g)
(h)
(i)
42
7 Indefinite integration
7.1 Primitive functions
Exercise 1. (Level 2)
R
Find f (x)dx for the following functions f (x).
(a) f (x) = πx
(b) f (x) = xπ
(f) f (x) = eπ
(g) f (x) = π x
π 2
R
Solution. (a) f (x)dx = 2x +C
xπ+1
R
(b) f (x)dx = π+1 +C
x−π+1
R
(c) f (x)dx = −π+1 +C
π+1
π
R
(d) f (x)dx = π+1 x
π +C
π−1
π
R
(e) f (x)dx = 1−π x
π +C
f (x)dx = eπ x + C
R
(f)
ex ln π πx
ex ln π dx =
R R
(g) f (x)dx = ln π +C = ln π +C
ln x ln π
R R
(h) f (x)dx = ln x dx = x ln π + C
ln x 1
R R
(i) f (x)dx = ln π dx = x ln π +C
Exercise 2. (Level 2)
q
Let |x| < 1. Show that the following three functions cos−1 x, − sin−1 x and 2 cos−1 1
2 (x + 1) are the primitive
functions of a same function.
43
r ! 1
√ √
d −1 1 2 2 x+1 1
2 cos (x + 1) = −2 q = −√
dx 2 1− 1 1 − x2
2 (x + 1)
Exercise 3. (Level 3)
R
Find f (x)dx for the following functions f (x).
2
(x + 2)
for x > 0
(a) f (x) = 2 for x = 0
1 for x < 0
(d) f (x) = |x + 3| + |x − 2|
1
(e) f (x) = |x+3|+|x−2|
(x+2)3
(
R
3 for x ≥ 0
Solution. (a) f (x)dx = F (x) + C where F (x) =
x + 83 for x < 0
x3 x2
R
(b) f (x)dx = 3 + 2 + 6x + C
3
x x2
3 + 2 − 6x for x ≥ 2
R 3 2
(c) f (x)dx = F (x) + C where F (x) = − x3 − x2 + 6x + 44 3 for −3 ≤ x < 2
x 3 2
x 37
3 + 2 − 6x − 3 for x < −3
2
x + x
for x ≥ 2
R
(d) f (x)dx = F (x) + C where F (x) = 5x − 4 for −3 ≤ x < 2
2
−x − x − 13 for x < −3
ln |2x+1|
2
for x ≥ 2
R
(e) f (x)dx = F (x) + C where F (x) = x5 + ln25 − 52 for −3 ≤ x < 2
ln |2x+1|
− 2 + ln 5 − 1 for x < −3
Exercise 4. (Level 3)
Find
1√
R
(b) √
ax+b− ax+c
dx provided that b 6= c.
44
Solution. (a)
sin2 x + cos2 x
Z Z
1
dx = dx
sin2 x cos2 x sin2 x cos2 x
Z
1 1
= 2 + 2x
dx
sin x cos
= tan x − cot x + C
(b)
Z Z √ √
1 ax + b + ax + c
√ √ dx = dx
ax + b − ax + c (ax + b) − (ax + c)
2 h 3 3
i
= (ax + b) 2 + (ax + c) 2 + C
3a(b − c)
Exercise 5. (Level 2)
Evaluate the integrals.
x
R
(a) √1+x 2
dx
R√
(b) x3 + 1x2 dx
ex cos ex dx
R
(c)
ln3 x
R
(d) x dx
√
√ x 1 √ 1 + x2 ) =
R R
Solution. (a) 1+x2
dx = 2 1+x2
d(1 1 + x2 + C
R√ 1
R√ 3
(b) x3 + 1x2 dx = 3 x3 + 1d(1 + x3 ) = 92 (x3 + 1) 2 + C
Exercise 6. (Level 3)
Evaluate the following integrals.
x2n−1
R
(b) xn +1 dx
√1
R
(c) x+ x2 +1
dx
√ln x
R
(d) x 1+ln x
dx
45
Solution. (a)
Z Z
6
1 + tan xdx = (tan4 x − tan2 x + 1)(1 + tan2 x)dx
Z
= (tan4 x − tan2 x + 1)(sec2 x)dx
Z
= (tan4 x − tan2 x + 1)d tan x
tan5 x tan3 x
= − + tan x + C
5 3
(b)
√ t2 −1 t2 +1
(c) Let t = x + x2 + 1, then x = 2t and dx = 2t2 dt. We have
t2 + 1
Z Z
1
√ dx = dt
x + x2 + 1 2t3
Z
1 1 1
= + 3 dt
2 t t
1 1
= ln |t| − 2 + C
2 2t
1 p 1
= 2
ln |x + x + 1| − √ + C.
2 2(x + x2 + 1)2
ln x
(d) Let t = 1 + ln x, then x dx = (t − 1)dt. We have
Z Z
ln x 1 2 1 2 1
√ dx = t− 2 (t − 1)dt = (t − 3)t 2 + C = (ln x − 2)(1 + ln x) 2 + C.
x 1 + ln x 3 3
x+a
R cosn−1
(b) sinn+1
2
x−a dx if cos a 6= 0.
2
46
Solution. (a)
cos(a − b)
Z Z
dx 1
= dx
sin(x + a) cos(x + b) cos(a − b) sin(x + a) cos(x + b)
cos[(x + a) − (x + b)]
Z
1
= dx
cos(a − b) sin(x + a) cos(x + b)
Z
1 cos(x + a) sin(x + b)
= + dx
cos(a − b) sin(x + a) cos(x + b)
Z Z
1 d sin(x + a) d cos(x + b)
= −
cos(a − b) sin(x + a) cos(x + b)
1 sin(x + a)
= ln +C
cos(a − b) cos(x + b)
cosn−1 x+a
Z Z
1
2
dx = − 2tn−1 dt
sinn+1 x−a
2
cos a
tn
= − +C
n cos a
1 cosn x+a 2
= − + C.
n cos a sinn x−a
2
Exercise 8. (Level 2)
Evaluate the following integrals:
R
(b) ln xdx
Solution. (a)
Z Z Z
2
x sec xdx = xd tan x = x tan x − tan xdx = x tan x − ln | sec x| + C
(b)
Z Z Z
ln xdx = x ln x − xd ln x = x ln x − 1dx = x ln x − x + C
(c)
Z Z
2
sec x ln tan xdx = ln tan xd tan x = tan x ln tan x − tan x + C
47
sin2 xdx
R
(a)
x5
R
(b) (1+x3 )3 dx
1+x
x2 ln 1−x
R
(c) dx
1+sin x
ex
R
(d) 1+cos x dx
R
(e) sin ln xdx
Solution. (a)
Z Z
sin2 xdx = − sin xd cos x
Z
= − sin x cos x + cos2 xdx
Z
= − sin x cos x + 1 − sin2 xdx
Z
= − sin x cos x + x − sin2 xdx
gives that
Z
sin x cos x x
sin2 xdx = − + + C.
2 2
(b)
x5 −x3
Z Z
dx = d(1 + x3 )−2
(1 + x3 )3 6
x3 x2
Z
= − + dx
6(1 + x3 )2 2(1 + x3 )2
x3
Z
1
= − + d(1 + x3 )
6(1 + x3 )2 6(1 + x3 )2
x3 1
= − − +C
6(1 + x3 )2 6(1 + x3 )
48
(c)
Z Z
2 1+x 1 1+x 3
x ln dx = ln dx
1−x 3 1−x
x3
Z
1+x 1 1+x
= ln − x3 d ln
3 1−x 3 1−x
x3 x3
Z
1+x 2
= ln − dx
3 1−x 3 1 − x2
x3 x(x2 − 1) + x
Z
1+x 2
= ln − dx
3 1−x 3 1 − x2
x3
Z Z
1+x 2 2 x
= ln + xdx − dx
3 1−x 3 3 1 − x2
x3 1 + x x2
Z
1 1
= ln + + d(1 − x2 )
3 1−x 3 3 1 − x2
x3 1 + x x2 1
= ln + + ln(1 − x2 ) + C
3 1−x 3 3
(d)
Z
x 1 + sin x
e dx
1 + cos x
Z
1 + sin x
= dex
1 + cos x
Z
1 + sin x 1 + sin x
= ex − ex d
1 + cos x 1 + cos x
Z
1 + sin x 1 + sin x + cos x
= ex − ex dx
1 + cos x (1 + cos x)2
Z Z
1 + sin x 1 sin x
= ex − ex dx − ex dx
1 + cos x 1 + cos x 1 + cos x
Z Z
x 1 + sin x x 1 x 1
= e − e dx − e d
1 + cos x 1 + cos x 1 + cos x
Z Z
x 1 + sin x x 1 x 1 x 1
= e − e dx − e + e dx
1 + cos x 1 + cos x 1 + cos x 1 + cos x
x sin x
= e +C
1 + cos x
49
(a) x21+9 dx
R
√ 1
R
(b) x2 +9
dx
R√
(c) x2 + 9dx
√ 1
R
(d) 25−x2
dx
R√
(e) 25 − x2 dx
√ 1
R
(f) x2 −16
dx
R√
(g) x2 − 16dx
= ln | tan z + sec z| + C 0
√
x x2 + 9
= ln | + | + C0
3 3
p
= ln |x + x2 + 9| + C.
(c)
Z p p Z p
x2 + 9dx = x x2 + 9 − xd x2 + 9
x2
p Z
= x x2 +9− √ dx
x2 + 9
x2 + 9
Z
Z
p 9
= x +9− x2√ dx + √ dx
2
x +9 2
x +9
p Z p p
= x x2 + 9 − x2 + 9dx + 9 ln |x + x2 + 9|
gives that
√
x x2 + 9 9
Z p p
x2 + 9dx = + ln |x + x2 + 9| + C
2 2
(e)
Z p p Z p
25 − x2 dx = x 25 − x2 − xd 25 − x2
x2
p Z
= x 25 − x2 + √ dx
25 − x2
x2 − 25
Z
Z
p 25
= x 25 − + √ x2 dx + √ dx
25 − x 2 25 − x2
Z p Z
p 25
= x 25 − x2 − 25 − x2 dx + √ dx
25 − x2
gives that
√
x 25 − x2
Z p
25 x
25 − x2 dx = + sin−1 + C.
2 2 5
51
= ln | sec z + tan z| + C 0
√
x x2 − 16
= ln | + | + C0
4 4
p
= ln |x + x2 − 16| + C.
(g)
Z p p Z p
x2 − 16dx = x x2 − 16 − xd x2 − 16
x2
p Z
= 2
x x − 16 − √ dx
x2 − 16
x2 − 16
Z Z
p 1
= 2
x x − 16 − √ dx − 16 √ dx
2
x − 16 2
x − 16
Z p Z
p 1
= x x2 − 16 − x2 − 16dx − 16 √ dx
x2 − 16
gives that
√
x x2 − 16
Z p p
x2 − 16dx = − 8 ln |x + x2 − 16| + C.
2
1
R
(b) x2 +x+1 dx
2 sin x
R
(c) 3 sin2 x+4 cos2 x
dx
1
R
(d) x2 −2x cos α+1 dx (0 < α < π)
R (sin−1 x)2
(e) √
1−x2
dx
1√
R
(f) (1+x2 ) 1−x2
dx
52
(b)
Z Z
1 1 2 2x + 1
dx = 1 2 dx = √ tan−1 √
3 + C.
x2 + x + 1 (x + 2) + 4 3 3
(c)
Z Z
2 sin x d cos x 2 cos x
dx = −2 = − √ tan−1 √ + C.
3 sin2 x + 4 cos2 x 3 + cos2 x 3 3
(d)
Z Z
1 1
dx = dx
x2 − 2x cos α + 1 x2 − 2x cos α + cos2 α + sin2 α
Z
1
= dx
(x − cos α)2 + sin2 α
1 x − cos α
= tan−1 +C
sin α sin α
1 A B 1 1
Solution. Put x2 −100 = x−10 + x+10 . Then we have 1 = A(x + 10) + B(x − 10), hence A = 20 and B = − 20 .
Thus,
Z Z
dx 1 1
= − dx
x2 − 100 20(x − 10) 20(x + 10)
1 1
= ln |x − 10| − ln |x + 10| + C
20 20
1 x − 10
= ln + C.
20 x + 10
√ √
(b) (i) Show that 1
= √ x+ √2 − √ x− √2 .
x4 +1 2
2 2(x + 2x+1) 2
2 2(x − 2x+1)
1
R
(ii) Find x4 +1 dx.
2−x −1 2x − 1
Z Z
1 1
dx = + dx
3(1 − x + x2 ) 6 1−x+x 2 2 1 − x + x2
d(1 − x + x2 ) 1
Z Z
1 dx
= − +
6 1−x+x 2 2 (x − 21 )2 + 3
2
1 1 2x − 1
= − ln(1 − x + x2 ) + √ tan−1 √ + C,
6 3 3
2−x
Z Z
1 1
dx = + dx
x3 + 1 3(1 + x) 3(1 − x + x2 )
1 1 1 2x − 1
= ln |x + 1| − ln(1 − x + x2 ) + √ tan−1 √ + C.
3 6 3 3
and
√
−x + 2
Z
√ √ dx
2 2(x2 − 2x + 1)
Z √
y+ 2
= − √ √ dy
2 2(y 2 + 2y + 1)
1 √ 1
= − √ ln(y 2 + 2y + 1) − √ tan−1 (2y + 1) + C2
4 2 2 2
1 √ 1
= − √ ln(x2 − 2x + 1) + √ tan−1 (2x − 1) + C2 ,
4 2 2 2
one obtains
Z
1
dx
x4 +1
√ √
x− 2
Z
x+ 2
= √ √ − √ √ dx
2 2(x2 + 2x + 1) 2 2(x2 − 2x + 1)
1 √ 1
= √ ln(x2 + 2x + 1) + √ tan−1 (2x + 1)
4 2 2 2
1 √ 1
− √ ln(x2 − 2x + 1) + √ tan−1 (2x − 1) + C
4 2 2 2
√
1 x2 + 2x + 1 1 1
= √ ln √ + √ tan−1 (2x + 1) + √ tan−1 (2x − 1) + C.
4 2 x2 − 2x + 1 2 2 2 2
(i)
sinm+1 x cosn−1 x n−1
Im,n = + Im,n−2
m+n m+n
55
(ii)
sinm+1 x cosn+1 x m−1
Im,n = − + Im,n−2
m+n m+n
sin4 x cos4 xdx.
R
(b) Find
8 Definite Integration
8.1 Mean value theorem for integrals
Exercise 1. (Level 2)
R1 R1
Given that 0 x21+1 dx = π
4 and 0
sin πxdx = 2
π. Show that there exist two points a and b in the closed interval
[0, 1] such that
Z 1
sin πx 2 π
= = sin πb.
0 x2 + 1 π(a2 + 1) 4
1
Solution. Both functions x2 +1 and sin πx are continuous and positive for over (0, 1). Applying the mean value
theorem twice, we get that
there exist two points a and b in the closed interval [0, 1] such that
Z 1 Z 1
sin πx 1 2
= 2 sin πxdx = ,
0 x2 + 1 a +1 0 π(a2 + 1)
and
Z 1 Z 1
sin πx 1 π
= sin πb dx = sin πb.
0 x2 + 1 0 x2 + 1 4
Exercise 2. (Level 2)
Evaluate the following integrals:
y2
R 20
(a) −4
y+5− 16 dy
R2 1
(b) 1
2y + 3 − 4(2x+3) dy
R2
(c) 0
|1 − y|dy
π
y
sec3 tan y2 dy
R
(d) 2
0 2
R 2017 1
(e) −2017
y 2017 (y 7102 + 7201)y 2017 sin2017 y ln |y 7102 + 2017|dy
Solution. (a)
20 20
y2
2
y3
Z
y
y+5− dy = + 5y − = 144
−4 16 2 48 −4
(b)
Z 2 2
1 1 1 7
2y + 3 − dy = y 2 + 3y + ln |2x + 3| = 6 + ln | |
1 4(2x + 3) 8 1 8 5
58
(c)
Z 2 Z 1 Z 2 1 2
1 1
|1 − y|dy = 1 − ydy + y − 1dy = y − y 2 + y 2 − y = 1
0 0 1 2 0 2 1
(d)
π π √
2 h 3 y i π2 2 8−2
Z Z
2
3 y y 2 y 2y
sec tan dy = 2 sec d sec = sec =
0 2 2 0 2 2 3 2 0 3
Exercise 3. (Level 3)
Evaluate the following integrals:
√
3
1√
R
(a) 1
2
sin−1 x 1−x2
dx
2
R ln 2 √
(b) 0
ex − 1dx
R2
(c) 1
x2 ln xdx
R2
(d) 1
x2 ln2 xdx
Solution. (a)
√ √
3 3
d sin−1 x
Z Z
2 1 2
√ dx = dx
1
2
sin−1 x 1 − x2 1
2
sin−1 x
√
3
ln sin−1 x 12
=
2
= ln 2
π
(b) Let sec2 y = ex , then dx = 2 tan ydy. When x = 0 or x = ln 2, y = 0 or y = 4 accordingly. We have that
π
Z ln 2 √
Z 4
q
ex − 1dx = tan2 y · 2 tan ydy
0 0
Z π
4
= 2 tan2 ydy
0
Z π
4
= 2 sec2 y − 1dy
0
π
= 2 [tan y − y]04
π
= 2−
2
59
(c)
2 2
x3
Z Z
x2 ln xdx = ln xd
1 1 3
3 2 Z 2 2
x x
= ln x − dx
3 1 1 3
3 2
8 x
= ln 2 −
3 9 1
8 7
= ln 2 −
3 9
(d)
2 2
x3
Z Z
x2 ln2 xdx = ln2 xd
1 1 3
3 2 Z 2 2
x x
= ln2 x − d ln2 x
3 1 1 3
Z 2 2
8 2 2x
= ln 2 − ln xdx
3 1 3
8 2 2 8 7
= ln 2 − ln 2 −
3 3 3 9
8 2 16 14
= ln 2 − ln 2 +
3 9 27
π
1+sin x
R
(b) 2
0
ln 1+cos x dx = 0;
π
1 π
R
(c) 2
0 1+tanλ x
dx = 4;
R1
(d) √1 dx = π
0 x+ 1−x2 4.
π
Solution. (a) By means of the substitution x = 2 − y,
π π
sinm x cosm x
Z 2
Z 2
m dx = m dx.
0 sin x + cosm x 0 sin x + cosm x
60
Thus,
π
sinm x
Z 2
m dx
0 sin x + cosm x
Z π2 Z π2 !
1 sinm x cosm x
= dx + dx
2 0 sinm x + cosm x 0 sinm x + cosm x
Z π
1 2
= 1dx
2 0
π
= .
4
π
(b) Making use of the substitution x = 2 − y,
Z π Z π
2 2
ln(1 + sin x)dx = ln(1 + cos x)dx.
0 0
We then have
Z π Z π Z π
2 1 + sin x 2 2
ln dx = ln(1 + sin x)dx − ln(1 + cos x)dx = 0.
0 1 + cos x 0 0
π
(c) By substitution x = 2 − y, it suggests us that
π π π
tanλ x
Z Z Z
2 1 2 1 2
dx = dx = dx.
0 1 + tanλ x 0 1 + cotλ x 0 1 + tanλ x
We hence get
π π π
!
tanλ x
Z Z Z
2 1 1 2 1 2
dx = dx + dx
0 1 + tanλ x 2 0 1 + tanλ x 0 1 + tanλ x
Z π
1 2
= 1dx
2 0
π
= .
4
π
(d) Let x = sin z, then dx = cos zdz and when x = 0, z = 0; when x = 1, z = 2. One arrives that
π
Z 1 Z
1 2 sin x π
√ dx = dx = ,
0 x + 1 − x2 0 sin x + cos x 4
Exercise 5. (Level 2)
Find the derivative of the functions below.
R 2x
(a) a sin t ln(1 + t)dt
R 2x
(b) b
sin t ln(1 + x)dt
61
Rc
(c) 2x
sin t ln(1 + t)dt
R 2x
(d) 2x
sin t ln(1 + x)dt
0
Solve F (x) = 0.
F 0 (x) = 0
√ 2 √ 2
( 2)sec x sec x tan x − ( 2)tan x sec2 x = 0
tan x √ 2 2
= ( 2)tan x−sec x
sec x
1
sin x = √
2
π
x = .
4
Exercise 7. (Level 3)
Evaluate the following limits
1
R x2 sin2 t
(a) lim x4 0 t2 ln(1 + t)dt
x→0
1
R x2 sin2 t
(b) lim x3 0 t2 ln(1 + x)dt
x→0
(c) lim Rx 1 − 3
x→0 x 0
sin t2 dt x4
62
one gets
2 2
x2
!
sin2 t ( sinx4x ln(1 + x2 ))(2x)
Z
1
lim ln(1 + t)dt = lim
x→0 x4 0 t2 x→0 4x3
1 sin2 x2 ln(1 + x2 )
= lim · lim
2 x→0 x4 x→0 x2
1
= .
2
(b) Noting
2 2
x2
!
sin2 t 2x( sinx4x )
Z
1
lim dt = lim =1
x→0 x2 0 t2 x→0 2x
and
ln(1 + x) 1
lim = lim = 1,
x→0 x x→0 1 + x
one gets
x2 x2
! !
sin2 t sin2 t
Z Z
1 1 ln(1 + x)
lim ln(1 + x)dt = lim dt · lim
x→0 x3 0 t2 x→0 x2 0 t2 x→0 x
= 1.
(c) Noting
x3 3x2
lim R x = lim =3
x→0
0
sin t2 dt x→0 sin x2
and
Rx
x3 − 3 0
sin t2 dt 3x2 − 3 sin x2
lim = lim
x→0 x7 x→0 7x6
6x − 6x cos x2
= lim
x→0 42x5
1 − cos x2
= lim
x→0 7x4
2x sin x2
= lim
x→0 28x3
1
= ,
14
63
it gives
! Rx
1 3 x3 − 3 0 sin t2 dt
lim Rx
2
− 4 = lim Rx
x→0 x 0 sin t dt x x→0 x4 0 sin t2 dt
Rx
x3 − 3 0 sin t2 dt x3
= lim · lim R x
x→0 x7 x→0
0
sin t2 dt
3
= .
14
Exercise 8. (Level 3)
Rx Rx
Let f is a continuous function on R. Suppose lim ( 0 f (t)dt + f (x)) exists and that lim (ex 0 f (t)dt) = ∞.
x→+∞ x→+∞
Show that lim f (x) = 0.
x→+∞
Solution. By L’Hopital’s rule and the fundamental theorem of calculus, then we get
x
Rx
ex f (t)dt
Z
0
lim f (t)dt = lim
x→+∞ 0 x→+∞ ex
Rx
ex ( 0 f (t)dt + f (x))
= lim
x→+∞ ex
Z x
= lim ( f (t)dt + f (x)).
x→+∞ 0
Rx
Hence lim f (t)dt exists and lim f (x) = 0.
x→+∞ 0 x→+∞
∞
X xn
− ln(1 − x) = .
n=1
n
∞
X xn
?
n=1
n2
x ∞
xX ∞ Z x ∞ ∞
xn+1 xn
Z Z
1 X X X
dt = tn dt = tn dt = = .
0 1−t 0 n=0 n=0 0 n=0
n + 1 n=1 n
64
Rx 1
On the other hand, we have 0 1−t
dt = − ln(1 − x). Hence
∞
X xn
− ln(1 − x) = .
n=1
n
x ∞ n−1
xX ∞ Z x n−1 ∞
− ln(1 − t) xn
Z Z
t X t X
dt = dt = dt =
0 t 0 n=1
n n=1 0 n n=1
n2
π 1
(a) For 0 < x < 2, show that ln sec x < 2 sin x tan x.
Rx 8 ln sec x
(b) Define g(x) = 0
(1 + sec t)dt and ρ(x) = [g(x)]2 for x ∈ (0, π2 ).
(i) Show that g(x) > 0 for x ∈ (0, π2 ), and find g(x).
(ii) Show that ρ(x) is decreasing.
(Hint: Consider [g(x)]3 ρ0 (x) cot x.)
(iii) Find lim ρ(x).
x→0+
Rx f (x)
(c) Define f (x) = 0
(1 + sec t) ln sec tdt and σ(x) = g(x) ln sec x for x ∈ (0, π2 ).
(iii) It is given the following fact: Let u, v : [0, c) → R be two continuous functions and continuously
u0
differentiable on (0, c), in which satisfied that u, v and v0 are positive and increasing. Furthermore if
u
u(0) = v(0) = 0, then v is increasing.
A. Show that 1 − csc x cot x ln sec x is increasing.
(1+sec
R x) ln sec x
B. Show that tan x 0x 1+sec tdt
is increasing.
(1+sec
R x) ln sec x .
C. Find lim+ tan x 0x 1+sec tdt
x→0
2
Solution. (a) Let h(x) = ln sec x− 12 sin x tan x. Differentiation gives h0 (x) = tan x 1 − cos x+sec x
= − tan x (coscos
x−1)
2 x <
π 1
0 for 0 < x < 2. Hence h(x) < h(0), that is, ln sec x < 2 sin x tan x.
Rx
(b) (i) Since the integrand 1 + sec t > 0 for t ∈ (0, π2 ), g(x) > 0 for x ∈ (0, π2 ). And g(x) = 0
1 + sec tdt =
x + ln(sec x + tan x).
65
(ii) Note that, by the fundamental theorem of calculus, g 0 (x) = 1 + sec x. Then
which gives
[g(x)]3 ρ0 (x) cot x = 8(g(x) − 2(csc x + cot x) ln sec x).
ln sec x tan x
Note that lim+ sin x = lim+ cos x = 0, and hence
x→0 x→0
which implies that ρ0 (x) < 0 provided that g(x) and cot x both are positive on the interval. Thus ρ(x)
is decreasing.
sin x cos x
(iii) We first compute lim g(x) = lim 1+sec x = 21 . Then,
x→0+ x→0+
8 ln sec x
lim ρ(x) = lim
x→0+ x→0+ [g(x)]2
4 tan x
= lim+
x→0 g(x)(1 + sec x)
4 sin x
= lim+
x→0 1 + cos x g(x)
= 1.
8 ln sec x 4 sin x
lim ρ(x) = lim = lim = 0.
x→ π
2
− π
x→ 2 − [g(x)]2 x→ π
2
− g(x)(1 + cos x)
Rx
(1+sec t) ln sec tdt
(c) Define σ(x) = 0
g(x) ln sec x for x ∈ (0, π2 ).
66
and
Rx
8 0
(1 + sec t) ln sec tdt
σ(x) =
ρ(x)[g(x)]3
then we get
Rx
8
(1 + sec t) ln sec tdt
0
lim+ σ(x) = lim+
x→0 x→0 ρ(x)[g(x)]3
Rx
1 8 0 (1 + sec t) ln sec tdt
= lim · lim
x→0+ ρ(x) x→0+ [g(x)]3
1
= .
3
π− 49π π 49π
(ii) When x → 2 , x would be viewed as any number greater than 100 , then ln sec t > 1 for 2 >t> 100 .
π
For 2 >t > 49π
100 ,
Z x
(1 + sec t) ln sec tdt
0
Z x Z cos−1 1
e
= (1 + sec t) ln sec tdt + (1 + sec t) ln sec tdt
1
cos−1 e 0
Z x
> (1 + sec t)dt
1
cos−1 e
1 1 1
= x + ln(sec x + tan x) − cos−1 + ln(sec(cos−1 ) + tan cos−1 ( ))
e e e
π−
→ ∞ as x → .
2
67
ln sec x tan x
Using lim
π g(x) = lim
π 1+sec x = 1, we get
x→ 2 − x→ 2 −
Rx
0
(1 + sec t) ln sec tdt
lim σ(x) = lim
x→ π
2
− x→ π
2
− g(x) ln sec x
(1 + sec x) ln sec x
= lim
x→ π
2
− g(x) tan x + (1 + sec x) ln sec x
1
= lim g(x)
x→ π − tan x
2
ln sec x 1+sec x +1
1
= .
2
as, by (a),
ln sec x tan x 1
then, lim+ sin2 x
= lim+ 2 sin x cos x = 2 gives us that
x→0 x→0
= 0.
Hence
1 − csc x cot x ln sec x is increasing
B. Note that
(1 + sec x) ln sec x (cot x + csc x) ln sec x
Rx = Rx ,
tan x 0 1 + sec tdt 0
1 + sec tdt
1
= ,
2
ln sec x tan x
and lim+ sin x = lim+ cos x = 0. Since
x→0 x→0
Z x
lim+ ((cot x + csc x) ln sec x) = 0 and lim+ 1 + sec tdt = 0,
x→0 x→0 0
and by the previous result, 1 − csc x cot x ln sec x is positive and increasing, by the given fact we get
(1+sec
R x) ln sec x is increasing.
tan x 0x 1+sec tdt
Rx
1+sec tdt
C. lim+ 0 sin x = lim+ 1+sec
cos x
x
= 2 gives, by (b)(iii),
x→0 x→0
(1 + sec x) ln sec x
lim
Rx
tan x 0 1 + sec tdt
x→0+
Rx !
1 + sec tdt ρ(x)
= lim+ (1 + cos x) · 0 ·
x→0 sin x 8
1
= .
2
D. Note that
Z x Z x
lim (1 + sec t) ln sec tdt = 0 and lim (ln sec x 1 + sec tdt) = 0,
x→0+ 0 x→0+ 0
and
Rx
( 0 (1 + sec t) ln sec tdt)0
Rx
(ln sec x 0 1 + sec tdt)0
(1 + sec x) ln sec x
= Rx
(1 + sec x) ln sec x + tan x 0 1 + sec tdt
1
= tan x 0x 1+sec tdt
R
1+ (1+sec x) ln sec x
69
1
≥ lim tan x 0x 1+sec tdt
R
x→0+ 1+ (1+sec x) ln sec x
1
=
3
which says that it is positive. Using the given fact, one obtains that σ(x) is increasing.
π
Z2
I0 = ex sin xdx
−π
2
π
Z2
= sin xdex
−π
2
π
Z2
π
= [ex sin x]− π −
2
ex d sin x
2
−π
2
π
Z2
π
−π
= e +e
2 2 − ex cos xdx
−π
2
π
Z2
π
−π
= e +e
2 2 − cos xdex
−π
2
π
Z2
π π π
= e 2 + e− 2 − [ex cos x]− π − 2
ex sin xdx
2
−π
2
π π
= e 2 + e− 2 − I0 .
It gives
π π
e 2 + e− 2
I0 = .
12 + 1
71
π
Z2
= sin x cos xdex
−π
2
π
Z2
π
= [ex sin x cos x]− π − 2
ex d(sin x cos x)
2
−π
2
π
Z2
= − ex (cos2 x − sin2 x)dx
−π
2
π
Z2
= − (cos2 x − sin2 x)dex
−π
2
π
Z2
π
= − ex (cos2 x − sin2 x) −2 π + ex d(cos2 x − sin2 x)
2
−π
2
π
Z2
π π
= e 2 − e− 2 − 4 ex sin x cos xdx
−π
2
π π
= e 2 − e− 2 − 4I1 .
π
Z2
1
= − ex sin xd cosn+1 x
n+1
−π
2
π
Z2
1
= ex sin x cosn+1 xdx
n+1
−π
2
In+1
= .
n+1
72
π
Z2
= sin x cosn xdex
−π
2
π
Z2
= − ex d(sin x cosn x)
−π
2
π
Z2
= − ex (cosn+1 x − n sin2 x cosn−1 x)dx
−π
2
π
Z2
= − ex ((n + 1) cosn+1 x − n cosn−1 x)dx
−π
2
that is,
(n + 1)2 + 1 In = n(n − 1)In−2 .
n(n − 1)
In = In−2
(n + 1)2 + 1
n(n − 1) (n − 2)(n − 3)
= · In−4
(n + 1)2 + 1 (n − 1)2 + 1
..
.
( π π
n!
[(n+1)2 +1]···[22 +1] (e
2 − e− 2 ) when n is odd
= n! π
−π
[(n+1)2 +1]···[12 +1] (e +e ) when n is even.
2 2
R∞ dx
(b) 2 x(ln x)k
R∞ 1−ln x
(c) 2 x2 dx
R1
(d) 0
3x2 ln xdx
1 −1 3
Solution. (a) Note that (1+x)(2+3x) = 1+x + 2+3x . Since
Z ∞ Z X
dx dx
= lim
0 (1 + x)(2 + 3x) X→∞ 0 (1 + x)(2 + 3x)
X
−1
Z
3
= lim + dx
X→∞ 0 1 + x 2 + 3x
X
2 + 3x
= lim ln
X→∞ 1+x 0
2 + 3X
= lim ln − ln 2
X→∞ 1+X
3
= ln ,
2
k = 1: Since
Z ∞ Z X
dx dx X
= lim = lim [ln ln x]2 = lim [ln ln X − ln ln 2] = ∞,
2 x ln x X→∞ 2 x ln x X→∞ X→∞
(c) Because
X X X
1 − ln x
Z Z Z
1 1
dx = dx + ln xd
2 x2 2 x2 2 x
Z X X Z X
1 ln x 1
= dx + − dx
2 x2 x 2 2 x2
ln X ln 2
= −
X 2
74
ln X 1
and by l’Hopital’s rule, lim = lim = 0, therefore,
X→∞ X X→∞ X
∞
1 − ln x
Z
ln 2
dx = − .
2 x2 2
3x2 ln xdx:
R
(d) Apply integration by parts on
x3
Z Z Z
2 3 3
3x ln xdx = ln xdx = x ln x − x2 dx = x3 ln x − .
3
Consequently,
Z 1 Z 1
3x2 ln xdx = lim 3x2 ln xdx
0 ε→0+ ε
1
x3
3
= lim x ln x −
ε→0+ 3 ε
ε3
1 3
= lim − + ε ln ε −
ε→0+ 3 3
1
= − .
3
ln ε 1
lim+ ε3 ln ε = lim+ −3
= lim+ = 0.
ε→0 ε→0 ε ε→0 −3ε−3
(x+1)2 (x−1)
Solution. The integrand f (x) = x3 (x−2) is unbounded at x = 0 and x = 2. We first treat the following four
improper integrals:
0 1 2 3
f 0 (x) f 0 (x) f 0 (x) f 0 (x)
Z Z Z Z
dx, dx, dx and dx.
−1 1 + f 2 (x) 0 1 + f 2 (x) 1 1 + f 2 (x) 2 1 + f 2 (x)
75
f 0 (x)
= tan−1 f (x) + C, we get
R
Using 1+f 2 (x) dx
0 a
f 0 (x) f 0 (x)
Z Z
dx = lim− dx
−1 1 + f 2 (x) a→0 2
−1 1 + f (x)
a
lim− tan−1 f (x) −1
=
a→0
Therefore, we arrive at
3
f 0 (x)
Z
dx
−1 1 + f 2 (x)
0 1 2 3
f 0 (x) f 0 (x) f 0 (x) f 0 (x)
Z Z Z Z
= dx + dx + dx + dx
−1 1 + f 2 (x) 0 1 + f 2 (x) 1 1 + f 2 (x) 2 1 + f 2 (x)
π π π 32 π
= − − − + tan−1 −
2 2 2 27 2
32
= tan−1 − 2π.
27
76
√ x
ln 1 + 2x ≤ ln(1 + x) ≤ ln(1 + )2 .
2
Solution. Since h is positive, H is positive. By the fundamental theorem of calculus, H 0 (t) = h(t) ≥ H(t), we
then integrate from 0 to x,
Z x 0 Z x
H (t)
dt ≥ dt.
0 H(t) 0
nx2
< ln(1 + x2 )n < nx2 .
1 = x2
77
R 1+x2 1
Solution. Observe that ln(1 + x2 ) = 1 t dt and for 1 ≤ t ≤ 1 + x2 ,
1 1
≤ ≤ 1.
1 + x2 t
Therefore,
1+x2 1+x2
nx2
Z Z
2 n 1 1
ln(1 + x ) = n dt ≥ n dt =
1 t 1 1 + x2 1 + x2
and
Z 1+x2 Z 1+x2
2 n 1
ln(1 + x ) = n dt ≤ n 1dt = nx2 .
1 t 1
Combining, we get
nx2
< ln(1 + x2 )n < nx2 ,
1 = x2
as desired.
then we get
(1 − |a|)2 ≤ 1 − 2a cos x + a2 ≤ (1 + |a|)2 .
i.e.
π(1 − |a|)2 ≤ I(a) ≤ π(1 + |a|)2 .
I(a) + I(−a)
Z π Z π
= ln(1 − 2a cos x + a2 )dx + ln(1 + 2a cos x + a2 )dx
0 0
Z π
= ln(1 − 2a2 cos(2x) + a4 )dx
0
Z 2π
1
= ln(1 − 2a2 cos t + a4 )dt
2 0
Z π Z 2π
1 1
= ln(1 − 2a2 cos t + a4 )dt + ln(1 − 2a2 cos t + a4 )dt
2 0 2 π
Z 2π
1 1
= I(a2 ) − ln(1 − 2a2 cos(2π − t) + a4 )d(2π − t)
2 2 π
Z π
1 1
= I(a2 ) + ln(1 − 2a2 cos s + a4 )ds
2 2 0
1 1
= I(a2 ) + I(a2 )
2 2
= I(a2 )
and
Z π
I(−a) = ln(1 − 2a cos x + a2 )dx
0
Z π
= − ln(1 + 2a cos(π − x) + a2 )d(π − x)
0
Z π
= ln(1 + 2a cos t + a2 )dt
0
= I(a).
79
= I(a) − 2π ln |a|.
n
(iv) When |a| < 1, lim a2 = 0, by (ii) and (i)
n→∞
1 n
I(a) = lim n
I(a2 ) = 0.
n→∞ 2
1
I(a) = I( ) + 2π ln |a| = 2π ln |a|.
a
(c) The derivations of I(a) + I(−a) = I(a2 ) and I(a) = I(−a) haven’t used the assumption |a| 6= 1, the results
remain true when a = ±1. Hence solving I(1) + I(−1) = I(1) and I(1) = I(−1), we have I(1) = I(−1) = 0,
as desired.
(a) Suppose f (x), g(x) are continuously differentiable functions such that f 0 (x) ≥ 0 for a ≤ x ≤ b.
Rx
(i) Let w(x) = a
g(t)dt. Show that
Z b Z b
f (x)g(x)dx = f (b)w(b) − f 0 (x)w(x)dx.
a a
(ii) Using the mean value theorem for integral, show that
Z b Z b Z c
f (x)g(x)dx = f (b) g(x)dx + f (a) g(x)dx
a c a
(b) Let F (x) be a function with a continuous second derivative such that F 00 (x) ≥ 0 and F 0 (x) ≥ m > 0 for
a ≤ x ≤ b. Using (a) with f (x) = − F 01(x) and g(x) = −F 0 (x) cos F (x). Show that
Z
b 4
cos F (x)dx ≤ .
m
a
(Remark: This lemma plays an important role in the theory of exponential sums.)
80
(ii) By the mean value theorem for integral, there is a c ∈ [a, b] such that
Z b Z b
f 0 (x)w(x)dx = w(c) f 0 (x)dx = f (b)w(c) − f (a)w(c).
a a
and
Z c
| g(x)dx| ≤ 2.
a
81
F 00 (x)
F 00 (x) ≥ 0 ensures that f 0 (x) = (F 0 (x))2 ≥ 0. We are ready to use (a) and the estimations above. Then
Z
b Z b Z c
cos F (x)dx = |f (b) g(x)dx + f (a) g(x)dx|
a c a
Z b Z c
≤ |f (b) g(x)dx| + |f (a) g(x)dx|
c a
2 2
≤ +
m m
4
≤ .
m
(c) (i) For x ∈ [0, 1], xn ≥ xn+1 , then cos xn ≤ cos xn+1 ≤ 1 so, by integrating from 0 to 1,
Z 1 Z 1
n
cos x dx ≤ cos xn+1 dx ≤ 1.
0 0
R1
Hence the sequence { 0 cos xn dx} is increasing and bounded by 1, by monotone convergence theorem,
R1
lim 0 cos xn dx exists.
n→∞
(ii) For 1 ≤ x ≤ 2π, let F (x) = xn . Then F 0 (x) = nxn−1 ≥ n and F 00 (x) = n(n−1)xn−2 ≥ 0 for 1 ≤ x ≤ 2π.
We are in position to use the result of (b), we get
Z 2π
4
| cos xn dx| ≤ .
1 n
R 2π R1 R 2π R1
Hence, by (c)(i), lim cos xn dx = lim cos xn dx + lim cos xn dx = lim cos xn dx exists.
n→∞ 0 n→∞ 0 n→∞ 1 n→∞ 0