Continuous functions have important properties. For example, if a function is continuous on a closed interval, it attains a maximum value and a minimum value on that interval. This property is very useful when dealing with optimization problems. Continuous functions have the intermediate value property; that is, whenever they take on two values, they also take all values in between. One immediate application of the intermediate value property is an approximate method of finding roots called the bisection method. Also, we will learn later that continuous functions are integrable.
Quick Reference
| Theorem | Hypotheses | Conclusion |
|---|---|---|
| Bolzano's Theorem | continuous on , and have different signs | such that . |
| Intermediate Value Theorem (IVT) | continuous on closed interval , between and | such that . |
| Extreme Value Theorem (EVT) | continuous on closed interval | attains both an absolute maximum and an absolute minimum in . |
The Intermediate Value Theorem
The following theorem states an important property of continuous functions.
If is continuous on and if and have different signs, then there exists a point in such that .
- In other words, if is a continuous function on and if and (or conversely if and ), then takes on 0 at least once in that interval. Equivalently, we can say that has a root (or zero) in that interval.
Geometrically this theorem is intuitive because it merely tells us that the curve of a continuous function, which begins below the -axis and ends above it, must intersect the -axis at some point in between (see the following figure).

- Bolzano's Theorem guarantees the existence of one zero (or root), but the equation may have more than one solution (see the following figure).

- It is possible that (that is, the signs of and are the same) but has a solution in (see the following figure).

- Note that if is discontinuous even at one point in , the theorem may not hold anymore. For example, consider the function . Here and is continuous everywhere except at . Here Bolzano's Theorem does not hold and the graph of does not intersect the -axis between 1 and 3 (see the following figure).

- As we can see from the following figure, if , the continuity of on the open interval is not enough to assure us that has a solution between and . To apply Bolzano's Theorem, the left-continuity at and the right-continuity at are also required.

A slight generalization of Bolzano's theorem is called the Intermediate Value Theorem:
Let be a continuous function on the closed interval . If is a number between and , then there exists a point in such that .
- In other words, takes on any given value between and . The graph of between and is unbroken and any horizontal line between and intersects the graph of at least once (see the following figure).
![If f is continuous on the closed interval [a,b], for any number k between f(a) and f(b) there is at least one number c between a and b such that f(c) = k](https://adaptivebooks.org/book-images/calculus-1/Ch4-IntermediateValue-Fig1a.png)
Let's consider the function defined by:
Because is a continuous function on and has different signs at the two ends of the interval, it follows from Bolzano's theorem that there is a point in such that or .
- As an example of the application of the Intermediate Value Theorem, consider a moving vehicle. If the speedometer shows 100 kilometers per hour, then for any speed between 0 and 100 km/hr, there must be a time when the speed of the car was exactly . If you are 5 feet 8 inches tall, there must be a time when you were exactly 5 feet 2.5 inches.
Use Bolzano's Theorem to show that the function has a zero in the interval .
Solution
is a polynomial, so it is continuous everywhere including on the interval . On the other hand:
Because and have opposite signs, the conditions of Bolzano's Theorem are satisfied and we conclude that has a zero in as shown in the following figure.

Show that if is continuous on and if for every in , then there is at least a point () such that .
Solution
If or then or . If and , we introduce a new function :
We have:
because and , and:
because and . Since is a continuous function on the closed interval and and have opposite signs, it follows from Bolzano's Theorem that there is a point between 0 and 1 such that or .
The geometric interpretation is simple. If and , then the graph of has to cut the line at some point between 0 and 1 (see the following figure).
![If f is continuous on [0,1] and 0 <= f(x) <= 1, then the equation f(x) = x has at least one solution (0 <= x <= 1)](https://adaptivebooks.org/book-images/calculus-1/Ch4-IntermediateValue-Ex1.png)
The Extreme Value Theorem
When analyzing the behavior of a function over a domain (such as an interval), we are often interested in identifying its extreme outputs, which means the highest output value (the absolute maximum) and the lowest output value (the absolute minimum) attained by on that domain.
Intuitively:
- The absolute maximum corresponds to the highest peak on the graph of over . Its value is greater than or equal to the function's value at any other point in .
- The absolute minimum corresponds to the lowest point (or valley) on the graph of over . Its value is less than or equal to the function's value at any other point in .
Depending on the function and the domain, these extreme values can occur at interior turning points (peaks or valleys) or right at boundary endpoints, as illustrated in the following diagrams.
With this visual intuition in mind, we now state the formal definition.
Let be a function defined on a set . We say has an absolute maximum on (or in) , if there is at least one point in such that:
In this case, we say is the point of absolute maximum and is the absolute maximum value (or simply maximum) of on .
Similarly we say has an absolute minimum on , if there exists a point in such that:
In this case, we say is the point of absolute minimum and is the minimum value (or simply minimum) of on .
The term absolute extremum refers to either absolute maximum or absolute minimum.
Consider the function defined by:
The graph of is sketched in the following figure.

The absolute maximum of occurs at (or is the point of maximum).
The absolute minimum of occurs at (or the points of minimum are and ).
The maximum value of is and its absolute minimum is .
If is continuous on a closed interval , then attains both an absolute maximum and an absolute minimum in .
- The above theorem states that if is continuous on , then there are numbers and in such that for all in :
- The Extreme Value Theorem is illustrated in the following figure.
- It follows from the above theorem that if is a continuous function on then is bounded on . Let and , then:
![If f is continuous on a closed interval [a,b], then f attains both its absolute maximum M and absolute minimum m in [a,b]](https://adaptivebooks.org/book-images/calculus-1/Ch4-ExtremeValue-Fig1a.png)
Although the above theorem is intuitively plausible, a proof of this theorem is not within the scope of an elementary course.
- The extreme value theorem states two conditions together are sufficient to ensure that a function has both a minimum and a maximum value on an interval:
- is a closed interval.
- is continuous at every point of (for the endpoints, we need left-continuity or right-continuity).
- If is continuous on , then whether or not it may have absolute extrema.
Frequently Asked Questions
Does Bolzano's Theorem find the root, or just guarantee one exists?
Bolzano's Theorem is an existence theorem—it guarantees that at least one root exists such that , but it does not provide an explicit algebraic formula for finding .
However, Bolzano's Theorem forms the mathematical foundation for numerical root-finding algorithms, such as the Bisection Method. By evaluating at the midpoint of and selecting the half-interval where the function values have opposite signs, the interval containing the root can be halved repeatedly to approximate to any desired precision.
Can a discontinuous function satisfy the conclusion of the Intermediate Value Theorem?
Yes! The Intermediate Value Theorem (IVT) establishes that continuity on a closed interval is a sufficient condition for a function to take on every intermediate value between and . However, continuity is not a necessary condition.
A discontinuous function can still satisfy the conclusion of the IVT. For instance, the function:
has an essential discontinuity at , yet on any interval containing , it attains every value between and . Functions that satisfy the intermediate value property (whether continuous or not) are said to possess the Darboux property.
Why must the interval be closed for the Extreme Value Theorem?
The Extreme Value Theorem requires the domain to be a closed and bounded interval . If the interval is open or half-open (such as or ), a continuous function may approach a limit at an open endpoint without ever attaining that value within the interval.
For example:
- Consider on the open interval . As , , and as , . Because and , never reaches or , so it has no absolute minimum and no absolute maximum on .
- Consider on . While is continuous on , as , , making unbounded and without an absolute maximum.
What happens if the function is continuous on a closed interval but the interval is infinite?
If the domain is an infinite closed interval—such as , , or —the Extreme Value Theorem is not guaranteed to hold, even if is continuous at every point. This is because the domain is not bounded.
For example:
- The function is continuous on the closed infinite interval . It attains an absolute minimum of at , but as , , so it has no absolute maximum.
- The function is continuous on . Its range is . As , approaches , but it never attains either value. Thus, has neither an absolute maximum nor an absolute minimum on .
Exercises
Use Bolzano's Theorem to prove that the polynomial equation has at least one real root in the interval .
Answer
Let . and . Since is a polynomial, it is continuous on , so by Bolzano's Theorem, there exists such that .
Solution
Define the function .
Step 1: Check continuity
Since is a polynomial function, it is continuous on all of , and in particular, continuous on the closed interval .
Step 2: Evaluate values at endpoints
Evaluating at :
Evaluating at :
\begin{aligned} f(2) &= 2^4 - 3(2) - 5 \\ &= 16 - 6 - 5 \\ &= 5 > 0. \end{aligned}Step 3: Apply Bolzano's Theorem
Since and , the function values have opposite signs at the endpoints. By Bolzano's Theorem, there exists at least one number such that , meaning .
Show that the equation has at least one solution in the interval .
Answer
Let . and . By Bolzano's Theorem, there is a solution .
Solution
Rewrite the equation as , where:
Step 1: Check continuity
Both and are continuous functions on , so their difference is continuous on the closed interval .
Step 2: Evaluate values at endpoints
At :
At :
\begin{aligned} g\left(\frac{\pi}{2}\right) &= \cos\left(\frac{\pi}{2}\right) - \frac{\pi}{2} \\ &= 0 - \frac{\pi}{2} \\ &= -\frac{\pi}{2} < 0. \end{aligned}Step 3: Apply Bolzano's Theorem
Since and , changes sign on . By Bolzano's Theorem, there exists a point such that , which implies .
Find the absolute maximum and absolute minimum values of on the closed interval .
Answer
Absolute maximum value: (at )
Absolute minimum value: (at )
Solution
Since is a polynomial, it is continuous on the closed interval . By the Extreme Value Theorem, attains an absolute maximum and absolute minimum on .
Step 1: Evaluate endpoints
At :
At :
Step 2: Evaluate interior point
Factoring :
Step 3: Compare values
- The absolute maximum value on is , which occurs at .
- The absolute minimum value on is , which occurs at .
Consider the function on the interval .
(a) Show that and have opposite signs.
(b) Does have any solution in ?
(c) Explain why this result does not contradict Bolzano's Theorem.
Answer
(a) and
(b) No, for all .
(c) is discontinuous at , so the continuity hypothesis of Bolzano's Theorem fails.
Solution
(a)
Evaluating at the endpoints and :
Thus, and have opposite signs.
(b)
Setting :
which has no real solution because a fraction with a numerator of can never equal .
(c)
Bolzano's Theorem requires to be continuous at every point of the closed interval . Here, has an infinite discontinuity at , which lies inside . Because the hypothesis of continuity is violated, Bolzano's Theorem does not apply.
Given the piecewise function on the interval :
(a) Find the values of and .
(b) Is there any point at which ?
(c) Explain why this result does not contradict Bolzano's Theorem.
Answer
(a) and
(b) No, is never equal to anywhere on .
(c) has a jump discontinuity at , so the continuity hypothesis of Bolzano's Theorem is not satisfied.
Solution
(a)
Evaluating at the endpoints:
For (using the top branch ):
For (using the bottom branch ):
\begin{aligned} f(3) &= -(3^2 + 3) \\ &= -(9 + 3) \\ &= -12 < 0. \end{aligned}(b)
Checking if anywhere on :
- On , , so is strictly positive.
- On , , so is strictly negative.
Therefore, never equals at any point in the interval .
(c)
Although and have opposite signs, has a jump discontinuity at because:
Because is not continuous at , Bolzano's Theorem does not apply.
Does the function take on the value within the interval ?
Answer
Yes. Since is continuous on with and , and , by the Intermediate Value Theorem there exists at least one such that .
Solution
Step 1: Check continuity
The function is a sum of a polynomial and a cosine function, both of which are continuous everywhere on . Therefore, is continuous on the closed interval .
Step 2: Evaluate values at endpoints
At :
At :
\begin{aligned} f(2) &= \frac{2^3}{3} - \cos(2\pi) + 2 \\ &= \frac{8}{3} - 1 + 2 \\ &= \frac{8}{3} + 1 \\ &= \frac{11}{3} \approx 3.67. \end{aligned}Step 3: Apply the Intermediate Value Theorem
The target value lies strictly between and : By the Intermediate Value Theorem, there exists at least one point such that .
Show that on any closed interval of length greater than (that is, ), the function attains its minimum value but never reaches its maximum value.
(Recall that the floor function is also known as the greatest integer function, often denoted by or , which outputs the greatest integer less than or equal to .)
Answer
The function attains its absolute minimum value of at any integer , but its range on is . Because for all , never reaches its supremum of , and thus has no maximum value on . This occurs because is discontinuous at every integer.
Solution
Step 1: Analyze the range of
In any interval where is an integer, the floor function evaluates to . Thus, on :
As increases from to , increases strictly from up to , but never reaches because . As :
However, for every real number . Therefore, the range of on any domain is contained in .
Step 2: Show that attains its minimum value on
Since the interval has length , it must contain at least one integer . At this integer point :
Since for all , is the minimum value of on , and this minimum value is actually attained at .
Step 3: Show that never reaches its maximum value
Since , the interval contains at least one integer . As approaches from the left (i.e. as with ), the value gets arbitrarily close to . Thus, the least upper bound (supremum) of on is .
However, because for all real numbers , there is no point for which . Consequently, never reaches its maximum value on .
Step 4: Discontinuity and the Extreme Value Theorem
The figure below shows the graph of (the sawtooth function).
The function has jump discontinuities at every integer , where:
Because is not continuous on , the Extreme Value Theorem does not apply, which explains why can fail to attain a maximum value on a closed, bounded interval .