Professional Documents
Culture Documents
Lesson 6
Wang Fei
matwf@nus.edu.sg
Department of Mathematics
Office: S14-02-09
Tel: 6516-2937
Chapter 3:Derivatives 20
Tangent Line. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Velocity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
1
Chapter 2:
Continuous Functions 2 / 26
∴ sin x is continuous at 0.
• g(x) = cos x. Let −π/2 < x < π/2.
∴ cos x is continuous at 0.
3 / 26
O x
4 / 26
2
Continuity of Trigonometric Functions
• Let a ∈ R.
lim cos x = lim cos(a + h)
x→a h→0
= lim (cos a cos h − sin a sin h)
h→0
= cos a · lim cos h − sin a · lim sin h
h→0 h→0
= cos a · 1 − sin a · 0
= cos a.
◦ cos x is continuous everywhere.
O x
5 / 26
y = tan x
O x
6 / 26
3
Continuity of Trigonometric Functions
cos x
cot x =
sin x
are continuous whenever sin x 6= 0,
1
csc x =
sin x
Domain = R\{0, ±π, ±2π, ±3π, ±4π, . . .}.
y
y = csc x
y = cot x
O x
7 / 26
Example
q
4
• Example. f (x) = | x50 − x2 + 1| is continuous on R.
O x
8 / 26
4
Composite of Continuous Functions
• Theorem. If f is continuous at b and lim g(x) = b, then
x→a
lim f (g(x)) = f (b).
x→a
Or equivalently,
lim f (g(x)) = f lim g(x) .
x→a x→a
• Proof of Corollary.
lim (f ◦ g)(x) = lim f (g(x)) = f lim g(x)
x→a x→a x→a
= f (g(a)) = (f ◦ g)(a).
9 / 26
Example
• Suppose y = f (x) such that lim f (x) = b. Then
x→a
◦ Then g is continuous
at y =
b, and then
◦ lim g(f (x)) = g lim f (x) = g(b) = lim g(y).
x→a x→a y→b
10 / 26
5
Composite of Continuous Functions
• Theorem. If f is continuous at b and lim g(x) = b, then
x→a
lim f (g(x)) = f (b).
x→a
11 / 26
• Proof of Theorem.
◦ Let ǫ > 0. There exists δ1 > 0 such that
|y − b| < δ1 ⇒ |f (y) − f (b)| < ǫ.
◦ For this δ1 > 0, there exists δ > 0 such that
0 < |x − a| < δ ⇒ |g(x) − b| < δ1 .
◦ Therefore,
0 < |x − a| < δ ⇒ |g(x) − b| < δ1
⇒ |f (g(x)) − f (b)| < ǫ.
12 / 26
6
Intermediate Value Theorem
• Let f be a function continuous on [a, b].
Suppose f (a) < 0 and f (b) > 0.
y
O b x
◦ As x moves from a to b,
f (x) moves smoothly from negative to positive.
◦ f is continuous ⇒ the graph has no break.
13 / 26
O b x
14 / 26
7
Example
• Show that there is a real root to 4x3 − 6x2 + 3x − 2 = 0.
◦ Let f (x) = 4x3 − 6x2 + 3x − 2.
• f is a polynomial ⇒ f is continuous on R.
In order to use Intermediate Value Theorem,
we shall find two numbers a and b such that
• f (a) < 0 and f (b) > 0.
f (0) = −2 < 0
there is a c ∈ (0, 2)
f (2) = 12 > 0 ⇒
such that f (c) = 0.
f is continuous on [0, 2]
y
b
3
√
1 + 3
2 2
O 1
b
b x
2
15 / 26
Example
• Stretch a rubber band by moving one end to the right and the other to the left.
It seems that some point of the band will end up in its original position.
• Solution. Suppose the rubber band has length 1, and it is put on the interval [0, 1].
◦ Let f (x) be the position of x after stretching. Then
• f is continuous on [0, 1], f (0) < 0, f (1) > 1.
◦ Define g(x) = f (x) − x. Then
g is continuous on [0, 1]
⇒ g(c) = 0 for some c ∈ (0, 1).
g(0) < 0 and g(1) > 0
i.e., f (c) = c. The rubber band has a fixed point.
16 / 26
8
Intermediate Value Theorem (General Version)
• Intermediate Value Theorem
Let f be a function continuous on [a, b] with f (a) 6= f (b).
◦ Let N be a number between f (a) and f (b),
◦ Then there exists c ∈ (a, b) such that f (c) = N .
y
f (b)
N b
f (a)
O a c x
b
17 / 26
f (b) f (b) − N
a x
N b b
O c b
y = f (x)
f (a) f (a) − N y = f (x) − N
O a c b x
18 / 26
9
Intermediate Value Theorem (General Version)
• Proof. Case 2. f (a) > f (b).
y y
f (a) N − f (b)
y = f (x)
a x
N b b
O c b
O a c b x
19 / 26
Chapter 3:
Derivatives 20 / 26
y ∆y
Q mP Q =
• (a + h)2 ∆x
Q
• (a + h)2 − a2
=
Q h
•
Q
•
P
b a2
O a x
a+h
21 / 26
10
Definition of Derivative
• The derivative of a function f at a number a is
f (a + h) − f (a)
f ′ (a) := lim .
h→0 h
◦ f is differentiable at a if f ′ (a) exists.
◦ f ′ (a) is the slope of y = f (x) at x = a.
• Let x = a + h. Then h = x − a, and h → 0 ⇔ x → a. We may use an equivalent definition:
f (x) − f (a)
f ′ (a) := lim .
x→a x−a
• The tangent line to y = f (x) at (a, f (a)) is the line passing through (a, f (a)) with slope f ′ (a):
22 / 26
Examples of Derivatives
• Let f (x) = x2 − 8x + 9. Find f ′ (3).
f (3 + h) − f (3)
f ′ (3) = lim
h→0 h
[(3 + h)2 − 8(3 + h) + 9] − (32 − 8 · 3 + 9)
= lim
h→0 h
(−6 − 2h + h2 ) − (−6)
= lim
h→0 h
−2h + h2
= lim = lim (−2 + h) = −2.
h→0 h h→0
That is, 2x + y = 0.
23 / 26
11
Examples of Derivatives
x sin x1 , if x 6= 0,
2
• Let f (x) = Find f ′ (0).
0, if x = 0.
f (h + 0) − f (0)
f ′ (0) = lim
h→0h
h2 sin h1 − 0
= lim
h→0
h
1
= lim h sin
h→0 h
= 0.
24 / 26
Velocity
• Let s = s(t) be the position function of a particle.
◦ instantaneous velocity at time t = a: s′ (a);
◦ speed at time t = a: |s′ (a)|.
• Example. A ball is dropped from a tower 450m above the ground. Find its velocity after 5
seconds.
12
Example
1
• The position of a particle is given by s(t) = .
1+t
Find its velocity and speed after 2 seconds.
s(2 + h) − s(2)
s′ (2) = lim
h→0 h
1 1 −h
1+2+h
− 1+2 3(3+h)
= lim = lim
h→0 h h→0 h
−1 1
= lim =− .
h→0 3(3 + h) 9
26 / 26
13