Relations

Functionalarrow-up-right [Function](https://en.wikipedia.org/wiki/Function_(mathematicsarrow-up-right)) Left-totalarrow-up-right Injectivearrow-up-right Surjectivearrow-up-right Bijectionarrow-up-right Transitivearrow-up-right Reflexivearrow-up-right Coreflexivearrow-up-right Irreflexivearrow-up-right Symmetricarrow-up-right Antisymmetricarrow-up-right Asymmetricarrow-up-right Totalarrow-up-right Connexarrow-up-right Idempotentarrow-up-right Equivalencearrow-up-right Preorderarrow-up-right Partial orderarrow-up-right Total orderarrow-up-right Strict partial orderarrow-up-right Strict total orderarrow-up-right Densearrow-up-right Triadic relationarrow-up-right

Binary relationarrow-up-right

Algebraic logicarrow-up-right [Allegory (category theory)](https://en.wikipedia.org/wiki/Allegory_(category_theoryarrow-up-right)) Cartesian productarrow-up-right Cartesian squarearrow-up-right Cylindric algebrasarrow-up-right [Extension in logic](https://en.wikipedia.org/wiki/Extension_(predicate_logicarrow-up-right)) [Involution](https://en.wikipedia.org/wiki/Involution_(mathematicsarrow-up-right)) Logic of relativesarrow-up-right Logical matrixarrow-up-right Predicate functor logicarrow-up-right Quantalearrow-up-right [Relation](https://en.wikipedia.org/wiki/Relation_(mathematicsarrow-up-right)) Relation constructionarrow-up-right Relational calculusarrow-up-right Relational algebraarrow-up-right Residuated Boolean algebraarrow-up-right Spatial-temporal reasoningarrow-up-right Theory of relationsarrow-up-right

xRy:xX,yYxRy : x \in X, y\in Y\\ RX×YR \subseteq X \times Y XX and YY X2X^2 xRxxRx

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 XX and YY are sets, the Cartesian product X×YX \times Y is the set of all ordered pairs (x,y)(x,y) with xXx\in X and yYy \in Y. And the set X2=X×XX^2 =X\times X is the set where all pair of xXx\in X.

A binary relation between sets AA and BB is a subset of their Cartesian product, A×BA \times B. 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 N2=N×N\mathbb{N^2} = \mathbb{N} \times \mathbb{N}.

The set N2=N×N\mathbb{N^2} = \mathbb{N} \times \mathbb{N} of ordered pairs of natural numbers (starting and ending curly-braces demarking this set are not showndue to formatting):

(1,1),(1,2),(1,3),(2,1),(2,2),(2,3),(3,1),(3,2),(3,3),figure 1.1\begin{matrix} (1,1), &(1,2), &(1,3), &\dots \\ (2,1), &(2,2), &(2,3), &\dots \\ (3,1), &(3,2), &(3,3), &\dots \\ \vdots &\vdots &\vdots &\ddots \end{matrix}\\ \text{figure 1.1}

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.

Last updated