I am trying to prove that the function $$f(x)=\left\{\begin{array}{ll} 5 x-2 & \text { if } x \neq 1 \\ -2 & \text { if } x=1 \end{array}\right.$$ is Discontinuous at $x=1$ using $\epsilon -\delta$ method.
Since $f(1)=-2$ ,we need to show that, there exists a $\delta >0$ such that $x \in (1-\delta,1)\cup(1,1+\delta)$ $\implies$ $|f(x)+2|>\epsilon$
But not able to proceed?
To show continuity, you have to find a $\delta$ for any $\epsilon$.
To show discontinuity, you have to find an $\epsilon$ for which there is no $\delta$.
The gap between $\lim_{x \to 1} 5x-2 = 3$ and $f(1) = -2$ is $5$. So for any $\epsilon < 5$ it should be impossible to find a $\delta$ to satisfy the requirement.