Question is :
$f: [0,1]\rightarrow \mathbb{R}$ be a one one function, then which of the following statements are true?
$(a)$ $f$ must be onto
$(b)$ range of $f$ contains a rational number
$(c)$ range of $f$ contains an irrational number
$(d)$ range of $f$ contains both rational numbers and irrational numbers
I can see that $f$ need not be onto function by considering :
$f : [0,1]\rightarrow \mathbb{R}$ with $f(x)=x$ is one-one , but not onto.
Now, I should not take a continuous function to show a contradiction for $(b)/(c)/(d)$ because, any continuous function takes intervals to intervals and thus, Range of $f$ will have both rational and irrational numbers.
I recalled all functions i have thought could be discontinuous but those are not helping me at all.
I would be thankful if some one can help me to crack this problem and similar kind of problems.
THank You.