A mapping \(f:X \to Y\) is injective if for all \(x_1, x_2 \in X\),
\[f(x_1) = f(x_2) \implies x_1 = x_2\]
A mapping \(f: X \to Y\) is called surjective if, for every \(y \in Y\) there exists at least one \(x \in X\) for which \(y = f(x)\).
A mapping is bijective if it is both injective and surjective.