Interactive visualiser

Intermediate value theorem

A continuous function on [α,β][\alpha, \beta] takes every value between f(α)f(\alpha) and f(β)f(\beta). Move the line y=ηy = \eta through the shaded band: in every position it meets the graph at least once.

Διαβάστε το στα ελληνικά →

Loading the visualiser…

Works on a phone, tablet or computer — nothing to install, no account.

The theorem

If ff is continuous on [α,β][\alpha, \beta] and f(α)≠f(β)f(\alpha) \ne f(\beta), then for every η\eta between f(α)f(\alpha) and f(β)f(\beta) there is at least one x0∈(α,β)x_0 \in (\alpha, \beta) with f(x0)=ηf(x_0) = \eta.

What you are looking at

The shaded band runs from f(α)f(\alpha) to f(β)f(\beta). The theorem says any horizontal line inside it crosses the graph somewhere between α\alpha and β\beta, and the working lists the solutions of f(x)=ηf(x) = \eta as you move it. Bolzano’s theorem is the special case η=0\eta = 0 — and that is how the usual proof goes: apply Bolzano to g(x)=f(x)−ηg(x) = f(x) - \eta.

Outside the band the theorem is silent: the equation may or may not have a solution there. With the discontinuous function the band still exists, but some heights inside it are never reached — the graph jumps over them, and the tool flags it.

Try this

  1. 1Press Sweep and watch η\eta run from the bottom of the picture to the top: inside the band the green line never misses the graph.
  2. 2Stop the line at η=1\eta = 1: it meets the graph three times, at x=−3x = -\sqrt{3}, 00 and 3\sqrt{3}. The theorem only promised one.
  3. 3Lower η\eta to 00, below f(α)f(\alpha): the theorem no longer applies, yet the line still crosses the graph twice. Outside the band, anything can happen.
  4. 4Choose Discontinuous and set η=0\eta = 0: it lies between f(α)f(\alpha) and f(β)f(\beta), but no xx gives f(x)=0f(x) = 0.

Mistakes students make

  • Using it for values outside [f(α),f(β)][f(\alpha), f(\beta)]. The function may well go higher, but the theorem does not say so — that is the extreme value theorem’s job.
  • Expecting a unique solution. The theorem gives at least one.
  • Forgetting continuity: 1x\dfrac{1}{x} on [−1,1][-1, 1] has f(−1)=−1f(-1) = -1 and f(1)=1f(1) = 1 but never takes the value 00.

In the exam

  • The classic AP item gives a table of values of a continuous function and asks whether f(c)=kf(c) = k must have a solution on an interval: name the theorem, cite continuity, and quote the two values that bracket kk.
  • If you are asked to prove it from Bolzano’s theorem: g(x)=f(x)−ηg(x) = f(x) - \eta is continuous on [α,β][\alpha, \beta] with g(α) g(β)<0g(\alpha)\,g(\beta) < 0, so there is x0x_0 with g(x0)=0g(x_0) = 0, that is f(x0)=ηf(x_0) = \eta.

Where it is taught

  • AP Calculus AB/BC · Unit 1 (1.16)
  • IB Maths AA HL · 5.12 (continuity)
  • Greek Γ΄ Λυκείου · §1.8

Teaching this?

Put this visualiser on your lesson board with one tap. Your student sees every drag, live, on their own screen — and Owlileo marks the homework, runs the tests and keeps the parents informed.

Start free →