Free for students · Ad-free · WCAG 2.1 AA Compliant · Accessibility

Working with the Intermediate Value Theorem (IVT)

Lesson ~10 min read

In simple terms: In simple terms, the Intermediate Value Theorem says that if a function is continuous, it must hit every single Y-value between its starting and ending points.

Why this matters

Imagine your friend Priya is training for the Boston Marathon. On Monday, her fitness tracker says her morning run averaged 5.2 miles per hour. By Friday, after a week of hard work, her average speed for the same run is 6.0 mph.

Think about it: at some point between Monday and Friday, did she have to have a run that averaged exactly 5.5 mph? What about 5.8 mph? Your gut probably says yes. As long as her fitness improved steadily without any weird jumps (like forgetting her tracker one day!), she must have passed through every speed in between.

That intuitive idea is the heart of the Intermediate Value Theorem (IVT). It’s a powerful tool that helps us prove that a function must take on a certain value, even if we can't find it exactly. Let's break down the conditions and how to use it on the AP exam.

Concept overview

flowchart TD
    A[Start: Given f(x), interval [a, b], target value d] --> B{Is f(x) continuous on [a, b]?};
    B -->|No| C[IVT does not apply.];
    B -->|Yes| D{Is d between f(a) and f(b)?};
    D -->|No| C;
    D -->|Yes| E[Conclusion: IVT guarantees there is at least one c in (a, b) such that f(c) = d.];
    C --> F[End];
    E --> F;
This diagram is a flowchart that shows the decision-making process for applying the Intermediate Value Theorem. It starts by asking if the function is continuous on the interval, then asks if the target value is between the endpoint values, leading to a final conclusion about whether the IVT applies.

Core explanation

Hello there! I'm Saavi, and I'm so glad you're here. Today we're tackling a theorem that sounds complicated but is actually one of the most intuitive ideas in calculus: the Intermediate Value Theorem, or IVT.

At its core, the IVT is about what it means for a function to be continuous. A continuous function is one you can draw without lifting your pencil. There are no jumps, no holes, no strange gaps.

The "No-Teleporting" Rule

Think of it like a growth chart for a child, say, a boy named Carlos.

  • On his 8th birthday, Carlos is 50 inches tall. So, f(8) = 50.
  • On his 9th birthday, he's 53 inches tall. So, f(9) = 53.

Assuming human growth is continuous (people don't suddenly teleport from one height to another overnight), can we guarantee that Carlos was exactly 52 inches tall at some point during that year?

Of course! To get from 50 to 53 inches, he had to pass through every single height in between: 50.1, 51, 52.5, and so on. The IVT is the mathematical version of this common-sense idea.

The Formal Definition (and What It Really Means)

The AP exam uses a formal definition, so let's translate it into plain English.

The theorem states:

If a function f is continuous on a closed interval [a, b], and d is any number between f(a) and f(b), then there must be at least one number c between a and b such that f(c) = d.

That's a mouthful. Let's break it down into the three essential conditions you MUST check every time.

Condition 1: The Function Must Be Continuous

This is the most important rule. The IVT only works for functions you can draw without lifting your pencil on the given interval. If there's a hole (a removable discontinuity) or a jump or a vertical asymptote, all bets are off.

Think back to Carlos. If he could teleport from 50 inches to 53 inches, we could no longer guarantee he was ever 52 inches tall.

Condition 2: The Interval Must Be Closed

The notation [a, b] means we are looking at the function from x = a to x = b, including the endpoints. We need to know the starting height f(a) and the ending height f(b) to establish our range of y-values.

Condition 3: The Target Value Must Be "In Between"

The y-value you're looking for (which the theorem calls d) must lie strictly between the y-values at the endpoints, f(a) and f(b).

  • If f(a) = 50 and f(b) = 53, the IVT can guarantee any value between 50 and 53, like 51 or 52.5.
  • It cannot guarantee a value of 48 or 55, because those values are outside our range.

What the IVT Guarantees (and What It Doesn't)

If all three conditions are met, the IVT gives you a powerful guarantee:

  • It guarantees EXISTENCE. It proves that a solution c exists. There is some x-value c in the interval that gives you your target y-value d.
  • It guarantees at least one. There might be two, three, or a hundred such values of c. The IVT just promises you won't come up empty-handed.

Here's what the IVT does not do:

  • It does not find the value of c. It's a proof of existence, not a search method. It tells you there's a needle in the haystack, but it doesn't give you its coordinates.
  • It does not tell you how many c values exist. Only that there's at least one.

A common application is proving that a function has a root (an x-intercept) in an interval. A root occurs where f(x) = 0. So, if you can show that f(a) is positive and f(b) is negative (or vice-versa), and the function is continuous, then the y-value of 0 is between f(a) and f(b). The IVT then guarantees there must be some c between a and b where f(c) = 0. The function had to cross the x-axis to get from positive to negative.

Worked examples

Let's put the IVT into practice. The key is to be methodical and check all the conditions before making your conclusion.

Example 1

Finding a Root

Problem: Show that the function f(x) = x³ + 2x - 1 has a root on the interval [0, 1].

Solution Walkthrough:

  1. 1
    Identify the Goal
    We need to show that there is some x-value c in [0, 1] such that f(c) = 0. Our target y-value is d = 0.
  2. 2
    Check Condition 1: Continuity
    • What is the function? f(x) = x³ + 2x - 1 is a polynomial.
    • Why does this matter? All polynomial functions are continuous everywhere. So, f(x) is definitely continuous on the closed interval [0, 1].
    • On an FRQ, you must write this down! "Since f(x) is a polynomial, it is continuous on [0, 1]."
  3. 3

    Check Condition 2 & 3: Endpoints and the "In-Between" Value.

    • We need to find the y-values at the endpoints of our interval [0, 1].
    • Calculate f(0): f(0) = (0)³ + 2(0) - 1 = -1.
    • Calculate f(1): f(1) = (1)³ + 2(1) - 1 = 1 + 2 - 1 = 2.
    • Now, check: is our target value d = 0 between f(0) and f(1)? Yes, 0 is between -1 and 2.
  4. 4
    State the Conclusion
    • We have met all the conditions for the IVT.
    • Here's how to phrase it: "Because f(x) is continuous on [0, 1] and 0 is a value between f(0) = -1 and f(1) = 2, the Intermediate Value Theorem guarantees there is at least one value c in the interval [0, 1] such that f(c) = 0."
Example 2

When IVT Does Not Apply

Problem: Can the IVT be used to show that g(x) = 1 / (x - 2) has a value of g(x) = 0 on the interval [1, 3]?

Solution Walkthrough:

  1. 1
    Identify the Goal
    We want to see if we can guarantee a c in [1, 3] such that g(c) = 0.
  2. 2
    Check Condition 1: Continuity
    • What is the function? g(x) = 1 / (x - 2) is a rational function.
    • Where might it have issues? Rational functions are discontinuous where the denominator is zero. Here, that happens at x = 2.
    • Is this a problem? Yes! The point of discontinuity, x = 2, is inside our interval [1, 3]. The function has a vertical asymptote there.
    • Therefore, g(x) is not continuous on the closed interval [1, 3].
  3. 3
    State the Conclusion
    • We stop right here. Since the very first condition (continuity on the interval) fails, the IVT cannot be applied. We can't make any guarantees.

Why it's important: If you had skipped the continuity check and just looked at the endpoints, you'd get g(1) = -1 and g(3) = 1. You might incorrectly think that since 0 is between -1 and 1, a root is guaranteed. But the graph shows the function jumps over the x-axis at the asymptote; it never actually crosses it. This is a classic trap! Always check continuity first.

Try it yourself

Ready to try a couple on your own? Remember the process: check continuity, check the endpoints, and then draw your conclusion.

Problem 1: Let h(x) be a continuous function such that h(2) = -5 and h(6) = 3. Which of the following is guaranteed by the Intermediate Value Theorem? a) h(x) = 0 has a solution in the interval (2, 6). b) h(x) = 4 has a solution in the interval (2, 6). c) There is a c in (2, 6) such that h(c) is the maximum value of the function. d) All of the above.

Hint: What is the range of y-values that the IVT guarantees? Which of the answer choices falls within that range?

Problem 2: Use the Intermediate Value Theorem to show that f(x) = e^x - 3x has a root in the interval [1, 2].

Hint: Remember the three steps. First, is f(x) continuous on [1, 2]? (Yes, it's a combination of continuous functions). Second, what are f(1) and f(2)? You might need a calculator for the decimal value of e. Third, does your target value lie between them?