For $x\in[-1,1]$, let $$ f(x)= \begin{cases} x\,\operatorname{sgn}(\sin\frac{1}{x}), &\text{if $x\neq0$} \\ 0, &\text{if $x=0$} \end{cases} $$ where $\text{sgn}$ denotes the signum function. Then:
- $f$ is continuous on $[-1,1]$
- $f$ is not differentiable at any point of $[-1,1]$
- $f$ is Riemann integrable on $[-1,1]$.
- The set of points of discontinuity of $f$ in $[-1,1]$ is finite.
I found this question in a previous year entrance paper. The answer given is option $3$. Now, I know that $f$ is discontinuous at $x=0$, and that $f$ is differentiable at many points in $[-1,1]$. But what about options $3$ and $4$? Aren't they both essentially the same?