Y indicates that the column's property is always true for the row's term (at the very left), while✗ indicates that the property is not guaranteed in general (it might, or might not, hold). For example, that every equivalence relation is symmetric, but not necessarily antisymmetric, is indicated byY in the "Symmetric" column and✗ in the "Antisymmetric" column, respectively.
All definitions tacitly require thehomogeneous relation betransitive: for all if and then A term's definition may require additional properties that are not listed in this table.
As a non-mathematical example, the relation "is an ancestor of" is transitive. For example, if Amy is an ancestor of Becky, and Becky is an ancestor of Carrie, then Amy is also an ancestor of Carrie.
On the other hand, "is the birth mother of" is not a transitive relation, because if Alice is the birth mother of Brenda, and Brenda is the birth mother of Claire, then it does not follow that Alice is the birth mother of Claire. In fact, this relation isantitransitive: Alice cannever be the birth mother of Claire.
Non-transitive, non-antitransitive relations include sports fixtures (playoff schedules), 'knows' and 'talks to'.
The examples "is greater than", "is at least as great as", and "is equal to" (equality) are transitive relations on various sets.As are the set of real numbers or the set of natural numbers:
wheneverx >y andy >z, then alsox >z
wheneverx ≥y andy ≥z, then alsox ≥z
wheneverx =y andy =z, then alsox =z.
More examples of transitive relations:
"is asubset of" (set inclusion, a relation on sets)
"divides" (divisibility, a relation on natural numbers)
Theempty relation on any set is transitive[3] because there are no elements such that and, and hence the transitivity condition isvacuously true. A relationR containing only oneordered pair is also transitive: if the ordered pair is of the form for some the only such elements are, and indeed in this case, while if the ordered pair is not of the form then there are no such elements and hence is vacuously transitive.
Vacuous transitivity is transitivity when in a relation there are no ordered pairs of the form (a,b) and (b,c).
Theconverse (inverse) of a transitive relation is always transitive. For instance, knowing that "is asubset of" is transitive and "is asuperset of" is its converse, one can conclude that the latter is transitive as well.
The intersection of two transitive relations is always transitive.[4] For instance, knowing that "was born before" and "has the same first name as" are transitive, one can conclude that "was born before and also has the same first name as" is also transitive.
The union of two transitive relations need not be transitive. For instance, "was born before or has the same first name as" is not a transitive relation, since e.g.Herbert Hoover is related toFranklin D. Roosevelt, who is in turn related toFranklin Pierce, while Hoover is not related to Franklin Pierce.
The complement of a transitive relation need not be transitive.[5] For instance, while "equal to" is transitive, "not equal to" is only transitive on sets with at most one element.
LetR be a binary relation on setX. Thetransitive extension ofR, denotedR1, is the smallest binary relation onX such thatR1 containsR, and if(a,b) ∈R and(b,c) ∈R then(a,c) ∈R1.[7] For example, supposeX is a set of towns, some of which are connected by roads. LetR be the relation on towns where(A,B) ∈R if there is a road directly linking townA and townB. This relation need not be transitive. The transitive extension of this relation can be defined by(A,C) ∈R1 if you can travel between townsA andC by using at most two roads.
If a relation is transitive then its transitive extension is itself, that is, ifR is a transitive relation thenR1 =R.
The transitive extension ofR1 would be denoted byR2, and continuing in this way, in general, the transitive extension ofRi would beRi + 1. Thetransitive closure ofR, denoted byR* orR∞ is the set union ofR,R1,R2, ... .[8]
The transitive closure of a relation is a transitive relation.[8]
The relation "is the birth parent of" on a set of people is not a transitive relation. However, in biology the need often arises to consider birth parenthood over an arbitrary number of generations: the relation "is a birth ancestor of"is a transitive relation and it is the transitive closure of the relation "is the birth parent of".
For the example of towns and roads above,(A,C) ∈R* provided you can travel between townsA andC using any number of roads.
No general formula that counts the number of transitive relations on a finite set (sequenceA006905 in theOEIS) is known.[9] However, there is a formula for finding the number of relations that are simultaneously reflexive, symmetric, and transitive – in other words,equivalence relations – (sequenceA000110 in theOEIS), those that are symmetric and transitive, those that are symmetric, transitive, and antisymmetric, and those that are total, transitive, and antisymmetric. Pfeiffer[10] has made some progress in this direction, expressing relations with combinations of these properties in terms of each other, but still calculating any one is difficult. See also Brinkmann and McKay (2005)[11] and Mala (2022).[12]
Since the reflexivization of any transitive relation is apreorder, the number of transitive relations an onn-element set is at most 2n time more than the number of preorders, thus it is asymptotically by results of Kleitman and Rothschild.[13]
Number ofn-element binary relations of different types
TheRock–paper–scissors game is based on an intransitive and antitransitive relation "x beatsy".
A relationR is calledintransitive if it is not transitive, that is, ifxRy andyRz, but notxRz, for somex,y,z.In contrast, a relationR is calledantitransitive ifxRy andyRz always implies thatxRz does not hold.For example, the relation defined byxRy ifxy is aneven number is intransitive,[14] but not antitransitive.[15] The relation defined byxRy ifx is even andy isodd is both transitive and antitransitive.[16] The relation defined byxRy ifx is thesuccessor number ofy is both intransitive[17] and antitransitive.[18] Unexpected examples of intransitivity arise in situations such as political questions or group preferences.[19]
^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). Note that this source refers to asymmetric relations as "strictly antisymmetric".
^Mala, Firdous Ahmad (2022), "On the number of transitive relations on a set",Indian Journal of Pure and Applied Mathematics,53 (1):228–232,doi:10.1007/s13226-021-00100-0,MR4387391