Topic 2 MSS 123
Topic 2 MSS 123
1
Topic 2
Limits and
Continuity of a
function
2
Outline:
• Definitions of Limits, Epsilon-delta definition of
limits and evaluation of limits
• Intermediate value theorem, extreme value
theorem
• Elementary functions and their limits; one-side
limits, asymptotic limits; curve sketching.
• Continuity of function and inverse functions.
3
Limit
We say that the limit of a function, f (x) as x approaches a is
L and this can be written as:
x→a
lim f (x) = L
4
Evaluation of Limits
𝑥−1
1. a) Use table of values to guess the value of lim 2
𝑥→1 𝑥 −1
𝑥−1
b) Draw the graph f (x) = 2 and confirm your guess in (a)
𝑥 −1
(i) x = 1, 1 , 1 , 1
10 100 1000
( )
Confirm this by ploting the graph of f (x) = sin x
6
( x)
b) lim sin
x→0
(i) x = 1, 1 , 1 , 1
10 100 1000
( )
Confrim this by ploting the graph of f (x) = sin x
7
Limit Rules
If c is any number, lim f (x) = L and lim g(x) = M , then
x→a x→a
g) lim c = c h) lim x = a
x→ a x→a
9
Examples Using Limit Rule
Ex. lim (x 2 +1) = lim
x→3
x 2 + lim1
x→3
x→3
( ) + lim1
2
= lim x
x→3 x→3
= 32 +1 = 10
2 −1 1
= =
3+5 8
10
More Examples
1. Suppose lim f (x) = 4 and lim g(x) = −2. Find
x→3 x→3
= 4 − (−2) = 6
2 f (x) − g(x) lim 2 f (x) − lim g(x) 24−(−2) −5
c) lim = x→3 x→3
= =
x→3
f (x)g(x) lim f (x) lim g(x) 4(−2) 4
x→3 x→3 41
One-Sided Limit
The right-hand limit of f (x), as x approaches a,
equals L is denoted as:
lim f (x) = L
x→a +
if we can make the value f (x) arbitrarily close
to L by taking x to be sufficiently close to the
right of a.
y = f (x)
L
a
12
The left-hand limit of f (x), as x approaches a,
equals M is denoted as:
lim f (x) = M
x→a −
y = f (x)
M
a
13
Examples of One-Sided Limit
𝑥 2 𝑖𝑓 𝑥 ≤ 3
1. Given 𝑓(𝑥) = ቊ
2𝑥 𝑖𝑓 𝑥 > 3
14
One-Sided Limit
Theorem:
lim f (x) = L if and only if lim+ f (x) = L and lim− f (x) = L.
x→a x→a x→a
But
lim f (x) = 2 because lim+ f (x) = 2 and lim− f (x) = 2.
x→1 x→1 x→1
16
Indeterminate Forms
17
More Examples
Example:
𝑥−3 𝑥−3 𝑥+3 𝑥−9 1
lim = lim ∗ = lim =
𝑥→9 𝑥−9 𝑥→9 𝑥−9 𝑥+3 𝑥→9 (𝑥−9)( 𝑥+3) 6
4−𝑥 2
Exercise: Evaluate lim 2 3
𝑥→−2 2𝑥 +𝑥
Limits at Infinity
1 1
For all n > 0, lim = lim =0
x→ xn x→− xn
1
provided that x n is defined.
3x + 5x +1
2 3+ 5x + 1
lim = lim x2 Divide
Ex. x→
2 − 4x 2 x→ 2 −4 by x2
x2
=
lim 3 + lim 5 ( x )+ lim (1 x ) 2 3+ 0+ 0
=−
3
x→ x→ x→
=
lim 2
x→
( x )− lim 4
2
x→
0−4 4
20
More Examples
2x 3 3x 2 2
2 x3 − 3x2 + 2 3
− 3 + 3
1. l i m 3 = lim x x x
x→
x − x − 100 x + 1
2
x→ x 3 x 2 100x 1
3− 3 − 3 + 3
x x x x
3 2
2− + 3
x x
= lim
1
1− − 100 1
+ 3
x→
x x 2
x
2
= =2
1
21
4x − 5x + 21
2 x 2 + 2x − 4
3.
x→ 12x + 31
2. lim 3 lim
x→ 7x + 5x 2 −10x +1
x2 2x 4
x + x − x
4x 2 5x 21
− 3+ 3
x3 x x = lim
= lim x→
12x 31
x→ 7x 3
x + x
2
5x 10x 1
3 + − + 3
x x 3
x 3
x
4 − 5 + 21 x+2− 4
x x2 x 3
= li m x
x→ 5
7+ − 1 0 1
+ 3 = lim
x x 2
x
x→
12 + 31
0 x
= + 2
7 =
12
=0 =
22
4. lim
x→
( x2 +1 − x )
= lim
( x2 +1 − x )
x 2 +1 + x
x→
1 x2 +1 + x
x2 +1− x2
= lim
x→
x +1 + x
2
1
= lim
x +1 + x
x→ 2
1 1
= = =0
+ 55
Infinite Limits 20
10
1 5
lim+ =
x→a (x − a )
n -8 -6 -4 -2
-5
-10
2
-15
-20
40
30
1
lim− = if n is even 20
x→a
(x − a )n
10
-2 2 4 6
-10
-20
20
1
lim− = − if n is odd 15
x→a ( x − a )
n 10
-8 -6 -4 -2 2
-5
-15
56
Examples
Find the limits
3x 2 + 2x +1 3+ 2 + 1 2 3+ +
1. lim = lim
x x = =
+
x→0 2x 2
x→0+ 2 2
2x +1
2. lim +
2x +1
= lim
x→−3 2x + 6 x→−3+ 2(x + 3)
= −
40
20
-8 -6 -4 -2 2
-20
57
The Epsilon-delta (-) Definition of
Limit
⇒2 | x − 3 | 𝜀
⇒| 2x − 6 | 𝜀
⇒ | (2x − ) −1 |
⇒ | f(x) −L |
Solution:
In this problem, you are working with a given value of
–namely, = 0.01.
To find an appropriate , try to establish a connection
between the absolute values
Example 1(b) Solution
Notice that
lim 𝑥 2 + 𝑥 − 2 = 4
𝑥⟶2
33
Example 2-Solution
To prove that lim 𝑥 2 + 𝑥 − 2 = 4
𝑥 ⟶2
Let 0 be given. We need to find a 0 such that
if 𝑥 − 2 < 𝛿 then 𝑥2 + 𝑥 − 2 − 4 < 𝜀
That is 𝑥 − 𝑎 < 𝛿 then 𝑓(𝑥) − 𝐿 < 𝜀
Now
34
Example 2-Solution
37
Example 2- Solution
𝜀
• We choose 𝛿 = 𝑚𝑖𝑛 1, , the smaller of these two
6
Then
Example 2-Solution
Then
40
Example 2-Solution
2 1
iii. lim 1 − 4𝑥 = 7 viii. lim =
−3
𝑥→ Τ2 𝑥→3 𝑥+3 3
1 𝑥+4 1
iv. lim =1 ix. lim = −
𝑥→1 𝑥 𝑥→−6 2−𝑥 4
49
Example 3 - Explanations
52
Example 3- Explanations
55
Examples At which value(s) of x is the given function
discontinuous?
x −9
2
1. f (x) = x + 2 2. g(x) =
x+3
Continuous everywhere
Continuous everywhere
lim(x + 2) = a + 2
x→a
except at x = −3
6 2
4 -6 -4 -2 2 4
-2
2
-4
-6
-4 -2 2 4
-2 -8
-10
56
x + 2, if x 1 −1, if x 0
3. h(x) = 4. F(x) =
1, if x 1 1, if x 0
x→1 x→1+
Thus F is not cont. at x = 0.
Thus h is not cont. at x=1.
F is continuous everywhere else
h is continuous everywhere else
5
3
4
3 2
2
1
-10 -5 5 10
-2 2 4
-1
-1
-2
-2
-3 -3
57
Continuous Functions
If f and g are continuous at x = a, then
y = f (x)
f (b)
f (c) = L
f (a)
a c b
59
Example
Given f (x) = 3x 2 − 2x − 5,
Show that f (x) = 0 has a solution on 1, 2.
f (1) = −4 0
f (2) = 3 0
0.5 0.5
-10 -5 5 10 -10 -5 5 10
-0.5 -0.5
-1
-1
y=tanx 20
10
5
10
-6 -4 -2 2 4 6
-6 -4 -2 2 4 6
-5
-10
-10
-20
-15
-30
62
Examples
a) lim + sec x = − b) x→lim sec x =
( 2) ( 2)
−
x→
c) lim
(
x→ −3 2) +
tan x = − d) lim
(
x→ −3 2) −
tan x =
e) lim− cot x = − f) lim tan x = 1
x→ 4
x→
cos x 0
g) lim cot x = x→lim = =0
x→(−3 )
2
( −3 ) sin x
2 1
63
Limit and Exponential Functions
y = ax, a 1
10
10
y = ax, 0 a 1
8
8
6
6
4
4
2
2
-6 -4 -2 2 4 6 -6 -4 -2 2 4 6
-2 -2
• Since all of the above limits exist and are finite, f cannot
have a vertical asymptote at x = a.
• In order for f to have a vertical asymptote at x = a, at least
one of the limits above must be an infinite limit, and f
must be discontinuous at x = a. We know that polynomial
functions are continuous for all real numbers, so a
polynomial has no vertical asymptotes.
Vertical Asymptotes of Rational Functions
x2 + x − 2
f (x ) =
Let
x2 −1
x2 + x − 2
f (x ) =
Solution:
x2 −1
x2 + x − 2
Vertical Asymptote f ( x) =
x2 −1
Point of
discontinuity
Limits at Infinity and Horizontal
Asymptotes
• A line y = b is a horizontal asymptote for the graph of y
= f (x) if f (x) approaches b as either x increases without
bound or decreases without bound.
lim f ( x) = b or lim f ( x) = b
x → − x →
If
am x m + am−1 x m−1 + + a1 x + a0
f ( x) = n −1
, am 0, bn 0
bn x + bn−1 x + + b1 x + b0
n
then am x m
lim f ( x) = lim
x → x → b x n
n
76
Cont…
2. If m = n, then the line y = am/bn is a horizontal asymptote for
f (x), i.e., am
lim f ( x) =
x → bm
Examples illustrating
Figure 3
Example 1:
Find
Solution:
Observe that when x is large, 1/x is small. For instance,
=0
Example 1 continued
Figure 6
Example 2 continued
Evaluate
The limit as x→ ∞ and as x→ −∞
3
is , so the function has the horizontal
5 3
asymptote at y=
5
Figure 7
THE END OF TOPIC 2
84