Intermediate Value Theorem

Intermediate Value Theorem states that a continuous function on a closed interval must cross any value between its endpoints.

f continuous on [a,b],;f(a)<N<f(b)    c:f(c)=Nf \text{ continuous on } [a,b], ; f(a) < N < f(b) \implies \exists c : f(c) = N

Solve a problem with Intermediate Value Theorem

Type the problem. The solver will use Intermediate Value Theorem where Intermediate Value Theorem is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What Intermediate Value Theorem takes
ff
aa
bb
cc
NN
Intermediate Value Theorem
SymbolMeaning
ffThe function being analyzed; must be continuous on the entire closed interval [a,b][a,b] for the theorem to apply.
aaThe left endpoint of the closed interval [a,b][a,b]; we evaluate ff here to get the value f(a)f(a).
bbThe right endpoint of the closed interval [a,b][a,b]; we evaluate ff here to get the value f(b)f(b).
ccA point in the open interval (a,b)(a,b) where f(c)=Nf(c) = N; IVT guarantees it exists but does not tell you its exact value.
NNThe intermediate value we are looking for; must satisfy f(a)<N<f(b)f(a) < N < f(b) (or f(b)<N<f(a)f(b) < N < f(a) if ff is decreasing), and NN cannot equal f(a)f(a) or f(b)f(b).

When to use it

Use IVT when you have a continuous function and want to prove that some intermediate value must be achieved on an interval, without finding the exact point.

Level

Usually taught in: Calculus I

Worked examples

1. Linear function crossing a value

Problem

Show that f(x)=x+3f(x) = x + 3 equals 7 somewhere on the interval [1,5][1,5].
  1. f(x)=x+3 is a polynomialf(x) = x + 3 \text{ is a polynomial}

    Polynomial functions are continuous everywhere, including on [1,5][1,5].

  2. f(1)=1+3=4f(1) = 1 + 3 = 4

    Evaluate ff at the left endpoint a=1a = 1.

  3. f(5)=5+3=8f(5) = 5 + 3 = 8

    Evaluate ff at the right endpoint b=5b = 5.

  4. 4<7<84 < 7 < 8

    Verify that the target value N=7N = 7 lies strictly between f(1)=4f(1) = 4 and f(5)=8f(5) = 8.

  5. c(1,5):f(c)=7\therefore \exists c \in (1,5) : f(c) = 7

    By IVT, since ff is continuous on [1,5][1,5] and 4<7<84 < 7 < 8, there exists a point cc where f(c)=7f(c) = 7.

Answer: c(1,5) where f(c)=7 (specifically, c=4)\exists c \in (1,5) \text{ where } f(c) = 7 \text{ (specifically, } c = 4\text{)}

This straightforward example shows each step of applying IVT. We confirm continuity, evaluate the endpoints, check that our target lies strictly between them, and conclude existence by the theorem. Although we can solve x+3=7x + 3 = 7 algebraically to find c=4c = 4, IVT alone proves the solution exists without needing to solve.

2. Cubic with sign change detecting a root

Problem

Prove that f(x)=x32xf(x) = x^3 - 2x has at least one real root between x=1x = 1 and x=2x = 2.
  1. f(x)=x32x is a polynomialf(x) = x^3 - 2x \text{ is a polynomial}

    Polynomials are continuous everywhere, so ff is continuous on [1,2][1,2].

  2. f(1)=132(1)=12=1f(1) = 1^3 - 2(1) = 1 - 2 = -1

    Evaluate ff at the left endpoint a=1a = 1; note the negative value.

  3. f(2)=232(2)=84=4f(2) = 2^3 - 2(2) = 8 - 4 = 4

    Evaluate ff at the right endpoint b=2b = 2; note the positive value.

  4. 1<0<4-1 < 0 < 4

    Our target value N=0N = 0 is strictly between f(1)=1f(1) = -1 and f(2)=4f(2) = 4, so the conditions for IVT are met.

  5. c(1,2):f(c)=0\therefore \exists c \in (1,2) : f(c) = 0

    By IVT, there must exist c(1,2)c \in (1,2) where f(c)=0f(c) = 0, proving this cubic has a root in the interval.

Answer: c(1,2) where f(c)=0\exists c \in (1,2) \text{ where } f(c) = 0

This example illustrates a key use of IVT: detecting roots through a sign change. The function is negative at one endpoint and positive at the other, so it must cross zero somewhere in between. Unlike the linear example, we cannot easily solve x32x=0x^3 - 2x = 0 by hand to find the exact root, making IVT invaluable for proving a solution exists.

3. Construction productivity reaching an intermediate target

Problem

A construction crew measures job completion at two times: 30% done at 8:00 am and 85% done at 5:00 pm. Assuming steady continuous work, prove that the job was exactly 50% complete at some point during the day.
  1. Let P(t)=percent complete at time t (hours after 8:00 am)\text{Let } P(t) = \text{percent complete at time } t \text{ (hours after 8:00 am)}

    Define PP as a function modeling the crew's progress over the 9-hour workday.

  2. P(t) is continuous on [0,9]P(t) \text{ is continuous on } [0,9]

    The problem states the work progresses continuously with no interruptions or jumps, satisfying the continuity requirement.

  3. P(0)=30 and P(9)=85P(0) = 30 \text{ and } P(9) = 85

    At t=0t = 0 (8 am) the job is 30% complete, and at t=9t = 9 (5 pm) it is 85% complete.

  4. 30<50<8530 < 50 < 85

    Verify that the target value N=50N = 50 percent lies strictly between P(0)=30P(0) = 30 and P(9)=85P(9) = 85.

  5. c(0,9):P(c)=50\therefore \exists c \in (0,9) : P(c) = 50

    By IVT, since PP is continuous and 30<50<8530 < 50 < 85, there exists a time cc during the workday where the job reached exactly 50% completion.

Answer: c(0,9) where P(c)=50\exists c \in (0,9) \text{ where } P(c) = 50

Real-world quantities like job progress, temperature, and distance traveled change continuously over time, making them natural domains for IVT. This example shows how the theorem applies to word problems where a closed-form formula for P(t)P(t) may not exist. We cannot compute the exact time cc without more information, but IVT guarantees it exists—a powerful tool when exact answers are unreachable.

Common mistakes

Where Intermediate Value Theorem usually goes wrong
Answer came out wrong
A student applies IVT to prove f(x)=1xf(x) = \tfrac{1}{x} reaches the value 2 on [2,2][{-2,2}] by computing f(2)=12f(-2) = -\tfrac{1}{2}, f(2)=12f(2) = \tfrac{1}{2}, and noting that 12<2-\tfrac{1}{2} < 2.
Always verify that ff is continuous on the entire interval [a,b][a,b] before applying IVT. If there is a discontinuity, split the analysis or choose a different interval where the function is continuous.
A student writes: since f(1)=5f(1) = 5 and 5<7<105 < 7 < 10, where 1010 is some other value, IVT guarantees a point cc where f(c)=5f(c) = 5.
Check that f(a)<N<f(b)f(a) < N < f(b) with strict inequalities. If NN equals one of the endpoint values, you don't need IVT—you already have a point where ff equals NN.
After applying IVT to prove that f(x)=x23f(x) = x^2 - 3 has a root on [1,2][1,2], a student concludes that IVT has found the root to be c=31.732c = \sqrt{3} \approx 1.732.
Remember that IVT only guarantees existence of cc, not its value. To find cc, use algebra, graphing, numerical methods like bisection, or other techniques. Invoke IVT only to prove that cc exists.
The mistakeWhy it is wrongThe fix
A student applies IVT to prove f(x)=1xf(x) = \tfrac{1}{x} reaches the value 2 on [2,2][{-2,2}] by computing f(2)=12f(-2) = -\tfrac{1}{2}, f(2)=12f(2) = \tfrac{1}{2}, and noting that 12<2-\tfrac{1}{2} < 2.The function f(x)=1xf(x) = \tfrac{1}{x} has a discontinuity at x=0x = 0 inside the interval [2,2][{-2,2}]; IVT requires continuity on the entire closed interval, which fails here.Always verify that ff is continuous on the entire interval [a,b][a,b] before applying IVT. If there is a discontinuity, split the analysis or choose a different interval where the function is continuous.
A student writes: since f(1)=5f(1) = 5 and 5<7<105 < 7 < 10, where 1010 is some other value, IVT guarantees a point cc where f(c)=5f(c) = 5.If N=f(1)N = f(1), then we already know a point (x=1x = 1) where ff equals NN; IVT is unnecessary. The theorem requires strict inequalities f(a)<N<f(b)f(a) < N < f(b), not f(a)=Nf(a) = N.Check that f(a)<N<f(b)f(a) < N < f(b) with strict inequalities. If NN equals one of the endpoint values, you don't need IVT—you already have a point where ff equals NN.
After applying IVT to prove that f(x)=x23f(x) = x^2 - 3 has a root on [1,2][1,2], a student concludes that IVT has found the root to be c=31.732c = \sqrt{3} \approx 1.732.IVT is an existence theorem: it proves that a solution exists, but it does not compute or identify what that solution is. Finding the exact value of cc requires solving the equation separately.Remember that IVT only guarantees existence of cc, not its value. To find cc, use algebra, graphing, numerical methods like bisection, or other techniques. Invoke IVT only to prove that cc exists.

Tips and when to use something else

  • Always verify that ff is continuous on the entire interval [a,b][a,b] before applying IVT—a discontinuity inside the interval can cause the function to skip over intermediate values.
  • IVT proves existence but does not compute. After applying IVT to show a solution exists, use algebra, graphing, or numerical methods like the bisection method to find the actual value of cc.
  • Check inequalities carefully: you need f(a)<N<f(b)f(a) < N < f(b) (strict), and NN cannot equal either endpoint value. If ff is decreasing so f(b)<f(a)f(b) < f(a), the inequality reverses to f(b)<N<f(a)f(b) < N < f(a).
  • Don't confuse IVT with the Extreme Value Theorem. IVT proves that intermediate values are reached; EVT finds the maximum and minimum values of ff on [a,b][a,b]. Use IVT for existence of solutions, and EVT for finding bounds.

Frequently asked questions

Does IVT tell me the exact value of c where f(c) = N?
No. IVT only proves that such a point cc exists somewhere in the interval (a,b)(a,b). To find the actual value of cc, you must solve the equation f(c)=Nf(c) = N using algebra, graphing, or numerical methods like the bisection method.
Can I apply IVT if the function has a jump discontinuity inside [a,b]?
No. IVT requires ff to be continuous on the entire closed interval [a,b][a,b]. A jump discontinuity (or any other discontinuity) inside the interval violates this condition, and the function might skip over your target value NN.
What if N equals f(a) or f(b)? Do I need to use IVT?
No. If N=f(a)N = f(a), then aa is already a point where ff equals NN. If N=f(b)N = f(b), then bb works. IVT is useful only when NN is strictly between the endpoint values—that is, f(a)<N<f(b)f(a) < N < f(b) or f(b)<N<f(a)f(b) < N < f(a).
Can I use IVT if f(a) and f(b) have the same sign, like f(a) = 3 and f(b) = 7?
Yes, as long as NN is strictly between them. For example, if f(a)=3f(a) = 3, f(b)=7f(b) = 7, and N=5N = 5, then 3<5<73 < 5 < 7, so IVT applies. The signs being the same does not prevent IVT from working; what matters is that NN lies strictly between the endpoint values.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18