Professional Documents
Culture Documents
U1
LIMITS AND
CONTINUITY
OF A FUNCTION
Study time
It is suggested that you spend at least 4 hours on this section.
Definition of Limit
This definition of limit examines the behavior of the function f ( x ) when the value of
x is close to the value a . It is not concerned with the value of f ( a ) . In fact, the value
of f ( a ) may even be undefined. As long as the value of f ( x ) approaches a unique
real number as x → a , the limit exists. This idea will be shown in the second example.
Example 1.1.1
Let us examine the behaviour of this function close to x = 2 . The number 2 can be
approached from two sides. This is shown by the diagram below.
Construct a table that shows values of f ( x ) for two sets of x -values; one set that
approaches 2 from the left and one that approaches 2 from the right side.
Therefore, the two-sided limit lim f ( x) = 6 exists only if both one-sided limits
x→2
NOTE
You must understand the notation in 1 and 2 above, as it will be used in later
examples.
4. Limit will only exist if the left side limit is equal to the right side limit.
lim f ( x) = . lim f ( x)
x → a− x → a+
Example 1.1.2
x2 − 4 x + 3
Use a table to estimate the limit numerically for lim . You should be
x→3 x − 3
able to see that f (3) is undefined.
32 − 4(3) + 3 0
f (3) = = = not defined, we cannot divide by zero.
3 − 3 0
1. As x → 3 − , f ( x) → 2 , i.e. lim− f ( x ) = 2 .
x →3
2. As x → 3 + , f ( x) → 2 , i.e. lim+ f ( x ) = 2 .
x →3
Since f ( x ) approaches the same value as x approaches 3 from the left and right, we
can conclude that lim f ( x) = 2 .
x →3
Therefore, this shows that f ( x ) has a limit as x → 3 even though the function is not
defined at x = 3. This often happens and it is important to realize that the existence
or nonexistence of f ( x ) at x = a has no bearing on the existence of the limit of
f ( x ) as x approaches a .
You should therefore understand from the previous example that the left-sided limit
and the right-sided limit must be equal for the limit to exist.
The two sided limit of a function f ( x ) exists at a point a if and only if the one-sided
limits exist at that point and have the same value; that is,
Example 1.1.3
Suppose we had a function f ( x ) that produced the table of values shown below.
What would we say concerning the value of the lim f ( x ) .
x→2
Since f ( x ) approaches a different value as x approaches 2 from the left and right
side, we can conclude that:
lim f ( x) = Does not exist
x→2
x2 + 1
Compute the lim , if it exists.
x →1 x − 1
For this function, f (1) is undefined, since we have zero in the denominator. The
table below shows calculated values for f ( x ) as the value of x approaches 1.
From the table, it appears that as x → 1 + , the value of f ( x ) gets larger and larger in
the positive direction and as x → 1 − , the value of f ( x ) gets larger and larger in the
negative direction. That is, the value of f ( x ) does not approach a unique real number
as x → 1 .
x2 + 1
Therefore, we say that lim does not exist.
x →1 x − 1
We can also arrive at the same conclusion if we look at the graph of the function
x2 + 1
f ( x) = . ...
x − 1
Example 1.1.5
These types of functions are called piecewise functions. They can also have three
pieces.
You should note that f ( x) is defined at x = 1 . To calculate its value, we use the
piece with the equals sign.
f ( x) = x 2 , x ≤ 1
Therefore, we have:
f (1) = 12 = 1
1. As x → 1 − , f ( x ) → 1 , i.e. lim− f ( x ) = 1 .
x →1
2. As x → 1 + , f ( x ) → 2 , i.e. lim+ f ( x ) = 2 .
x →1
Example 1.1.6
We will now look at the graph of a function f ( x) below and determine the value of
certain limits.
a. f (− 3)
This means we find the y value when x = − 3 . From the graph you should be able to
see that when x = − 3 , y = 2
Therefore, we have: f ( − 3) = 2.
b. f ( − 1)
At x = 1, there is a DOT at the point (1, 2) and a HOLE at the point (1,3) . We
consider the DOT as the graph can pass through this point. Thus, when x = 1 ,
y = 2 Therefore, f (1) = 2.
d. f (4)
At x = 4 , there is a HOLE at the point (4, 5) . This means that the graph does not
pass through this point, so the function is UNDEFINED at x = 4 .
e. lim f ( x)
x →− 3 −
For this type of question we approach − 3 from the left and see to what y value
does the graph approaches. You should be able to see that the straight line
approaches the value y = 2.
Therefore, we have: lim f ( x ) = 2
x →− 3 −
f. lim f ( x )
x→ −3+
g. lim f ( x )
x →− 3
NOTE
When two different pieces of graph MEET AT A POINT, the limit exists
for the given value and is equal to the value of the point.
h. lim f ( x )
x → −1
As x approaches − 1 from the right side or the left side, the value of f ( x ) increases
without bound. Note that at x = − 1 we have a vertical asymptote. Because f ( x ) is
not approaching a unique real number L as x approaches − 1 , you can conclude that
limit does not exist.
As x approaches 1 from the left side, the value of the function approaches 3.
Therefore, lim− f ( x ) = 3
x→ 1
j. lim f ( x )
x → 1+
As x approaches 1 from the right side, the value of the function approaches 3.
Therefore, lim+ f ( x ) = 2
x→ 1
k. lim f ( x )
x→ 1
Since lim− f ( x ) = 3 and lim+ f ( x ) = 2 , which are not equal, lim f ( x ) does not
x→ 1 x→ 1 x→ 1
exist.
l. lim f ( x )
x→ 4−
As x approaches 1 from the left side, the value of the function approaches 5.
Therefore, lim− f ( x ) = 5
x→ 4
m. lim f ( x )
x→ 4+
As x approaches 1 from the right side, the value of the function approaches 5.
Therefore lim+ f ( x ) = 5
x→ 4
n. lim f ( x )
x→ 4
NOTE
a. f ( a ) is defined then the limit exists and the value f ( a ) is the limit.
0
b. Both the numerator and denominator are found to be zero i.e then
0
factorise the function and simply and then substitute.
a
c. Only the denominator is equal zero, i.e then the limit does not exist.
0
The following examples will show how to use this method with different types of
functions.
Example 1.1.7
x2 − 9
Evaluate lim
x →1 x + 3
12 − 9 −8
This gives = = −2
1 + 3 4
x2 − 9
Therefore, lim = −2
x →1 x + 3
Before we look at our next example, try to recall the factorisation techniques that
you learned in MAF11 course. They are
i. Common factors
2 2
ii. Difference of two squares: x − y = ( x + y )( x − y )
2
iii. Factoring the form: ax + bx + c
x2 − 1
Evaluate lim .
x → −1 x + 1
( − 1) 2 − 1 0
This gives =
−1 + 1 0
NOTE:
To find the value of a negative number raised to a power, you MUST
USE BRACKETS as shown above.
Since both numerator and denominator are zero when x = − 1 , we factorise the
numerator and denominator, cancel out any like factors and then substitute again.
x2 − 1 ( x − 1)( x + 1)
lim = lim Factorise numerator
x → −1 x + 1 x → −1 ( x + 1)
( x − 1)( x + 1)
= lim Cancel out common factor
x → −1 ( x + 1)
= lim ( x − 1)
x → −1
= −1 − 1 = − 2 Substitute again
Example 1.1.9
x2 + 2 x − 15
Evaluate lim
x→3 2 x2 − 6 x
0
Substituting x = 3 into the expression yields which is undefined.
0
x 2 + 2 x − 15 ( x + 5)( x − 3)
lim 2
= lim Factorise numerator and denominator.
x→3 2x − 6x x→3 2 x( x − 3)
( x + 5)( x − 3)
= lim Cancel out common factor.
x→3 2 x( x − 3)
x + 5
= lim
x→3 2x
NOTE:
It is good to leave the answer in the fraction form than in the decimals.
Fractions are more précised than decimals.
Example 1.1.10
x − 2
Evaluate lim
x → 2 3x 2 − 12
0
Substituting x = 2 into the expression yields which is undefined.
0
Hence, we need to factorise and cancel the common factor.
x − 2 x − 2 x − 2
lim 2
= lim 2
= lim
x → 2 3x − 12 x → 2 3( x − 4) x → 2 3( x − 2)( x + 2)
1
= lim
x → 2 3( x + 2)
1 1 1 1
lim = = =
x→2 3( x + 2) 3(2 + 2) 3(4) 12
Example 1.1.11
x + 3
Evaluate lim
x→3 x2 − 9
x + 3 3 + 3 6
lim 2
= =
x→3 x − 9 9 − 9 0
x − 4
Evaluate lim
x→4 x − 2
0
Substituting x = 4 into the expression yields which is undefined.
0
For these type of expressions we rationalize the denominator (or in some problems
the numerator) by multiplying both the numerator and denominator by conjugate of
the denominator ( x + 2 . )
Therefore, we have:
x − 4 x + 2
lim × Multiply.
x →4 x − 2 x + 2
lim
( x − 4) ( x + 2 ) In the denominator we have used the formula.
( x)
x→4 2
− 22
( a − b)(a + b ) = a 2 − b2
. lim
( x − 4) ( x + 2 ) Cancel out common factor.
x→4 x − 4
lim 4 + 2 = 2 + 2 = 4 Substitute.
x →4
Example 1.1.13
2 x − 3, x < 1
Evaluate lim f ( x ) where f ( x ) = 2
.
x →1
1 − 2 x , x ≥ 1
NOTE:
1. For the left limit we use the equation with < or symbol.
2. Likewise for the right limit we use the equation with > or symbol.
Since both left and right limits are equal to − 1 , it follows that:
lim f ( x) = −1 .
x →1
Example 1.1.14
Example 1.1.15
Since the left and right limits are equal, we can write lim f ( x) = −1.
x →−1
Exercise 1.1
1. Complete the table and use the result to estimate the limit numerically.
x2 + 2x − 3
a lim
x →1 2x − 2
x 0.9 0.99 0.999 1 1.001 1.01 1.1
f ( x)
x2 − 5x + 6
b. lim
x →− 2 x2 − 4
x − 2.1 − 2.01 − 2.001 −2 − 1.999 − 1.99 − 1.9
f ( x)
a. i. f (− 3) ii. lim f ( x)
x → −3 −
b. i. f ( − 1) ii. lim f ( x)
x →−1 −
− 2 − 3x, x > −1
f ( x) = 1, x = −1
2 x + 3, x < −1
4. Find the lim f ( x ) by evaluating the corresponding one-sided limits for the
x →1
2 x − 4, x < 1
given function f ( x) = 2
.
1 − 2 x , x ≥ 1
2 x, x≤ 1
5. Given f ( x ) = 2 , find each of the following limits. If the
x + 1, x > 0
limit does not exist, explain why.
3x
a. lim (3x 2 − 5) b. lim
x →1 x→−4 x +1
2
x 2 (2 − x2 ) x−6
c. lim d. lim
x→−4 x + 4 x →6 x2 − 36
3x2 + 2 x − 1 2x2 − 8
e. lim f. lim
x → −1 3x2 − 3 x → 2 3x 2 − 7 x + 2
x2 − x − 6 2( x + h) − 5( x + h) 2 − (2 x − 5x2 )
g. lim h. lim
x→−2 3x + 6 h→0 h
x+7 − 2 x − 4
i. lim j. lim
x →9 x+3 x→4 x − 2
3 − x
k. lim
x →9 9 − x
This word has a very similar meaning in mathematics when we talk about functions
whose graphs form continuous curves without gaps, breaks or holes. The graph of a
function f will have a hole or a break in it at a point c if any of the following
situations occur:
c c c
c
(a) (b) (c) (d)
Figure 1.2.1
This suggests the following definitions. This definition makes use of the concept of
limits that we studied in the previous section.
Definition
A function f ( x ) is said to be continuous at a point c if the following conditions are
satisfied:
1. f ( c ) is defined.
2. lim f ( x ) exists.
x→c
3. lim f ( x ) = f ( c) .
x →c
If one or more of the conditions fails to hold, then we say that the function f ( x )
discontinuous at the point x = c .
The function is undefined at x = 1 and since only the denominator is zero, the limit
does not exist. Let us look at the graph of f ( x ) to see what we have at x = 1 . The
graph is shown below.
Example 1.2.2
x2 − 4
f ( x) =
x + 2
x2 − 4 ( x − 2)( x + 2)
lim = lim = lim x − 2 = − 2 − 2 = − 4
x→−2 x + 2 x →− 2 x + 2 x →− 2
Example 1.2.3
x + 1, x < 2
f ( x) =
2 x − 3, x ≥ 2
vertical asymptote.
hole.
jump.
at a particular value x = c .
NOTE
DO NOT DRAW GRAPHS WHEN ASKED TO DETERMINE if a
function is continuous at a certain value.
The examples that follow will show you how to determine if a function is
continuous at a particular value of x .
Example 1.2.4
1 + x, x < −1
f ( x) = 2
x + 1, x ≥ −1
Therefore, we have:
f ( −1) = ( −1)2 + 1 = 1 + 1 = 2 ,
lim f ( x ) = 1 + − 1 = 0 and
x → −1−
lim f ( x) = (− 1) 2 + 1 = 1 + 1 = 2 .
x →−1 +
Therefore, lim f ( x ) does not exist since lim − f ( x ) ≠ lim + f ( x ) , thus we say
x → −1 x → −1 x → −1
x − 3, x < 2
f ( x) = − 1, x = 2
x 2 − 5, x > 2
limits.
Therefore, we have:
f (2 ) = − 1 ,
lim f ( x) = 2 − 3 = − 1 and lim+ f ( x) = (2 ) 2 − 5 = − 1 .
x→2 − x→2
1. f (2) is defined;
2. lim f ( x) exists;
x →2
3. f (2) = lim f ( x)
x →2
Example 1.2.6
2x − 1
f ( x) =
( x − 2)( x + 3)
We need to find the value of the following and make them all equal.
1. f (1)
f (1) = 6(1) 2 − 2 = 6 − 2 = 4
2. lim f ( x)
x →1−
lim− f ( x) = 6(1)2 − 2 = 4
x →1
3. lim f ( x)
x →1+
lim+ f ( x) = k (1)2 = 4
x →1
Therefore, we have:
k = 4.
Exercise 1.2
3
a. f ( x) = 2 x 2 − 1 b. f ( x) =
x( x + 2)
x2 − 4 3x + 2
c. f ( x) = d. f ( x) =
x + 2 x2 + 1
2 − x, x > −2
a. f ( x) = 2
, at x = − 2 .
4 − x , x ≤ −2
x 2 − 2, x < −1
b. f ( x) = − 2, x = −1 , at x = − 1 .
−3 − 2 x , x > − 1
2 x − 3, x > 1
c. f ( x ) = x − 2, x = 1 , at x = 1 .
1 − 2 x 2 , x < 1
3 − x, x > − 1
d. f ( x) = 3 , x = −1 , at x = − 1
x 2 + 3, x < − 1
3 − kx 2 , x > −1
f ( x) = 1, x = −1
l + 2 x , x < −1
lim f ( x) = L
x →a
exists only if both one-sided limits are the same. That is only if the value of
f ( x ) approaches the same number as the value of x approaches a from
either side.
4. When two different pieces of graph meet at a point, the limit exists for the
given x value and is equal to the y value of the point.
a. Vertical asymptote.
b. Jump or step in the graph.
a. Substitute x = a into f ( x ). If
1. f ( c ) is defined.
2. lim f ( x) exists.
x →c
3. lim f ( x ) = f (c ) .
x →c
1. vertical asymptote.
2. hole.
3. jump.
at a particular value x = c .
10. You must use the given c value and not the letter c that is used in the
definition when giving the reasons why a function is continuous at a given
x − value.
x 2 + 5 x − 14 x − 1
a. lim b. lim
x →2 2x − 4 x →1 x − 1
2( x + h) 2 + 5( x + h) − (2 x 2 + 5 x )
c. lim
h→0 h
x 2 + 2 x − 15 x2 − 9
d. lim e. lim
x→3 2x2 − 6x x →3 3x 2 − 8 x − 3
1 + x, x < −1
a. The lim f ( x ) where f ( x) = 2
x → −1
x + 1, x ≥ −1
x − 4, x < 2
b. The lim f ( x ) where f ( x) = − 2, x = 2
x→2
2 x > 2
x − 6,
2 − x, x > − 1
a. f ( x) = 3 , x = −1 , at x = − 1 .
x 2 + 2, x < − 1
2 x − 1, x > −2
b. f ( x) = −5 , x = − 2 , at x = − 2 .
x 2 − 1, x < −2
3 − x, x ≤ −1
f ( x) = 4, x = −1
kx + 1, x > −1