Injection
From Maths
An injective function is 1:1, but not nessasarally onto.
Contents
[hide]Definition
For a function f:X→Y every element of X is mapped to an element of Y and no two distinct things in X are mapped to the same thing in Y. That is:
- ∀x1,x2∈X[f(x1)=f(x2)⟹x1=x2]
Or equivalently:
- ∀x1,x2∈X[x1≠x2⟹f(x1)=f(x2)] (the contrapositive of the above)
Notes
The cardinality of the inverse of an element y∈Y may be no more than 1; that is it may be zero, in contrast to a bijection where the cardinality is always 1 (and thus we take the singleton set f−1(y)={x} as the value it contains)
TODO: Find reference - should be easy!