Professional Documents
Culture Documents
GU
AM
T.
PH
D.
1 / 59
-V
GU
Outline
Limit of functions
Continuity
Derivative as a function
D.
T.
PH
AM
2 / 59
Limit of a function
if x 6= 3
if x = 3
f (x)
4.98
4.998
4.9998
4.99998
4.999998
|5 f (x)|
0.02
0.002
0.0002
0.00002
0.000002
2.9999999
4.9999998
0.0000002
5+
5
5
D.
T.
PH
AM
x
2.99
2.999
2.9999
2.99999
2.999999
-V
GU
(
2x 1
Consider f (x) =
6
3 3 3+
3 / 59
-V
GU
Limit of a function
AM
lim f (x) = L
xa
PH
|f (x) L| < .
D.
T.
if 0 < |x a| <
4 / 59
Limit of a function
Ex: Prove that lim (4x 5) = 7
x3
-V
GU
Ans:
Guessing : given an arbitrary > 0, we need to find > 0 s.t.
if 0 < |x 3| < then |(4x 5) 7| < .
AM
We have
PH
D.
T.
|(4x 5) 7| < .
5 / 59
Limit of a function
Ex: Prove that lim (x 2 1) = 0
x1
-V
GU
Ans:
Guessing : given an arbitrary > 0, we need to find > 0 s.t.
if 0 < |x 1| < then (x 2 1) 0 < .
T.
PH
AM
We have (x 2 1) 0 = |x 1| |x + 1| < (we want) .
We may choose = min{1/4, /3}.
Proof: For any > 0, there is = min{1/4, /3} satisfying that if
0 < |x 1| < , then |x 1| < < 1/4 3/4 < x < 5/4
7/4 < x + 1 < 9/4 7/4 < |x + 1| < 9/4 .
D.
6 / 59
-V
GU
xa
AM
|f (x) L| <
PH
a <x <a
if
Def: We say that
lim f (x) = L
T.
xa+
if
D.
a<x <a+
then
|f (x) L| <
7 / 59
lim+
-V
GU
x0
Ans:
PH
We may choose = 2 ?
AM
D.
T.
For every > 0, there is = 2 > 0 such that if 0 < x < = 2 then
x 0 = x < = 2 = .
Hence, lim+ x
x0
8 / 59
Limit Laws
xa
xa
3
xa
xa
T.
xa
xa
lim f (x)
f (x)
= xa
xa g (x)
lim g (x)
lim
D.
xa
xa
4
xa
AM
xa
PH
-V
GU
Limit Laws: Suppose that lim f (x) and lim g (x) exist and let c R.
xa
xa
Then
if
xa
lim g (x) 6= 0
xa
xa
9 / 59
AM
-V
GU
Limit Laws
D.
T.
PH
Proof:
10 / 59
Some corollaries
-V
GU
In the rest of this course, except when being asked to use the definition of
limit to prove, we can use the six Limit Laws and the following simple
limits without proving:
lim c = c
xa
2
lim x = a
AM
xa
sin x
=1
x
lim x n = an
xa
lim n x = n a
xa
q
p
lim n f (x) = n lim f (x) if the second limit exists and if n is even
lim
T.
xa
D.
PH
xa
xa
Proof:
Duong T. PHAM - EEIT2014
11 / 59
Limit Laws
Ex: Evaluate lim (3x 3 2x 2 + 10) and lim
x2
x2
Ans:
x +1
x 2 2x + 3
x2
-V
GU
x2
x2
x2
= 3 lim x 3 2 lim x 2 + 10
x2
3
x2
2
lim (x + 1)
x +1
x2
=
x2 x 2 2x + 3
lim (x 2 2x + 3)
PH
and
AM
= 3 2 2 2 + 10 = 26
x2
D.
T.
lim
lim x + lim 1
x2
2
x2
x2
x2
x2
2+1
= 2
=1
2 22+3
Duong T. PHAM - EEIT2014
12 / 59
Limit Laws
Proposition: If f (x) = g (x) for all x 6= a, then lim f (x) = lim g (x)
Ex: Find lim f (x) where
x2
if x 6= 2
if x = 2
PH
AM
(
x2 + 1
f (x) =
10
xa
-V
GU
xa
T.
D.
x2
x2
=5
13 / 59
-V
GU
Limit Laws
(x 2)2 4
x0
x
AM
Ans: We have
(x 2)2 4
= lim (x 4) = 4.
x0
x0
x
D.
lim
T.
Hence,
PH
(x 4)x
(x 2)2 4
=
= x 4 x 6= 0.
x
x
14 / 59
xa
xa
-V
GU
lim f (x) = L
lim f (x) = L
+
xa
AM
x0
D.
T.
PH
(
x
if x 0
Ans: We have |x| =
x if x < 0.
Thus,
(
limx0+ |x| = limx0+ x = 0
limx0+ |x| = limx0+ (x) = 0
lim |x| = 0
x0
15 / 59
x
= 1 if x < 0
x
Thus,
|x|
= limx0+ 1 = 1
limx0+
|x|
|x|
x
lim
6= lim+
|x|
x0 x
x0 x
limx0
= limx0 (1) = 1
x
D.
T.
PH
AM
-V
GU
|x|
does not exist.
x0 x
lim
16 / 59
Limit of functions
Theorem: Let a (b, c). There holds
f (x) g (x) x (b, c)\{a}
xa
xa
-V
GU
)
xa
xa
Proof: Denote lim f (x) = L and lim g (x) = M. Suppose further that M < L
xa
AM
xa
= 0 := (L M)/3 > 0.
PH
xa
T.
xa
D.
|f (x) L| < 0
=f (x) > g (x)
|g (x) M| < 0
Contradiction.
Duong T. PHAM - EEIT2014
17 / 59
Squeeze Theorem
-V
GU
1
x
AM
xa
lim g (x) = L
xa
PH
xa
T.
D.
18 / 59
Infinite Limit
1
= .
|x|
AM
if 0 < |x a| <
-V
GU
Def: Let a (b, c). Then lim f (x) = means that for arbitrary
xa
positive number M, there exists > 0 satisfying
PH
T.
then
1
>M
|x|
D.
1
1
But |x|
> M |x| < 1/M. Therefore, we choose = M
, then clearly
we have
1
1
if 0 < |x| < =
then
> M,
M
|x|
19 / 59
-V
GU
Infinite Limit
AM
Def: Let a (b, c). Then lim f (x) = means that for arbitrary
xa
negative number N, there exists > 0 satisfying
then
f (x) < N
D.
T.
PH
if 0 < |x a| <
20 / 59
-V
GU
Exercises
2.3:
D.
T.
PH
2.4:
AM
21 / 59
Continuity
-V
GU
Def: Let a (b, c) and let f be a function defined on (b, c). Function
f is continuous at a if
lim f (x) = f (a)
f (a)
D.
T.
f (x)
approaches
f (a)
PH
AM
xa
a
As x approaches a
22 / 59
(
1x
Ex: Given f (x) =
x2
if x 1
if x > 1.
y
4
PH
AM
f (1) = 1 1 = 0
T.
D.
1
1
-V
GU
Continuous functions
x1+
x1
x1
x1
f is NOT continuous at x = 1
x
23 / 59
-V
GU
Continuous functions
AM
PH
xa+
D.
T.
xa
24 / 59
Continuous functions
if x 1
if x > 1.
-V
GU
(
1x
f (x) =
x2
AM
x1+
x1
PH
and f (1) = 0
T.
D.
1
1
x1
x1+
25 / 59
-V
GU
Continuous on intervals
AM
D.
T.
PH
26 / 59
Continuous on intervals
Ex: Show that function f (x) = 1
-V
GU
Ans:
Besides,
PH
= f is continuous at a.
AM
p
q
lim f (x) = lim (1 1 x 2 ) = 1 1 lim x 2
xa
xa
xa
p
2
= 1 1 a = f (a)
x1
D.
T.
p
q
lim + f (x) = lim + (1 1x 2 ) = 1 1 lim + x 2 = 1= f (1)
x1
x1
x1
p
q
2
lim f (x) = lim (1 1x ) = 1 1 lim x 2 = 1= f (1)
x1
x1
27 / 59
-V
GU
Continuous functions
f +g
f g
fg
f
if g (a) 6= 0
g
cf where c is a constant
Proof:
T.
D.
PH
AM
28 / 59
-V
GU
Continuous functions
Theorem:
T.
PH
AM
D.
Proof:
29 / 59
Continuous functions
x 2 + 2x 3
x2 (x 3)(x + 3)
lim
-V
GU
Ex: Find
Ans:
x 2 + 2x 3
is continuous at any point x 6= 3 and
(x 3)(x + 3)
AM
Function f (x)
PH
x 6= 3
D.
T.
= It is continuous at x = 2
x 2 + 2x 3
(2)2 + 2 (2) 3
= lim
= f (2) =
x2 (x 3)(x + 3)
(2 3)(2 + 3)
3
=
5
30 / 59
Continuous functions
-V
GU
Theorem: The following types of functions are continuous at every number in their domains:
polynomials
AM
rational functions
PH
root functions
trigonometric functions
T.
D.
logarithmic functions
31 / 59
-V
GU
PH
AM
D.
T.
Proof:
32 / 59
-V
GU
AM
y = f (x)
PH
f (b)
D.
T.
f (a)
33 / 59
-V
GU
AM
PH
D.
T.
34 / 59
AM
-V
GU
D.
T.
PH
35 / 59
-V
GU
Exercises
2.5:
AM
PH
D.
T.
36 / 59
Limits at infinity
-V
GU
lim
1
y=
x
1
=
x
D.
T.
PH
AM
x
Duong T. PHAM - EEIT2014
37 / 59
Limit at Infinity
Def: Let f be a function defined on some interval (a, ). Then
lim f (x) = L
-V
GU
1
=0
x
|f (x) L| <
PH
then
AM
if x > N
D.
T.
Ans:
Let > 0 be an arbitrary positive number.
We choose N = 1 > 0 . Then
1 1 1
1
if x > N = then = < = .
x
x
x N
Hence, limx 1/x = 0.
Duong T. PHAM - EEIT2014
38 / 59
Limit at Infinity
Def: Let f be a function defined on some interval (, a). Then
-V
GU
lim f (x) = L
|f (x) L| <
PH
AM
if x < N
T.
D.
then
f (x) >
39 / 59
-V
GU
Limit at Infinity
T.
PH
if x > N
AM
D.
40 / 59
Horizontal Asymptote
-V
GU
PH
x2 1
.
Ex: Consider y = 2
x +1
2
x 1
=
Since
lim 2
x x + 1
x2 1
lim 2
= 1, the
x x + 1
line y = 1 is a horizontal
asymptote of the curve.
AM
D.
T.
41 / 59
-V
GU
Exercises
2.6:
AM
1, 3, 4, 11, 13, 14
PH
1530; 3744
D.
T.
42 / 59
Tangent line
y =
xQ a
(x a) + f (a)
f (xQ ) f (a)
xQ a
(x a) + f (a)
AM
y = f (x)
D.
T.
f (a)
f (xQ ) f (a)
y =
PH
f (xQ )
lim
xQ a
-V
GU
xQ
43 / 59
Tangent line
-V
GU
Def: The tangent line to the curve y = f (x) at the point P(a, f (a)) is
the line through P with slope
f (x) f (a)
xa
x a
m = lim
AM
PH
T.
D.
f (x) f (1)
x2 1
= lim
= lim (x + 1) = 2
x1
x1 x 1
x1
x 1
m = lim
(y = 2x 1)
September 30, 2014
44 / 59
Tangent line
y
D.
T.
PH
AM
-V
GU
y = 2x 1
45 / 59
Derivative
PH
AM
-V
GU
T.
D.
f 0 (a) = lim
h0
f (a + h) f (a)
h
46 / 59
Derivative
-V
GU
f (a + h) f (a)
h
(a + h)2 + 2(a + h) + 3 (a2 + 2a + 3)
= lim
h0
h
(a + h)2 a2 + 2h
(2a + h)h + 2h
= lim
= lim
h0
h0
h
h
= lim (2a + h + 2)
f 0 (a) = lim
D.
h0
T.
PH
AM
h0
= 2a + 2
47 / 59
Derivative
-V
GU
Corollary: The tangent line to to the curve y = f (x) at the point (a, f (a))
is given by
y f (a) = f 0 (a)(x a)
AM
PH
T.
f 0 (a) = 2a + 2.
D.
Thus, f 0 (0) = 2. Applying the above corollary, the desired tangent line is
y 3 = 2(x 0) or
y = 2x + 3
48 / 59
Rate of change
AM
-V
GU
y
f (x2 ) f (x1 )
=
x
x2 x1
D.
T.
PH
y = f (x2 ) f (x1 )
49 / 59
-V
GU
Rate of change
= lim
f (x2 ) f (x1 )
y
= lim
x2 x1
x
x2 x1
PH
AM
x0
T.
f 0 (x1 ) = lim
y
f (x2 ) f (x1 )
= lim
x2 x1
x
x2 x1
D.
x0
50 / 59
-V
GU
Exercises
AM
2.7:
D.
T.
PH
51 / 59
Derivative
-V
GU
AM
PH
Ans: We have
f (x + h) f (x)
(x + h)3 (x + h) (x 3 x)
= lim
h0
h0
h
h
h[(x + h)2 + (x + h)x + x 2 ] h
= lim
h0
h
2
= lim (x + h) + (x + h)x + x 2 1
D.
T.
f 0 (x) = lim
h0
2
= 3x 1
52 / 59
Derivative
y
-V
GU
y = 3x 2 1
D.
T.
PH
AM
y = x3 x
53 / 59
-V
GU
Differentiable functions
AM
PH
T.
df
d
dy
=
=
f (x) = Df (x) = Dx f (x)
dx
dx
dx
D.
f 0 (x) = y 0 =
54 / 59
Differentiable functions
-V
GU
AM
x > 0: then f (x) = |x| = x and for sufficiently small |h|, we have x + h > 0.
Thus
f (x + h)f (x)
|x + h| |x|
x + hx
f 0 (x) = lim
= lim
= lim
= lim 1= 1
h0
h0
h0
h0
h
h
h
PH
= f is differentiable on (0, )
D.
T.
x < 0: then f (x) = |x| = x and for sufficiently small |h|, we have
x + h < 0. Thus
|x + h| |x|
(x + h)(x)
f 0 (x) = lim
= lim
= lim (1)= 1
h0
h0
h0
h
h
= f is differentiable on (, 0)
55 / 59
Differentiable functions
-V
GU
h0
f (0 + h)f (0)
|0 + h| |0|
h
= lim
= lim
= lim 1= 1
h
h
h
h0
h0
h0
PH
lim
AM
and
D.
= limh0
f (0 + h)f (0)
f (0 + h)f (0)
6= lim
h
h
h0
T.
lim
h0+
f (0+h)f (0)
h
56 / 59
Differentiability = continuity?
Theorem: If f is differentiable at a then f is continuous at a
Proof:
T.
PH
AM
Then
-V
GU
f (x) f (a)
exists ( = L )
xa
x a
f (x) f (a)
lim [f (x) f (a)] = lim
(x a)
xa
xa
x a
f (x) f (a)
= lim
lim (x a)
xa
xa
x a
= L 0 = 0.
f is differentiable at a = lim
xa
D.
Thus,
xa
xa
= 0 + f (a) = f (a).
= f is continuous at a.
Duong T. PHAM - EEIT2014
57 / 59
Higher derivatives
AM
-V
GU
PH
f 0 (x + h) f 0 (x)
3(x + h)2 1 (3x 2 1)
= lim
h0
h0
h
h
3h(2x + h)
= lim [3(2x)]
= lim
h0
h0
h
= 6x
D.
T.
f 00 (x) = lim
Def: The third derivative f 000 is defined to be the derivative of f 00 , i.e., f 000 = (f 00 )0
and so on ...
Duong T. PHAM - EEIT2014
58 / 59
-V
GU
Exercises
AM
2.8:
D.
T.
PH
59 / 59