In everyday speech, the word “continuous” means having no breaks or interruptions. In calculus, continuity is used to describe functions whose graphs have no breaks. If we imagine the graph of a function f as a wavy metal wire, then f is continuous if its graph consists of a single piece of wire as in Figure 1. A break in the wire as in Figure 2 is called a discontinuity.
Now observe in Figure 2 that the break in the graph occurs because the left- and right-hand limits as x approaches c are not equal and thus does not exist. By contrast, in Figure 1, exists and is equal to the function value f(c). This suggests the following definition of continuity in terms of limits.
Assume that f(x) is defined on an open interval containing x = c. Then f is continuous at x = c if
If the limit does not exist, or if it exists but is not equal to f(c), we say that f has a discontinuity (or is discontinuous)at x = c.
A function f(x) may be continuous at some points and discontinuous at others. If f(x) is continuous at all points in an interval I, then f(x) is said to be continuous on I. If I is an interval [a, b] or [a, b) that includes a as a left endpoint, we require that . Similarly, we require that if I includes b as a right endpoint. If f(x) is continuous at all points in its domain, then f(x) is simply called continuous.
Show that the following functions are continuous:
Solution
To understand continuity better, let’s consider some ways in which a function can fail to be continuous. Keep in mind that continuity at a point x = c requires more than just the existence of a limit. Three conditions must hold:
63
If exists but is not equal to f(c), we say that f has a removable discontinuity at x = c. The function in Figure 5(A) has a removable discontinuity at c = 2 because
Removable discontinuities are “mild” in the following sense: We can make f continuous at x = c by redefining f(c). In Figure 5(B), f(2) has been redefined as f(2) = 5, and this makes f continuous at x = 2.
A “worse” type of discontinuity is a jump discontinuity, which occurs if the one-sided limits and exist but are not equal. Figure 6 shows two functions with jump discontinuities at c = 2. Unlike the removable case, we cannot make f(x) continuous by redefining f(c).
In connection with jump discontinuities, it is convenient to define one-sided continuity.
A function f(x) is called:
In Figure 6 above, the function in (A) is left-continuous but the function in (B) is neither left- nor right-continuous. The next example explores one-sided continuity using a piecewise-defined function—that is, a function defined by different formulas on different intervals.
Discuss the continuity of
64
Solution The functions f(x) = x and g(x) = 3 are continuous, so F(x) is also continuous, except possibly at the transition points x = 1 and x = 3, where the formula for F(x) changes (Figure 7).
We say that f(x) has an infinite discontinuity at x = c if one or both of the one-sided limits is infinite (even if f(x) itself is not defined at x = c). Figure 8 illustrates three types of infinite discontinuities occurring at x = 2. Notice that x = 2 does not belong to the domain of the function in cases (A) and (B).
Finally, we note that some functions have more “severe” types of discontinuity than those discussed above. For example, oscillates infinitely often between +1 and −1 as x → 0 (Figure 9). Neither the left- nor the right-hand limit exists at x = 0, so this discontinuity is not a jump discontinuity. See Exercises 88 and 89 for even stranger examples. Although of interest from a theoretical point of view, these discontinuities rarely arise in practice.
Having studied some examples of discontinuities, we focus again on continuous functions. How can we show that a function is continuous? One way is to use the Laws of Continuity, which state, roughly speaking, that a function is continuous if it is built out of functions that are known to be continuous.
If f(x) and g(x) are continuous at x = c, then the following functions are also continuous at x = c:
These laws follow directly from the corresponding Basic Limit Laws (Theorem 1, Section 2.2). We illustrate by proving the first part of (i) in detail. The remaining laws are proved similarly. By definition, we must show that . Because f(x) and g(x) are both continuous at x = c, we have
65
The Sum Law for limits yields the desired result:
In Section 2.2, we noted that the Basic Limit Laws for Sums and Products are valid for an arbitrary number of functions. The same is true for continuity; that is, if f1(x),…, fn(x) are continuous, then so are the functions
The basic functions are continuous on their domains. Recall (Section 1.3) that the term basic function refers to polynomials, rational functions, nth-root and algebraic functions, trigonometric functions and their inverses, and exponential and logarithmic functions.
When a function f(x) is defined and continuous for all values of x, we say that f(x) is continuous on the real line.
Let P(x) and Q(x) be polynomials. Then:
REMINDER A rational function is a quotient of two polynomials P(x)/Q(x).
The function xm is continuous for all whole numbers m by Example 1. By Continuity Law (ii), axm is continuous for every constant a. A polynomial
is a sum of continuous functions, so it too is continuous. By Continuity Law (iv), a quotient P(x)/Q(x) is continuous at x = c, provided that Q(c) ≠ 0.
This result shows, for example, that f(x) = 3x4 − 2x3 + 8x is continuous for all x and that
is continuous for x ≠ ±1. Note that if n is a positive integer, then f(x) = x−n is continuous for x ≠ 0 because f(x) = x−n = 1/xn is a rational function.
The continuity of the nth-root, trigonometric, and exponential functions should not be surprising because their graphs have no visible breaks (Figure 10). Similarly, logarithmic functions (introduced in Section 7.2) are continuous. However, complete proofs of continuity are somewhat technical and are omitted.
REMINDER The domain of y = x1/nis the real line if n is odd and the half-line [0, ∞) if n is even.
66
Because sin x and cos x are continuous, Continuity Law (iv) for Quotients implies that the other standard trigonometric functions are continuous on their domains, consisting of the values of x where their denominators are nonzero:
They have infinite discontinuities at points where their denominators are zero. For example, tan x has infinite discontinuities at the points (Figure 11)
Finally, it is important to know that a composition of continuous functions is again continuous. The following theorem is proved in Appendix D.
If g is continuous at x = c, and f is continuous at x = g(c), then the composite function F(x) = f(g(x)) is continuous at x = c.
For example, F(x) = (x2 + 9)1/3 is continuous because it is the composite of the continuous functions f(x) = x1/3 and g(x) = x2 + 9. Similarly, F(x) = cos(x−1) is continuous for all x ≠ 0, and F(x) = 2sin x is continuous for all x.
More generally, an elementary function is a function that is constructed out of basic functions using the operations of addition, subtraction, multiplication, division, and composition. Since the basic functions are continuous (on their domains), an elementary function is also continuous on its domain by the laws of continuity. An example of an elementary function is
This function is continuous on its domain {x : x ≠ 8}.
It is easy to evaluate a limit when the function in question is known to be continuous. In this case, by definition, the limit is equal to the function value:
We call this the Substitution Method because the limit is evaluated by “plugging in” x = c.
67
Evaluate (a) and (b).
Solution
The greatest integer function [x] is the function defined by [x] = n, where n is the unique integer such that n ≤ x < n + 1 [Figure 12]. For example, [4.7] = 4.
Can we evaluate using substitution?
Solution Substitution cannot be applied because f(x) = [x] is not continuous at x = 2. Although f(2) = 2, does not exist because the one-sided limits are not equal:
Continuous functions are used often to represent physical quantities such as velocity, temperature, and voltage. This reflects our everyday experience that change in the physical world tends to occur continuously rather than through abrupt transitions. However, mathematical models are at best approximations to reality, and it is important to be aware of their limitations.
In Figure 13, atmospheric temperature is represented as a continuous function of altitude. This is justified for large-scale objects such as the earth’s atmosphere because the reading on a thermometer appears to vary continuously as altitude changes. However, temperature is a measure of the average kinetic energy of molecules. At the microscopic level, it would not be meaningful to treat temperature as a quantity that varies continuously from point to point.
Similarly, the size P(t) of a population is usually treated as a continuous function of time t. Strictly speaking, P(t) is a whole number that changes by ±1 when an individual is born or dies, so it is not continuous, but if the population is large, the effect of an individual birth or death is small, and it is both reasonable and convenient to treat P(t) as a continuous function.
68