# Discuss the continuity of the function $f$, where $f$ is defined by $f(x) = \left\{ \begin{array} {1 1} -2 ,& \quad\text{ if$ x $$\leq -1$}\\ 2x,& \quad\text{ if$ -1 $< x $\leq1$}\\ 2 ,& \quad\text{ if$ x $> 1}\\ \end{array} \right.$
$\begin{array}{1 1} \text{Yes, f is continuous at x=1 and x= -1} \\ \text{ No f is not continuous at x=1 and x= -1} \end{array}$