Transitivity (mathematics)
Transitivity is a structural property of a binary relation: whenever a relation links a to b and b to c, it also links a to c. It underpins equivalence relations and partial orders.
In mathematics and formal reasoning, a binary relation R on a set is called transitive when, for any three elements a, b and c, aRb and bRc together imply aRc. In symbolic form: for all a,b,c, (aRb && bRc) → aRc. This simple condition is fundamental: it governs the way information or ordering can be propagated through chains of related items.
Formal role and logical context
Transitivity appears in both logic and mathematics as one of the standard relation properties studied in set theory, algebra, and order theory. It is a necessary ingredient of an equivalence relation when combined with reflexivity and symmetry, and it is likewise required (with reflexivity and antisymmetry) for a relation to be a partial order. The defining pattern, a chain-of-two implies the chain-of-three, recurs in many abstract settings.
Examples and non-examples
Common examples of transitive relations include:
- Equality (=): if x = y and y = z then x = z.
- Order relations: <, ≤, and > on numbers are transitive; if a < b and b < c then a < c.
- Divisibility among integers: if a divides b and b divides c then a divides c.
- Subset inclusion (⊆): if A ⊆ B and B ⊆ C then A ⊆ C.
By contrast, many everyday relations are not transitive. "Is a friend of" is typically non-transitive: A being friends with B and B with C does not ensure A is friends with C. Such counterexamples illustrate why transitivity is a substantive structural requirement, not a default.
Transitive closure and reduction
Given any relation R, its transitive closure is the smallest transitive relation that contains R; it adds all inferred links arising from chains of arbitrary length. Algorithms such as Warshall's (or more generally Floyd–Warshall for weighted graphs) compute closures on finite sets. The related notion of transitive reduction seeks the minimal relation whose transitive closure recovers the original; this is useful for simplifying ordered structures like dependency graphs.
Importance and distinctions
Transitivity affects how one reasons about connectedness, inheritance, and order. In algebra it helps classify congruences and quotient structures; in computer science it underlies reachability in graphs and database query semantics. When combined with other properties (reflexivity, symmetry, antisymmetry) it produces the familiar classes of relations—equivalence relations and partial orders—each serving different modeling needs.
For further reading on foundational aspects and examples, see introductions to relations in elementary set theory and texts on order theory; online references treat the topic in both binary relation and applied contexts such as networks and databases. Additional background on equivalence relations appears via equivalence relation-focused expositions and summaries of relation properties.
Transitivity is therefore a modest-looking axiom with wide practical and theoretical consequences: it determines how local connections extend globally and shapes the algebraic and combinatorial structure of many mathematical systems.
Formal definition
If a set and
two-digit relation on
then is called
transitive if (using infix notation) holds:
Representation as a directed graph
Any relation on a set
can be understood as a directed graph (see example above). The nodes of the graph are the elements of
. A directed edge (an arrow
)
is drawn from node
to node
holds.
The transitivity of can now be characterised in the graph in this way: Whenever two arrows follow each other (
), there is also an arrow that directly connects the initial and final nodes (
) (so also in the Hasse diagram).
Properties
- The transitivity of a relation
also allows inferences across several steps (as is easily shown by complete induction):
- With the help of the concatenation
of relations, transitivity can also be characterised by the following condition:
- If the relation
transitive, then this is also true for the converse relation
. Examples: the relation that is converse to ≤ {\displaystyle
≥
which is converse
to is > {\displaystyle
- If the relations
and are
transitive, then this is also true for their intersection
. This statement can be generalised from two relations to the average
any family of transitive relations.
- For any relation
is a smallest transitive relation
which
contains , the so-called transitive hull of
.
Example: Letbe the antecedent relation on the set of natural numbers, so let
. The relation
itself is not transitive. As a transitive envelope of the smaller relation
results.
Examples
Order of the real numbers
The lessor relation real numbers is transitive, because from x < y
a strict total order.
Likewise, the relations , ≤
and ≥
transitive.
Equality of the real numbers
The ordinary equality on the real numbers is transitive, because from
and
follows
. Furthermore, it is an equivalence relation.
The inequality relation on the real numbers, on the other hand, is not transitive:
and
but
does not apply, of course.
Divisibility of the integers
The divisibility relation for integers is transitive, because from
and
follows
. Moreover, it is a quasi-order. When restricting to the set of natural numbers, one obtains a half-order.
For example, the divisor strangeness is not transitive. Thus and are
alien to the divisor, as are
and
but
and
have the common divisor
.
Subset
The subset relation between sets is transitive, because from
and
follows
. Furthermore,
a half-order.
For example, the disjointness of sets is not transitive. Thus the sets and are
disjoint, as are
and
, but not
and
(since they have element 1 in common).
Parallel straight lines
In geometry, the parallelism of lines is transitive: if both the lines and
parallel and the lines
and
then
and
are also parallel. Furthermore, parallelism is an equivalence relation.
Implication in logic
In logic, transitivity applies with regard to implication, although in predicate logic this is also known as modus barbara:
From and
follows
(compare also: cutting rule).
The implication defines a quasi-order on the formulae of the logic under consideration.
See also
- Transitive shell
- Negative transitivity
Related articles
Author
AlegsaOnline.com Transitivity (mathematics) Leandro Alegsa
URL: https://en.alegsaonline.com/art/101168

