← 🎯 Limits & Continuity
Subtopic 6 of 6

1.6Intermediate value theorem

The idea

The intermediate value theorem: a continuous function that goes from below a level to above it must cross that level.

Think of it like this: If you walk from the valley to the hilltop without teleporting, you pass every altitude in between.

Why it exists

It proves existence of roots and of points where two functions are equal, without finding them.

How it works

  1. Check f is continuous on [a, b].
  2. If f(a) and f(b) have opposite signs, a root exists in (a, b).
  3. Bisection halves the interval, keeping the sign change.
  4. To compare two values, apply IVT to their difference.

Worked example: GATE 2014 idea

f is continuous with f(0) = f(2) = −1 and f(1) = 1. Let g(y) = f(y) − f(y + 1). Then g(0) = −1 − 1 = −2 and g(1) = 1 − (−1) = 2. By IVT there is y in (0, 1) with f(y) = f(y + 1).

Now play with it

  • →Step through the bisection on x³ + x − 1 and watch the bracket shrink.
  • →Open the GATE 2014 preset: g changes from −2 to 2.
00.20.40.60.81-1-0.500.51f(a)f(b)
  • Step 1: the root is in [0, 1]; midpoint 0.5 gives f = -0.375
  • Step 2: the root is in [0.5, 1]; midpoint 0.75 gives f = 0.1719
  • Step 3: the root is in [0.5, 0.75]; midpoint 0.625 gives f = -0.1309
  • Step 4: the root is in [0.625, 0.75]; midpoint 0.6875 gives f = 0.01245
  • Step 5: the root is in [0.625, 0.6875]; midpoint 0.65625 gives f = -0.06113
  • Step 6: the root is in [0.65625, 0.6875]; midpoint 0.67188 gives f = -0.02483
  • Step 7: the root is in [0.67188, 0.6875]; midpoint 0.67969 gives f = -0.006314
  • Step 8: the root is in [0.67969, 0.6875]; midpoint 0.68359 gives f = 0.003037

f(0) = −1 and f(1) = 1 have opposite signs, so a root hides in between. A continuous function cannot jump over a value, so keep the half whose ends still have opposite signs.

Check yourself

f is continuous on [0, 1] with f(0) = −3 and f(1) = 5. Which must be true?

Remember: Continuous + opposite signs at the ends ⇒ a root in between.
Exam notes (the dense version)

If f is continuous on [a, b] and k lies between f(a) and f(b), then f(c) = k for some c in [a, b]. In particular, if f(a) and f(b) have opposite signs, f has a root in (a, b); bisection uses this. Typical use: apply IVT to a new continuous function built from f, such as g(y) = f(y) − f(y + 1) (GATE 2014: g(0) = −2, g(1) = 2, so f(y) = f(y + 1) somewhere in (0, 1)). A cubic always has a real root (its ends go to ±∞).

Previous year questions: Limits & Continuity (6)

PYQs are grouped by topic, so this is the full set for Limits & Continuity; try the ones that match this subtopic. Open all 6 on the topic page.