If our range such as in the question below is all the real numbers excluding $0$, to determine if a function is onto we must ask if all real numbers excluding $0$ can be mapped to at least one value of $x$ where $x$ is an element of the real numbers?
$$ \mathbb{R} − \{0\} \to \mathbb{R} \quad \text{defined by} \quad r(x) = \frac{6}{x} $$
So in the question above, all we'd need to do to prove that it isn't onto is find a value in our range that can't be mapped to a value of $x$, yes? The solution to the above question is
for any $y \in \mathbb{R} − \{0\}$ we have $r(6/y) = y$). So $r$ is not onto.
I'm struggling to understand what that means, is that saying that this function is one to one?
Thanks.