Binary Relations
A binary relation on a set is a set of ordered pairs, recording which elements are connected. We write when . Relations generalize functions to model any pairwise connection.
Three fundamental properties classify relations:
| Property | Definition | Example ( on ) |
|---|---|---|
| Reflexive | for every | (True) |
| Symmetric | (False) | |
| Transitive | and | and |
A relation with all three is an equivalence relation, capturing sameness in some respect.
Structure & Pitfalls
An equivalence relation partitions set into disjoint equivalence classes of mutually related elements. For example, congruence mod 5 partitions integers into five remainder classes.
A different mix—reflexive, antisymmetric ( and ), and transitive—forms a partial order like .
Common pitfall: Confusing symmetric with transitive. Symmetry reverses a single pair (); transitivity chains two pairs ( and ). "One step from" on a number line is symmetric but not transitive.