Unit 2 Limits and Continuity: Structure
Unit 2 Limits and Continuity: Structure
Structure
2.1 Introduction 32
Objectives
2.2 Limits 32
Algebra of Limits
Limits as x -+
-(or - -)
One-sided Limits
2.3 Continuity 43
Definitions and Examples
Algebra of Continuous Functions
2.4 Summary 48
2.5 Solutions and Answers 48
The last unit has helped you in recalling some fundamentals that will be needed in this
course. We will now begin the study of calculus, starting with the concept of 'limit'. As you
read the later units, you will realise that the seeds of calculus were sown as early as the third
century B.C. But it was only in the nineteenth century that a rigorous definition of a limit
- was given by Weierstrass. Before him, Newton, d' Alemben and Cauchy had a clear idea
about limits, but none of them had given a formal and precise definition. They had
depended,%moreor less, pn intuition or geometry.
The introduction of limits revolutionised the study of calculus. The cumbersome proofs
which were used by the Greek mathematicians have given way to neat, simpler ones.
You may already have an intuitive idea of limits. In Sec.2 of this unit, we shall give you a
precise definition of this concept. This will lead to the study of continuous functions in
Sec.3. ~ o ' sof
t the functions that you will come across in this course will be continuous. We
shall also give you some examples of discontinuous functions.
Objectives
After ieading this unit you should be able to:
calculate the limits of functions whenever they exist,
identify points of continuity and discontinuity of a function.
2.2 LIMITS
In this section we will introduce you to the notion of 'limit'. We start with considering a
situation which a lot of us are familiar with, such as train travel. Suppose we are travelling
from Delhi to Agra by a train which will reach Agra at 10,00 a.m. As the time gets closer
and closer to 10.00 a.m., the distance of the train from Agra gets closer and closer to zero
(assuming that the train is running on time!). Here, if we consider time as our independent
variable, denoted by t and distance as a function of time, say f(t), then we see that f(t)
approaches zero as t approaches 10. In this case we say that the limit of f(t) is zero as t tends
to 10.
Now consider the function f : R + R defined by f(x) = x2 + 1. Let us consider Tables liij
and l(b) in which we give the values of f(x) as x takes values nearer and nearer to 1.
In Table l(a) we see ;dues of x which are greater than 1. w e can also express this by saying
that x approaches 1 from the right. Similarly, we can say that x approaches 1 from the left in
Tahla 1 fhl
Table l(a) Limits and iontinulty
Table l(b)
We find that, as x gets closer and closer to 1, f(x) gets closer and closer to 2. Alternatively,
we express this by saying that as x approaches 1 (or tends to I), the limit of f(x) is 2. Let us
now gi.ve a precise meaning of 'limit'.
Definition 1 Let f be a function defined at all points near p (except possibly at p). ~ ebe t ~ definition of limit was fust
This
a real number. We say that f approaches the limit L as x approaches p if, for each real stated by Karl Weierstrass, around
1850.
number E >O, we can find a real number 6 > 0 such that
The limit L is denoted by lim f (x ), We also write f(x) +L as x + p.. '-+ ' denotes 'rends to'
x -'P
Note that, in the above definition, we take any real number E >O and then choose some
6 > 0, so that L - E < f(x) < L + E , whenever I x - p I < 6, that is, p - 6 < x < p + 6.
' -
The E G definition do& not give
In Unit 1 we have also mentioned that Ix - p I can be thought of as the distance between x us the value of Lilt just helps us
check whether a given number L is'
and p. In the light of this the definition of the limit of a function can also be interpreted as:
the limit of f(x).
Given E > 0, we can choose 6 > 0 such that if we choose x whose distance from p is less than
6, then the distance of its image from L must be less than E. The pictures in Fig. 1 may help
you absorb the definition.
Remember, the number & is given' first and the number 6 is to be produced.
An important point to note here is that while taking the limit of f(x) as x + p, we are
concerned only with the values of f(x) as x takes va!ues closer and closer to p, but not when
x'- 1 .
x = p. For example, consider the function f(x) = -. This function is not defined for
x-1
x = 1, but is defined ford1 other x G R. However, we can still talk about its limit as x + 1.
This is because for taking the limit we will have to look at the values of f(x) as x tends to 1,
but not when x = I .
Now let us take the following examples:
Example 1Consider the function f : R + R defined by f(x) = x3 How can we find
lim f (x ) ?
x -ro
Ekments of Mfferential
Calculus
Look at the graph off in Fig.2. You will see that when x is small, x3is also small. As x
comes closer and closer to 0,x3also comes closer and closer to zero. It is reasonable to
expect that lirn f(x) = 0 as x 0.
Let us prove that this is what happens. Take any real number E > 0.Then,I f(x) - 0 1 < E e
1 x3 I <E w I x I < & I n . Therefore, if we choose 6 = &'I3 we get I f(x) - 0 I< E whenever
0 < I x - 0 I < 6. This gives us lim f(x) = 0.
..-
x+O
A useful general rule to prove lirn f (x ) = Lis to write down f(x) - L and then express it in
x+a
terms of (x - a) as much as possible.
Let us now see how to use this rule to calculate the limit in the following examples.
x2- 1
Example 2 Let us calculate lirn
x+, X-1
-
x2- 1
We know that division by zero is not defined. Thus, the function f ( x ) = ---- - is not
x-1
defined at x = 1. But, as we have mentioned earlier, when we calculate the limit as x
approaches 1, we do not take the value of the function at x = 1. Now, to obtain ,
x2- 1 x2-1 -
lirn --- , we first note that x2- 1 = (X- 1) (X + I), SO that, - -x+ 1 for x # 1.
X+l x -1 . --1 x- 1
Therefore lim
X+l
-
ILL
x-1
= lirn (x + 1)
x-t,
As x approaches 1, we can intuitively see that this limit approaches 2. To prove that the limit
is 2, we first write f(x) - L = x + 1 - 2 = x - 1, which is itself in the form x - a, since a = 1
in this case. Let us take any number E > 0.Now,
I(x+~)-~~<E&Ix-~~<E
Thus, if we choose 6 = E, in our definition of limit, we see that
For this we shall try to make 7 1 x - 3 1 < E. Now when will this be true? It will be true when
I x - 3 1 < ED. So this &/7is the value of 6 we were looking for. But we have already chosen
6 5 1. This means that given E > 0, the 6 we choose should satisfy
r
In other words, 6 = min ( 1, ~ / 1,7 should serve our purpose. Let us verify this:
I i x - 3 1 < 6 a I x - 3 1 < 1 and Ix-31< & / 7 a I ~ ~ - 9 1 = I ~ + 3 1 I ~ - 3 1 < 7 . ~ / 7 = & .
r Remark 1:Iff is a constant function on R,that is, if f(x) = k +x E R,where k is some
fixed real number, then lim f (x ) = k .
X
-
'
P
Now please try the following exercises.
E E 1) show that
1
a) lim g = 1
x+ 1
x3- 1
b) lim ---- =3
x-,, x-1
Before we go further, let us ask, 'Can a function f(x) tend to two diffixent l i d as x tends
to p'?
I The answer 15 NO, as you can see from the following :
Eiements ot Differential Theorem 1 If lim f (x ) = L and lim f(x) = M, then L = M.
Calculus X+P x-t P
IL-MI
Proof : Suppose L # M, then I L - M I > 0. Since lirn f(x) = L , if we take&= -
x+ P 2 '
,
then 3 6 > 0 such that
Ix-~I<~,*I~(x)-LI<&
Similarly, since lim f (x ) = M , 3 6, > 0 such that
x -+P
Ix-pI<6,~lf(x)-MI<~.
If we choose 6 = min {a,,a,}, then Ix - pl < 6 will mean that Ix-pl < 6 and lx - pi < 6,. ,
In this case we will have both I f(x) - L I < &, as well as, I f(x) - M I < &.
So that I L - M I = I L - f(x) + f(x) - M I 5 I f(x) - L I + I f(x) - M I <& + &
la+blSI al+lbl =2&=lL-MI.
That is, we get I L - M I < I L - M I, which is a contradiction. Therefore, our supposition is
wrong. Hence L =M.
We now state and prove a theorem whose usefulness will-be clear to you in Unit 4.
Theorem 2 Let f, g and h be functions defined on an interval I containing a, except
possibly at a. Suppose
i) f(x)lg(x)Ih(x)+x E I\{a}
ii) lim f(x) = L = lim h (x )
x+ a x +a
Proof: By the definition of limit, given e > 0 , 3 6, > 0 and 6, > 0 such that
I f ( x ) - L I < & for O < l x - a I < 6 , a n d
I h ( x ) - L I < E #or O < I x - a I < 6 ,
Let 6 = min {a,,6,}. Then,
O<lx-al<6*lf(x)-LI<& andlh(x)-LI<E
L-&Ih(x)lL+&
We also have f(x) Ig(x) I h(x) +X E I \ {a)
Thus,wegetO<Ix-aI<6*L-&< C(x)Sg(x)Ih(x)IL+&
In other words, 0 < I x - a I < 6 3 I g(x) - L I < &
Therefore lim g (x) = L .
x+ a
Theorem 2 is also called the sandwich theorem (or the squeeze theorem), because g is
being sandwiched between f and h. Let us see how this theorem can be used.
Example 4 Given that I f(x) - 1 I S 3(x + 1)' + X E R, can we calculatelim f (x ) ?
x+-1
We know that -3(x +I), I f(x) - 1 I3(x + +%.This means that
-3(x + 1 I f(x) 1 3 ( x +1), + 1 +x. Using the sandwich theorem and the fact that
lim [-3 (x + 1) + 1 ] = 1 = lim [3(x + 1) + 11, we get lim f ( x ) = 1, ,
2 2
x+-1 x+-1 x-+-1
In the next section we will look at the limits of the sum, product and quotient of functions.
iii) 1 =
lim ---- , provided lim g (x ) + 0 ~ e c i ~ & arule
l
X+P g ( x ) lilipg(x) P'-X
We can easily prove two more rules in addition to the thsee rules given in' Theorem 3. Limib nnd Continuity
These are:
iv) lirn k = k Constant function rule
x+ P
V) lim x = p Identity function rule
x+ P
We shall only indicate the method of proving iv) and v):
iv) Here I f(x) - L I = I k - k I = 0 < E, whatever be the value of 6.
Using the properties that we have just stated, we will calculate the limit in the following
example.
Example 5 Let us evaluate lim 3 x 2 + 4x
x+ 2 2x + 1
Now lim 2 x + 1 = lirn 2 x + lirn 1 by using i)
x+ 2 x+ 2 x+2
E E 3) Calculate lim 2x + 5
x-11
2.2.2 Limits as x + (or - 00 )
1,
Take a look at the graph of the function f ( ) ~= T > o in Fig.3. This is a decreasing
function of x. In fact, we see from Fig. 3 that f(x) comes closer and closer to zero as x gets
larger and larger. This situation is similar to the one where we have a function g(x) gett~ng
closer and closer to a value L as x comes nearer and nearer to,some number p, that is when
lim g ( x ) = L.
X-iP
The only difference is that in the case of f(x), x is not approaching any finite value, and is
-
just becoming larger and larger. We express this by saying that f(x) + 0 as x,+ m, or
lim f(x) = 0. Note that, is not a real number. We write x + w merely to indicate that
x-i-
x becomes larger and larger.
We now formalise this discussion in the following definition.
Oefinition 2 A function f is said to tend to a limit L as x tends to m if, for each C > 0 it is
possible to choose K > 0 such that I f(x) - L I < E whenever x > K.
In this case, as x gets larger and larger, f(x) gets nearer and nearer to L. We now give
another example of this situation.
Example 6 Let f be defined by setting f(x) = 1/x2for all x E R \ ( 0 ) .Here f is defined for
all real values of x other than zero. Let us substitute larger and larger values of x in
f(x) = 1/x2and see what happens (see Table 2).
Table 2
We see that as x becomes larger and larger, f(x) comes closer and-closer tozero. Now, let us
choose any E > 0. If x >I/&, then 1/x2< E. Therefore, by choosing K = I/&, we find that
x>K~If(x)l<~.Thus,lim f(x)=O.
X+=-
Fig. 4
Sometimes we also need to study the behaviour of a function f(x3, as x takes smaller and
smaller negative values. This can be examined by the following definition.
Definition 3 A function f is said to tend to a limit L as x + - m if, for each E > 0, it is
possible to choose K > 0, such that I f(x) - L I < E whenever x < -K,
The following example will help you ir, understanding this idea.
Example 7 Consider the function f: R + R defined by
What happens to f(x) as x takes smaller and smaller negative values? Let us make a table
(Table 3) to get some idea.
Table 3
L _ _ _ _ - - J - I I I
We see that as x takes smaller and smaller negative values, f(x) comes closer and closer to
zero. In fact 1/(1 + x2)< E whenever 1 + x2> l/&,.thatis, whenever x2 > (I/&)- 1, that is,
whenever either x < - 1; - '12
11 or x > :1 '12
- 11. Thus, we find that if we take
I. /
I
K = -- 1
1'12
,then x < - K=, I f(x) I< E. Consequently, lim f (x ) = 0 .
x-+-00
X+ -
Siyilarly, if we say that lirn g(x) = L, then it means that, as x + = the curve y =g(x)
comes closer and closer to the straight line v = L.
x2
Example 8 Let us show that lim = 1.
X+oo (1 + x2)
Now, I x2/(1+ x2)- 1 I = 1/(1 + x2).In the previous example we have shown that
I 1/(1 + x2)1< E for x > K, where K = ( 1 / -~ 1 I'D. Thus, given E > 0, we choose
K = I 1 / -~ 1 Ill2,SO that
x
x>K+ -- 1 1 < & T h i s m e a n s t h a txlim
-$- =1 + x2I .
b) lirn ( l / x + 3 / x 2 + 5 ) = 5
x+-
Sometimes we cannot use Theorem 2 directly, as is clear in the following example. Let us .
see how to overcome this problem.
3x + 1
Example 9 Suppose, we want to find lirn
x-t-
-
2x+5'
We cannot apply Theorem 3 directly since the limits of the numerator and the denominator,
as x + =, cannot be found.'
Instead, we rewrite the quotient by multiplying the numerator and denominator by l/r,
for x # 0.
Then, --------
3x
2x+5
+ '
= -3t ( I h ) , f o r x +O.NOW we use
2+(5/x) '
lirn (3 + l / x )
?c
. .x+-lirn (2+5/x)
=
-. 3+0
2+0
-3
2
X +-
By now you must be used to the various definitions of limits, so can try this exercise.
E 5 ) a) If for some E > 0, and for every K, 3 x > K s.t.
I f(x) - L I > E , what will you infer?
b) H lirn f (x ) # L ,how can you express it in the E - 6 form?
X+P
1
We end this section with the following important remark. Limits and Continuity
Remark 2 In case we have to show that a'function f does not tend to a limit L as x
approaches p, we shall have to negate the definition of limit (also see E5(b)). Let us see what
this means. Suppose we want to prove that lim f (x ) # L. Then, we should find some
X-t P
E > 0 such that for every 6 > 0, there is some x E ]p - 6, p + 6[ for which I f(x) - L I > E.
Through our next example we shall illustrate the negation of the definition of the limit of
f(x) as x -+ rn.
Example YO To show that lirn I/x # > 0 such that for any K
I , we have to find some E
x+m
(howsoever large) we can always find an x > K such that I l/x - 1 I > E
Take E = 114. Now, for any K > 0, if we take x = m a (2, K + 1 ), we find that x > K and
I Ilx - 1 I > 114. This clearly .shows that lirn l l x # 1.
x+-
Let us improve our understanding of the definition of one-sided limits by looking at some
more examples.
Example 11 Let f be defined on R by setting
A
Y
Fig. 8
Since f(x) = x for values of x less than 1 but close to 1, it is reasonable to expect that
lim f(x) = I .Let us prove this by taking any E > 0 and choosing 5 = min ( 1, €1. We find
x41-
1- 6 < x < 1 * f(x)=xandIf(x)-1 I = I x - 1 I<65&.
Therefore, lim f(x) = 1.
x-11
Proceeding exactly as above, and notlng that f(x) = x - 1 if 1 I x < 2, we can similarly prove
that lim,
+ I f (x)= 0.
-
E E 6 ) Rovathat a) i5y-X- [ X I =1
1x1 = 1
lim -
b) ,40+ x
(x + 2)lx(
C) lim- = -2
x4 0
Before going further, let us see how the concepts of one-sided l~mitand li.t~itare connected.
Theorem 4 The following statements are equivalent. Limiti and Continuity
Proof :To show that i) and ii) are equivalent, we have to show that i) + ii) and ii) 3 i).
We first prove that i) 3 ii). For this we assume that lirn f(x) = L. Then given E > 0,
x +P
36>OsuchthatIf(x)-LI<&forO< I x - p I < 6 .
Now,O< I x - p I < 6 3 p < x < p + 6 a n d p - 6 < x < p . T h u s , w e h a v e I f ( x ) - L I < ~ f o r
p < x < p + 6 a n d f o r p - 6 < x < p . T h i s m e a n s t h a t l i m f ( x ) = L = lim f(x).
x+ p- x+ p+
We now prove the converse, that is, ii) 3 i). For this, we assume that
lirn f (x ) = lirn f (x ) .= L. Then, given E > 0 , 3 6,, 6, >O
x-3 p- x+ p+
such that
Remark 3 If you apply Theorem 4 to the function f(x) = x - [x] (see Example 12), you will
see thatljm (x-- [x] ] does not exist as lim+ ( x 7 [x] } ?t lim- ( x - [x] ),
x+ 1 x+l x+l
We shall use this concept of one-sided limits to define continuous functions in the next
section.
2.3 CONTINUITY
A continuous process is one that goes on smoothly without any abrupt change. Continuity of
a function can also be interpreted in a similar way. Look at Fig. 9. The graph of the function
f i n Fig.9 (a) has an abrupt cut at the point x = 3, whereas the graph of the function g in
Fig.9 (b) proceeds smoothly. We say that the function g is continuous, while f is not.
(a) (b)
Fig. 9 :(a) Graph o f f (b) Graph of g
Continuous functions play a very important role in calculus. As you proceed, you will be
able to see that many theorems which we have stateqin this course are true only for
continuous functions. You will also see that continuity is a necessary ~onditionfor the
derivability of a function, and that it is a sufficient condition for the integrability of a
function. But l h usgive a precise meaning to "a continuous function" now.
I
2.3.1 Deflnitlons and Examplcs
In this section we shall mive you the definition and some examples of a continuous functiur~.
We shall also give you a short list of conditions which a function must satisfy in order to be
continuous at a point.
kflnltlon S k t f be a function defined on a domain D, and let r be a positive real number
-
such that the interval ]p r, p t r [ c D. Pis said to be ~ntinuousat x = p if lirn f (x ) = f (p) .
X--) 1)
By the definition of limit this means that f is continuous 'at p if given E > 0, 3 6 > 0 such
- -
that I f(x) f(p) I < € whenever I x p I < 6. To clarify this concept let us look at an
example,
Example 13 k t us check the continuity of the function
f :R -+ R such that f(x) = x atthe point x = 0. .
Now, f(0) = 0. Thus we want to know if lirn f (x ) = 0 .
x -0
This is aue because given e z 0,we can choose 6 = E and verify that I x I < 6 3 I f(x) I < E
Thus f is continuous at x = 0.
Remark 4 f is continuous at x s p provided the following two criteria are met:
i) lirn f (x ) exists.
*-+ P
ii) lirn f(x )= f @ ) .
I-+ P
E E 7) Give E - 6 definition of continuity at a point from the right as well as from the left.
E 8) Show that a function f: ]p - r, p + r[ + R is continuous at x = p if and only i f f is
continuous from the right as well as from the left at x = p (Use Theorem 4).
1
Now that you know how to test the continuity of a function at a potnt, let us go a step
further, and define continuity of a function on a set.
Definition 7 A function f defined on a domain D is said to be continuous on D, if it is
continuous at every point of D.
Let us see some more examples.
Example 14 Let f(x) = xn for an x 6 R and any n E ZC.Show that f(x) is continuovs at &I\ttw set 0 , IIO~I~IVLIntegers.
x = p f o r a l l p ~ R.
:
We know that lirn x = p for any p E R. Then, by F e product rule in Theorem 3, we get
x+a
lim x " = (lim x) (lim x ). .
x+ P x+p x+p
... (lim
*+ P
x) (n times)
The exponential function f(x) = exand the logarithmic function f(x) = In x are continuous
functions. You can check this by looking at their graphs in Unit 1. Similarly, x -+ sinx and
x -+ cosx are continuous. x -+ tanx is continuous in 1- p/2, n/2[. This fact is quite obvious
from the graphs of these functions (We have given their graphs in Unit 1). We shall not
attempt a rigorous proof of their continuity here.
Caution :Checking the continuity of a function from the smoothness of its graph is not a
fool-proof method. If you look at the graph (Fig. 12) of the function x + x sin (l/x), you
will find that it has no breaks in the neighbourhood of x = 0. But this function is not
continuous. Observe that the graph oscillates wildly near zero.
Fig.12
E E 9) Show that the function f :R .+ R given by f(x) -. l/(xz - 9) is continuous at all points
of R except at x = 3 and x = -3.
Now that we know how to check whether a function is continuous or not, let us go further, Limits and Continuity
and talk about'the continuity of some combinations of functions.
Then nelther f nor g is continuous at x F 112. (Why?) But (f + g) (x) = 1+x E [O, I].
Therefore, f + g is continuous on [0, I].
Now. if I f I is continuous at a point p, must f alsp be continuous at p? Again, the answer is
NQ.'Take, for example, the function f :R + R given by
is f continuous at a) x = 1 b) x = - 3/2?
Element#of DUlemtlal Before we end this unit. we shall state an important theorem concerning continuous
Clleuhfi functions. Once again, we won't prove this theorem here. But try to understand its statement
because we shdll be using it in subsequent units.
Theorem 7 (Intermediate Value Theorem) Let f be continuous on the closed interval [a,b].
Suppose c is a real number lying between f(a) and f(b). (That is, f(a) < c < f(b) or
f(a) > c > f(b)). Then there exists some xo E ]a.h[, such that f(x0)= C.
How can we interpret this geometrically? We have already seen that the graph of a
continuous function is smooth. It does not have any breaks or jumps. This theorem says that,
if the points (a, f(a)) and (b, f(b)) lie on two opposite sides of a line y = c (see Fig.13). then
the graph off must cross the line y = c.
Note that this theorem guarantees only the existence of the number x,. It does not tell us how
to find it.'Another thing to note is that this xo need not be unique.
That brings us to the end of this unit.
2.4 SUMMARY
We end this unit by summarising what we have covered in it.
I Tlw limi: of a function f a t a point p of its domain is L if given E > 0,36 > 0, such that
-
I f(x) I, I < e whenever ! x - p I < 6.
2 One-sided limits
3 lirn f (x )exists if and only if
X+P
lim f (x ) and x rim
-+:-
f (x ) h t h exist and are equal.
X4P
4 A function f is continuous at a point x = p if
lim f(x) = f(p)
X+P
#
5 If the function f and p are continuous on D. then so are the functions f + g, fg, ! f I, kf
(where k E R)flg (where g(x) ;t 0 in D)
6 The Intermediate Value Theorem : If f is continuous on [a, b] and if f(a) < c < f(b) (or
f(a) > c > f(b) ), then
3x, E la, 'b[ such that f(x,) = c.
Ix-1 I<l/2 -
Given E > 0, if we choose 6 = min ((2/7)~,1/21, then
x<3/2 -x+2<7/2and
Hence, lirn
x+l
-
xJ- 1
X - 1
= 3.
lirn 3
E 2) lirn 3/x =
x-31
-
x+l
lim x
= 311 = 3
x-31 .
5 lirn x 2
x+ 1
x-3 1
x +1
" +3
-
l i m x [ X I = lirn x - 2 = 1
x -3-
h) .lim (x(/x = lirn x/x = 1,
K+ o+ x+p+
]XI= x for x > 0.
= lim
x-0-
- (x2 + 2 ) ~ -s 2
I