Give a $\delta,\epsilon$ proof that the following function, $f(x) = \begin{cases} x, & \text{if $x \geq 0$} \\ x+3, & \text{if $x < 0$} \end{cases}\quad \quad $
is discontinuous at $x=0$.
Attempt:
If $f(x)$ is not continuous at $x=0$, then $\exists \epsilon>0$ such that $\forall \delta > 0$, $\exists x$ such that $0<|x-0|<\delta$ and $|f(x)-f(0)|=|x+3| \geq \epsilon.$
$\quad$Choose $\epsilon=1$. We must show that for a given $\delta$, then $\exists x$ such that $|x+3|\geq1$.
$\quad \quad$Let $a=x+3,b=-x,a+b=3$. By the Triangle Inequality, we have:
$\begin{align} \quad \quad \quad \quad|a+b|\leq|a|+|b|&\Rightarrow |3|\leq|x+3|+|-x| \\ &\Rightarrow 3-|-x|\leq|x+3| \end{align}\\$
$\begin{align} \quad \quad \text{Let } \delta\leq1 &\Rightarrow 0 < x <1\\ &\Rightarrow 3 < x+3 < 4 \end{align}\\$
$\rule{18cm}{.03cm}$
I am unsure as to how to continue with the proof. I believe that after manipulating our $3<x+3<4$, we can use it to create an inequality such that $\epsilon=1<3...\leq|x+3|.$ Which would lead us to the following result:
If $\delta\leq1$, every $x$ where $|x|<\delta$ has $|x+3|\geq \epsilon=1$.
If $\delta >1$, then $(x \bigr ||x|<1)$ is contained in the set of $x$, where $|x|<\delta$. Thus the set of points where $\delta>1$ contains points where $|x+3|\geq \epsilon=1$.
Therefore $f(x)$ is discontinuous at $x=0$.