Injections, Surjections, and Bijections
Functions can be classified according to how they map elements of their domain to their codomain. These classificationsβinjections, surjections, and bijectionsβare fundamental to understanding cardinality and the structure of mathematical objects.
A function is injective (or one-to-one) if distinct elements of map to distinct elements of :
Equivalently, .
We write or to denote that is injective.
Injections preserve distinctness: no two different inputs produce the same output. This means the function can be "inverted" on its range, though it may not cover all of the codomain.
- The inclusion map for , defined by , is injective
- The function defined by is injective
- The doubling function defined by is injective
- The successor function defined by is injective but not surjective (0 is not in the range)
A function is surjective (or onto) if every element of is the image of at least one element of :
Equivalently, , meaning the range equals the codomain.
We write to denote that is surjective.
Surjections cover the entire codomain. Every element of has at least one preimage in , though there may be many.
- The projection defined by is surjective (assuming )
- The absolute value function is surjective
- Any constant function is surjective
- The function defined by is surjective
A function is bijective (or a one-to-one correspondence) if it is both injective and surjective. Equivalently, for every , there exists a unique such that :
We write or to denote that is bijective.
Bijections establish a perfect pairing between sets: every element of corresponds to exactly one element of , and vice versa. Bijections are invertibleβif is bijective, there exists a unique inverse function such that for all and for all .
- The identity function is always bijective
- The function defined by:
is bijective, showing
-
The function defined by is bijective, showing that open intervals have the same cardinality as
-
The exponential function is bijective
Let and be functions.
- If and are injective, then is injective
- If and are surjective, then is surjective
- If and are bijective, then is bijective, and
- If is injective, then is injective
- If is surjective, then is surjective
The converse of (4) and (5) do not hold. For example, if is the inclusion and is the constant function, then is bijective, but is not surjective and is not injective.
These function types are central to defining cardinality. We say two sets and have the same cardinality, written or , if there exists a bijection . This equipollence relation partitions all sets into equivalence classes called cardinal numbers.
For sets and :
- if there exists an injection
- if and
The SchrΓΆder-Bernstein theorem states that if and , then .
The following sets all have the same cardinality as :
- The even natural numbers (bijection: )
- The integers (interleaving bijection)
- The rational numbers (Cantor's pairing function)
- Finite sequences of natural numbers
All these sets are countably infinite, denoted . However, is uncountable: by Cantor's diagonal argument.
Understanding injections, surjections, and bijections is essential for working with infinite sets, where our finite intuitions often fail. These concepts provide the rigorous foundation for cardinality theory and the rich hierarchy of infinities discovered by Cantor.