This question might turn out to be really trivial.
$f$ is a one-to-one function from the interval $[0,1]$ to $\mathbb{R}$. Is it necessary that $\exists q \in \mathbb{Q}$ such that $f(x) = q$ for some $x \in [0,1]$ i.e. is it necessary that the image of $f$ contains a rational number?
I came across this question when I was browsing through some website.
I think this is false. But I am unable to come up with a counter example.