Topic 2 Continuity of Functions
Topic 2 Continuity of Functions
A function is said to be continuous at a point (or within an interval) if its graph has no breaks
(such as holes, gaps or jumps) at that point (or within that interval).
If the graph of a function has a hole, gap or jump at x = a, we say that the function is discontin-
uous at x = a.
Definition 2.0.1. A function f (x) is said to be continuous at a point x = a if the following three
conditions hold:
x2 −4
Example 2.0.1. Determine the continuity of f (x) = x−2 at (i) x = 1 and (ii) x = 2.
Solution:
(i) At x = 1
According to the definition 2.0.1, three items must be true for continuity to exist.
12 −4
(1) Is f (1) defined? Yes; f (1) = 1−2 =3
x2 − 4
(2) Does lim exist? Yes; The substitution principle shows that
x→1 x − 2
x2 − 4 (1)2 − 4
lim = =3
x→1 x − 2 1−2
x2 − 4
(3) Does lim = f (1)? Yes; 3=3.
x→1 x − 2
2 −4
So we conclude that f (x) = xx−2 is continuous at x = 1.
18
(ii) At x = 2
x2 −4 (x + 2)(x − 2)
f (x) = x−2 is discontinuous at 2 because f (2) is not defined. However, lim f (x) = lim =
x→2 x→2 x−2
lim (x + 2) = 4 so that condition (ii) holds.
x→2
Fig. 12
• Notice that in the formed piecewise function, the function is assigned a value of 4 ( limit
value) at x = 2; so that the extended function would be continuous at x = 2.
1
Example 2.0.2. Determine the continuity of f (x) = x−2 at x = 2.
19
1
Solution: f (x) = x−2 is discontinuous at x = 2 because f (2) is not defined and also because
lim f (x) does not exist as indicated below.
x→2
Numerically:
Fig. 13
• Since the limit does not exist, the discontinuity at x = 2 is said to be non-removable.
• Non-removable discontinuity are characterized by the fact that the limit does not
exist. They cannot be fixed.
• Non-removable discontinuities may further be classified into: jump, infinite, endpoint
and mixed discontinuity.
Definition 2.0.2. A function
f (x) has a jump discontinuity
at x = a if both the left
hand limit, lim f (x) and the right hand limit lim f (x) exists but are not equal
x→a− x→a+
20
Fig. 14
Fig. 15
21
Example 2.0.3. Define a function f (x) as follows
x2 if
x ̸= 2
f (x) =
0 if x=2
Here, lim f (x) = 4, but f (2) = 0. Hence, condition (iii) fails, so that f (x) has a discontinuity
x→2
at 2. Since the limit exist, the discontinuity of f at x = 2 is removable.
To fix (or remove) the discontinuity at x = 2, we change the value of f at 2 to be 4 (the limit
value), then we obtain a function h such that:
x2 if x ̸= 2
h(x) =
4 if x = 2
h(x) is now continuous at x = 2.
|x|
Example 2.0.4. Let f be a function such that f (x) = x for all x ̸= 0. The graph of f is as
shown in Figure 16.
Fig. 16
22
2.1 Properties of Continuity
If two functions f (x) and g(x) are continuous functions at x = a then:
(ii) f ± g is continuous at a.
(iii) f g is continuous at a.
3. A rational function is continuous for all real x except those values of x for which the denom-
inator is 0.
5. The constant function h(x) = c is continuous everywhere (or in the interval (−∞, +∞)).
6. A radical function, or rational exponent function, is continuous for all real x in its domain.
Example 2.2.1. Determine the intervals where the following functions are continuous
Solution:
(a) Since f (x) = 9 is a constant function, it is continuous everywhere. Therefore the interval of
continuity is (−∞, +∞).
(b) g(x) = x3 + 8x2 + x − 9 is a polynomial function which should be continuous over the set of
all real numbers. Therefore the interval of continuity is (−∞, +∞).
(c) Since this is an exponential function, it is continuous over the set of all real numbers and the
interval of continuity is (−∞, +∞).
(d) The domain of this radical function is [7, ∞), so we conclude that the function is continuous
on [7, ∞).
23
(e) Since this is a rational function, we conclude that it is continuous everywhere except at x = 1
and at x = − 12 , the values of x that make the denominator 0. Therefore, the function is
continuous on −∞, − 21 ∪ − 21 , 1 ∪ (1, ∞).
Fig. 17
Exercise 6. Determine the continuity of the given functions at the indicated point.
(i) g(x) = 3x − 2, x = −2
x+1
(ii) f (x) = x−3 , x=3
x2 −25
(iii) h(x) = x−5 , x=0
x − 3, x≤0
(iv) h(x) =
x2 + x − 3, x > 0, at x = 0
x + 2, x≤1
(v) f (x) =
x2 + 3, x > 1, at x = 1
Solution: From the denominator (x2 − 9) = (x − 3)(x + 3), the function f has discontinuities
at x = 3 and x = −3. Both f (3) and f (−3) are undefined.
For x = 3;
x2 + 3x + 9
lim = 27/6 (limit exists). Hence, f (x) has a removable discontinuity at x = 3.
x→3 x+3
24
For x = −3, lim f (x) does not exist. Hence, f (x) has a nonremovable discontinuity at
x→−3
x = −3.
Summary: f (x) has a removable discontinuity at x = 3 and a nonremovable discontinuity at
x = −3.
2
2. f (x) = x
Solution: Clearly, the function f is discontinuous at x = 0. This is because f (0) is undefined.
Secondly, the lim f (x) = −∞ and lim f (x) = ∞. Since the limits do not exist, the
x→0− x→0+
discontinuity at x = 0 is Nonremovable.
In summary, f (x) has a non-removable discontinuity at x = 0.
3.
0 if x=0
f (x) =
2 if x ̸= 0
Solution: Removable discontinuity at x = 0.
4.
x if x ≤ 0
f (x) = x 2 if 0 < x < 1
2−x if x ≥ 1.
Solution: No discontinuities.
x−1
5. f (x) = (x+3)(x−2) . Solution: Nonremovable discontinuity at x = −3 and x = 2.
x4 −1 x3 +x2 −17x+15
(e) f (x) = x2 −1
(f) f (x) = x2 +2x−15
(g) f (x) = x3 − 7x
x2 −4 x2 +3x+2 x−2
(h) f (x) = x2 −5x+6
(i) f (x) = x2 +4x+3
(j) f (x) = x2 −4
Solutions
25
(d) Jump discontinuity at x = 0.
Exercise 7. Sketch the graphs of the following functions and determine whether they are continuous
on the closed interval [0, 1].
−1 if x < 0 1
x if x > 0
(a) f (x) = 0 if 0≤x≤1 (b) f (x) =
1 if x ≤ 0
1 if x > 1
x if x ≤ 0
−x2
if x ≤ 0
(c) f (x) = (d) f (x) = 0 if 0<x<1
x2 if x > 0
x if x ≥ 1
Solutions
(a) Yes. (b) No. Not continuous on the right at 0. (c) Yes. (d) No. Not defined at 0.
26