Define a function $f:[-2,2] \rightarrow [-2,2]$ as $f(x)=[x]$, where $[x]$ denotes the greatest integer less or equal to x. Then $f$ is discontinuous at
Answer & explanation
Correct answer: option 3
$f(x)=\begin{cases}-2& \text{if}\hspace{.2cm} -2\leq x < -1\\
-1,& \text{if}\hspace{.2cm} -1\leq x< 0\\
0,& \text{if}\hspace{.2cm} 0\leq x< 1\\
1& \text{if}\hspace{.2cm} 1\leq x< 2\\
2 & \text{if}\hspace{.2cm} x=2\\
\end{cases}$. \\Drawing the graph of $f$ and also by checking directly we can see $f$ is discontinuous at $-1,0,1,2$.