Functions

A function is a mapping of a set to another which assigns an element of the domain to one element in the codomain.
Relations
Let be a function from set to set , denoted .
- domain
- codomain
- , is the image of and is the pre-image of .
- the range of is the set of all images of elements of .
- Let be a subset of ; the image of is a subset of that consists of the image of the elements of , s.t.
The diagram shows with mapping into ; the dashed mapping is annotated “Not allowed!” (an element cannot map to more than one image).
Injective function
: for every , . Every element of the domain has a distinct assignment in the codomain.
Surjective function
For every , there is at least one element s.t. .
Bijective function
Both injective and surjective.
Inverse function
Let be a bijective function; the inverse function is denoted by:
For every , , iff .