Divisibility Created 2026-09-24 Updated 2026-10-18
For integers , divides when multiplication by some integer takes to :
Then is a divisor of , and is an integer multiple of . The notation means that no such integer exists. For , this is equivalent to saying that the quotient is an integer, or that Euclidean division by leaves remainder zero.
For example, because , whereas because . Signs do not change divisibility: because , and because . In general, changing the sign of either input preserves the relation.
The definition here permits zero as either input. Every integer divides zero, since . In particular, ; however, whenever , since is always zero. This is a statement about multiplication, and assigns no meaning to division by zero: remains undefined.
Two useful properties come directly from the defining multiplication. Divisibility is a reflexive relation, since , and a transitive relation: if and , then . Moreover, a shared divisor divides every integer linear combination:
Indeed, writing and gives . For example, and imply . This small observation explains why the Euclidean algorithm preserves common divisors, and why Bézout's identity can certify a greatest common divisor.
On the positive integers, divisibility is a partial order: if and , then . The restriction matters, since and although . The prime factorization viewpoint makes this order concrete: exactly when every prime valuation of is at most the corresponding prime valuation of . Thus one relation connects equal grouping, prime factorization, and modular arithmetic.
Book VII, definitions 3 and 5 of Euclid's Elements describe the corresponding positive-number relation through one number measuring another and through integer multiples. The sign and zero conventions above belong to the present integer formulation, rather than to those ancient definitions. [ref]
Euclidean relation 2026-10-31
A binary relation is right Euclidean when any two successors of the same element are related in the indicated order. A reflexive relation with this property is an equivalence relation: reflexivity gives symmetry, and symmetry followed by the Euclidean property gives transitivity. Without reflexivity, even the empty binary relation is Euclidean.
Irreflexive relation Created 2026-10-25 Updated 2026-10-31
A binary relation is irreflexive when no element is related to itself. An irreflexive relation that is also a transitive relation is a strict partial order. Transitivity then excludes every finite directed cycle, since a cycle would imply at its starting element.
A binary relation is irreflexive exactly when it contains no diagonal pair . Its negation requires at least one diagonal pair, whereas a reflexive relation requires every diagonal pair.
If and , then . A witness joining a pair through and then also joins it through the larger relations. If both and are reflexive relations on the same set, inserting an identity step gives , so monotonicity also gives .
Write for the displayed equality predicate. A6 and A4 give , establishing a reflexive relation.
An instance of A7, replacing just the first occurrence of in , is
Assume , apply the modus ponens rule twice using reflexivity, and obtain . The deduction theorem for propositional logic discharges the assumption. This proves symmetry.
For transitivity, A7 supplies
by replacing in the atomic formula . From assumptions and , two applications of the modus ponens rule give . Discharging assumptions and universally generalizing gives
Thus the predicate defines an equivalence relation within the calculus.
Write and regard each binary relation as a subset of . Then is the reflexive closure of : every satisfies because . The relation is its symmetric closure. It is a reflexive relation since it contains , and means either or , either of which also gives .
For , a one-step chain is allowed because , so . If witnesses , the reversed chain witnesses , since is a symmetric relation. Finally, concatenate a chain from to with a chain from to to obtain a positive-length chain from to . Hence is a transitive relation as well, and
Thus is the transitive closure of a relation applied to .
Now suppose is an equivalence relation containing . Its reflexivity implies , hence . Its symmetry then implies , hence . Along a chain witnessing , every consecutive pair is -related. Induction on the chain length using transitivity gives : the one-step case is , and the last step joins to . Therefore
Together with , this proves that is exactly the equivalence closure of . The reasoning also covers an empty , where all assertions about elements are vacuous.
An equivalence relation is a binary relation that is simultaneously a reflexive relation, a symmetric relation and a transitive relation: ; implies ; and , imply . The equivalence class of is
Each equivalence class is nonempty by reflexivity, and every belongs to , so the classes cover . If , then the symmetric relation and transitive relation properties give . Every therefore satisfies , so ; the reverse inclusion follows similarly. Thus two classes are either identical or disjoint. The distinct equivalence classes consequently form a set partition of .
The divisibility-comparability relation is a reflexive relation and a symmetric relation, but is not an equivalence relation. Indeed, and , whereas neither nor , so transitivity fails.
For the requested four-class construction, partition the positive integers into
Define exactly when they lie in the same . Equality of the class label is an equivalence relation. Its four classes are the two finite singletons and the two infinite parity classes displayed above.
The intersection is always an equivalence relation. Both component relations contain , so is a reflexive relation. If , both relations relate to , and symmetry in each gives . If and , transitivity in each component gives both and , hence . This is the intersection of equivalence relations; the same argument works for any family of such relations.
An equivalence relation on is a reflexive relation (), a symmetric relation (), and a transitive relation (, ). Its equivalence class at is . Because is a reflexive relation, every class is nonempty and every belongs to its own class, so the classes cover . If and share an element , symmetry and transitivity give . For every , transitivity then gives , so ; exchanging gives equality. Thus distinct classes are disjoint. The equivalence classes form a set partition of . On the empty set, the empty family is the corresponding partition.
A binary relation on a set is a subset of its Cartesian product; means . It is an equivalence relation when it is a reflexive relation, a symmetric relation, and a transitive relation:
An equivalence relation partitions into equivalence classes: two elements belong to the same class exactly when they are related.
For the value condition, a function agrees with itself outside the empty exceptional set, proving the reflexive relation property. Interchanging the two functions preserves equality, so the same exceptional finite set proves the symmetric relation property.
Suppose is related to and to , with exceptional finite sets and . Points of might be absent from , so merely taking would miss a real issue. Use instead
This is a finite set contained in : the first two terms are finite by hypothesis and is finite by the domain condition. If , then and neither original exception occurs, so . The domain condition is also preserved, as proved in the preceding scope. Thus the full relation is a transitive relation, and
Finite domains cause no problem: one may take the whole intersection as the exceptional set. Both conditions are needed for equivalence of partial functions modulo finite changes.
The first condition concerns the domains: their symmetric difference must be a finite set. The original PDF prints this condition and the agreement condition together; the converted TeX omits both. The two existing solution scopes are used here to prove the domain and value parts of the single equivalence relation assertion.
Domain agreement is a reflexive relation because , and a symmetric relation because . For the transitive relation property, membership can differ between and only if it differs between and or between and . Thus
A set union of two finite sets is finite, so the domain condition passes through a chain of related pairs. This is the domain part of equivalence of partial functions modulo finite changes.
Because , the relation is reflexive. If and , then
so it is transitive. It is not symmetric: for
one has but not .
Suppose is a reflexive relation and a Euclidean relation. To prove it is a symmetric relation, assume . Reflexivity gives , so applying the Euclidean implication to and gives .
To prove it is a transitive relation, assume and . The symmetry just established gives . Apply the Euclidean implication with common predecessor to and ; the conclusion is . Thus all three requirements hold:
On the nonempty set take the empty binary relation . There are no triples for which holds. The defining implication is therefore true for every triple by vacuous truth, making a Euclidean relation.
But is false, so is not a reflexive relation and hence is not an equivalence relation:
In first-order logic with equality, the three first-order sentences are
A reflexive relation relates each element to itself. An antisymmetric relation forbids distinct elements from relating in both directions. A transitive relation contains every composite of two successive related pairs. Together these axioms define a partially ordered set.
The requested examples are binary relations on sets, rather than partially ordered sets: a partially ordered set necessarily has all three properties. This corrects the wording of the source.[ref]
For an antisymmetric relation and transitive relation that is not a reflexive relation, take and . No distinct pair relates both ways, so the antisymmetric relation condition holds. There are no composable pairs, so the transitive relation condition holds vacuously. Neither nor belongs to , so the reflexive relation condition fails.
For a reflexive relation and transitive relation that is not an antisymmetric relation, take and . All diagonal pairs and all composite pairs belong to , but and both hold with .
For a reflexive relation and antisymmetric relation that is not a transitive relation, take
All diagonal pairs are present, and no off-diagonal pair has its reverse present. However and hold while fails. Thus each pair of axioms can hold without the third.
Totality of the binary relation is expressed by
When is already an order, this adds comparability and makes it a total order. In fact this first-order sentence alone entails .
By the definition of semantic entailment, means that every first-order structure satisfying also satisfies . Let be any such first-order structure, and let be any element of its domain of a first-order structure. The instance of with gives , which is true only if is true. Since was arbitrary, . Therefore
There is no exception for in the displayed totality axiom; that case is exactly what forces the reflexive relation property.