I encountered the following question in an exam:
If $\mathbb{R}$ is the set of real numbers and $f: \mathbb{R} →\mathbb{R}$ is defined by $f(\sqrt{x})=x$, the '$f$' is:
a) Injective but not surjective
b) Surjective but not injective
c) Bijective
d) Not a function
I chose option (a), but the answer, as I found out later, was (d). I cannot explain how it is so, can anyone help?