Prove that there does not exist a surjective function f: $\mathbb{Q}\rightarrow \mathbb{R} $.
I think a proof by contradiction would work which means we want to prove $$\neg (\forall{y}\in \mathbb{R}, \exists{x}\in\mathbb{Q}, ~f(x) = y)$$ which is equivalent to $$(\exists{y}\in \mathbb{R}, \forall{x}\in\mathbb{Q}, ~f(x) \not= y).$$
My logic is that since the set of rational numbers, $\mathbb{Q}$, is countably infinite and the set of real numbers, $\mathbb{R}$, is uncountably infinite, then we can try to choose one element in $\mathbb{Q}$ at a time to pair with multiple elements in $\mathbb{R}$. However, we'll eventually find some element in $\mathbb{R}$ that has no pre-image in $\mathbb{Q}$.
I'm a bit unsure if my logic is correct and how to write this formally.