Antisymmetric is not "not symmetric"
It says distinct elements never relate both ways. Equality is both symmetric and antisymmetric; many relations are neither.
Four properties, each a quantified sentence you can check. Then the three closures: the smallest relation containing yours that has the property you want.
Core ideas
Each property is a sentence from Logic and Proof. Deciding whether it holds is evaluating that sentence, and refuting it is naming one bad pair.
It says distinct elements never relate both ways. Equality is both symmetric and antisymmetric; many relations are neither.
Every path of length two must have a one-step shortcut. In the matrix that is a condition on the boolean square.
The transitive closure of R is the smallest transitive relation containing R — not any transitive relation containing it.
The material
Definitions, the pairs that decide them, and how to repair a relation.
R on A is reflexive if ∀a ∈ A. (a,a) ∈ R; symmetric if ∀a,b. (a,b) ∈ R → (b,a) ∈ R; antisymmetric if ∀a,b. (a,b) ∈ R ∧ (b,a) ∈ R → a = b; transitive if ∀a,b,c. (a,b) ∈ R ∧ (b,c) ∈ R → (a,c) ∈ R.
Two remarks that prevent most of the confusion in this lesson. Antisymmetric is not the negation of symmetric. The equality relation is both. The relation {(1,2), (2,1), (1,3)} is neither. And irreflexive is not the negation of reflexive either: a relation with some but not all loops is neither reflexive nor irreflexive.
Each property is refuted by naming a specific witness, and a check that does not produce one has not really been done. The lab reports the witness on every failure for exactly this reason.
= on ℤ: reflexive, symmetric, antisymmetric, transitive. ≤: reflexive, antisymmetric, transitive, not symmetric. <: transitive and antisymmetric, not reflexive. "divides" on positive integers: reflexive, antisymmetric, transitive. "a − b is even": reflexive, symmetric, transitive — and not antisymmetric.
The closure of R with respect to a property is the smallest relation containing R that has the property, when one exists.
The transitive closure is the interesting one. Its pairs are exactly the (a, b) joined by a path of one or more steps, so on an n-element set the union stops at Rⁿ — a longer path repeats a vertex and can be shortened. Computing it by taking powers is wasteful; Warshall's algorithm does it in n³ steps, and is what the lab runs.
For k = 1 to n, and for every a, b: if a reaches k and k reaches b in the relation built so far, add (a, b). After the outer loop finishes, the relation is the transitive closure.
The invariant is that after stage k, the relation contains (a, b) exactly when a path from a to b exists using only 1 … k as intermediate points. Stage k+1 adds the paths that route through k+1, which is the only new possibility.
After stage n every intermediate point is permitted, so every path is represented — which is the transitive closure.
□
There is no such thing as an "antisymmetric closure": adding pairs can never remove a violation, since the offending pair (a,b) and (b,a) are already both present. A closure exists only for properties that adding pairs can establish.
Interactive
Decided by checking, not by name
Method
Evaluate the sentence; produce the witness either way.
Every (a, a) must be present, for every element of the set, not just the ones that appear in some pair.
For each (a,b) in R, is (b,a) there? One missing reverse settles it.
Both (a,b) and (b,a) with a ≠ b refutes it. Loops (a,a) never do.
For each (a,b) and (b,c), is (a,c) present? This is the expensive check, and the one people skip.
a R b when a divides b.
The antisymmetry argument uses positivity. Over all integers it fails: 2 | −2 and −2 | 2 with 2 ≠ −2. A property of a relation depends on the set it is defined over, and dropping that qualification changes the answer.
For each of =, ≤, <, ⊆ and "has the same remainder mod 3", state which of the four properties hold, and for each failure give the specific pair or triple. Naming the witness is the check; everything else is recall.
Something to change about this lesson? Write it down, tick it off when it is handled, and export the list when you want to act on it. Kept in this browser only: nothing is sent anywhere, and nobody is notified.
No recommendations yet for this lesson.