A function \( f \) is called one-to-one (or injective) if and only if \( f(a) = f(b) \) implies \( a = b \) for any \( a \) and \( b \) in the domain of \( f \). This means that no two different inputs in the domain of the function produce the same output.
Show more…