I want to prove per contradiction, that there doesn't exist a strictly monotone function $f:\mathbb{R} \to \mathbb{R}$ with $$ f(\mathbb{R}) = \mathbb{R} \backslash \mathbb{Q} $$ but I'm not sure if this argumentation is right.
Assume there exists such a function $f$. Let be $ a \in \mathbb{R} \backslash \mathbb{Q}$ and $(\frac{a}{n})_{n \in \mathbb{N}} \in (\mathbb{R} \backslash \mathbb{Q})^\mathbb{N}$. Then there exist $b_n \in \mathbb{R}: f(b_n) = \frac{a}{n}$. $$ \lim_{n \to \infty} f(b_n) = \lim_{n\to \infty} \frac{a}{n} = 0 \notin \mathbb{R} \backslash \mathbb{Q} $$ But because of the monotony of $f$, for a $b \in \mathbb{R}$ $$ \lim_{x \to b} f(x)$$ has to exists and so it has to be in $\mathbb{R}\backslash \mathbb{Q}$.
Is there some example for non-strictly monotone functions? (it has to be $\mathrm{im}(f) = \mathbb{R}\backslash\mathbb{Q})$
We can assume $f$ is increasing, else replace $f$ by $-f$.
Let $A=\{x \in \mathbb{R}\mid f(x) < 0\}$, and let $B=\{x \in \mathbb{R}\mid f(x) > 0\}$.
Clearly, the sets $A,B$ are disjoint and nonempty.
Also, since $0$ is not in the range of $f$, it follows that $A \cup B = \mathbb{R}$.
Since $f$ is increasing, it follows that for all $a,b$ with $a \in A\;$and$\;b\in B$, we have $a < b$.
Thus, $A$ is bounded above, and $B$ is bounded below.
Let $u$ be the LUB of $A$, and let $v$ be the GLB of $B$.
Necessarily $u=v$.
Since $f(u)$ is irrational, so is ${\large{\frac{f(u)}{2}}}$.
Let $t \in \mathbb{R}$ be such that $f(t) = {\large{\frac{f(u)}{2}}}$.
If $f(u) > 0$, then $f(t) > 0 \implies t \in B$, but then, since $f$ is increasing, $f(t) < f(u) \implies t < u$, contradiction (since $u$ is the GLB of $B$).
If $f(u) < 0$, then $f(t) < 0 \implies t \in A$, but then, since $f$ is increasing, $f(u) < f(t) \implies u < t$, contradiction (since $u$ is the LUB of $A$).
Either way, we have a contradiction.
Note: The proof didn't use strict monotonicity.