MH1810 4
MH1810 4
MH1810 4
Example 4.1.1 (Intuitive Idea). Let f (x) = x2 . What happens to f (x) for values of x near
2?
(a) Use a calculator to compute f (x) for some values of x near 2. Does f (x) approach
some real number as x approaches 2? [Computational Approach]
(b) Sketch the graph of the function f (x) = x2 . Observe the points on the graph of y = f (x)
as x approaches 2. [Graphical Approach]
Solution
For values of x near 2:
x x2 x x2
2:1 4.41 1:9 3.61 y
4
2:01 1:99
2
2:001 1:999
2:0001 1:9999 -1 0 1 2
x
.. ..
. .
77
78 CHAPTER 4. LIMITS AND CONTINUITY
We write this as
lim (x2 ) = 4:
x!2
(a) When lim f (x) exists, which means that there is a real number L such that lim f (x) = L,
x!a x!a
and the limit L is unique.
(b) When there is no …nite real number L such that lim f (x) = L, we say that the limit
x!a
lim f (x) does not exist.
x!a
1 x2
Example 4.1.2. Consider the expression f (x) = .
1 x
(a) Is f (1) de…ned?
(b) Guess the value of lim f (x).
x!1
Solution
Substitution values of x near 2, we have the following:
1:01 0:99
1:001 0:999
1:0001 2.0001 0:9999 1.9999
Example 4.1.3. Does lim sin( x1 ) exist? Is there a real number where sin(1=x) approaches
x!0
as x approaches 0?
Solution
x sin(1=x) x sin(1=x)
1= sin = 0 2= sin =2 = 1
1=(2 ) 2=(5 )
1=(3 ) 2=(9 )
1=(4 ) 2=(13 )
1=(5 ) 2=(17 )
Graph of y = sin( x1 ):
1 x<2
f (x) =
1 x 2
Solution
Substituting values near 2, we have the following:
x f (x) x f (x)
0:5 1 2:5 1
1:9 2:1
1:99 2:01
1:999 2:001
1:9999 2:0001
Left-hand LimitThe function f (x), as x ! 2 from the left, f (x) ! 1. We shall write
lim f (x) = 1:
x!2
lim f (x) = 1:
x!2+
lim f (x) = L:
x!a+
(Proof Omitted.)
Remark This result is useful for the evaluation of limit at a point a if the function takes
di¤erent mathematical expressions for x < a and x > a when x are near a.
Use the graph to determine whether each of the following (if exists)
(a) limx!3 f (x)
(b) limx! 1+ f (x)
(c) limx! 1 f (x)
(d) limx!1 f (x)
82 CHAPTER 4. LIMITS AND CONTINUITY
means that the values of f (x) can be made arbitrarily large (as large as we like) by taking
x su¢ ciently close to a but not equal to a.
Similarly for lim f (x) = 1.
x!a
1
Example 4.3.1. What is lim ?
x!0 x2
1
We evaluate f (x) = for some small values of x as shown in the following table.
x2
x f (x) x f (x)
0:1 100 0:1 100
0:01 0:01
0:001 0:001
0:0001 0:0001
As x becomes close to 0, x12 becomes very large. We say the limit does not exist. However,
to re‡ect this blow-up behavior, we write
1
lim = 1:
x!0 x2
Vertical Asymptotes
The vertical line x = a is called a vertical asymptote of the curve y = f (x) if at least
one of the following statements is true:
Example 4.3.2. (a) The vertical line with equation x = 0 (i.e., the y-axis) is a vertical
1
asymptote of the curve y = 2 .
x
(b) The lines x = are vertical asymptotes of the curve y = tan x.
2
(c) The vertical line x = 0 is a vertical asymptote of y = ln x.
4.4. LIMITS AT INFINITY 83
means that the values of f (x) can be made as close to L as we like by taking x su¢ ciently
large (resp. su¢ ciently negatively large).
1
Example 4.4.1. For the function f (x) = , what happens to the values of f (x) as x
x
increases to large positively large values?
Horizontal Asymptotes
The horizontal line y = b is called a horizontal asymptote of the curve y = f (x) if
1 1
Example 4.4.2. (a) For every positive integer n, note that lim n
= 0, and lim n = 0.
x!1 x x! 1 x
1
The horizontal line y = 0 is a horizontal asymptote of the curve y = n .
x
x
(b) Note that lim e = 0. The horizontal line y = 0 is a horizontal asymptote of the
x! 1
curve y = ex .
Example 4.4.3. The following do not exist: limx!1 sin x; limx!1 cos x; limx!1 tan x;
limx!1 ex ; limx!1 ln x:
Example 4.4.4.
1
lim tan x=
x!1 2
1
lim tan x=
x! 1 2
84 CHAPTER 4. LIMITS AND CONTINUITY
7 lim 7 7
x!
Example 4.5.7. (5) lim 3 = 3
= 3; since lim x3 = 3
6= 0
x! x lim x x!
x!
Remark We will not write out all these details from now, but you should understand that it
is the limit theorems that allow us to evaluate limits of sums, products, quotients and other
expressions.
Limits of a Polynomial
It follows from limits laws that
4.5. LIMIT THEOREMS 85
p(x) = an xn + an 1 xn 1
a2 x 2 + a1 x + a0 ;
We can simply substitute the value of a into the polynomial p(x) to obtain the limit of
p(x) at a.
p p
Example 4.5.10. limx!1 2x5 x3 + 19 x 5 =2 + 1
9
5.
Rational Functions
A function f (x) is a rational function if it is a quotient of two polynomials, i.e.,
f (x) = p(x)
q(x)
; where p and q are polynomials.
p(x)
Theorem 4.5.11. If f (x) = and a is such that q(a) 6= 0, then, using the quotient
q(x)
rule, we have
p(x) p(a)
lim = :
x!a q(x) q(a)
p(x)
I.e., we can also simply substitute the value of a into the rational function f (x) = ,
q(x)
to obtain the limit of f (x) at a, provided q(a) 6= 0.
3x + 6
Example 4.5.12. Evaluate lim :
x!3 x2 4
3x + 6 p(x)
Solution lim = ; where q (x) =
x!3 x2 4 q(x)
because lim x2 9 = 0.
x!3
WARNING In general, we cannot simply substitute values of a directly into the function
f (x) to obtain the limit of f (x) at a. Such substitution holds when the functions involved
is continuous at a. We shall discuss this concept of continuity in the next section.
4.6 Continuity
Most functions you have come across in your pre-university mathematics courses are nice
functions in the sense that the curves of their respective graphs are ‘continuous’.
Such nice functions allow us to substitute the value c directly into f (x) in the evaluation
of lim f (x). A mathematical name is ‘continuity at x = c’.
x!c
Continuity at a Point
The function f is continuous at x = c means that the limit lim f (x) can be obtained
x!c
by substituting x = c into f (x).
The function f is continuous at x = c means that the we may interchange the order
of "lim" and "f "; i.e.,
x!c
Basic Functions
p
Polynomials, rational functions, n x , sin x cos x, tan x, ex and ln x are continuous at
every point at which the function is de…ned (i.e., its domain).
1 x2
f (x) = :
1 x
Is f continuous at x = 1?
Is f continuous at x = 2?
Solution (
1 for x = 2;
f (x) =
0 for x 6= 2:
Note f (2) = 1.
Is f continuous at x = 0?
Solution
(
sin x1 for x 6= 0;
f (x) =
1 for x = 0:
Since lim H(x) 6= lim+ H(x), the limit lim H(x) does not exist.
x!0 x!0 x!0
2
p
Example 4.8.1. Evaluate limx!1 x 4x1=7 5x5 + 2x + :
p
Solution Note that x 2 ; 4x1=7 ; 5x5 ; 2x are continuous at x = 1.
p
Therefore, the function x 2 4x1=7 5x5 + 2x + is continuous at x = 1, and we
have
2
p
lim x 4x1=7 5x5 + 2x +
x!1
2
p p
=1 4(11=7 ) 5(15 ) + 2(1) + = 8+ 2+ :
That is,
lim f (g(x)) = f lim g(x) = f (b):
x!c x!c
The theorem says that we can interchange the order of taking limit and applying the function f .
(I.e., we can bring "limx!c " into f ( )).
p p
Corollary 4.8.3. 1. limx!c n g(x) = n limx!c g(x).
2.limx!c eg(x) = elimx!c g(x) .
Example 4.8.4. The following functions are continuous at the speci…ed x = c. Hence, the
limits can be evaluated by direct substitution.
p
(a) limx!7 3 x + 20 cos( 2x )
sin(x ex )
(b) limx!e2 ln x
3x+6
Example 4.9.1. Evaluate the limit lim 2 .
x! 2 x 4
3x + 6 lim 3x + 6
x! 2
lim = ?
x! 2 x2 4 lim x2 4
x! 2
3x+6
Example 4.9.2. Evaluate the limit lim 2 .
x! 2 x 4
3x + 6 3(x + 2)
lim 2
= lim
x! 2 x 4 x! 2 (x + 2)(x 2)
x3 +4x2 +4x+3
Example 4.9.3. lim 3 2
x! 3 x 2x +5x+6
Since both polynomials have a zero at x = 3, the Factor Theorem tells us that both
polynomials have a factor (x + 3).
By long division, we can …nd the other factors.
x3 + 4x2 + 4x + 3 (x + 3)(x2 + x + 1)
lim = lim
x! 3 x3 2x2 + 5x + 6 x! 3 (x + 3)( x2 + x + 2)
x2 + x + 1 9 3+1 7
lim 2
= = :
x! 3 x +x+2 9 3+2 10
92 CHAPTER 4. LIMITS AND CONTINUITY
4.9.2 Rationalization
We can make use of the simple factorization a2 b2 = (a b)(a + b) in some expressions
involving square root function.
p
2 x 1
Example 4.9.4. Find lim+ x 1
.
x!1
p p p
2 x 1 2 x 1 2 x+1
Solution lim+ = lim+ p
x!1 x 1 x!1 x 1 2 x+1
lim g(x) = L:
x!a
1
The product rule for limits is wrongly applied in the above ‘solution’. As lim sin( )
x!0 x2
does not exist, the product rule cannot be applied at (*).
x2
|{z} x2 sin(1=x2 ) x2 :
|{z}
| {z }
f (x) g(x) h(x)
limf (x) = L
x!c
if and only if
lim f (x) = L and lim+ f (x) = L:
x!c x!c
Determine whether each of the following limits exists. If it does, what is its value?
Solution
94 CHAPTER 4. LIMITS AND CONTINUITY
4
y
-3 -2 -1 0 1 2 3
x
(c) Since lim f (x) = lim + f (x) = 1, the limit lim f (x) exists and lim f (x) = 1.
x! 1 x! 1 x! 1 x! 1
(d) To determine whether lim f (x) exists, we evaluate lim f (x) and lim+ f (x) as fol-
x!1 x!1 x!1
lows:
and
Since lim f (x) 6= limx!1+ f (x), the limit lim f (x) does not exist.
x!1 x!1
Solution Note that lim (tan x) = +1 and lim (2 sin x) = 2 sin( =2) = 2. Thus,
x! =2 x! =2
Solution Since lim (tan x) = +1 and lim ( 3 sin x) = 3 sin( =2) = 3, we have
x! =2 x! =2
x
Example 4.11.4. Evaluate lim
x! =2+ tan x
x
lim + = 0:
x! =2 tan x
1
(a) If f (x) > 0 for x 2 (a; a + ), then lim+ = 1.
x!a f (x)
1
(b) If f (x) < 0 for x 2 (a; a + ), then lim+ = 1.
x!a f (x)
1
Example 4.11.7. Evaluate lim+ 1 x3
:
x!1
Solution Note that lim+ 1 x3 = 0. For x > 1, note that x3 > 1 and hence 1 x3 < 0.
x!1
1
Therefore, we conclude that lim+ 1 x3
= 1.
x!1
x 1
Example 4.11.8. Evaluate lim x+2
x! 2
1
Solution Note that lim x 1= 3; and that lim x+2
= 1, since x + 2 < 0 for
x! 2 x! 2
x< 2.
x 1
Therefore, lim x+2
= 1.
x! 2
For example, suppose lim f (x) = L and lim g(x) = M exist. Then we have
x!1 x!1
and n
lim (f (x))n = lim f (x) = Ln ; n 2 Z+ :
x!1 x!1
1
lim = 0;
x! 1 xm=n
1
(b) lim + ex = 0:
x! 1 x7=3
1
(c) lim = 0:
x!1 x3=4
Evaluating Limits at In…nity for Rational Functions
x+4
Example 4.12.3 (Divide by highest power of x). Evaluate lim 2 , if it exists.
x!1 x 6x+5
Solution
1 4
x
+ x2
= lim 6 5
x!1 1 x
+ x2
=
98 CHAPTER 4. LIMITS AND CONTINUITY
x3 +4x 5
Example 4.12.4. Evaluate lim 7x 3 6x+5
x!1
Solution
x3 + 4x 5
lim
x!1 7x3 6x + 5
x3 4x 5
x3
+ x3 x3
= lim 7x3 6x
x!1
x3 x3
+ x53
=
1
=
7
Limits of Hyperbolic Functions
Proposition 4.12.5. (a)
lim sinh x = +1 and lim sinh x = 1:
x!1 x! 1
(b)
lim cosh x = +1 and lim cosh x = +1:
x!1 x! 1
(c)
lim tanh x = +1 and lim tanh x = 1:
x!1 x! 1
Proof of (a):
Since lim ex = +1 and lim ex = 0, we have
x!1 x! 1
ex e x
lim sinh x = lim = +1;
x!1 x!1 2
and
ex e x
lim sinh x = lim = 1:
x! 1 x! 1 2
(b) (Exercise.)
4.12. EVALUATION OF LIMITS AT INFINITY 99
Proof of (c)
ex e x
lim tanh x = lim
x!1 x!1 ex + e x
ex e x
1=ex
lim tanh x = lim
x!1 x!1 ex + e x 1=ex
2x
1 e 1 0
= lim 2x
= = 1:
x!1 1 + e 1+0
(Exercise.) lim tanh x = 1.
x! 1
(a; b); [a; b); (a; b]; [a; b]; (a; 1); [a; 1); ( 1; b); ( 1; b]:
The points a and b are called endpoints. The point a is a left endpoint and b is a right
endpoint. A point x in an interval is called an interior point of the interval if it is not an
endpoint.
Continuity on an Interval
De…nition 4.13.1. The function f is said to be continuous on the interval I if
2. If the left endpoint a of I is included in I, f is continuous from the right there, i.e.,
lim+ f (x) = f (a).
x!a
3. If the right endpoint b of I is included in I, f is continuous from the left there, i.e.,
lim f (x) = f (b).
x!b
For the above functions, to determine lim f (x) limit at a point x = c, we can simply
x!c
substitute the value c into the function.
Heaviside Function
is continuous on the interval [0; 1), but not on ( 1; 1) and not on ( 1; 0].
Theorem 4.13.3. Suppose functions f and g are continuous on a set S. Then the following
combinations of functions
Solution
Since f is continuous on [4; 1) and g(x) = x2 is continuous on R, the composite function
g f is continuous on the domain on which (g f )(x) is de…ned.
To …nd this domain, we note that g f (x) = g (f (x))
p
= g x 4 provided x 4 0; i.e., x 4
= = provided x 4:
Thus, we have (g f )(x) = x 4 and its domain is [4; 1).
We conclude that (g f )(x) = x 4 is continuous on [4; 1).
Remark 4.13.8. Although the composite function g f and h(x) = x 4 have the same
expression, they are considered di¤erent functions because (g f )(x) = x 4 is only de…ned
on [4; 1) while h(x) = x 4 holds for every x in R.
p
Example 4.13.9. Let f (x) = x 4 on [4; 1) and g(x) = x2 .
Find the composite function f g and its the domain where f g is continuous on.
1
Proposition 4.13.10. If f is an one-to-one continuous function, then its inverse f is
continuous.
1. sin x, x 2 2
; 2
;
2. cos x, x 2 [0; ] ; and
3. tan x; x 2 2
; 2
are one-to-one
1 1
So, we have more continuous functions: sin x; cos x; : : :
Example 4.14.2. For the polynomial f (x) = x3 5x2 + 3, do you think there is a root of
f in the interval (0; 1)? Justify your answer.
Solution
Example 4.14.3. Use Intermediate Value Theorem to explain why the two curves y = cos x
and y = x2 intersect at some point with x- coordinate c where c 2 (0; 2 ).
Solution Curves y = cos x and y = x2 intersect at some point with x- coordinate c means
that
cos c = c2 :
By shifting all expressions to one side of the equation, the above equation is equivalent to
cos c c2 = 0:
To …nd an appropriate function f , the above suggests f (c) = cos c c2 and 0 is the inter-
mediate value.
Thus, we consider
f (x) = cos x x2 where x 2 [0; =2]:
Note that f is continuous on [0; =2], the values f (0) = 1 > 0 and f ( =2) = ( =2)2 < 0.
By Intermediate Value Theorem, there is a real number c 2 (0; =2) at which f (c) = 0,
which means that the curves intersect at x = c.
4.15. THE EXTREME VALUE THEOREM 105
De…nition 4.15.1. (a)A function f has a global maximum (also known as an absolute
maximum) at c if f (c) f (x) for all x in D, where D is the domain of f . The number f (c)
is called the maximum value of f on D.
(b)Similarly, f has a global minimum (also known as an absolute minimum) at c if
f (c) f (x) for all x in D, where D is the domain of f . The number f (c) is called the
minimum value of f on D.
(c) The maximum and minimum values of f are called the extreme values of f .
Example 4.15.6. Determine the range of the function f de…ned by f (x) = 3x2 ; x 2 [ 2; 1].