1.3 Types of Functions
A function f from X to Y is defined to be one-one, or injective, if the images of distinct elements of X under f are distinct.
For a one-one function f from X to Y, for every x one and x two in X, f of x one equals f of x two implies x one equals x two.
A function f from X to Y which is not one-one is called many-one: some two distinct elements of X have the same image under f.
A function f from X to Y is said to be onto, or surjective, if every element of Y is the image of some element of X under f.
For an onto function f from X to Y, for every y in Y, there exists an element x in X such that f of x equals y.
A function f from X to Y is onto if and only if the range of f equals Y.
A function f from X to Y is said to be one-one and onto, or bijective, if f is both one-one and onto.