On this concept: Formula

Not sure which lesson to do first? Find your level and get a plan →

Math · Introduction to Calculus · Grade 9-12

Intermediate Value Theorem

The IVT says a function continuous on [a,b] takes every value N between f(a) and f(b) at some point c inside the interval.

If f is continuous on [a,b] and N is between f(a) and f(b), then ∃ c∈(a,b) such that f(c)=N.

Quick Answer

The IVT says a function continuous on [a,b] takes every value N between f(a) and f(b) at some point c inside the interval. Use it to prove that a solution exists without finding it: if a continuous f is negative at one end and positive at the other, it equals 0 somewhere in between. That sign change is also how root-finding methods such as bisection trap a root in smaller and smaller intervals. Without continuity on the whole closed interval, the guarantee is lost.

Why This Matters

Equations like x5+x=1 or cos⁡x=x have no algebraic solution, yet you often need to know that a solution exists and roughly where. The IVT gives that guarantee from two function values, and repeated halving turns it into an approximation to any number of decimal places. Ignoring the continuity condition leads to false claims, such as 1x reaching 0 somewhere between −1 and 1.

Intuitive Explanation

If you start a hike at 200 m above sea level and finish at 900 m, then at some moment you were at exactly 500 m. You cannot get from 200 to 900 without passing through every height in between, as long as you never teleport. A continuous function is a hike with no teleporting: on [a,b] its graph has no holes, jumps or asymptotes, so it takes every value between f(a) and f(b).

The most common use is with N=0. For f(x)=x3−x−1, f(1)=−1 and f(2)=5: the graph starts below the axis and ends above it, so it crosses somewhere in (1,2). Check the midpoint: f(1.5)=0.875>0, so the crossing is in (1,1.5). Then f(1.25)≈−0.297<0 moves it to (1.25,1.5). Each step halves the interval; this is the bisection method, and it closes in on the root x≈1.3247.

The guarantee has limits. It promises at least one c, not exactly one; a wavy graph can cross the axis several times between endpoints of opposite sign. It needs continuity: 1x has f(−1)=−1 and f(1)=1 but is never 0, because the asymptote at x=0 lets the graph get from negative to positive without crossing the axis. And endpoints of the same sign prove nothing either way: the graph might cross twice or not at all.

Think of it like this. A thermometer that warms from 15 °C to 25 °C during the morning must read exactly 20 °C at some instant, because temperature cannot skip numbers. The IVT says the same of every continuous function. The picture fails for quantities that do jump, like a price tag or a bank balance at the moment of a deposit, and that is exactly when the theorem does not apply.

Core idea. If a continuous function starts below a level and ends above it, it must hit that level somewhere between.


When to Use

Use it when asked to show or prove that an equation has a solution, or that a value is reached, on an interval, without solving. Check two things: the function is continuous on the closed interval, and the target value lies between f(a) and f(b), which for a root means a sign change. To find a point where the slope equals the average slope, use the Mean Value Theorem. To find the root's actual value, solve algebraically or use bisection or Newton's method.

Tip. Ask: Is the function continuous on a closed interval, and am I asked to show a value between the endpoints is attained somewhere inside?

How to Recognize It

Check what the question wants, existence or an actual value, and what you know about the function at the two ends of the interval.

  1. Does the question ask you to show that a solution exists, without finding it?

    Yes fits the IVT, whose conclusion is that at least one c exists. If the question asks for the value of c, you must solve the equation, or approximate it with bisection or Newton's method.

  2. Is the claim about the function's value, rather than its slope?

    A value, such as f(c)=0 or a temperature of 20∘C, is the IVT. A claim that the instantaneous rate equals the average rate is the Mean Value Theorem, which also needs differentiability.

  3. Do f(a) and f(b) lie on opposite sides of the target value?

    Yes, for example f(1)<0<f(2) when the target is a root, triggers the guarantee. If both ends are on the same side, the theorem is silent, and you need a different interval or a different argument.

  4. Is the question about the largest or smallest value on the interval?

    Then the Extreme Value Theorem is the tool: a continuous function on [a,b] reaches a maximum and a minimum. The IVT only says that every value between f(a) and f(b) is reached.

Intermediate Value Theorem compared with Mean Value Theorem, Extreme Value Theorem, and Solving the equation

All four rows make promises about a function on an interval, so they sound alike. Separate them by what is promised: an in-between value, a matching slope, a highest and lowest value, or the exact location of c.

Intermediate Value Theorem

Meaning
Use this when you must prove some value N (often a root, N=0) is attained by a function known to be continuous on a closed interval.
Key test
Is the function continuous on a closed interval, and am I asked to show a value between the endpoints is attained somewhere inside?
Formula
If f is continuous on [a,b] and N is between f(a) and f(b), then ∃ c∈(a,b) such that f(c)=N.
Example
Show that f(x)=x3−x−1 has a root in [1,2].

Mean Value Theorem

Meaning
Guarantees a point where the instantaneous SLOPE equals the average slope; needs differentiability.
Key test
Use when the claim is about a derivative/rate, not a function value.
Formula
f′(c)=f(b)−f(a)b−a
Example
speed equals average speed somewhere

Extreme Value Theorem

Meaning
Guarantees a continuous function attains a max and min on [a,b].
Key test
Use when you need existence of extreme values, not an in-between value.
Formula
max & min exist
Example
f has a highest point on [0,1]

Solving the equation

Meaning
Actually computes the value of c; IVT only proves one exists.
Key test
Use when the question asks WHERE, not just whether a solution exists.
Example
solve x3−x=1 numerically

Formula & Notation

If f is continuous on [a,b] and N is between f(a) and f(b), then ∃ c∈(a,b) such that f(c)=N.
If f:[a,b]→R is continuous and N is between f(a) and f(b) (i.e., min⁡(f(a),f(b))≤N≤max⁡(f(a),f(b))), then ∃ c∈(a,b) such that f(c)=N.

How to read it: IVT. c∈(a,b) denotes a point strictly between a and b. Often applied with N=0 to find roots.

Worked Examples

Example 1 — Show a root exists

Easy

Show that f(x)=x3−x−1 has a root in [1,2].
Show the steps and the answer
  1. Check continuity: f is a polynomial, so it is continuous on [1,2].

    Polynomials have no holes, jumps or asymptotes, so the IVT's condition holds.

  2. Evaluate the endpoints: f(1)=1−1−1=−1 and f(2)=8−2−1=5.

    We want the value N=0, so we need to know whether 0 lies between the endpoint values.

  3. Observe the sign change: −1<0<5.

    The graph starts below the axis and ends above it, so by the IVT some c in (1,2) has f(c)=0.

  4. Narrow it if needed: f(1.5)=3.375−1.5−1=0.875>0, so the root lies in (1,1.5).

    The same sign test on half of the interval locates the root more precisely.

Answer: Yes — a root exists in (1,2) by IVT

Takeaway: Continuity plus a sign change at the endpoints guarantees a root in between.

Example 2 — No continuity, no guarantee

Standard

Does f(x)=1x take the value 0 somewhere on [−1,1] since f(−1)=−1 and f(1)=1?
Show the steps and the answer
  1. Check continuity first: 1x is undefined at x=0, which lies inside [−1,1].

    The IVT needs continuity on the whole closed interval, so the sign change by itself proves nothing.

  2. Look near 0: f(−0.01)=−100 and f(0.01)=100.

    The graph escapes to −∞ on one side and returns from +∞ on the other, jumping across the axis.

  3. Solve directly: 1x=0 has no solution, because a fraction with numerator 1 is never 0.

    So the value 0 is genuinely never reached, not merely unproven.

Answer: No — IVT does not apply and the value is never attained

Takeaway: A sign change guarantees a root only for a function continuous on the whole interval; look for asymptotes first.

Example 3 — Find the mistake: exactly one?

Application

For f(x)=x3−4x, f(−3)=−15 and f(3)=15. Ella writes: "By the IVT, f has exactly one root in (−3,3)." Find the mistake and correct it.
Show the steps and the answer
  1. State what the IVT gives: f is continuous and −15<0<15, so at least one root lies in (−3,3).

    The theorem's conclusion is existence: one value of c or more.

  2. Factor to find the roots: x3−4x=x(x−2)(x+2)=0 gives x=−2, 0 and 2.

    Three roots lie in (−3,3), so "exactly one" is false.

  3. See why the endpoints could not tell: f(−1)=3>0 and f(1)=−3<0.

    The graph rises, falls and rises again, crossing the axis three times, and two endpoint values cannot reveal that.

Answer: At least one root is guaranteed; in fact there are three: x=−2, 0 and 2.

Takeaway: The IVT proves that at least one solution exists; showing there is only one needs more, such as f always increasing.

Where You'll See It

  • How a calculator solves cos x = x

    Let g(x)=cos⁡x−x. Then g(0)=1>0 and g(1)≈−0.46<0, so a solution lies in (0,1). Halving the interval 20 times pins it down to within one millionth: x≈0.739085. Bisection-style root finders rest on exactly this sign test.

  • Fixing a wobbly table

    Rotate a square table on a smoothly uneven floor. The amount by which one diagonal pair of legs sits higher than the other changes sign after a quarter turn, so at some angle in between it is 0, and all four legs touch the floor.

  • Opposite points with equal temperature

    Let D(θ) be the temperature at angle θ on the equator minus the temperature at the opposite point. Moving halfway round swaps the two points, so D changes sign, and somewhere D=0: two opposite places on the equator share exactly the same temperature.

Common Mistakes

  1. The slip: Applying IVT without checking continuity

    Instead: a jump or asymptote on the interval voids the guarantee.

  2. The slip: Concluding a UNIQUE root

    Instead: IVT promises at least one c, not exactly one.

  3. The slip: Forgetting N must lie between f(a) and f(b)

    Instead: the sign change / bracketing is the condition that makes the theorem fire.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. Show that f(x)=x3+2x−5 has a root between x=1 and x=2.

    Hint: Polynomials are continuous. Evaluate f at both ends and look at the signs.

  2. Show that cos⁡x=x has a solution between 0 and π2.

    Hint: Move everything to one side and define g(x)=cos⁡x−x.

  3. Let f(x)=x2−3. Use f(1.7) and f(1.8) to locate 3 between two numbers one tenth apart.

    Hint: Compute both values and check whether the sign changes.

  4. The temperature changes continuously from 8∘C at 6 am to 21∘C at 2 pm. Must it have been exactly 15∘C at some moment in between?

    Hint: Is 15 between the starting and ending values?

  5. A car's position is a smooth function of time. You want to show that at some moment its speedometer showed exactly its average speed for the trip. IVT or Mean Value Theorem?

    Hint: Is the claim about a value of the function itself, or about its rate of change?

  6. A student says: "f(−2)=−6<0 and f(2)=6>0, so by IVT, f(x)=x3−x has exactly one root in [−2,2]." Correct the student.

    Hint: Does the theorem promise one root, or at least one? Try factoring x3−x.

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

Can the IVT prove anything surprising about the real world?

Yes: at this moment there are two exactly opposite points on the equator with the same temperature. Let d(θ)d(\theta) be the temperature at angle θ\theta minus the temperature at the opposite point. Moving halfway round swaps the two points, so dd changes sign, and if temperature varies continuously, the IVT forces d=0d=0 somewhere in between.

If a function takes every value in between, must it be continuous?

No. The function f(x)=sin⁡1xf(x)=\sin\frac1x for x≠0x\ne0, with f(0)=0f(0)=0, takes every value between −1-1 and 1 on any interval around 0, yet it is not continuous at 0 because it has no limit there. So the in-between-value property follows from continuity but is not a test for it. To prove continuity you still check that the limit equals the function's value.

If f(a) and f(b) have the same sign, does that mean there is no root?

No. f(x)=x2−1f(x)=x^2-1 on [−2,2][-2,2] has f(−2)=f(2)=3f(-2)=f(2)=3, both positive, yet it crosses zero twice, at x=−1x=-1 and x=1x=1. The IVT gives a guarantee only when the target lies between the endpoint values; otherwise it simply says nothing. Splitting the interval at 0, where f(0)=−1f(0)=-1, produces two sign changes and proves both roots exist.

Learning Path

Intermediate Value Theorem

You are here

You need Limit and Types of Continuity and Discontinuity: the IVT applies only to functions with no holes, jumps or asymptotes on the interval. It adds a guarantee that every value between f(a) and f(b) is reached, which proves that roots exist. Next, the Mean Value Theorem makes a similar promise about slopes: some tangent line is parallel to the secant line.

See Also