[Math] Does a one-to-one function need to have every element in its domain have a corresponding element in the range

functionsreal-analysis

The definition of a one-to-one function is such that no two elements in the domain are mapped into the same element in the range. Mathematically:

$$
\forall a,b \in A, \;\; f(a)=f(b) \Rightarrow a=b
$$

However I am wondering if there can be elements $a,b \in A$ that are never sent out. In other words, they do not have a corresponding mapping in the range. Is this possible? thanks.

Best Answer

By definition, the domain of a function $f$ is the set of elements which are "sent out" by $f$, so this is not possible.