Intro to the Theory of Sets

Intro to the Theory of Sets Unit 4 – Equivalence Relations & Partial Orders

Equivalence relations and partial orders are fundamental concepts in set theory, providing ways to classify and organize elements. Equivalence relations group elements based on shared properties, creating partitions of sets into distinct classes. Partial orders establish relationships between elements, allowing for comparison and hierarchy within sets. These concepts have wide-ranging applications in mathematics and computer science. Equivalence relations help simplify complex systems by grouping similar elements, while partial orders are used in scheduling, hierarchies, and version control. Understanding these concepts is crucial for analyzing and structuring various mathematical and real-world systems.

Key Concepts and Definitions

  • An equivalence relation is a binary relation that satisfies reflexivity, symmetry, and transitivity properties
  • Reflexivity states that every element is related to itself (aaa \sim a for all aAa \in A)
  • Symmetry implies if aa is related to bb, then bb is also related to aa (ab    baa \sim b \implies b \sim a)
  • Transitivity means if aa is related to bb and bb is related to cc, then aa is related to cc (aba \sim b and bc    acb \sim c \implies a \sim c)
  • A partial order is a binary relation that is reflexive, antisymmetric, and transitive
    • Antisymmetry states if aba \leq b and bab \leq a, then a=ba = b
  • An equivalence class of an element aa under an equivalence relation \sim is the set of all elements equivalent to aa, denoted as [a]={xA:xa}[a] = \{x \in A : x \sim a\}
  • A partition of a set AA is a collection of non-empty, pairwise disjoint subsets whose union is AA

Properties of Equivalence Relations

  • Equivalence relations are reflexive, symmetric, and transitive
  • The reflexive property ensures every element is related to itself
  • Symmetry guarantees the relation holds in both directions between two elements
  • Transitivity allows the relation to be extended across multiple elements
  • Equivalence relations partition a set into disjoint equivalence classes
  • Elements in the same equivalence class are equivalent to each other
  • Elements in different equivalence classes are not equivalent
  • The equivalence class of an element contains all elements equivalent to it

Equivalence Classes and Partitions

  • An equivalence relation on a set induces a partition of the set into equivalence classes
  • Each element of the set belongs to exactly one equivalence class
  • Equivalence classes are disjoint, meaning no element can belong to more than one class
  • The union of all equivalence classes is the original set
  • Two elements are equivalent if and only if they belong to the same equivalence class
  • The set of all equivalence classes under an equivalence relation is called the quotient set
    • Denoted as A/A/\sim or A/RA/R, where AA is the original set and \sim or RR is the equivalence relation

Examples of Equivalence Relations

  • Equality (==) on any set is an equivalence relation
    • Reflexive: a=aa = a for all aa
    • Symmetric: if a=ba = b, then b=ab = a
    • Transitive: if a=ba = b and b=cb = c, then a=ca = c
  • Congruence modulo nn (n\equiv_n) on integers is an equivalence relation
    • anba \equiv_n b if and only if aba - b is divisible by nn
    • Equivalence classes are congruence classes modulo nn
  • Similarity of triangles is an equivalence relation
    • Reflexive: every triangle is similar to itself
    • Symmetric: if triangle AA is similar to triangle BB, then BB is similar to AA
    • Transitive: if triangle AA is similar to BB and BB is similar to CC, then AA is similar to CC
  • Having the same birthday is an equivalence relation on a group of people
    • Reflexive: every person has the same birthday as themselves
    • Symmetric: if person AA has the same birthday as person BB, then BB has the same birthday as AA
    • Transitive: if person AA has the same birthday as BB and BB has the same birthday as CC, then AA has the same birthday as CC

Introduction to Partial Orders

  • A partial order is a binary relation that is reflexive, antisymmetric, and transitive
  • Reflexivity: every element is related to itself (aaa \leq a for all aa)
  • Antisymmetry: if aba \leq b and bab \leq a, then a=ba = b
  • Transitivity: if aba \leq b and bcb \leq c, then aca \leq c
  • A set with a partial order is called a partially ordered set or poset
  • In a poset, some elements may be incomparable, meaning neither aba \leq b nor bab \leq a holds
  • A total order is a partial order in which every pair of elements is comparable

Properties of Partial Orders

  • Partial orders satisfy reflexivity, antisymmetry, and transitivity
  • The reflexive property ensures every element is related to itself
  • Antisymmetry implies that if two elements are related in both directions, they must be equal
  • Transitivity allows the relation to be extended across multiple elements
  • Minimal element: an element aa is minimal if there is no element bb such that bab \leq a and bab \neq a
  • Maximal element: an element aa is maximal if there is no element bb such that aba \leq b and aba \neq b
  • Least element: an element aa is the least element if aba \leq b for all elements bb in the set
  • Greatest element: an element aa is the greatest element if bab \leq a for all elements bb in the set

Hasse Diagrams and Visualization

  • A Hasse diagram is a graphical representation of a partially ordered set
  • Elements of the poset are represented as vertices or nodes in the diagram
  • If aba \leq b in the poset and there is no element cc such that acba \leq c \leq b, then there is an edge drawn from aa to bb
    • This edge represents a "covers" relation, denoted as aba \prec b or bab \succ a
  • The edges are directed upwards, so if aba \leq b, then aa appears below bb in the diagram
  • Transitive relations are not explicitly shown as edges in the Hasse diagram
  • Incomparable elements are not connected by an edge and are placed side-by-side
  • Hasse diagrams provide a clear visual representation of the order relations and structure of a poset

Applications and Real-World Examples

  • Partial orders have numerous applications in computer science, mathematics, and real-world scenarios
  • Subset relation (\subseteq) on a collection of sets is a partial order
    • Reflexive: every set is a subset of itself
    • Antisymmetric: if ABA \subseteq B and BAB \subseteq A, then A=BA = B
    • Transitive: if ABA \subseteq B and BCB \subseteq C, then ACA \subseteq C
  • Divisibility relation (|) on positive integers is a partial order
    • Reflexive: every positive integer divides itself
    • Antisymmetric: if aba | b and bab | a, then a=ba = b
    • Transitive: if aba | b and bcb | c, then aca | c
  • Precedence relations in scheduling tasks or events form a partial order
    • Task AA precedes task BB if AA must be completed before BB can start
  • Hierarchical structures, such as family trees or organizational charts, can be modeled using partial orders
  • Partial orders are used in version control systems to represent the history and relationships between different versions of files or projects


© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.