In both life and academic science, we often come across things that change incrementally over time. If we are buying a fast car, we want to know how quickly that car accelerates from 0 to 60 miles per hour – and the answer is most certainly not zero seconds – we first have to hit every number between 0 and 60. Just like many other situations we encounter in day to day life and in more academic areas, we don’t “leap” from one point to another suddenly without first crossing over everything in between the two points.
Now, what do we make of this mathematically? How might we express these ideas of continual change over time in mathematical terms? The answers, as it turns out, lies in the ideas of limits we have developed so far.
As in much of mathematics, we will phrase the idea of input-output type relationships as functions. In the car example from earlier, we might call out input the amount of time we’ve been slamming the gas pedal and the output as our current speed. In mathematics, we have a name for the idea of continual development of a function over time – we call these continuous.
How then do we define continuity? I think the most helpful way to view this is by thinking about what it would mean to be not continuous – usually called discontinuous. Imagine that the function is not continuous at 7. This would mean that, at 7, things jump in some way. Another way we could think of the same thing is that one part of the graph is ripped apart from another. Before we move on, let’s use two numerically helpful examples.
Example 1: Define the function to be rounded down to the nearest whole number. Let’s think about what happens to near 2. If you pick any number that satisfies , then . If you instead choose a number that satisfies , then . Now, suppose I tell you that is very close to 2 and ask you what value has. You can’t really tell me anything, because there is a huge difference between cases when and when .
In terms of limits, we can say here that does not exist, since the “left-hand side” and the “right-hand side” of look extremely different.
Example 2: This example is different than the first one in a key way. We now define differently. Define whenever and . Unlike in Example 1, the left and right sides of 0 are actually similar – in the language of limits, we have . But, the value of the limit is not the same as the actual value of at 0. It is as if we poked a hole at 0 and shifted that point up without changing anything else.
In this case, we still have discontinuity. There is a “microscopic jump” that happens at 0.
A Precise Definition of Continuity
How do we use these examples of jumps to make a more careful, mathematical definition of continuity? In other words, how do we define what it means to not have a discontinuous jump? Here is the standard mathematical definition, which we have now motivated by discussing examples where the idea breaks down.
Definition: A function is continuous at the point whenever we have
Example 1 was an example of a situation where the expression does not make sense. Example 2 was a situation where both and make sense. You could, if you’d like, use an example like as an example where doesn’t make sense (in this case, doesn’t make sense).
Most functions that we deal with are continuous, or at least continuous everywhere that we care about. So remembering this definition verbatim is not necessarily important unless you have to deal with an especially difficult function. In conceptual terms, the idea of continuity should be thought of as function whose graph has no rips, jumps, or holes.
Real-World Meaningfulness of Continuity
The idea of “no rips, jumps, or holes” can be reframed in a way that has obvious real-world implications. If a function is continuous, it means that if we change by a small amount, then the output value also changes by only a small amount. What this ends up implying is that continuous functions are especially easy to approximate, which is useful in computer science and engineering – and is one of the facts that allows us to use calculators to find decimal expansions for complicated numbers and functions.
Here is an example of how that might work. Let’s say you want to approximate the value of . We can do this by using the continuous function . Since this function is continuous, then “ is close to ” and “ is close to 3″ are basically the same statement. You could then find a fraction whose square root you know how to compute, and if that fraction is close to 3, then its square root is very close to . Here is an example. The number is pretty close to 3, and its square root is exactly . This means, since is continuous, that . This is just one example of a way that knowing about continuity can be helpful.
An Important Result of Continuity
Continuous functions are very helpful in the real world, but they are also massively important conceptually. There are so many reasons for why, most of which I won’t get into. But I will lay out two of them. The first, called the Intermediate Value Theorem, can be used to guarantee that lots of equations definitely have solutions, even if you don’t know how to write down what that solution is. The second, called the Extreme Value Theorem, guarantees that under a very general situations, questions about maximum and minimum values always make sense.
The Intermediate Value Theorem (IVT) basically says “If is a continuous function and hits the numbers and on its graph, then it hits every number between and too. The Extreme Value Theorem (EVT) basically says “If is a continuous function, then it always has a maximum and minimum value in any ‘finite window’.”
Here are more formal ways of expressing these two ideas.
Intermediate Value Theorem: Suppose that is a continuous function and that are two unequal numbers. Then if is a number between and , then has a solution with between and .
Extreme Value Theorem: Suppose that is a continuous function. Then if makes sense for all satisfying , then there are both a largest value and smallest value of for satisfying .
It isn’t important that we go too deep into exactly why these work (but perhaps the visual ways I’ve explained continuity might suggest to you why both of these must be true). But because of the IVT and EVT, continuity lets us know that many real-world functions that matter either definitely have maximum or minimum values (which matters a great deal if that function counts how much money your company makes) or that certain equations definitely have solutions (which matters a great deal if that equation tells you something about the structural integrity of a building).
Continuity is an extremely important concept in calculus, and is one that is worth reviewing over and over again until you really deeply understand what it means. Going forward, pretty much every situation we find ourselves in will make use of continuous functions, so this is good to keep in mind.