Show by $\varepsilon-\delta$-criterion that for each $c\in\mathbb{R}$, the function $f\colon\mathbb{R}\to\mathbb{R}$, $$ f(x)=\begin{cases}\frac{1}{x}, & x\neq 0\\c, & x=0\end{cases} $$ is not continuous in $x=0$.
My idea is to show this by contradiction. Let $c\in\mathbb{R}$ be such that the function is continuous in $x=0$. Let $\varepsilon >0$, then there exists some $\delta >0$ s.t. $$ \lvert \frac{1}{x}-c\rvert\leq\varepsilon \text{ for all }x\in\mathbb{R}\text{ s.t. }\lvert x\rvert\leq\delta. $$
Dont know how to argue to see that we have a contradiction.
My idea: Since the statement has to hold for all x in $\mathbb{R}$ with $\lvert x\rvert\leq\delta$, we can choose $x$ very small. But then $1/x$ tends to $\pm\infty$ and hence $\lvert \frac{1}{x}-c\rvert$ will not be $\leq\varepsilon$.