4.4 Continuity
Another major concept in analysis is that of continuity (again, we came across this earlier, but it’s worth revisiting this concept not that we’ve formally defined limits and convergence). Suppose we have a function and a convergent sequence . Do we know that as ? The answer is that no, this doesn’t always happen. Only some functions have this property, and those functions are said to be “continuous”. Below is the formal definition.
Definition. A function is said to be continuous at the point if for every , there exists such that for all . If is continuous at every point in its domain, then the entire function is said to be continuous.
This is similar to the concept of convergent sequences, except now instead of a countable sequence of points , we are concerned with all the points in the “neighborhood” ; that is, the points near . Many of the techniques that we encountered earlier with convergence are very similar to the techniques one uses with continuity. These techniques are often referred to as “delta-epsilon” techniques. For example, the techniques used in the following proof should look fairly familiar by now.
Theorem. Suppose and is continuous at . Then .
Proof. Let . Therefore, .
One important thing to note here is that the order of these steps is important. Students often switch the order of the first two lines in this proof, but this makes no sense. The claim that is meaningless if hasn’t been defined yet. This isn’t just semantics: if you were trying to determine how large had to be in order to ensure that is within a certain tolerance of , you couldn’t start by finding . Without using continuity first, you’d have no idea how close must be to in order to ensure that is within of .
It is worth noting that we can actually make the above theorem into an “if and only if” statement, and thus, an equivalent definition of continuity, but we would have to add the condition that for all sequences . For example, a function could satisfy for increasing sequences but not for decreasing sequences ; such functions are not continuous at .
Here are some additional proof exercises related to continuity for you to practice with. Note that the sum and product proofs are very similar to the corresponding proofs for sequences; however, they are still useful exercises if you’ve never done delta-epsilon proofs before.
Theorem. Let the functions and be continuous at . Then is continuous at .
Theorem. Let the functions and be continuous at . Then is continuous at .
Theorem. Let the function be continuous at and the function be continuous at . Then is continuous at .
Exercise. Write an R function n(eps)
that returns the smallest for which for and .
See here for solutions, although you should definitely try proving them on your own first before looking at the solutions.