Transitive relation
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.
Definition
A homogeneous relation on the set is a transitive relation if,Or in terms of first-order logic:
where is the infix notation for.
Examples
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, 'knows' and 'talks to'.
The examples "is greater than", "is at least as great as", and "is equal to" are transitive relations on various sets.
As are the set of real numbers or the set of natural numbers:
More examples of transitive relations:
- "is a subset of"
- "divides"
- "implies"
- "is the successor of"
- "is a member of the set"
- "is perpendicular to"
Vacuous transitivity is transitivity when in a relation there are no ordered pairs of the form and.
Properties
Closure properties
- The converse of a transitive relation is always transitive. For instance, knowing that "is a subset of" is transitive and "is a superset of" is its converse, one can conclude that the latter is transitive as well.
- The intersection of two transitive relations is always transitive. 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 to Franklin D. Roosevelt, who is in turn related to Franklin Pierce, while Hoover is not related to Franklin Pierce.
- The complement of a transitive relation need not be transitive. For instance, while "equal to" is transitive, "not equal to" is only transitive on sets with at most one element.
Other properties
A transitive relation need not be reflexive. When it is, it is called a preorder. For example, on set X = :
- R = {,,,, Hair spaceHair space
Transitive extensions and transitive closure
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.
Relation types that require transitivity
- Preorder – a reflexive and transitive relation
- Partial order – an antisymmetric preorder
- Total preorder – a connected preorder
- Equivalence relation – a symmetric preorder
- Strict weak ordering – a strict partial order in which incomparability is an equivalence relation
- Total ordering – a connected, antisymmetric, and transitive relation
Counting transitive relations
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 by results of Kleitman and Rothschild.
Related properties
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, but not antitransitive. The relation defined by xRy if x is even and y is odd is both transitive and antitransitive.
The relation defined by xRy if x is the successor number of y is both intransitive and antitransitive. Unexpected examples of intransitivity arise in situations such as political questions or group preferences.
Generalized to stochastic versions, the study of transitivity finds applications of in decision theory, psychometrics and utility models.
A quasitransitive relation is another generalization; it is required to be transitive only on its non-symmetric part. Such relations are used in social choice theory or microeconomics.
Proposition: If R is a univalent, then R;RT is transitive.
Corollary: If R is univalent, then R;RT is an equivalence relation on the domain of R.