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

Step-by-step solved exercise: Continuity

Let \(\displaystyle f(x)=\cos x\) on \(\displaystyle [0,\pi]\). For which value \(\displaystyle y\) does the theorem guarantee some \(\displaystyle c\) with \(\displaystyle f(c)=y\)?

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

Step-by-step solution

  1. The endpoints give \(\displaystyle f(0)=1\) and \(\displaystyle f(\pi)=-1\); the function is continuous.

    \[\displaystyle f(0)=1,\quad f(\pi)=-1\]
  2. By the theorem, every value between \(\displaystyle -1\) and \(\displaystyle 1\) is attained on \(\displaystyle [0,\pi]\).

    \[\displaystyle [-1,1]\subseteq f([0,\pi])\]
  3. The value \(\displaystyle -\tfrac12\) lies in \(\displaystyle [-1,1]\), so some \(\displaystyle c\) with \(\displaystyle f(c)=-\tfrac12\) is guaranteed.

    \[\displaystyle \cos c=-\tfrac12\]

Answer

\(\displaystyle y=-\tfrac12\)

🎯 Build my path to this exercise