Professional Documents
Culture Documents
10/23/2014
and
Example A.
1. sin x, cos x, x2 + 2x + 3, ln x, ex , |x − 0.5| are continuous functions
defined on the closed interval [1, 2].
2. (
2 if x = 0,
f (x) =
x if 0 < x ≤ 1.
is not a continuous function defined on [0,1].
3.
2 if x = 0,
f (x) = 1
if 0 < x ≤ 1.
x
is not a continuous function defined on [0,1].
1
4.
2 if x = 0,
f (x) =
sin( 1 ) if 0 < x ≤ 1.
x
is not a continuous function defined on [0,1].
Question A.
2
Theorem 5 (Fermat’s theorem) Suppose the continuous function f attains
a local maximum (local minimum) at a (b). If f is differentiable at a(b),
thenf 0 (a) = 0 (f 0 (b) = 0).
Therefore,
f (x) − f (a)
≤ 0, for all x ∈ (a, a + ), (5)
x−a
f (x) − f (a)
≥ 0, for all x ∈ (a − , a). (6)
x−a
Taking the limit of (5) and (6) respectively, we obtain
f (x) − f (a)
lim ≤ 0, (7)
x→a+ x−a
f (x) − f (a)
lim ≥ 0. (8)
x→a − x−a
Since f 0 (a) exists, we have
f 0 (c) = 0.
3
Theorem 7 (Mean value theorem) If a function f (x) is continuous on a
closed interval [a, b], differentiable on the open interval (a, b), then there
exists a c ∈ (a, b) such that
f (b) − f (a)
f 0 (c) = .
b−a
The proof of the mean value theorem. Define
f (b) − f (a)
g(x) = f (x) − (x − a) − f (a).
b−a
Then g(x) is continuous on a closed interval [a, b], differentiable on the open
interval (a, b) and g(a) = 0 = g(b). By Rolle’s theorem, there exists a
c ∈ (a, b) such that g 0 (c) = 0. We notice that
f (b) − f (a)
0 = g 0 (c) = f 0 (c) − .
b−a
This completes the proof of the mean value theorem.
4
Theorem 9 (Taylor expansion theorem) Suppose f ∈ C n+1 (a, b). Let c ∈
(a, b) and
1 00 1
pn (x) = f (c) + f 0 (c)(x − c) + f (c)(x − c)2 + · · · + f (n) (c)(x − c)n .
2! n!
Then, for each x ∈ (a, b) there exists ξ between x and c such that
f (n+1)
f (x) = p(x) + (ξ)(x − c)n+1 . (11)
(n + 1)!
Proof of Taylor expansion theorem. Let g(x) = f (x) − p(x) and
h(x) = (x − c)n+1 . It is readily seen that
g(c) = g 0 (c) = · · · = g (k) (c) = · · · = g (n) (c) = 0,
and
h(c) = h0 (c) = · · · = h(k) (c) = · · · = h(n) (c) = 0.
By the generalized mean value theorem, we see that
g(x) g(x) − g(c) g 0 (x1 )
= = 0 , (12)
h(x) h(x) − h(c) h (x1 )
for some x1 in between c and x. Notice also, by he generalized mean value
theorem again,
g 0 (x1 ) g 0 (x1 ) − g 0 (c) g 00 (x2 )
= = , (13)
h0 (x1 ) h0 (x1 ) − h0 (c) h00 (x2 )
for some x2 in between c and x1 . Inductively, we have
g(x) g 0 (x1 ) g 00 (x2 ) g (n) (xn ) g (n) (xn ) − g (n) (c)
= 0 = 00 = · · · = (n) = (n)
h(x) h (x1 ) h (x2 ) h (xn ) h (xn ) − h(n) (c)
g (n+1) (ξ) f (n+1) (ξ)
= = .
h(n+1) (ξ) (n + 1)!
Hence,
f (n+1) (ξ) f (n+1) (ξ)
f (x) − p(x) = g(x) = h(x) = (x − c)(n+1) .
(n + 1)! (n + 1)!
This completes the proof of Taylor expansion theorem.
5
Proof of the corollary First, we suppose that f 0 (x) ≥ 0 for all x ∈
(a, b). For a ≤ x1 ≤ x2 ≤ b, by the mean value theorem, there exits a
c ∈ (x1 , x2 ) such that
2. f 0 (ξ) = 0.
Example C.
(1) Let f (x) = x3 + 3x2 + 3x, find the maximum and the minimum of f (x)
over the closed interval [-1,4].
6
(2) Let f (x) = sin x + cos x, find the maximum value of f (x) over the
interval [0, 2π].
f (x)
(4) Let h5 (x) = g(x) . Find h05 (π).
(6) Let h7 (x) = xx , for x > 0. Find h07 (x) for x > 0.
7
(9) Calculate limx→0+ x ln x.
We call b the infimum of A (or the greatest lower bound of A) and denote
it by inf A. On the contrary, if d ∈ R satisfies
We call b the supremum of A (or the least upper bound of A) and denote it
by sup A.
Remark 15 By the least upper bound axiom, we see that any bounded non-
decreasing/nonincreasing sequence has a limit.
Question C.
2 2 2
a1 + a2 + an +
(1) Let a1 = 1.1, a2 = 2 a1 , a3 = 2 a2 , · · · , an+1 = 2 an , · · · . Prove
that (i) bk := a2k+1 is an increasing sequence and ck := a2k is a de-
creasing sequence where k = 1, 2, 3, · · · . (ii) Moreover, bn < cm for
any m, n ∈ N. (iii) Find the limit of the sequence {an }∞n=1 .
1 1 1
(2) Let an = n+1 + n+2 + ··· + 2n , find limn→∞ an .
8
(4) Let bn = 1 + 12 + 13 + · · · + n1 . Prove that for any positive number M ,
there exists a positive integer m such that bn > M for n > m. Hence,
limn→∞ bn = ∞ (the limit does not exist).
(5) Find pn (x) (the n−th order Taylor polynomial) for (i) ex at 0 (take
c = 0 in Theorem 9.), (ii) ln(1 + x) at 0, (iii) cos x at 0, (iv) sin x at 0.