shaun ault

ap calculus review: intermediate value theorem

what is the intermediate value theorem? basically, it’s the property of continuous functions that guarantees no gaps in the graph between two given points. in this article, what you need to know about intermediate value theorem for the ap calculus exams.

the intermediate value theorem (ivt)

here’s the statement of the theorem:

suppose f is a function that is continuous on the closed interval [a, b]. if l is any number between f(a) and f(b), then there must be a value, x = c, where a < c < b, such that f(c) = l.

intuitive understanding of the ivt

so what does this theorem really say? wrapped up within the mathematical language, there is a simple core idea. if there are two points (a, p) and (b, q) on the graph of a continuous function, and all of the y-coordinates between p and q must also be represented on that function. here, p = f(a) and q = f(b) as in the theorem.

it may help to think of “l” as a target value. then the ivt is a statement about whether a function is guaranteed to hit that target value.

graph illustrating the intermediate value theorem
if l is any number between the y-coordinates, p and q, then there must be a point x = c so that f(c) = l (as long as the function f is continuous).

it’s as easy as crossing the street…

suppose you’re standing on one side of a busy street and your friend is standing on the other side, but much further down the street. as you walk toward your friend, you know that you must cross the street at some point in your journey to meet your friend, right?

think of you and your friend as the two given points in the plane. your path as you walk down the street is like the graph of a function. the street is simply an “intermediate value” that your path must cross if you want to meet up with your friend.

open desert road
desert road (photo by william warby, via wikimedia commons)

what could go wrong?

the intermediate value theorem is true so long as the conditions (or, hypotheses) are met. in the case of the ivt, there is one condition: the function must be continuous on the given closed interval, [a, b].

so what happens if a function fails to meet those conditions? basically, all bets are off.

for example, the function f(x) = 1/x is not continuous on the interval [-1, 1]. therefore, we cannot expect there to be a value x = c such that f(c) = l for any number l between f(a) and f(b).

in this case, f(a) = f(-1) = -1, and f(b) = f(1) = 1. so, in particular, there’s no guarantee that f(c) = 0 for any value c in [-1, 1]. in fact, the graph of 1/x shows how it completely misses y = 0.

graph of 1/x, showing that it misses the x-axis
there is no value x = c between -1 and 1 such that f(c) = 0.

what’s it good for?

the intermediate value theorem is useful for a number of reasons.

first of all, it helps to develop the mathematical foundations for calculus. in fact, the ivt is a major ingredient in the proofs of the extreme value theorem (evt) and mean value theorem (mvt).

solving equations (bisection method)

on a more concrete level, the ivt plays a role in solving equations. suppose you have an equation to solve, such as x3 – 5x = 1.

based on the graph of the function f(x) = x3 – 5x, we might guess that f(x) = 1 somewhere between x = 2 and x = 3. but how can we be sure? and how can we narrow down our estimate?

estimating a root with the help of the ivt
graph of f(x) = x3 – 5x.

first of all, the intermediate value theorem will guarantee the existence of a solution to the equation, as long as the conditions match those of the theorem.

  1. is the function continuous on the interval? yes, in this case f(x) is a polynomial, which is continuous at all real numbers.
  2. is the target value between f(a) and f(b)? well let’s find out! here, we let a = 2 and b = 3. then we have:
    • f(a) = (2)3 – 5(2) = -2.
    • f(b) = (3)3 – 5(3) = 12.

    notice that the target value l = 1 is between -2 and 12.

therefore, by the ivt, there must be a value x = c, where 2 < c < 3, and such that f(c) = 1.

next, we can narrow down the location of the solution by using the bisection method. first find the midpoint between the two x-values. in this example, that would be 2.5.

then, plug in x = 2.5 into the function.

f(2.5) = (2.5)3 – 5(2.5) = 3.1.

now check to see which half of the interval contains our target value. because l = 1 is between -2 and 3.21, we can focus on the smaller interval [2, 2.5]. by the ivt, the solution must be in this interval!

in fact, the bisection method can be repeated any number of times until we find the solution to the desired accuracy.

  • the midpoint between 2 and 2.5 is: 2.25. f(2.25) = 0.14, which is lower than our target value. thus, the solution must be in [2.25, 2.5].
  • the midpoint between 2.25 and 2.5 is: 2.375. f(2.375) = 1.52, which is higher than our target value. thus, the solution must be in [2.25, 2.375].

after a few more bisections, you can narrow down the solution to the equation, which is c = 2.33, accurate to two decimal digits.

summary

  • the intermediate value theorem (ivt) is a precise mathematical statement (theorem) concerning the properties of continuous functions.
  • the ivt states that if a function is continuous on [a, b], and if l is any number between f(a) and f(b), then there must be a value, x = c, where a < c < b, such that f(c) = l.
  • the ivt is useful for proving other theorems, such that the evt and mvt.
  • the ivt is also useful for locating solutions to equations by the bisection method.

author

  • shaun ault

    shaun earned his ph. d. in mathematics from the ohio state university in 2008 (go bucks!!). he received his ba in mathematics with a minor in computer science from oberlin college in 2002. in addition, shaun earned a b. mus. from the oberlin conservatory in the same year, with a major in music composition. shaun still loves music — almost as much as math! — and he (thinks he) can play piano, guitar, and bass. shaun has taught and tutored students in mathematics for about a decade, and hopes his experience can help you to succeed!

more from magoosh