Continuity of Functions
Continuity of Functions
Table of Contents
1. Learning outcomes:
Continuity at a Point
Continuity from the Right at a Point
Continuity from the Left at a Point
Continuous Function
Discontinuity of a Function at a Point
Types of Discontinuity
Sequential Criterion for Continuity
Sequential Criterion for Discontinuity
2. Introduction:
The term "Continuous" has been used since the time of Newton to
refer to the motion of bodies or to describe an unbroken curve, but it was
not made precise until the nineteenth century. Work of Bernhard Bolzano
in 1817 and Augustin Louis Cauchy in 1821 identified continuity as a very
significant property of functions and proposed definition but since the
concept is tied to that of limit, it was the careful work of Karl Weierstrass
in the 1870's that brought proper understanding to the idea of Continuity.
3. Continuity at a Point:
f ( x) f ( x0 )
whenever x x0 .
lim f ( x) f ( x0 ) .
x x0
I.Q. 1
lim f ( x) f ( x0 ) .
x x0
lim f ( x) f ( x0 ) .
x x0
4: Continuous Function:
1
Example 1: Show that the function f ( x) is not continuous at x 0 .
x
1
f ( x)
x
1
lim f ( x) lim
x 0 x 0 x
1 if x 0
f ( x) sgn( x) 0 if x 0
1 if x 0
Now, Right hand limit at x=0
lim f ( x) lim f (0 h)
x 0 h 0
lim f (h)
h 0
lim (1) 1
h 0
lim f ( x) lim f (0 h)
x 0 h 0
lim f ( h)
h 0
lim (1) 1
h 0
f ( x) x 2
lim f ( x) lim f ( x0 h)
x x0 h 0
lim ( x0 h) 2
h 0
lim ( x0 2 h 2 2 x0 h)
h 0
x0 2 0 0
lim f ( x) x0 2
x x0
lim f ( x) lim f ( x0 h)
x x0 h 0
lim ( x0 h) 2
h 0
lim ( x0 2 h 2 2 x0 h)
h 0
x0 2 0 0
lim f ( x) x0 2
x x0
f ( x0 ) x0 2 (2)
lim f ( x) f ( x0 ) x0 2
x x0
Thus, f ( x) x 2 is continuous at x x0 .
1
x sin if x 0
f ( x) x
0 if x 0
is continuous on R.
1
x sin if x 0
f ( x) x
0 if x 0
Now let a be any arbitrary element of R, then there arise two cases:
1
lim f ( x) lim x sin
xa x a x
1
a sin
a
1
and f (a) a sin
a
1
Then, lim f ( x) f (a) a sin
x a a
f (a) f (0) 0
Now
1
f ( x) f (0) x sin 0
x
1
x sin
x
1
x sin
x
x
f ( x) f (0)
f ( x) f (0)
whenever
x0 x
I.Q. 2
I.Q. 3
respectively. Then
lim f ( x) f ( x0 ) .
x x0
lim f ( x) lim f ( x)
x x0 x x0
lim f ( x) f ( x0 )
x x0
lim f ( x) f ( x0 )
x x0
sin x
, x0
f ( x) x
c 1, x0
sin x
lim f ( x) lim 1
x 0 x 0 x
lim f ( x) f (0)
x 0
x x0 x x0
sin x sin x0 2cos sin
2 2
x x0 x x0
sin x sin x0 2cos sin
2 2
x x0 x x0
2 cos sin
2 2
x x0
2.1. sin
2
x x0
2
2
1
2. x x0
2
x x0
Now, if we let
x x0
and
sin x sin x0
whenever
x x0
e1/ x
if x 0
f ( x) 1 e1/ x
0 if x 0
e1/ x
if x 0
f ( x) 1 e1/ x
0 if x 0
lim f ( x) lim f (0 h)
x 0 h 0
lim f (h)
h 0
e 1/ h
lim
h 0 1 e 1/ h
e
1 e
0
1 0
lim f ( x) 0 .
x 0
lim f ( x) lim f (0 h)
x 0 h 0
lim f (h)
h 0
e1/ h
lim
h 0 1 e1/ h
e1/ h
lim 1/ h 1/ h
h 0 e
e 1
1
lim
h 0
e 1/ h
1
1
e 1
1
0 1
lim f ( x) 1 .
x 0
f (0) 0
Thus,
Therefore f has a discontinuity of the first kind from the right at x=0.
e1/ x e1/ x
if x 0
f ( x) e1/ x e1/ x
1 if x 0
e1/ x e1/ x
if x 0
f ( x) e1/ x e1/ x
1 if x 0
lim f ( x) lim f (0 h)
x 0 h 0
lim f ( h)
h 0
e 1/ h e1/ h
lim
h 0 e 1/ h e1/ h
e1/ h e 2/ h 1
lim 1/ h 2/ h
h 0 e
e 1
lim
e 2/ h
1
e
h 0 2/ h
1
e 1
e 1
0 1
0 1
lim f ( x) 1 .
x 0
lim f ( x) lim f (0 h)
x 0 h 0
lim f (h)
h 0
e1/ h e 1/ h
lim
h 0 e1/ h e 1/ h
e1/ h 1 e 2/ h
lim 1/ h
h 0 e
1 e2/ h
lim
1 e 2/ h
1 e
h 0 2/ h
1 e
1 e
1 0
1 0
lim f ( x) 1 .
x 0
f (0) 1
Thus,
Therefore f has a discontinuity of the first kind from the left at x=0.
I.Q. 4
f ( x) f ( x0 ) whenever x x0 (1)
We know that
f ( x) f ( x0 ) f ( x) f ( x0 ) (2)
f ( x) f ( x0 ) whenever x x0 (3)
Thus, f ( x) is continuous at x x0 .
1 if x x0
f ( x)
1 if x x0
and lim f ( x) 1 f ( x0 )
x x0
Thus, f ( x) is continuous at x x0 .
However
lim f ( x) lim f ( x0 h)
x x0 h 0
lim (1)
h 0
lim f ( x) 1
x x0
Now
lim f ( x) lim f ( x0 h)
x x0 h 0
lim (1)
h 0
lim f ( x) 1
x x0
x x0 .
f ( x) f ( x0 ) whenever x x0 (1)
f ( x) f ( x0 )
f ( x) f ( x0 ) f ( x) f ( x0 )
f ( x) f ( x0 )
f ( x) f ( x0 )
f ( x) f ( x0 ) (2)
f ( x) f ( x0 )
Since, f ( x) 0
f ( x) f ( x0 ) f ( x0 )
1 1
f ( x) f ( x0 ) f ( x0 )
f ( x) f ( x0 )
f ( x) f ( x0 ) (3)
f ( x0 )
f ( x) f ( x0 ) whenever x x0
f ( x0 )
Thus, g ( x) f ( x) is continuous at x0 .
lim xn x0
n
f ( x) f ( x0 ) whenever x x0 (2)
f ( xn ) f ( x0 ) whenever xn x0 (3)
f ( xn ) f ( x0 ) for all n m
lim f ( xn ) f ( x0 ) (4)
n
lim f ( xn ) f ( x0 )
n
Now suppose f(x) is not continuous at x0 and let 0 be given then for
every 0 , there exists an x such that
x x0 and yet
f ( x) f ( x0 ) (5)
1
By taking , we find that for each positive integer n, there exists x xn
n
such that
1
f ( xn ) f ( x0 ) whenever x x0
n
I.Q. 5
I.Q. 6
0 if x is irrational
f ( x) 1 p
q if x is rational of the form :q0
q
p
Solution: Let r be a rational number in ]0, 1[ of the form r (q 0)
q
where p and q are positive integers having no factor in common, then
1
f ( x)
q
1
xn x0
n
1
lim f ( xn ) 0 f (r) [since f (r ) ]
n q
Now let s is any irrational number in ]0, 1[ and let 0 be given, now
choose a positive integer n such that
1
n
p
Now there are only finitely many rational numbers in ]0, 1[ having the
q
denominator less than n.
Then
xs
f ( x) f (s) f ( x) 0 f ( x)
f ( x) f ( s ) 0 (1)
xs
1
f ( x ) f ( s ) f ( x) 0 f ( x) [since x is a rational number]
n
f ( x) f ( s ) (2)
xs
f ( x) f ( s) for all x
1 if x is rational
f ( x)
1 if x is irrational
1
sn r
n
lim f ( sn ) 1 f (r )
n
Now let s be any irrational number. For each positive integer n, let rn be a
sequence of rational number such that
1
rn s
n
lim f (rn ) 1 f ( s)
n
I.Q. 7
x if x is irrational
f ( x)
x if x is rational
x if x is irrational
f ( x) (1)
x if x is rational
f ( r ) r
1
sn r (2)
n
and
f lim (sn ) f (r) r
n
lim f (sn ) f lim(sn )
n n
[since r 0 ]
f (s) s
1
rn s (2)
n
and
f lim (rn ) f (s) s
n
lim f (rn ) f lim(rn )
n n
[since r 0 ]
f (0) 0 .
r 0
f (r ) f (0) r 0 r r 0 (3)
s0
x0
f ( x) f (0)
I.Q. 8
Example 12: Suppose that f(x) and g(x) are continuous functions on
a, b and f ( x) g ( x) for all x Q ] a, b [ . Prove that f ( x) g ( x) for all x ] a, b [
Solution: Given that f(x) and g(x) are continuous functions on ]a, b[ and
f ( x) g ( x) for all x Q ] a, b [
rn x0 in ]a, b[
By hypothesis
f (rn ) f ( x0 )
g (rn ) g ( x0 ) (1)
f ( x) g ( x) for every x ] a, b[ .
f ( x y ) f ( x) f ( y )
f ( x y ) f ( x) f ( y ) (1)
f (0) 0
f (0) f ( x) f ( x)
f ( x) f ( x)
f ( x) f (1 1 . . . 1)
x times
x f (1)
f ( x) kx (2)
f ( x) kx
p
Now, if x , (q 0) is a rational number, then using equation (1)
q
repeatedly, we have
p
f p f .q
q
p p p
f f . . . f (q times)
q q q
p
q. f
q
p 1
f f p
q q
lim rn x
n
f (rn ) k rn
f (lim rn ) k (lim rn )
f ( x) kx
x if x is irrational
f ( x)
0 if x is rational
x if x is irrational
f ( x)
0 if x is rational
Let x0 be any point of [-1, 1]. For each positive integer n choose a
rational number rn and an irrational number sn both in [-1, 1] such that
1
rn x0
n
1
and sn x0
n
0 f ( x0 ) lim sn
n
0 f ( x0 ) x0 (1)
1
Now given any 0 , if we choose ,
2
If x is rational then
x f ( x) f (0) 0 (2)
If x is irrational then
x f ( x) f (0) x (3)
x f ( x) f (0)
I.Q. 9
I.Q. 10
Exercise:
2 x if 0 x 1
(I) f ( x) 3 if x 1 at x = 0, 1 and 2.
4 x if 1 x 2
x 2 if x 0
5 x 4 if 0 x 1
(II) f ( x) 2 at x 0, 1 and 2
4 x 3x if 1 x 2
3x 4 if x 2
e1/ x
2
if x 0
(III) f ( x) 1 e1/ x2 at x 0
1 if x 0
(1 x)1/ x if x 0
(IV) f ( x) at x 0
1 if x 0
xe1/ x
if x 0
(V) f ( x) 1 e1/ x at x 0
0 if x 0
x if x is rational
f ( x)
1 x if x is irrational
1
Show that f(x) is continuous at x and is discontinuous at every other
2
point.
1
if x 0
f ( x) 1 e1/ x
1 if x 0
e1/ x sin(1/ x) if x 0
f ( x)
0 if x 0
x 2 if x Q
f ( x)
0 if x R Q
10. Let f :]a, b[ R be continuous and f(r)=0 for every rational number
r ]a, b [ . Prove that f x 0 x ] a, b [ .
Summary:
Continuity at a Point
Continuity from the Right at a Point
Continuity from the Left at a Point
Continuous Function
Discontinuity of a Function at a Point
Types of Discontinuity
Sequential Criterion for Continuity
Sequential Criterion for Discontinuity
References: