so I am given the function $f(x)=\begin{cases} 2x+1 \quad \quad \quad \quad , \text{if } x\in \mathbb{Q} \\ -2x^2+3x+4 \, \, \,, \text{if } x\notin \mathbb{Q}\end{cases}$. I have already proven with $\varepsilon \delta$, that it is continuous in $x_0=-1$ and $x_1=3/2$. I am now trying to prove that for any $\tilde{x}\in \mathbb{R}\backslash \{-1,3/2\}$, it is not continuous.
My attempt using the epsilon-delta-definition: I suppose I have to use the fact that $\mathbb{Q}$ is dense in $\mathbb{R}$ and vice versa. Or is it better to use the sequence definition?
Assume that $f$ is continuous on the set $A:=R \setminus \{-1,3/2\}$ and $x \in A $
Then exists $q_n \in Q$ and $r_n \in Q^c$ such that $r_n \to x$ and $q_n \to x$
Thus by assumption $f(q_n) \to f(x) $ and $f(r_n) \to f(x)$
So by uniqueness of limit we 'll have $-2x^2+3x+4=2x+1$
Thus $-2x^2+x+3=0$
Can you reach tha contradiction now?