Injections , surjections 全射 ぜんしゃ , and bijections 全単射 ぜんたんしゃ
1Introduction
For a
An
An injection does not collapse information, while a surjection leaves no element of the codomain unused. A bijection has both properties, so its arrows can be read backward.
2Terms and definitions
A
Equivalently, implies .
A map is a
A map is a
3Strategy
To prove
To prove
To prove
4Intuitive explanation
An
A
A
In an arrow diagram, injectivity means that two input arrows never merge at one output, while surjectivity means that every codomain point has at least one incoming arrow.
5Counting viewpoint for finite sets
Let be
Also, is equivalent to the existence of a
If an
If a
is nonempty. These preimages are pairwise disjoint and their
In particular, suppose . If is injective, then and , so and is surjective. Conversely, if is surjective, it partitions into nonempty preimages whose sizes sum to . Every preimage must therefore contain exactly one element, so is injective.
Hence injectivity and surjectivity are equivalent for finite sets of the same size. This conclusion uses both finiteness and the hypothesis .
6Warning for infinite sets
For
Conversely, is a surjection because for every . It is not injective because . These examples show that both implications fail when the finiteness hypothesis is removed.
7Worked example: decide injection 単射 たんしゃ and surjection 全射 ぜんしゃ
7.1Problem
Let be defined by , , and . Decide whether is an
7.2Explanation
We have and with . Different
Also, for the
Since a
8How to identify them and related links
- For an
injection , check whether any output collision occurs.単射 たんしゃ - For a
surjection , check whether any全射 ぜんしゃ codomain element is missed.終域 しゅういき - For a
bijection , check for both no collisions and no missed codomain elements.全単射 ぜんたんしゃ - Changing the codomain can change whether
surjectivity holds.全射性 ぜんしゃせい