There are several equivalent definitions of continuity for real functions. The following characterization is typically referred to as the epsilon-delta definition of continuity. Our definition mimics the definition of continuity used in metric spaces, which \(\mathbb{R}\) equipped with absolute value happens to be an example of. Recall that \(|a-b|\lt r\) means that the distance between \(a\) and \(b\) is less than \(r\) (see discussion below CorollaryΒ 5.31).
Suppose \(f\) is a real function such that \(a\in \dom(f)\text{.}\) We say that \(f\) is continuous at \(a\) if for every \(\varepsilon>0\text{,}\) there exists \(\delta>0\) such that if \(x\in\dom(f)\) and \(|x-a|\lt \delta\text{,}\) then \(|f(x)-f(a)|\lt \varepsilon\text{.}\) If \(f\) is continuous at every point in \(B\subseteq\dom(f)\text{,}\) then we say that \(f\) is continuous on \(B\). If \(f\) is continuous on its entire domain, we simply say that \(f\) is continuous.
Loosely speaking, a real function \(f\) is continuous at the point \(a\in\dom(f)\) if we can get \(f(x)\) arbitrarily close to \(f(a)\) by considering all \(x\in\dom(f)\) sufficiently close to \(a\text{.}\) The value \(\varepsilon\) is indicating how close to \(f(a)\) we need to be while the value \(\delta\) is providing the βwindowβ around \(a\) needed to guarantee that all points in the window (and in the domain) yield outputs within \(\varepsilon\) of \(f(a)\text{.}\)FigureΒ 8.5 illustrates our definition of continuity. Note that in the figure, the point \(a\) is fixed while we need to consider all \(x\in\dom(f)\) such that \(|x-a|\lt \delta\text{.}\) The dashed box in the figure has dimensions \(2\delta\) by \(2\varepsilon\) and is centered at the point \((a,f(a))\text{.}\) Intuitively, the function is continuous at \(a\) since given \(\varepsilon>0\text{,}\) we could find \(\delta >0\) so that the graph of the function never exits the top or bottom of the dashed box.
Perhaps you have encountered the phrase βa function is continuous if you can draw its graph without lifting your pencil.β While this description provides some intuition about what continuity of a function means, it is neither accurate nor precise enough to capture the meaning of continuity.
When proving that a function is continuous at a point, the choice of \(\delta\) depends on both the point in question and the value of \(\varepsilon\text{.}\) An example should be helpful.
Define \(f:\mathbb{R}\to\mathbb{R}\) via \(f(x)=3x+2\text{.}\) Letβs prove that \(f\) is continuous (at every point in the domain). Let \(a\in\mathbb{R}\) and let \(\varepsilon>0\text{.}\) Choose \(\delta=\varepsilon/3\text{.}\) We will see in a moment why this is a good choice for \(\delta\text{.}\) Suppose \(x\in\mathbb{R}\) such that \(|x-a|\lt \delta\text{.}\) We see that
The next result tells us that every linear real function is continuous. Do not forget to handle the case when \(m=0\) in your proof. Note that the case when \(m=0\) proves that every constant function is continuous.
Suppose \(f\) is a real function. Then \(f\) is continuous if and only if the preimage \(f^{-1}(U)\) of every open set \(U\) is an open set intersected with the domain of \(f\text{.}\)
The previous characterization of continuity is often referred to as the βopen set definition of continuity,β although for us it is a theorem instead of a definition. This is the definition used in topology. Another notion of continuity, called βsequential continuityβ, makes use of convergent sequences. All of these characterizations of continuity are equivalent for the real numbers (using the standard definition of an open set). However, there are contexts in mathematics where the epsilon-delta definition of continuity is undefined (because there is not a notion of distance in either the domain or codomain) and others where continuity and sequential continuity are not equivalent.
Since every open set is the union of bounded open intervals (DefinitionΒ 5.53), the union of open sets is open (TheoremΒ 5.58), and preimages respect unions (TheoremΒ 8.92), we can strengthen TheoremΒ 8.106 into a slightly more useful result.
Suppose \(f\) is a real function. Then \(f\) is continuous if and only if the preimage \(f^{-1}(I)\) of every bounded open interval \(I\) is an open set intersected with the domain of \(f\text{.}\)
Now that we have two methods for verifying continuity (DefinitionΒ 8.96 and TheoremΒ 8.106/ TheoremΒ 8.107), you can use either one when approaching the remaining problems in this section. Sometimes it does not matter which approach you take and other times one method might be better suited to the task.
For the next few problems, if you attempt to construct counterexamples, you may rely on your previous knowledge about various functions that you encountered in high school and calculus.
Suppose \(f\) is a continuous real function. If \(U\) is an open set contained in \(\dom(f)\text{,}\) is the image \(f(U)\) always open? If so, prove it. Otherwise, provide a counterexample.
Suppose \(f\) is a continuous real function. If \(C\) is a closed set, is the preimage \(f^{-1}(C)\) always a closed set? If so, prove it. Otherwise, provide a counterexample.
Suppose \(f\) is a continuous real function. If \([a,b]\) is a closed interval contained in \(\dom(f)\text{,}\) is the image \(f([a,b])\) always a closed interval? If so, prove it. Otherwise, provide a counterexample.
Suppose \(f\) is a continuous real function. If \(C\) is a closed set contained in \(\dom(f)\text{,}\) is the image \(f(C)\) always a closed set? If so, prove it. Otherwise, provide a counterexample.
Suppose \(f\) is a continuous real function. If \(B\) is bounded set contained in \(\dom(f)\text{,}\) is the image \(f(B)\) always a bounded set? If so, prove it. Otherwise, provide a counterexample.
Suppose \(f\) is a continuous real function. If \(B\) is a bounded set, is the preimage \(f^{-1}(B)\) always a bounded set? If so, prove it. Otherwise, provide a counterexample.
Suppose \(f\) is a continuous real function. If \(K\) is a compact set, is the preimage \(f^{-1}(B)\) always a compact set? If so, prove it. Otherwise, provide a counterexample.
Suppose \(f\) is a continuous real function. If \(C\) is a connected set contained in \(\dom(f)\text{,}\) is the image \(f(C)\) always connected? If so, prove it. Otherwise, provide a counterexample.
Suppose \(f\) is a continuous real function. If \(C\) is a connected set, is the preimage \(f^{-1}(C)\) always a connected set? If so, prove it. Otherwise, provide a counterexample.
Perhaps you noticed the absence of one natural question in the previous sequence of problems. If \(f\) is a continuous real function and \(K\) is a subset of the domain of \(f\text{,}\) is the image \(f(K)\) a compact set? It turns out that the answer is βyesβ, but proving this fact is beyond the scope of this book. This theorem is often proved in a real analysis course and is then used to prove the Extreme Value Theorem, which you may have encountered in your calculus course.
The next result is a special case of the well-known Intermediate Value Theorem, which states that if \(f\) is a continuous real function whose domain contains the interval \([a,b]\text{,}\) then \(f\) attains every value between \(f(a)\) and \(f(b)\) at some point within the interval \([a,b]\text{.}\) To prove the special case, utilize TheoremΒ 5.87 and ProblemΒ 8.118 together with a proof by contradiction.
Suppose \(f\) is a real function. If \(f\) is continuous on \([a,b]\) such that \(f(a)\lt 0\lt f(b)\) or \(f(a)>0>f(b)\text{,}\) then there exists \(r\in [a,b]\) such that \(f(r)=0\text{.}\)
Suppose \(f\) is a real function. If \(f\) is continuous on \([a,b]\) such that \(f(a)\lt c\lt f(b)\) or \(f(a)>c>f(b)\) for some \(c\in \mathbb{R}\text{,}\) then there exists \(r\in [a,b]\) such that \(f(r)=c\text{.}\)
The miracle of the appropriateness of the language of mathematics for the formulation of the laws of physics is a wonderful gift which we neither understand nor deserve. We should be grateful for it and hope that it will remain valid in future research and that it will extend, for better or for worse, to our pleasure, even though perhaps also to our bafflement, to wide branches of learning.