A function $f$ is said to be one-to-one (or injective) if for every $y$ in the range of $f$, there is exactly one $x$ in the domain such that $f(x) = y$. In other words, no two different inputs map to the same output. Mathematically, this can be written as: if
Show more…