Prove that the $\lim_{x \to 0}f(x)$ does not exist.
$$ f(x) = \begin{cases} \space\space\space 1 & \text{if } x \text{ is rational}\\ -1 & \text{if } x \text{ is irrrational} \end{cases} $$
I proceed as follows:
$$ \begin{align} \\ & \text{Let } \forall \epsilon > 0 \\ & \text{Choose } \delta = \min\{1, \dfrac{\epsilon}{2}\} \\ & \text{Assume } 0 < |x| < \delta \end{align} $$
I'm fairly certain that the limit fails to exist because the one-sided limits are not equal to each other, but I'm not certain of how to proceed in proving that the limit is non-existent.
Let us suppose a number $z$ exists with $$ \lim_{x\to 0} f(x) = z $$
Given a $\epsilon$ challenge, we need to come up with a positive $\delta$ such that $$ \left\lvert f(x) - z \right\rvert < \epsilon $$ for all $x \in U = (-\delta, 0) \cup (0, \delta)$.
Now despite the choice of $\delta$, each $U$ will always contain both rational and irrational numbers. That means we would need a $z$ with both $$ \left\lvert 1 - z \right\rvert < \epsilon \wedge \left\lvert -1 - z \right\rvert < \epsilon $$ There is no such $z$, if $\epsilon \le 1$: $$ \left\lvert 1 - z \right\rvert < 1 \Rightarrow z \in I = (0, 2) \\ \left\lvert -1 - z \right\rvert \Rightarrow z \in J = (-2, 0) $$ but $I \cap J = \emptyset$.