sorry if this question ends up being a duplicate, but I wasn't able to find a question sufficiently similar on the exchange.
I have a few questions to go through to practice proving functions are discontinuous using the delta epsilon definition of a limit. I am familiar with using delta-epsilon to prove functions are continuous at a point, but not that they are discontinuous in general. In order to help me solve later problems, please provide a full solution to the problem below, explained as clearly as possible. Thank you! The problem is:
Show that the following function is discontinuous for all $c \in \mathbb R$:
$f(x) = \begin{cases} 1/x, & \text{$x \ne 0$} \\ c, & \text{$x = 0$} \end{cases}$
Here is a hint which you can play around with to aid your understanding:
Let $\delta > 0$. Notice that if you choose $x$ such that $0 < |x| < \min\left(\delta, \frac{1}{|c|+1}\right)$ then
$$ |f(x) - c| = \left|\frac{1}{x} - c \right| = \left|\frac{1-cx}{x} \right| \geq \frac{1 - \frac{|c|}{|c|+1}}{\frac{1}{|c|+1}} = 1 $$