A map is:
- injective when distinct elements have distinct images: ;
- surjective when every element of is attained: ;
- bijective when it is both, i.e. every has exactly one preimage.
Examples
Example 1.25 (Computing an inverse in practice)
Let , . To invert, solve for a given :
each step being reversible on the announced domains. The computation delivers everything at once: for each in the codomain there is exactly one solution , so is bijective, and
A quick check of both compositions ( and ) confirms Theorem 1.24’s criterion. The insight: “solve for and watch the equivalences” is simultaneously the existence proof, the uniqueness proof, and the formula — but it only works if the codomain was announced correctly ( is not surjective onto ).
Example 1.27 (Point (2) is sharp)
In Proposition 1.26 (2), one cannot upgrade the conclusions: bijective does not force surjective or injective. Take , , with and : then is bijective, yet misses the element and collapses both elements. The moral is a precise bookkeeping rule: composition information flows to the inner map for injectivity and to the outer map for surjectivity, never the other way. (Exercise 1.9 builds the same phenomenon with infinite sets, where it is the engine behind one-sided inverses.)
Example 1.28
, is neither injective () nor surjective ( has no preimage). Restricting the domain and codomain, , is bijective, with inverse . A map’s injectivity or surjectivity depends on the announced domain and codomain, not only on the formula.