Injection
From Maths
An injective function is 1:1, but not nessasarally onto.
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[1]:
- ∀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
Terminology
- An injective function is sometimes called an embedding[1]
- Just as surjections are called 'onto' an injection may be called 'into'[2]
- This is French, from "throwing into" referring to the domain, not elements themselves (as any function takes an element into the codomain, it need not be one-to-one)
- I do not like using the word into but do like onto - I say:
- "But f maps A onto B so...."
- "But f is an injection so...."
- "As f is a bijection..."
- I see into used rarely to mean injection.
TODO: Investigate page 6 in Probability and Stochastics, it uses into and see if injectivity matters
Properties
- The cardinality of the inverse of an element y∈Y may be no more than 1
- Note this means 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, writing f−1(y)=x)
- Note this means it may be zero
See also
References
- ↑ Jump up to: 1.0 1.1 Analysis: Part 1 - Elements - Krzysztof Maurin
- Jump up ↑ http://mathforum.org/library/drmath/view/52454.html