SN Cont
SN Cont
SHORT NOTES
on
CONTINIUITY
OF
FUNCTION
44 C ON TINUITY OF FUN CTION
CONTINUITY
1. GENERAL INTRODUCTION :
After conceiving the notion of limits the next element which is taken into consideration is the continuity of
function. Qualitatively the graph of a function is said to be continuous at x = a if while travelling along the
graph of the function and in crossing over the point at x = a either from Left to Right or from Right to
Left one does not have to lift his pen. In case one has to lift his pen the graph of the function is said to
have a break or discontinuity at x = a. Different type of situations which may come up at x = a along the
graph can be :
1
–1
x x
0 0 1
–1
–(1+x2)
3. CONTINUITY IN AN INTERVAL :
(a) A function f is said to be continuous in (a, b) if f is continuous at each & every point (a, b).
(b) A function f is said to be continuous in a closed interval a , b if :
(i) f is continuous in the open interval (a , b) &
(ii) f is right continuous at ‘a’ i.e. Lim f(x) = f(a) = a finite quantity .
x a
(iii) f is left continuous at ‘b’ i.e. Lim f(x) = f(b) = a finite quantity .
x b
4. REASONS OF DISCONTINUITY :
A function can be discontinuous due to the following reasons.
(i) Lim f (x) does not exist ( f (a) may or may not be defined)
x a
i.e. Lim f (a + h) Lim f (a – h)
h 0 h 0
e.g. f (x) = [x] discontinuous at all integer points f (x) = sgn x discontinuous at x = 0
x
f (x) = discontinuous at x = 1.
x 1
(ii) Lim f (x) exist but is not equal to f (a) i.e. Lim f (a + h) = Lim f (a – h) f (a)
x a h 0 h 0
x
(1 x ) tan if x 1
f (x) = 2
if x 1
2
x h 2
Lim f ( x ) Lim 1 x tan = Lim
x 1 x 1 2 h 1 h
tan
2
Lim f ( x ) f (1) f(x) is discontinuous at x = 1.
x 1
46 C ON TINUITY OF FUN CTION
Note:
(i) Every polynomial function is continous at every point of the real line.
f (x) = a0xn + a1xn–1 + a2xn–2 + …… + an x R
(ii) Every rational function is continuous at every point where its denominator is different from zero.
(iii) Logarithmic functions, exponential functions, trigonometric functions, inverse circular functions, and
modulus functions are continuous in their domain.
Illustration :
1 1
(iii) f(x)
x x 1 2 1 2 3
4 2
x
2 4
2
2 1 3
Now, + + 1 = x + 1 x R
x4 x2
2 4
f (x) is continuous x R
1
(iv) f (x) = x 1
1 e x 2
f (x) is discontinuous when x – 2 = 0 also
x 1
when 1 e x 2 = 0
x 1
x = 2 and e x2 = 1
x 1
x = 2 and =0
x2
x = 2 and x = 1
Illustration :
2
cot x
(cos x ) x0
(a) f (x) = 1 2 find whether the f (x) is continuous at x = 0 or not.
e if x0
( e x 1 )3 cosec( ax )
x0
ln( 1 x 2 )
(b) If f (x) = is continuous, find b.
b x0
Sol.
1 cos x x2 1
Lim cos x 1 cot 2 x Lim
=e
x0
e x 0 x2 tan 2 x e2 f 0 f(x) is continuous at x = 0.
3
ex 1
( e x 1 )3 cosec ( ax ) x
Lim · x
(b) 2 = Lim
x 0 ln ( 1 x ) x 0 ln ( 1 x 2 ) sin ax
x2
1
b= .
a
48 C ON TINUITY OF FUN CTION
Illustration :
π
x a 2 sin x 0x
4
π π
Find the values of 'a' and 'b' so that the function f (x)= 2 x cot x b x
4 2
a cos 2 x b sin x x
2
is continuous in [0, ]
Sol.
f(x) is continuous in the interval 0 x , x , x .
4 4 2 2
We need to make the function continuous at x ,
4 2
For continuity at x = , Lim f ( x ) = Lim f ( x ) = f
4 4
x x
4 4
Lim x a
2 sin x Lim 2 x cot x b
f
x
x
4
4 4
a 2 sin 2 · · cot b = 2 · cot b
4 4 4 4 4 4
a b a – b = .........(1)
4 2 4
For continuity at x = , Lim f ( x ) Lim f ( x ) f
2 2
x x
2 2
0 + b = – a – b a + 2b = 0 .........(2)
From equation (1) and (2)
a= ,b= .
6 12
CON TINUITY OF FUN CTION 49
1 cos 4 x if x 0
x2
if x 0
Illustration : f (x)= a
x
if x 0
16 x 4
Determine 'a' if possible so that the function is continuous at x = 0.
1 cos 4 x
Sol. f(0–) = Lim f ( x ) Lim 8
x 0 x0 x2
x x · 16 x 4
f(0+) = Lim f ( x ) Lim = Lim
x 0 x0 16 x 4 x 0 16 x 16
= Lim 16 x 4 8 f(0–) = f(0+) = 8 = f(0) a = 8.
x 0
a
( 1 | sin x | ) |sin x|
for x0
6
for x 0
Illustration : Let f (x) = b Find 'a' and 'b' if f is continuous at x =0.
tan 2 x
e tan 3 x for 0 x
6
a
Sol. Lim f ( x ) Lim 1 | sin x || sin x | ea
x 0 x0
tan 2 x tan 2 x 3 x 3
Lim · · 3 3
x 0 2 x tan 3 x 2 3 3
Lim f ( x ) Lim e tan 3 x = e e2 ea =b= e2 a= , b = ln .
x 0 x 0 2 2
2x x x
( e 1 ) ( x 1 )( e e )
if x 0
x( e x 1 )
Illustration : Let f (x) = if f (x) is continuous at x = 0 then k
k if x 0
is equal to
(A) 1/2 (B) 1 (C) 3/2 (D) 2
Sol. k = Lim
e 2x
1 ( x 1 ) ( e x e x )
= Lim
e 2 x 1 ( x 1 ) ( e x e x )
x 0 x( e x 1 ) x 0 x2
2e 2 x ( x 1 ) ( e x e x ) ( e x e x )
= Lim By L Hospital Rule
x 0 2x
= Lim
4e2 x x 1 e x e x e x e x e x e x
=
4 2 0 0
= 1.
x 0 2 2
50 C ON TINUITY OF FUN CTION
Illustration :
x 2 kx 1
Let f (x) = . The interval(s) of all possible values of k for which f is continuous for
x2 k
every x R, is
(A) (– , – 2] (B) [–2, 0) (C) R – (– 2, 2) (D) (– 2, 2)
Sol. x2 – k 0 x R
k<0 ........(1)
x2 + x + 1 0 x R
k2 – 4 0 –2 k 2 .......(2)
From (1) and (2)
k [ – 2, 0)
Practice Problem
Q.1 What value must be assigned to k so that the function f (x) is continuousat x = 4?
x 4 256
f (x ) x 4 , x 4
k, x4
sin ax 2
2
, x0
Q.2 Let f (x) = x . For what values of a, f (x) is continuous at x = 0.
3 1 , x 0
4 4a
a 3 cos x
, x0
x2
Q.3 Let f (x) =
b tan , x 0
[ x 3]
If f (x) is continuous at x = 0, then find a and b, where [·] denotes the greatest integer function.
Answer key
1 3
Q.1 k = 256 Q.2 a=– ,1 Q.3 a = –3, b = –
4 2
CON TINUITY OF FUN CTION 51
5. TYPES OF DISCONTINUITY :
Types of discontinuity
Here lim f ( x ) necessarily exists, but is either not equal to f (a) or f (a) is not defined. In this case,
xa
therefore it is possible to redefine the function in such a manner that Lim f ( x ) f (a ) and thus making
x a
( x 1)(9 x 2 )
(a) f(x)= x1
x 1
x2 4
(b) f (x)= x 2
x2
sin x
(c) f (x)= ,x0
x
0 if x I
(a) f (x) = [x]+[–x] =
1 if x I
has an isolated point at x = 0 discontinuity as x=2n+
2
Here Lim f ( x ) does not exists and therefore it is not possible to redefine the function in any manner to
xa
make it continuous. Such discontinuities can be further classified into 3 fold.
| sin x | f (0 ) 1
(ii) Lim ; jump = 2
x0 x f (0 ) 1
f (2 ) 1
[x ] 1
(iii) Lim ; jump =
x 2 x 1 2
f (2 )
2
In this case non negative difference between the two limits is called the Jump of discontinuity. A function
having a finite number of jumps in a given interval I is called a Piece Wise Continuous or Sectionally
Continuous function in this interval.
CON TINUITY OF FUN CTION 53
(b) Infinite type (at least one of the two limit are infinity)
x f (1 )
(i) f(x) = at x = 1
1 x f (1 )
f 0
2
(ii) f(x) = 2tanx at x =
2
f
2
1 f (0 )
(iii) f(x) = 2 at x = 0
x f (0 )
Illustration :
State the number of point of discontinuities and discuss the nature of discontinuity for the function
1
f (x) = and also sketch its graph.
ln | x |
1
if x 0 , x 1
ln x
Sol. f (x) = function is obviously discontinuous at x = 0, 1, –1. as it is not
1 if x 0 , x 1
ln ( x )
defined.
Lim f ( x ) 0
x 0
Limit exists at x = 0. Hence removable discontinuity at x = 0. (Missing point
Lim f ( x ) 0
x 0
discontinuity)
Lim f ( x )
x 1
Limit DNE. Hence non removable discontinuity (infinite type) at x = 1
Lim f ( x )
x 1
54 C ON TINUITY OF FUN CTION
Lim f ( x )
x1
Limit DNE. Hence non removable discontinuity (infinite type) at x = 1
Lim f ( x )
x1
Note that f (x) is even symmetric about y axis.
The graph of f (x) is as follows.
Practice Problem
1 2
Q.1 The function f : R – {0} R given by f (x) = 2x , is continuous at x = 0, then find the value of
x e 1
f (0).
(1 3x )1 / x , x 0
Q.2 Let f (x) = 3 . Discuss the continuity of f (x) at (i) x = 0, (ii) x = 1.
e , x0
x 4 5x 2 4
, x 1, 2
( x 1)( x 2)
Q.4 Discuss the continuity of f (x) = 6, x 1
12, x2
x3 x
(B) f (x) = (Q) Non-removable discontinuity
x2 1
| x 1|
(C) f (x) = (R) Jump of discontinuity
x 1
1
(D) f (x) = sin (S) Discontinuity due to vertical asymptote
x 1
(T) Missing point discontinuity
(U) Oscillating discontinuity
CON TINUITY OF FUN CTION 55
Answer key
Illustration :
If f(x+y) = f(x) . f(y) for all x & y & f(x) = 1 + g(x). G(x) where Lim g(x)= 0 & Lim G(x) exist.
x 0 x 0
Prove that f(x) is continuous for all x.
= f a 1 Lim g ( h ) g ( h ) = f(a)
h0
Similarly Lim f ( x ) f ( a ) Lim f ( x ) so continuous at x = a.
x a x a
7. THEOREMS ON CONTINUITY :
Theroem–1 :
(a) Sum, difference, product and quotient of two continuous functions is always a continuous function.
f (x )
However h (x) = is continuous at x = a only if g (a) 0.
g( x)
(b) If f (x) is continuous and g (x) is discontinuous then f (x) + g (x) is a discontinuous function.
Proof : Let f(x) + g(x) is a continuous function.
so, Lim f ( x ) g ( x ) = f(a) + g(a) ........(1)
xa
(c) If f(x) is continuous & g(x) is discontinuous at x = a then the product function (x) = f(x) . g(x) is not
necessarily be discontinuous at x = a. e.g.
sin x1 , x 0 x sin x1 , x 0
(i) f(x) = x & g(x) = 0, x0; f (x) · g(x) = 0 , x 0 is continuous at x = 0.
2x 1
(ii) f (x) = cos is continuous at x = 1 and g (x) = [x] is discontinuous at x = 1
2
but f (x) · g (x) is continuous at x = 1.
(d) If f(x) and g(x) both are discontinuous at x = a then the product function then nothing defnite can
f (x )
be said about continuity of f (x) + g(x), f (x) – g(x), f(x) · g(x), . It may be or may not be
g( x )
continuous at x = a.
e.g. Let f (x) = [x], g(x) = x – [x]. Both are discontinuous at x I. But f (x) + g(x) is continuous
whereas f(x) – g(x) is discontinuous.
If f is continuous on [a, b] and f (a) f (b) then for any value c f (a ), f (b) , there is at least one
number x0 in (a, b) for which f (x0) = c
CON TINUITY OF FUN CTION 57
NOTE:
(1) Continuity through the interval [a, b] is essential for the validity of this theorem.
(2) in figure-3, f (a) and f (b) are of opposite sign but f (x) has no root in (a, b) as f is continuous.
Illustration :
ab
Show that the function f (x) = (x – a)2 (x – b)2 + x takes the value for some value
2
of x [a, b]
Sol. f(x) = (x – a)2 (x – b)2 + x ; as f(x) is continuous on [a, b] and f(a) = a and f(b) = b, then for any
ab
value c (a, b), there is at least one number x0 in (a, b) for which f(x0)= c = .
2
Illustration :
Suppose that f (x) is continuous in [0, 1] and f (0) = 0, f (1) = 0. Prove that f(c)=1 – 2c2 for
some c (0, 1).
If f is continuous on [a, b] then f takes on, a least value of m and a greatest value M on this interval.
M M
m
m
a c d b a b
Minimum value 'm' occurs Minimum value 'm' occurs at the
at x = c and maximum value end point x = a and the maximum
M occurs at x = d. c, d (a, b) value M occurs inside the interval
58 C ON TINUITY OF FUN CTION
Note : To see that continuity is necessary for the extreme value theorem to be true refer the graph
shown.
Illustration : Let f be a continuous function defined onto on [0, 1] with range [0, 1]. Show that there
is some c in [0,1] such that f (c) = 1 – c.
Illustration : Let f be continuous on the inteval [0, 1] to R such that f (0) = f (1). Prove that there exists
1 1
a point c in 0 , such that f (c) =f c .
2 2
1 1
Sol. Consider a continuous function g (x) = f x – f (x) g is continous x 0 ,
2 2
1 1
g (0) = f – f (0) = f – f (1) [as f (0) = f (1)]
2 2
1
Since g is continuous and g(0) and g have opposite signs, hence the equation g(x) = 0 must
2
CON TINUITY OF FUN CTION 59
1
have at one root in 0 , .
2
1 1
Hence, for some c 0 , , g(c) = 0 f c = f (c).
2 2
Illustration : Let f : [0, 1] [0, 1] be a continuous function. Then prove f (x) = x for at least one
x [0, 1].
3
2
(monotonic function). 1
1 4 9 16
1 2 3 25
60 C ON TINUITY OF FUN CTION
Now consider, f (x) = [sin x], x [0, 2]. g(x) = sin x is not monotonic in [0, 2].
For this type of function, points of discontinuity can determined easily by graphical methods. We can
3 3
note that at x , sin x takes integral value –1, but at x = , f (x) = [sin x] is countinuous.
2 2
y
1
x
O 2
–1
Illustration :
Discuss the continuity of following functions ([·] represents the greatest integer function.)
2
(a) f (x) = [loge x] (b) f (x) = [ sin–1 x] (c) f (x) = 2 ,x 0
1 x
Sol.
(a) loge x function is a montonically increasing function.
Hence f (x) = [loge x] is discontinuous, where logex = k or x = ek, k Z.
Thus f (x) is discontinuous at x = …… e–2, e–1, e0, e1, e2, ……
(b) sin–1 x, is a monotonically increasing function.
Hence, f (x) = [sin–1 x] is discontinuous where sin–1 x is discontinuous where sin–1 x is an integer.
sin–1 x = –1, 0, 1 or x = –sin 1, 0, sin 1
2
(c) , x 0, is a monotonically decreasing function.
1 x2
2 2
Hence, f (x) = 2 , x 0 is discontinuous, when is an integer..
1 x 1 x2
2
1,2
1 x2
x = 1, 0
CON TINUITY OF FUN CTION 61
Illustration :
Draw the graph and find the points of discontinuity for f (x) = [2 cos x], x [0, 2],
([·] represents the gratest integer function).
Illustration :
Draw the graph and discuss the continuity of f (x) = [sin x + cos x], x [0, 2], where [·]
represents the greatest integer function.
y
g(0) = 1, g = 2 , g = 1
4 2
1
3 5 5/4 3/2
g 0 or g() = –1 g = 2 x'
O 7/4 2
x
4 2 /4 /2 3/4
–1
3 7 –2
g = –1, g = 0, g(2) = 1
2 2 y'
3 3 7
Clearly from the graph given in figure f (x) is discontinuous at x = 0, , , , , 2 .
2 4 2 2
62 C ON TINUITY OF FUN CTION
( x 2 )3
Illustration : If the function f (x) = sin (x – 2) + a cos (x – 2). [·] denotes the greatest
a
integer function which is continuous in [4, 6], then find the value of a.
( x 2 )3
So, f (x) is continuous in [4, 6] if = 0 x [4, 6].
a
Now (x – 2)3 [8, 64] for x [4, 6].
( x 2 )3
a > 64 for = 0
a
Illustration : If f (x) = sgn (2 sin x + a) is continuous for all x, then find the possible values of a.
Sol. f (x) = sgn (2 sin x + a) is continuous for all x.
Then 2 sin x + a 0 for any real x.
a
sin x –
2
a
1 a < –2 or a > 2
2
CON TINUITY OF FUN CTION 63
Illustration :
sgn( x 2 ) [log e x ], 1 x 3
If f (x) = where [·] denotes the greatest integer function and
{ x 2 }, 3 x 3 .5
{·} represents the fractional part function. Find the point where the continuity of f(x) should be
checked. Hence, find the points of discontinity.
Sol.
(a) Continuity should be checked at the endpoints of intervals of each definition, i.e., x = 1, 3, 3.5.
For {x2}, continuity should be checked when x2 = 10.
(b) 11, 12 or x = 10 , 11 , 12 , [x2] discontinuous for those value of x where x2 is an integer (note,
here x2 is monotonic for given domain).
(c) For sgn (x – 2), continuity should be checked when x – 2 = 0 or x = 2.
(d) For [loge x], continuity should be checked when logex = 1 or x = e ( [1, 3]).
Hence, the overall continuity must be checked at x = 1, 2, e, 3, 10 , 11 , 12 , 3.5 .
Checking continuity at x = 1
f (1) = 0 and Lim f (x) = Lim sgn (x – 2) × [loge x] = 0.
x 1 x 1
Hence f (x) is continuous at x = 1.
Checking continuity at x = 2
Lim f (x) = Lim sgn (x – 2) × [loge x] = (–1) × 0 = 0
x 2
x 2
x2n 1
Illustration : Discuss the continuity of f (x) = Lim 2 n .
n x 1
1 1, x 1
1 1, 0 x 2
1 0 , x 1
( x 2 )n 1 ( x 2 )n 2
Sol. f (x) = Lim 2 n Lim 0 , x 1 1, 1 x 1
n ( x ) 1 x 1
1 2 n 1, x 2 1 0 , x 1
(x ) 1, x 1
0 , 0 cos 2 x 1 0 , x n , n I
1, x n , n I
2
1, cos x 1
Hence, f (x) is discontinuous when x = n, n I.
10.3 Continuity of functions in which f (x) is defined differently for rational and irrational
values of x :
1, if x is rational
Illustration : Discuss the continuity of the following function : f (x) = .
0 , if x is irrational
Sol. For any x = a,
L.H.L. = Lim f ( x ) Lim f (a – h) = 0 or 1 [as Lim (a – h) can be rational or irrational]
x a x a h 0
x , if x is rational
Illustration : Find the value of x where f (x) = and f (x) is continuous for all x.
1 x , if x is irrational
1
Sol. f (x) is continuous at some x = a, where x = 1 – x or x = .
2
1 1
Hence, f (x) is continuous at x = If x then x may be rational or irrational
2 2
1 1 1 1 1
f = or 1 – = If x then x may be rational or irrational
2 2 2 2 2
1 1 1 1 1
f = or 1 – = Hence f (x) is continuous at x =
2 2 2 2 2
For some other point, say, x = 1
f (1) = 1
If x 1+ then x may be rational or irrational.
f (1+) = 1 or 1 – 1 = 0
Hence, f (1+) oscillates between 1 and 0, which causes discontinuity at x = 1.
1
Similarly, f (x) osciallates between x and (1 – x) for all x R – .
2
CON TINUITY OF FUN CTION 65
Illustration :
x 1 1
If f (x) = and g(x) = , then discuss the continuity of f (x), g(x) and fog (x).
x 1 x2
Sol.
x 1
(a) f (x) = f is not defined at x = 1. f is discontinuous at x = 1.
x 1
1
(b) g(x) = g(x) is not defined at x = 2. g is discontinuous at x = 2.
x2
(c) Now, fog will be discontinuous at x = 2 [point of discontinuity of g(x)]
g(x) = 1 [when g(x) = point of discontinuity of f (0)]
1
if g(x) = 1 =1 x = 3
x2
fog (x) is discontinuous at x = 2 and x = 3.
1
1
x2
Also, fog (x) = 1 Here fog (2) is not defined.
1
x2
1
1
x 2 1 x 2
Lim fog ( x ) Lim Lim 1
x 2 x 2 1 x2 1 x 2
1
x2
fog (x) is discontinuous at x = 2 and it has a removable discontinuity at x = 2.
For continuity at x = 3.
1
1
Lim fog ( x ) Lim x 2
x 3 x 3 1
1
x2
1
1
Lim fog ( x ) Lim x 2
x 3 x 3 1
1
x2
fog(x) is discontinuous at x = 3 and it is a non-removable discontinuity at x = 3.
66 C ON TINUITY OF FUN CTION
Practice Problem
Q.1 Find the number of points in [1, 3] where the function is [x2 + 1] is discontinuous.
([·] represents the greatest integer function).
Q.2 Find the number of points of discontinuity for f(x) = [6 sin x], 0 x , ([·] represents the greatest
integer function).
Q.3 Discuss the continuity of f (x) = [tan–1 x] ([·] represents the greatest integer function).
Q.4 Discuss the continuity of f (x) = {cot–1 x} ({·} represent the fraction part function).
2n
x
Q.5 Discuss the continuity of f (x) in [0, 2], where f (x) = lim sin .
n 2
x 2 , x is rational
Q.6 Discuss the continuity of f (x) = 2 .
x , x is irrational
1 1
Q.7 If y = 2 where t = , then find the number of points where f (x) is discontinuous.
t t2 x 1
Answer key
Q.1 9 Q.2 11
Q.3 Not continuous at x = –tan 1, 0, tan 1 Q.4 Not continuous at x = cot 1, cot 2, cot 3
Q.5 Discontinuous at x = 1 Q.6 Continuous at x = 0
1
Q.7 Discontinuous at x = 1, ,2
2
" EXCELLENCE is a continuous
process and not an ACCIDENT"