Intermediate value theorem · Exercise-INTERMEDIATE-VALUE-THEOREM-019

Step-by-step solved exercise: Continuity

Let \(\displaystyle f(x)=\lfloor x\rfloor\) (floor function) on \(\displaystyle [0,2]\), with \(\displaystyle f(0)=0\) and \(\displaystyle f(2)=2\). It never equals \(\displaystyle \tfrac12\). Why does this not contradict the theorem?

Step by step with comments, a check and common mistakes.

Step-by-step solution

  1. The endpoint values are \(\displaystyle f(0)=0\) and \(\displaystyle f(2)=2\), and \(\displaystyle \tfrac12\) lies between them.

    \[\displaystyle 0<\tfrac12<2\]
  2. The floor function jumps at \(\displaystyle x=1\) and at \(\displaystyle x=2\), so it is not continuous on \(\displaystyle [0,2]\).

    \[\displaystyle \lim_{x\to1^-}\lfloor x\rfloor=0\neq 1=\lfloor 1\rfloor\]
  3. Since the continuity hypothesis fails, the theorem does not apply and there is no contradiction.

Answer

\(\displaystyle f\) is not continuous on \(\displaystyle [0,2]\): it jumps at \(\displaystyle x=1\) and \(\displaystyle x=2\)

🎯 Build my path to this exercise