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
The endpoint values are \(\displaystyle f(0)=0\) and \(\displaystyle f(2)=2\), and \(\displaystyle \tfrac12\) lies between them.
\[\displaystyle 0<\tfrac12<2\]
The floor function jumps at \(\displaystyle x=1\) and at \(\displaystyle x=2\), so it is not continuous on \(\displaystyle [0,2]\).