Relations
Last updated
Was this helpful?
Last updated
Was this helpful?
[Function]())
[Allegory (category theory)]()) [Extension in logic]()) [Involution]()) [Relation]())
and
Binary relations are used to model concepts like "is greater than", "is equal to", and similar. The concept of function is defined as a special kind of binary relation.
Relations are categorized by the special properties they hold.
If and are sets, the Cartesian product is the set of all ordered pairs with and . And the set is the set where all pair of .
A binary relation between sets and is a subset of their Cartesian product, . Or equivalently, it is an element in the powerset of their Cartesian product.
Any subset of the Cartesian product forms a relation: the Cartesian product itself forms a universal (full) relation and the empty set (being a subset of the Cartesian product set) forms an empty (or null) relation.
A single set's Cartesian product (with itself) is commonly denoted as .
The set of ordered pairs of natural numbers (starting and ending curly-braces demarking this set are not showndue to formatting):
Any subset of this set forms a relation:
full relation, where every pair participates, is the set of the Cartesian product itself.
on the other side of the extreme is the empty relation which is the empty set; even though no pair participates, it is still considered a relation.
between these two extremes are all other relations, some of which have a name, being more popular then others. The most popular ones, come with a name and a special symbol attached.
Less than (LT, <
) relation is formed by the subset of all pairs lying above the diagonal, and greater than (GT, >
) by the subset of all pairs below the diagonal. The union of these two with identity relation form less than or equal to (LE, <=
) and greater than or equal to (GE, >=
) relations, respectively.