Definitions
Injectivity
For a function , is injective iff , . More simply, if there is only one element of the source set that produces a given output in the target set, then the function is an injection.
A#proof of injectivity derives that from . To prove that a function is not injective, it is sufficient to provide a single counter-example.
Surjectivity
For a function , is surjective iff , there exists with . More simply, if every element of the target set can be produced with an element of the source set, then the function is a surjection.
A#proof of surjectivity derives an expression for from the equation , (). As with injectivity, providing a single counter-example is a sufficient proof that a function is not surjective.
Bijectivity
A function that is both injective and surjective is said to be bijective, or a biject.