Intermediate and Mean Value Theorems – crossings, secant slopes and counterexamples

MathematicsCalculusAges 16–17

Use with my class

Drag the level y = k between f(a) and f(b) and see every c in [a, b] with f(c) = k: a continuous function always crosses it, while a jump, a hole or a vertical asymptote can skip a value. On the Mean value screen, drag the ends A and B of a secant and find every c in (a, b) where the tangent is parallel to it, f′(c) = (f(b) − f(a))/(b − a); |x|, a cusp and a jump show what fails without differentiability or continuity.

Lesson: Continuity and the Intermediate Value Theorem; the Mean Value Theorem and Rolle's theorem

What it shows

The Intermediate Value Theorem says that if f is continuous on [a, b] and k lies between f(a) and f(b), then f(c) = k for at least one c in [a, b]. The Mean Value Theorem adds differentiability on (a, b) and promises a c in (a, b) with f′(c) = (f(b) − f(a))/(b − a): a tangent parallel to the secant. Both theorems say that c exists, not where it is or how many there are. The counterexamples show why each hypothesis matters: a jump, a hole or 1/x can skip a value, and the corner of |x| or a cusp can leave no parallel tangent.

How to use

On Intermediate value, choose Function f(x) and set Left end a, Right end b and Level k with the sliders, or drag a, b and the orange line on the graph. On Mean value, drag A and B or use the sliders, and drag anywhere else on the graph to move your tangent. Show every c reveals each c, and Record adds the case to the table.

Parameters you can change

  • Screen Intermediate Value Theorem, Mean Value Theorem
  • Function (intermediate value) x³ − 3x + 1, x − cos x, Jump at x = 1, 1/x, Hole at x = 1
  • Left end a -3–3
  • Right end b -3–3
  • Level k -6–8
  • Function (mean value) x³ − 4x, sin x, √x, |x| (corner), ∛(x²) (cusp), Jump at x = 1
  • Left end a (mean value) -2.5–10
  • Right end b (mean value) -2.5–10

Questions to explore

  1. Why does f(x) = 1/x take the values −1 and 1 on [−1, 1] but never 0?
  2. At which x is the tangent to √x parallel to the secant over [0, 9]?
  3. Why does every c in (a, b) work for |x| when a and b are both positive?