Continuity: 445.255 Principles of Mathematics Continuity Page 1 of 5
Continuity: 445.255 Principles of Mathematics Continuity Page 1 of 5
Defn Let f be a function whose domain and range are in R and suppose that a ∈ D(f )
(the domain of f). Then f is continuous at a if for any given nbd V of f (a) there exists a nbd U
of a such that f (U ) ⊆ V , i.e. f (x) ∈ V whenever x ∈ U .
Remarks
1. We wish to show that the values of the function are within a prescribed distance of the value
f (a) (given by V ) whenever x is “close enough” to a. So V is always pre-determined and the
task is to find a suitable nbd U of a (if possible) which is mapped by f entirely into V . Then U
expresses the notion of being close enough to a.
2. Clearly ever nbd of a contains an ²-nbd of a. So it is enough to have the result for
²-nbds. This leads back to the more classical definition that f is continuous at a if, given ² > 0,
there exists a δ > 0 (depending in general on both ² and a) such that
So f + g is continuous at a.
For the continuity of f g without loss of generality let ² < 1 and put M = max(|f (a)|, |g(a)|, 1).
Then there exists δ > 0 such that |f (x) − f (a)| < ²/3M, |g(x) − g(a)| < ²/3M for |x − a| < δ.
Furthermore |f (x)| < |f (a)| + ²/3M ≤ M + ²/3M . Now
Proof Take ² = 12 |g(a)|. Since g is continuous at a there exists δ1 > 0 such that |g(x) − g(a)| < ²
if |x − a| < δ1 , i.e. if |x − a| < δ1 then
|g(x)| = |g(x) − g(a) + g(a)| ≤ |g(x) − g(a)| + |g(a)| < ² + |g(a)| = 32 |g(a)|, and
|g(a)| = |g(a) − g(x) + g(x)| ≤ |g(a) − g(x)| + |g(x)| < ² + |g(x)| = 12 |g(a)| + |g(x)|
i.e. 12 |g(a)| < |g(x)|, and so 12 |g(a)| < |g(x)| < 32 |g(a)|.
Now let ² be arbitrary. Again since g is continuous at a there exists δ > 0 (which can cer-
²|g(a)|2
tainly be taken ≤ δ1 ) such that |g(x) − g(a)| < ²1 = when |x − a| < δ (≤ δ1 ). But
2
then
¯ ¯ ¯ ¯
¯ 1 1 ¯¯ ¯¯ g(x) − g(a) ¯¯ |g(x) − g(a)| ²1
¯
¯ g(x) − g(a) ¯ = ¯ g(x)g(a) ¯ ≤ 1
|g(a)|2
<
|g(a)|2
=²
2
Remarks
1. Note that the first part of the proof is devoted to showing that |g(x)| is bounded below
by a positive number when x is close to a. This estimate is needed because g(x) occurs in the
denominator in the second part of the proof.
2. Combining this result with that concerning products we see that f /g (= f · 1/g) is
continuous at a when both f and g are and g(a) 6= 0. In particular rational functions are
continuous at all points where the denominator is zero.
Proof Since g is continuous at b, for every nbd W of g(b) there is a nbd V of b such that
g(V ) ⊂ W . But b = f (a) and f is continuous at a, so for the nbd V there is another nbd U such
that f (U ) ⊂ V . Now h(a) = g ◦ f (a) = g(b) and clearly h(U ) ⊂ W i.e. for every nbd W of h(a)
there is a nbd U of a such that h(U ) ⊂ W . Hence h = g ◦ f is continuous at a.
Remarks
1. Similar definitions hold for one-sided limits.
2. The definition is almost the same as that for the continuity of f at a except that l is not
necessarily f (a) and we consider only the deleted nbd B(a, δ) − {a} for a i.e. {x : 0 < |x − a| < δ}.
So the following result can be taken as a definition of continuity (at the point a).
4. Just as for sequences limits are unique, standard results about the limits of sums, prod-
ucts and quotients hold and we have the Sandwich theorem.
5. Similar results hold concerning limits as x → ±∞. In these cases the condition 0 < |x − a| < δ
is replaced by conditions such as x > K(> 0).
Theorem (Bolzano) If f is continuous on [a, b] and f (a) < 0 < f (b), then there is some
c in [a, b] such that f (c) = 0.
Cor (Intermediate Value Theorem) If f is continuous on [a, b] and k is any number be-
tween f (a) and f (b) then there is at least one number c netween a and b such that f (c) = k.
Theorem (Extreme Value Theorem) If f is continuous on [a, b], then there are numbers
c, d in [a, b] such that f (d) ≤ f (x) ≤ f (c) for all x in [a, b]. Furthermore
f (c) = max{f (x) : x ∈ [a, b]} = lub{f (x) : x ∈ [a, b]}
f (d) = min{f (x) : x ∈ [a, b]} = glb{f (x) : x ∈ [a, b]}.
Remarks
2. The last theorem asserts that not only is f bounded but that the lub and glb are ac-
tual values of f , i.e. f has a maximum and minimum on [a, b].
3. The proofs we give make use of the least upper bound axiom. More illuminating proofs
can be given in a metric space context.
Proof The argument is essentially the same as the one we used for limits of quotients. Suppose
f (a) > 0. By continuity, for every ² > 0 there exists δ > 0 such that f (a) − ² < f (x) < f (a) + ²,
whenever a − δ < x < a + δ. If we take the δ corresponding to ² = f (a)/2 (a positive ²) then we
get 12 f (a) < f (x) < 32 f (a), whenever a − δ < x < a + δ. So f (x) > 0 in this interval and hence
f (x) and f (a) have the same sign.
If f (a) < 0 we take the δ corresponding to ² = −f (a)/2 to get the same result.
There are only 3 possibilities: f (c) > 0, f (c) < 0, f (c) = 0. If f (c) > 0 there is an inter-
val (c − δ, c + δ), or (c − δ, c] if c = b, in which f is positive. So no point of S can lie to the
right of c − δ, i.e. c − δ is an upper bound for S which is less than the least upper bound. This
contradiction shows that we can’t have f (c) > 0.
Remark We deduce the Intermediate Value Theorem by applying the above result to the
function g(x) = f (x) − k.
Assume f (x) 6= p for any x ∈ [a, b] and let g(x) = p−f (x). Then g(x) > 0 for all x ∈ [a, b] and so 1/g
is continuous on [a, b]. By the previous theorem we wee that 1/g is bounded on [a, b]. Say 1/g < C
for all x ∈ [a, b], where C > 0. Then p − f (x) > 1/C and so f (x) < p − 1/C for all x ∈ [a, b]. But
this contradicts the definition of p as the lub of the range of f . So f (x) = p for at least one c ∈ [a, b].
The corresponding result about the glb follows by noting that glb{f (x) : x ∈ [a, b]} =
−lub{−f (x) : x ∈ [a, b]}.