Transitive relation | |
Type: | Binary relation |
Field: | Elementary algebra |
Statement: | A relation R X a b c X R a b b c R a c |
Symbolic Statement: | \foralla,b,c\inX:(aRb\wedgebRc) ⇒ aRc |
In mathematics, a binary relation on a set is transitive if, for all elements,, in, whenever relates to and to, then also relates to .
Every partial order and every equivalence relation is transitive. For example, less than and equality among real numbers are both transitive: If and then ; and if and then .
A homogeneous relation on the set is a transitive relation if,
for all, if and, then .Or in terms of first-order logic:
\foralla,b,c\inX:(aRb\wedgebRc) ⇒ aRc
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 is antitransitive: Alice can never 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:
whenever x > y and y > z, then also x > z
whenever x ≥ y and y ≥ z, then also x ≥ z
whenever x = y and y = z, then also x = z.
More examples of transitive relations:
Examples of non-transitive relations:
The empty relation on any set
X
a,b,c\inX
aRb
bRc
(x,x)
x\inX
a,b,c\inX
a=b=c=x
aRc
(x,x)
a,b,c\inX
R
A transitive relation is asymmetric if and only if it is irreflexive.[4]
A transitive relation need not be reflexive. When it is, it is called a preorder. For example, on set X = :
See main article: Transitive closure.
Let be a binary relation on set . The transitive extension of, denoted, is the smallest binary relation on such that contains, and if and then . For example, suppose is a set of towns, some of which are connected by roads. Let be the relation on towns where if there is a road directly linking town and town . This relation need not be transitive. The transitive extension of this relation can be defined by if you can travel between towns and by using at most two roads.
If a relation is transitive then its transitive extension is itself, that is, if is a transitive relation then .
The transitive extension of would be denoted by, and continuing in this way, in general, the transitive extension of would be . The transitive closure of, denoted by or is the set union of,,, ... .
The transitive closure of a relation is a transitive relation.
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, provided you can travel between towns and using any number of roads.
No general formula that counts the number of transitive relations on a finite set is known.[5] However, there is a formula for finding the number of relations that are simultaneously reflexive, symmetric, and transitive – in other words, equivalence relations –, those that are symmetric and transitive, those that are symmetric, transitive, and antisymmetric, and those that are total, transitive, and antisymmetric. Pfeiffer[6] 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).[7]
Since the reflexivization of any transitive relation is a preorder, the number of transitive relations an on n-element set is at most 2n time more than the number of preorders, thus it is asymptotically
(1/4+o(1))n2 | |
2 |
A relation R is called intransitive if it is not transitive, that is, if xRy and yRz, but not xRz, for some x, y, z.In contrast, a relation R is called antitransitive if xRy and yRz always implies that xRz does not hold.For example, the relation defined by xRy if xy is an even number is intransitive,[8] but not antitransitive.[9] The relation defined by xRy if x is even and y is odd is both transitive and antitransitive.[10] The relation defined by xRy if x is the successor number of y is both intransitive[11] and antitransitive.[12] Unexpected examples of intransitivity arise in situations such as political questions or group preferences.[13]
Generalized to stochastic versions (stochastic transitivity), the study of transitivity finds applications of in decision theory, psychometrics and utility models.[14]
A quasitransitive relation is another generalization;[3] it is required to be transitive only on its non-symmetric part. Such relations are used in social choice theory or microeconomics.[15]
Proposition: If R is a univalent, then R;RT is transitive.
proof: Suppose
xR;RTyR;RTz.
xRaRTyRbRTz.
Corollary: If R is univalent, then R;RT is an equivalence relation on the domain of R.
proof: R;RT is symmetric and reflexive on its domain. With univalence of R, the transitive requirement for equivalence is fulfilled.