You Can't Climb Without Crossing Every Height

This scene checks the intermediate value theorem. Move the target height and find where the graph crosses it.

An unbroken path cannot skip the middle. Going from low to high, it must pass every height between. If the graph breaks, the promise fails.

For example, watch the column of a 🌑️ thermometer. Rising from 10° in the morning to 20° at noon, it must pass 15°. The column never teleports.

f(a)<c<f(b)β‡’βˆƒβ€‰ΞΎβˆˆ(a,b):f(ΞΎ)=cf(a)<c<f(b)\Rightarrow\exists\,\xi\in(a,b):f(\xi)=c

Examples & Exercises

Use the Intermediate Value Theorem to show that x3+xβˆ’1=0x^3 + x - 1 = 0 has a real root in (0,1)(0,1).

f(0)=βˆ’1<0<1=f(1)Β βŸΉΒ βˆƒβ€‰ΞΎβˆˆ(0,1):Β f(ΞΎ)=0f(0) = -1 < 0 < 1 = f(1) \ \Longrightarrow\ \exists\, \xi \in (0,1):\ f(\xi) = 0
c=0c = 0 β€” the point ΞΎβ‰ˆ0.6823\xi \approx 0.6823 where the curve steps on height 00.
Show proof
  1. f(x)=x3+xβˆ’1f(x) = x^3 + x - 1 is a polynomial, hence continuous on [0,1][0,1].

  2. f(0)=βˆ’1<0f(0) = -1 < 0 and f(1)=1>0f(1) = 1 > 0.

  3. By the Intermediate Value Theorem there is ξ∈(0,1)\xi \in (0,1) with f(ΞΎ)=0f(\xi) = 0 (strictly inside, since f(0),f(1)β‰ 0f(0), f(1) \neq 0). Numerically ΞΎβ‰ˆ0.6823278038\xi \approx 0.6823278038.

Show that sin⁑x=12\sin x = \frac12 has a solution in (0,Ο€2)(0, \frac{\pi}{2}).

sin⁑0=0<12<1=sin⁑π2Β βŸΉΒ βˆƒβ€‰ΞΎ:Β sin⁑ξ=12\sin 0 = 0 < \tfrac12 < 1 = \sin \tfrac{\pi}{2} \ \Longrightarrow\ \exists\, \xi:\ \sin \xi = \tfrac12
c=0.5c = 0.5 β€” the crossing is at ΞΎ=Ο€/6β‰ˆ0.5236\xi = \pi/6 \approx 0.5236.
Show proof
  1. sin⁑x\sin x is continuous on [0,Ο€2][0, \frac{\pi}{2}].

  2. sin⁑0=0<12\sin 0 = 0 < \frac12 and sin⁑π2=1>12\sin \frac{\pi}{2} = 1 > \frac12.

  3. By the Intermediate Value Theorem there is ξ∈(0,Ο€2)\xi \in (0, \frac{\pi}{2}) with sin⁑ξ=12\sin \xi = \frac12.

    The witness is unique: for 0≀x<y≀π20 \le x < y \le \frac{\pi}{2}, sin⁑yβˆ’sin⁑x=2cos⁑x+y2sin⁑yβˆ’x2>0\sin y - \sin x = 2\cos\frac{x+y}{2}\sin\frac{y-x}{2} > 0, since x+y2∈[0,Ο€2)\frac{x+y}{2} \in [0, \frac{\pi}{2}) gives cos⁑x+y2>0\cos\frac{x+y}{2} > 0 and yβˆ’x2∈(0,Ο€4]\frac{y-x}{2} \in (0, \frac{\pi}{4}] gives sin⁑yβˆ’x2>0\sin\frac{y-x}{2} > 0 β€” so sin⁑\sin is strictly increasing on [0,Ο€2][0, \frac{\pi}{2}].

    Since sin⁑π6=12\sin \frac{\pi}{6} = \frac12, uniqueness forces ΞΎ=Ο€6\xi = \frac{\pi}{6}.

Show directly that f(x)={0x<121xβ‰₯12f(x) = \begin{cases} 0 & x < \frac12 \\ 1 & x \geq \frac12 \end{cases} on [0,1][0,1] never takes the value c=12c = \frac12, and name the IVT hypothesis that fails.

f([0,1])={0,1}βˆ‹ΜΈ12f([0,1]) = \{0, 1\} \not\ni \tfrac12
The continuous case (c=0c = 0) β€” drop the hypothesis and the crossing may vanish.
Show proof
  1. For x<12x < \frac12, f(x)=0β‰ 12f(x) = 0 \neq \frac12; for xβ‰₯12x \geq \frac12, f(x)=1β‰ 12f(x) = 1 \neq \frac12. So no xx satisfies f(x)=12f(x) = \frac12, even though f(0)=0<12<1=f(1)f(0) = 0 < \frac12 < 1 = f(1).

  2. The broken hypothesis is continuity at x=12x = \frac12: the left-hand limit is 00 while f(12)=1f(\frac12) = 1. This counterexample shows the IVT conclusion need not hold without its hypothesis.

4. Continuity