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

Step-by-step solved exercise: Continuity

Let \(\displaystyle f(x)=\cos x-x\). On which interval does the intermediate value theorem guarantee a root?

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

Step-by-step solution

  1. The function \(\displaystyle \cos x - x\) is continuous on all of \(\displaystyle \mathbb{R}\).

    \[\displaystyle f(x)=\cos x-x\]
  2. Compute the values at the endpoints of \(\displaystyle [0,1]\).

    \[\displaystyle f(0)=1,\quad f(1)=\cos 1-1\approx -0.460\]
  3. The sign changes from positive to negative, so there is a root in \(\displaystyle [0,1]\).

    \[\displaystyle f(0)\cdot f(1)<0\]

Answer

\(\displaystyle [0,1]\)

🎯 Build my path to this exercise