Binary relations

reflexivityβˆ€x.xRxirreflexivityβˆ€x.Β¬xRxsymmetryβˆ€xy.xRyβ†’yRxasymmetryβˆ€xy.xRyβ†’(Β¬yRx)antisymmetryβˆ€xy.xRy∧yRxβ†’x=ytransitivityβˆ€xyz.xRy∧yRzβ†’xRzintransitivityβˆ€xyz.xRy∧yRzβ†’Β¬xRzlinearityβˆ€xy.xRy∧yRxβ†’x=y\begin{align} & reflexivity & \forall & x . & & xRx \\ & irreflexivity & \forall & x . & & \lnot xRx \\ & symmetry & \forall & xy . & & xRy \to yRx \\ & asymmetry & \forall & xy . & & xRy \to (\lnot yRx) \\ & antisymmetry & \forall & xy . & & xRy \land yRx \to x = y \\ & transitivity & \forall & xyz . & & xRy \land yRz \to xRz \\ & intransitivity & \forall & xyz . & & xRy \land yRz \to \lnot xRz \\ & linearity & \forall & xy . & & xRy \land yRx \to x = y \end{align}

A binary relation on a set is a collection of ordered pairs of the set's elements.

A binary relation on a set XX is a set of ordered pairs of elements of XX; it is a subset of the Cartesian product X2=XΓ—XX^2 = X \times X.

A binary relation between sets XX and YY is a subset of XΓ—YX \times Y.

The terms correspondence, dyadic relation and 2-place relation are synonyms for binary relation.

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.

A binary relation is the special case n = 2 of an n-ary relation R βŠ† A1 Γ— … Γ— An, that is, a set of n-tuples where the jth component of each n-tuple is taken from the jth domain Aj of the relation. An example for a ternary relation on ZΓ—ZΓ—Z is " ... lies between ... and ...", containing e.g. the triples (5,2,8), (5,8,2), and (βˆ’4,9,βˆ’7).

The Cartesian product, XΓ—YX \times Y, from set XX to set YY represents the full relation between two sets, where every ordered pair participates in the relation.

Any subset of XΓ—YX \times Y is called a relation between XX and YY.

On the other side of the extreme is the empty relation, which is an empty set since no elements, let alone ordered pairs, participate. Despite being empty, it is still considered as a relation between two sets.

In between these two extremes are all other relations, therefore, any relation RR from set XX to YY is a subset of the Cartesian product, XΓ—YX \times Y.

Relations may also exist between objects of the same set or between objects of two or more sets.

Any subset of XΓ—XX \times X is called a relation on XX.

Most of these relations are anonymous, some popular ones have a name, and the most popular come with a name and a special symbol attached.

Since a relation RR on XX is a subset of XΓ—XX \times X, it is an element of the powerset of XΓ—XX \times X i.e. RβŠ†P(XΓ—X)R\subseteq \mathcal{P}(X \times X)

If RR is a relation on XX and (x,y)∈R(x,y)\in R then we also write xRyxRy and read it as "x is in R-relation to y", or simply, "x is in relation to y", if R is understood.

A binary relation RR on the sets XX and YY is an element in their power set: R∈P(XΓ—Y)R \in \mathfrak{P}(X \times Y)

If X=YX = Y then we simply say that the binary relation is over XX, or that it is an endorelation over XX.

RxyRxy or xRyxRy denotes a homogeneous relation when X=YX = Y and a heterogeneous relation when X=ΜΈYX \not = Y.

Binary relations (all relations are transitive and reflexive)

Legend:

  • Sy: Symmetric

  • vS: Anti-symmetric

  • Cx: Connex

  • Wf: Well-formed

  • Jn: has join

  • Mt: has meet

Reference

https://en.wikipedia.org/wiki/Binary_relation

https://en.wikipedia.org/wiki/Lattice_(order) https://en.wikipedia.org/wiki/Finitary_relation https://en.wikipedia.org/wiki/Heterogeneous_relation

Last updated