Let $f : [0, \infty) \to [0, 3]$ be a function defined by $f(x) = \begin{cases} \max\{\sin t : 0 \leq t \leq \pi\},\ x \in [0, \pi] \\ 2 + \cos x,\ x > \pi \end{cases}$. Then which of the following is true ?
- (1)
$f$ is continuous everywhere but not differentiable exactly at one point in $(0, \infty)$
- (2)
$f$ is differentiable everywhere in $(0, \infty)$
- (3)
$f$ is not continuous exactly at two points in $(0, \infty)$
- (4)
$f$ is continuous everywhere but not differentiable exactly at two points in $(0, \infty)$
Show answer
Option (2) is correct.
Key from source paper