A function f:A→B is one-to-one (1-1) (injective) if a1≠a2 in A implies that f(a1)≠f(a2) in B. The function f is onto (surjective) if, given any b∈B, it is possible to find an element a∈A for which f(a)=b.