function
A function is a relation that is total and functional.
Formally,
a function
-
every element of the domain has at least one image element:
- for all
there exists a such that
i.e.is left-total
- for all
-
every element of the domain of definition is uniquely assigned:
- for all
and all , if and then
i.e.is right-unique
- for all
Thus, to be a function is for every element of the domain to have exactly one existing image element.
If
The subset of
A function which is also a bijective relation is a bijection.