binary relation
A binary relation relates some elements of one set called the domain with some elements of another set (possibly the same) called the codomain.
Formally,
a binary relation
where
and
The domain of definition of
The codomain of definition of
A binary relation can be:
- injective relation (left-unique)
- functional relation (right-unique)
- total relation (left-total)
- surjective relation (right-total)
We distinguish homogeneous and heterogeneous relations by whether their domain and codomain are the same or distinct, respectively.
Calculus of relations includes set operations, composition of relations, converse relation
A function is a binary relation that is functional and total.
A bijection is a function which pairs every element to exactly one other element.