Inmathematics, ahomogeneous relation (also calledendorelation) on a setX is abinary relation betweenX and itself, i.e. it is a subset of theCartesian productX ×X.[1][2][3] This is commonly phrased as "a relation onX"[4] or "a (binary) relation overX".[5][6] An example of a homogeneous relation is the relation ofkinship, where the relation is between people.
Common types of endorelations includeorders,graphs, andequivalences. Specialized studies oforder theory andgraph theory have developed understanding of endorelations. Terminology particular for graph theory is used for description, with an ordinary (undirected) graph presumed to correspond to asymmetric relation, and a general endorelation corresponding to adirected graph. An endorelationR corresponds to alogical matrix of 0s and 1s, where the expressionxRy (x isR-related toy) corresponds to an edge betweenx andy in the graph, and to a 1 in thesquare matrix ofR. It is called anadjacency matrix in graph terminology.
Matrix representation of the relation "is adjacent to" on the set of tectonic plates
Af
An
Ar
Au
Ca
Co
Eu
In
Ju
NA
Na
Pa
Ph
SA
Sc
So
African
Af
Antarctic
An
Arabian
Ar
Australian
Au
Caribbean
Ca
Cocos
Co
Eurasian
Eu
Indian
In
Juan de Fuca
Ju
North american
NA
Nazca
Na
Pacific
Pa
Philippine
Ph
South american
SA
Scotia
Sc
Somali
So
The binary relation that describes whether twotectonic plates are in contact is a homogenous relation, because both the first and second argument are from the same set, that is the set of tectonic plates onEarth.
Sixteen largetectonic plates of the Earth's crust contact each other in a homogeneous relation. The relation can be expressed as alogical matrix with 1 (depicted "") indicating contact and 0 ("") no contact. This example expresses a symmetric relation.
for allx,y ∈X, ifxRy thenx =y.[7] For example, the relation over the integers in which each odd number is related to itself is a coreflexive relation. The equality relation is the only example of a both reflexive and coreflexive relation, and any coreflexive relation is a subset of the identity relation.
for allx,y ∈X, ifxRy thenxRx andyRy. A relation is quasi-reflexive if, and only if, it is both left and right quasi-reflexive.
The previous 6 alternatives are far from being exhaustive; e.g., the binary relationxRy defined byy =x2 is neither irreflexive, nor coreflexive, nor reflexive, since it contains the pair(0, 0), and(2, 4), but not(2, 2), respectively. The latter two facts also rule out (any kind of) quasi-reflexivity.
for allx,y ∈X, ifxRy thenyRx. For example, "is a blood relative of" is a symmetric relation, becausex is a blood relative ofy if and only ify is a blood relative ofx.
for allx,y ∈X, ifxRy andyRx thenx =y. For example, ≥ is an antisymmetric relation; so is >, butvacuously (the condition in the definition is always false).[8]
for allx,y ∈X, ifxRy then notyRx. A relation is asymmetric if and only if it is both antisymmetric and irreflexive.[9] For example, > is an asymmetric relation, but ≥ is not.
Again, the previous 3 alternatives are far from being exhaustive; as an example over the natural numbers, the relationxRy defined byx > 2 is neither symmetric nor antisymmetric, let alone asymmetric.
for allx,y,z ∈X, ifxRy andyRz thenxRz. A transitive relation is irreflexive if and only if it is asymmetric.[10] For example, "is ancestor of" is a transitive relation, while "is parent of" is not.
for allx,y,z ∈X, ifx andy are incomparable with respect toR and if the same is true ofy andz, thenx andz are also incomparable with respect toR. This is used inweak orderings.
Again, the previous 5 alternatives are not exhaustive. For example, the relationxRy if (y = 0 ory =x+1) satisfies none of these properties. On the other hand, the empty relation trivially satisfies all of them.
for allx,y ∈X, ifx ≠y thenxRy oryRx. This property is sometimes[citation needed] called "total", which is distinct from the definitions of "left/right-total" given below.
for allx,y ∈X,xRy oryRx. This property, too, is sometimes[citation needed] called "total", which is distinct from the definitions of "left/right-total" given below.
for allx,y ∈X, exactly one ofxRy,yRx orx =y holds. For example, > is a trichotomous relation on the real numbers, while the relation "divides" over the natural numbers is not.[11]
for allx ∈X there exists ay ∈Y such thatxRy. This property is different from the definition ofconnected (also calledtotal by some authors).[citation needed]
Surjective (also called right-total)
for ally ∈Y, there exists anx ∈X such thatxRy.
Apreorder is a relation that is reflexive and transitive. Atotal preorder, also calledlinear preorder orweak order, is a relation that is reflexive, transitive, and connected.
Apartial order, also calledorder,[citation needed] is a relation that is reflexive, antisymmetric, and transitive. Astrict partial order, also calledstrict order,[citation needed] is a relation that is irreflexive, antisymmetric, and transitive. Atotal order, also calledlinear order,simple order, orchain, is a relation that is reflexive, antisymmetric, transitive and connected.[15] Astrict total order, also calledstrict linear order,strict simple order, orstrict chain, is a relation that is irreflexive, antisymmetric, transitive and connected.
Apartial equivalence relation is a relation that is symmetric and transitive. Anequivalence relation is a relation that is reflexive, symmetric, and transitive. It is also a relation that is symmetric, transitive, and total, since these properties imply reflexivity.
A univalent relation may also be called apartial function. A(total)function is a partial function that is left-total. Aninjective function (or partial function) is one whose inverse is univalent. Asurjective function is one that is right-total.
Implications and conflicts between properties of homogeneous binary relations
Implications (blue) and conflicts (red) between properties (yellow) of homogeneous binary relations. For example, every asymmetric relation is irreflexive ("ASym⇒Irrefl"), and no relation on a non-empty set can be both irreflexive and reflexive ("Irrefl#Refl"). Omitting the red edges results in aHasse diagram.
Defined asR= = {(x,x) |x ∈X} ∪R or the smallest reflexive relation overX containingR. This can be proven to be equal to theintersection of all reflexive relations containingR.
Reflexive reduction,R≠
Defined asR≠ =R \ {(x,x) |x ∈X} or the largestirreflexive relation overX contained inR.
Defined as the smallest transitive relation overX containingR. This can be seen to be equal to the intersection of all transitive relations containingR.
Reflexive transitive closure,R*
Defined asR* = (R+)=, the smallestpreorder containingR.
The number of irreflexive relations is the same as that of reflexive relations.
The number ofstrict partial orders (irreflexive transitive relations) is the same as that of partial orders.
The number of strict weak orders is the same as that of total preorders.
The total orders are the partial orders that are also total preorders. The number of preorders that are neither a partial order nor a total preorder is, therefore, the number of preorders, minus the number of partial orders, minus the number of total preorders, plus the number of total orders: 0, 0, 0, 3, and 85, respectively.
The number of equivalence relations is the number ofpartitions, which is theBell number.
The homogeneous relations can be grouped into pairs (relation,complement), except that forn = 0 the relation is its own complement. The non-symmetric ones can be grouped intoquadruples (relation, complement,inverse, inverse complement).
^Michael Winter (2007).Goguen Categories: A Categorical Approach to L-fuzzy Relations. Springer. pp. x–xi.ISBN978-1-4020-6164-6.
^M. E. Müller (2012).Relational Knowledge Discovery. Cambridge University Press. p. 22.ISBN978-0-521-19021-3.
^Peter J. Pahl; Rudolf Damrath (2001).Mathematical Foundations of Computational Engineering: A Handbook. Springer Science & Business Media. p. 496.ISBN978-3-540-67995-0.
^Smith, Douglas; Eggen, Maurice; St. Andre, Richard (2006).A Transition to Advanced Mathematics (6th ed.). Brooks/Cole. p. 160.ISBN0-534-39900-2.
^Nievergelt, Yves (2002).Foundations of Logic and Mathematics: Applications to Computer Science and Cryptography. Springer. p. 158..
^Flaška, V.; Ježek, J.; Kepka, T.; Kortelainen, J. (2007).Transitive Closures of Binary Relations I(PDF). Prague: School of Mathematics – Physics Charles University. p. 1. Archived fromthe original(PDF) on 2013-11-02. Lemma 1.1 (iv). This source refers to asymmetric relations as "strictly antisymmetric".
^Since neither 5 divides 3, nor 3 divides 5, nor 3=5.