D.4 The Intermediate Value Theorem
To conclude our study of limits and continuity, let's introduce the important, if seemingly-obvious, Intermediate Value Theorem, and consider some typical problems. We'll need the theorem later for some of our more important Calculus-y proofs, but even on this screen we'll see some surprising implications. (At the bottom of this screen, we'll look โ optionally โ at how Desmos graphs are often misleading essentially because of misuse of this theorem. No knock on Desmos, which we love and use a lot as you've seen! Even they say you must be aware of its limitations, including the ones we'll see below.)
To understand the theorem, take a look at the top figure: the function f is continuous on the interval
By contrast, the lower figure shows the function g which is not continuous on the same interval
IVT = Intermediate Value Theorem
The simple contrast between the functions f and g here illustrates an extremely important consequence of a function being continuous, and that consequence is captured by the Intermediate Value theorem (which we'll frequently abbreviate as "IVT"):
A common use of the IVT is to prove that an equation has at least one solution, even if you don't immediately (or ever) know what that solution is. The next example illustrates.
Example 1: Solution existence
Show that the equation
Solution.
Notice that the question doesn't ask us to find the solution; instead, it asks us to show that a solution exists. This is a strong clue that we should use the IVT.
First, let
Next, let's compute the value of f at the endpoints of the interval
Perfect: the question asks us to show that a solution exists for
Since f is continuous and
We note the following corollary to the IVT which is often easier to use in practice:
If f is continuous on
The corollary is useful because if you yourself have to supply the values of a and b, initially by just guessing, then it's easier to try and hone in on values with the goal of finding just one output-value that's negative and one that's positive. You then know that the curve must cross the x-axis somewhere between your two input values. The following example illustrates, and also introduces one super-helpful problem-solving tip.
Example 2: Solution exists for
Show that there is at least one solution to the equation
Solution.
Notice again that the question doesn't ask us to solve the equation, but rather to show that a solution to
A VERY HELPFUL initial move is to rewrite the given equation and introduce a new function
We now just start guessing at values of a and b with the goal of finding outputs with opposite signs, since that guarantees that there is a value of c between a and b such that
So let's start guessing. The easiest number to try is 0:
Oops: that didn't help, since we got another positive output. No matter: let's try another value, going to the positive-side of
and let's try
Example 2 illustrates the helpful move of defining a new function f (or g or whatever) at the start of a solution so you're looking for a value of c such that
The following example is another illustration of this helpful tactic โ and also an example of how we can apply the IVT to some surprising scenarios.
Example 3: Height and weight with equal values?
True or False? At some time t since you were born, your weight in pounds equaled your height in inches.
Solution.
This question seems out-of-the-blue . . . but we note that this question again doesn't ask for the value of the time t, and instead just asks about whether such a moment exists. And that again is a clue to use the IVT.
One way to show that this statement is true is to, following the Problem-Solving Tip, define a new function that is the difference between the two quantities of interest. So let's define a function that's the difference between your weight as a function of time, and your height as a function of time:
Now, note that at birth,
Hence by the Intermediate Value Theorem, there must be some particular moment T between your birth and now when
Note that we don't know when that moment was, only that it must exist.
Here are some practice problems for you to try.
Practice Problems: Intermediate Value Theorem
Note: You may not use a calculator to answer this question.
The next problem is often found in textbooks, and sometimes on exams.
First, note that the question is not asking you to find this number; instead, it is asking whether such a number exists. And that is a BIG CLUE we should think about the Intermediate Value Theorem (IVT). With that in mind, we start by expressing the statement mathematically:
Is there some number,
As we noted above, when asked whether two expressions are ever equal, it's helpful to define a new function that is the difference between those two expressions. Hence we define
Note that since
So now, we just try out some numbers and see what happens. The easiest number to try is 0:
Now let's look for
Having exhausted those really-easy numbers to try, let's stop and think a bit: we want
"For the function
Furthermore, although the question doesn't ask us to go any further, we actually have shown that the value of x we're after lies in the range
Before we use the theorem to prove the statement, let's imagine a slightly different situation to develop an intuitive understanding of what's going on.
Picture a hiker, Fran, who starts at the bottom of the mountain at 6:00 a.m and hikes up along the only existing path toward the top. Also imagine a second hiker, Greg, who starts his hike simultaneously with Fran at 6:00 a.m.โbut Greg starts his hike from the top of the mountain, and heads down along the same single path. Fran finishes her hike at 6:00 p.m., arriving at the top of the mountain; Greg also finishes his hike at 6:00 p.m., arriving at the bottom of the mountain at that same moment.
Now clearly Fran and Greg must pass each other at some point during the hike, since they're on the same path and both hike for exactly the same 12 hours. We don't know when their paths cross; indeed, the exact moment depends on how fast each hikes, when they take their breaks, and other details of their separate walks. But regardless of those details, we know that there is some moment when they cross paths.
The argument remains the same if we replace Greg's hike with Fran's return trip the following day: since she starts at 6:00 a.m. and finishes at 6:00 p.m., and follows the same path, there must be some moment when she is at the same location she was the day before at that time. (If it's easier to picture, imagine the downward-headed Fran meeting her upward-headed twin who left the bottom of the mountain at 6:00 a.m. Their paths must cross at some point, even if we don't know exactly when.)
To make our argument more formal, let the function
Now let the function
As you can see in the graphic, no matter the exact shape of two curves representing the two functions, they must cross at some point. We can't say exactly where they cross without more information, but we know they must cross somewhere.
To use the Intermediate Value Theorem, let's invoke an approach we've now used several times above, and create a new function,
Now, at the start of the day,
By contrast, at the end of the day,
Since
This next problem is a little mind-blowing, at least to us, but follows the same type of reasoning as the preceding questions.
If you were to encounter this or a similar question on an exam, we suggest just jumping in with the hint and seeing where it takes you. (Don't just stare at the blank page; start by writing down something that the problem told you!) The hint was
Hence by the Intermediate Value Theorem, there must exist an angle we'll call
As an aside, this remarkable fact about two anitpodal points having the same temperature is a specific application of something called the BorsukโUlam Theorem.
We promised at the top of the screen a discussion of a way in which Desmos and other graphing programs are sometimes entirely misleading. Open the box if you're interested:
What questions or comments about the IVT, or continuity, or limits do you have? Please pop over to the Forum and join the discussion with the rest of the community, including us!
The Upshot
- The Intermediate Value Theorem (IVT) states the obvious fact that: If a function f is continuous on a closed interval
and if[ ๐ , ๐ ] then f takes on every value between๐ ( ๐ ) โ ๐ ( ๐ ) , and๐ ( ๐ ) in the interval๐ ( ๐ ) [ ๐ , ๐ ] . - Its corollary is often more useful in practice: If f is continuous on
and[ ๐ , ๐ ] and๐ ( ๐ ) have opposite signs, then there is a number c between a and b such that๐ ( ๐ ) ๐ ( ๐ ) = 0 . - A very strong clue to use the IVT (or more likely, its corollary) is that a problem statement asks you to "show that a solution exists," or that the function takes on a particular output-value somewhere between two input-values; the problem does not ask you to find the solution, or the specific input-value where the output-value occurs. For such problems, use the steps outlined in the Examples and Practice Problems above.
Chapter Conclusion, and What's Next
And with that, we conclude our study of limits and continuity.
Recall that we ended Chapter 1 here:
The Upshot (at the end of Chapter 1)
- A function's average rate of change over an interval is equal to the slope of the secant line that passes through the endpoints of the interval:
a v e r a g e r a t e o f c h a n g e [ ๐ฅ 1 , ๐ฅ 2 ] = s l o p e o f l i n e s e g m e n t = ฮ ๐ฆ ฮ ๐ฅ = ๐ ( ๐ฅ 2 ) โ ๐ ( ๐ฅ 1 ) ๐ฅ 2 โ ๐ฅ 1 - You can make the average rate of change arbitrarily close to the instantaneous rate of change at
by making๐ฅ 1 sufficiently close to๐ฅ 2 (and hence๐ฅ 1 sufficiently small).ฮ ๐ฅ
These points raise a natural question that led to the development of Calculus itself:
How small can we make
We know it can't be exactly zero, because we can't divide by zero in the slope calculation. So how small can we make it?
We will take up this key question โ arguably THE key question โ when we explore THE key tool in Calculus in the next Chapter, on "Limits".
We now have that we have that foundational tool of limits โ without which Calculus wouldn't exist! โ and so we can return to that question. The answer will lead us to develop one of the (only) two fundamental concepts of Calculus, the derivative, in the next Chapter. . . which we will have available soon. We will be excited to see you there when it's ready โ please watch the Forum for the announcement when it's available.
For now, we hope you'll have a small celebration for yourself: understanding the concept of "the limit" deeply means understanding one of the great triumphs of science and mathematics. (There's a reason the founders of Calculus are so celebrated!) We sincerely hope we've helped you lay a firm foundation for yourself from which to build the key ideas to come. If you would be so kind, please let us know on the Forum: we really need and appreciate your feedback.
And please don't forget that celebration part!
How helpful was this page?
Our goal is to provide the best content we can, for free to any student looking to learn well, and your feedback helps us improve.