ScholarQuill logoScholarQuillUniversity Notes
  • Notes
  • Past Papers
  • Blogs
  • Todo
Login
ScholarQuill logoScholarQuillUniversity Notes
Login
NotesPast PapersBlogsTodo
More
SubjectsDiscussionCGPA CalculatorGPA CalculatorStudent PortalCourse Outline
About
About usPrivacy PolicyReportContact
Notes
Past Papers
Blogs
Todo
Analytics
    Current Subject
    🧩
    Discrete Structures
    GE-167
    Progress0 / 67 topics
    Topics
    1. Mathematical Reasoning: Propositional and Predicate Logic2. Propositional Logic: Logical Operators3. Translations Between Symbolic Expressions and Formal English Expression4. Logical Equivalences5. Predicate Logic: Quantifiers6. Nested Quantification7. Equivalences in Predicate Logic8. Translations Between Symbolic Forms and Formal English9. Rules of Inference: Proof Methods and Strategies10. Direct Proof11. Proof by Contraposition12. Proof by Induction13. Proof by Implication14. Existence Proof15. Uniqueness Proofs16. Trivial Proofs17. Vacuous Proofs18. Sets: Notations and Set Operations19. Venn Diagrams20. Countable and Uncountable Sets21. Relations: Equivalence Relations and Partitions22. Partial Orderings23. Recurrence Relations24. Functions: Injective, Surjective, Bijective25. Special Types of Functions26. Function Composition27. Inverse Functions28. Recursive Functions29. Compositions30. Number Theory: Sequences and Series31. Counting: Inclusion and Exclusion Principle32. Pigeonhole Principle33. Permutations and Combinations34. Integers and Divisibility: Division Theorem35. Modular Arithmetic36. LCM and GCD37. Euclidean and Extended Euclidean Method38. Finding Solutions to Congruence39. Primes: Fundamental Theorem of Arithmetic40. Characterizations of Primes41. Mersenne Primes42. Induction: Weak Induction43. Strong Induction44. Recursion and Recurrences: Formulation of Recurrences45. Closed Formulas46. Counting: Product Rule and Sum Rule47. Principle of Inclusion-Exclusion48. Binomial Coefficients49. Pascal's Identity and Pascal’s Triangle50. Binomial Theorem51. Relations: Reflexive, Symmetric, Transitive, and Antisymmetric52. Equivalence Relations and Equivalence Classes53. Partial Orders54. Graph Theory: Terminologies55. Elements of Graph Theory56. Planar Graphs57. Graph Coloring58. Euler Graph59. Hamiltonian Path60. Rooted Trees61. Graph Traversals62. Handshaking Lemma and Corollary63. Special Families of Graphs64. Graph Isomorphism65. Planarity in Graphs66. Eulerian and Hamiltonian Graphs67. Trees in Graph Theory
    GE-167›Equivalence Relations and Equivalence Classes
    Discrete StructuresTopic 52 of 67

    Equivalence Relations and Equivalence Classes

    12 minread
    1,981words
    Intermediatelevel

    Equivalence Relations and Equivalence Classes

    An equivalence relation is a special kind of relation that satisfies three important properties: reflexivity, symmetry, and transitivity. These properties are fundamental in many areas of mathematics, especially in set theory, algebra, and geometry.

    Once a relation is defined as an equivalence relation, it partitions a set into subsets known as equivalence classes. These equivalence classes represent elements that are considered "equivalent" to each other under the given relation.


    1. Equivalence Relation

    A relation RRR on a set AAA is called an equivalence relation if it satisfies the following three properties:

    1.1 Reflexive Property

    For every element a∈Aa \in Aa∈A, the pair (a,a)(a, a)(a,a) must be in the relation RRR. This means that every element is related to itself.

    ∀a∈A,(a,a)∈R\forall a \in A, (a, a) \in R∀a∈A,(a,a)∈R

    1.2 Symmetric Property

    If (a,b)∈R(a, b) \in R(a,b)∈R, then (b,a)∈R(b, a) \in R(b,a)∈R as well. In other words, if aaa is related to bbb, then bbb must be related to aaa.

    ∀a,b∈A, if (a,b)∈R, then (b,a)∈R\forall a, b \in A, \text{ if } (a, b) \in R, \text{ then } (b, a) \in R∀a,b∈A, if (a,b)∈R, then (b,a)∈R

    1.3 Transitive Property

    If (a,b)∈R(a, b) \in R(a,b)∈R and (b,c)∈R(b, c) \in R(b,c)∈R, then (a,c)∈R(a, c) \in R(a,c)∈R as well. This means that if aaa is related to bbb, and bbb is related to ccc, then aaa must also be related to ccc.

    ∀a,b,c∈A, if (a,b)∈R and (b,c)∈R, then (a,c)∈R\forall a, b, c \in A, \text{ if } (a, b) \in R \text{ and } (b, c) \in R, \text{ then } (a, c) \in R∀a,b,c∈A, if (a,b)∈R and (b,c)∈R, then (a,c)∈R

    Example:

    Consider the set A={1,2,3,4}A = \{1, 2, 3, 4\}A={1,2,3,4}, and let the relation RRR be defined by "is congruent to modulo 2," i.e., a∼ba \sim ba∼b if aaa and bbb leave the same remainder when divided by 2.

    The relation RRR on AAA is:

    R={(1,1),(2,2),(3,3),(4,4),(1,3),(2,4)}R = \{(1, 1), (2, 2), (3, 3), (4, 4), (1, 3), (2, 4)\}R={(1,1),(2,2),(3,3),(4,4),(1,3),(2,4)}

    This relation is:

    • Reflexive: Every element is congruent to itself mod 2.
    • Symmetric: If 1∼31 \sim 31∼3, then 3∼13 \sim 13∼1, and similarly for other pairs.
    • Transitive: If 1∼31 \sim 31∼3 and 3∼13 \sim 13∼1, then 1∼11 \sim 11∼1 holds.

    Thus, RRR is an equivalence relation.


    2. Equivalence Classes

    An equivalence class is a subset of the set AAA formed by all elements that are related to a specific element under the equivalence relation. The equivalence class of an element a∈Aa \in Aa∈A, denoted by [a][a][a], consists of all elements in AAA that are equivalent to aaa.

    Formal Definition:

    The equivalence class of an element aaa in AAA, denoted by [a][a][a], is:

    [a]={b∈A∣(a,b)∈R}[a] = \{b \in A \mid (a, b) \in R\}[a]={b∈A∣(a,b)∈R}

    This means that the equivalence class [a][a][a] includes all elements bbb of AAA that are related to aaa.

    Example of Equivalence Classes:

    Consider the set A={1,2,3,4}A = \{1, 2, 3, 4\}A={1,2,3,4} again, with the equivalence relation "congruent modulo 2". The equivalence classes under this relation are:

    • The equivalence class of 111 is: [1]={1,3}[1] = \{1, 3\}[1]={1,3} (since 1∼31 \sim 31∼3)
    • The equivalence class of 222 is: [2]={2,4}[2] = \{2, 4\}[2]={2,4} (since 2∼42 \sim 42∼4)

    Thus, we have two equivalence classes: [1]={1,3}[1] = \{1, 3\}[1]={1,3} and [2]={2,4}[2] = \{2, 4\}[2]={2,4}.

    These equivalence classes partition the set AAA, meaning that every element of AAA belongs to exactly one equivalence class.


    3. Properties of Equivalence Classes

    • Partitioning the Set: The equivalence classes of an equivalence relation partition the set AAA into disjoint subsets. Each element of AAA belongs to exactly one equivalence class, and the union of all equivalence classes is AAA.
    A=⋃a∈A[a]A = \bigcup_{a \in A} [a]A=a∈A⋃​[a]
    • Non-Overlapping: For any two elements a,b∈Aa, b \in Aa,b∈A, the equivalence classes [a][a][a] and [b][b][b] are either the same or disjoint. That is, [a]∩[b]=∅[a] \cap [b] = \emptyset[a]∩[b]=∅ if a≠ba \neq ba=b, and [a]=[b][a] = [b][a]=[b] if a=ba = ba=b.

    • Reflexive Property of Equivalence Classes: Every element aaa of AAA is in its own equivalence class, i.e., a∈[a]a \in [a]a∈[a].


    4. Examples of Equivalence Relations and Classes

    Example 1: Congruence Modulo nnn

    Let AAA be the set of integers Z\mathbb{Z}Z, and define the relation RRR on Z\mathbb{Z}Z by a∼ba \sim ba∼b if a−ba - ba−b is divisible by nnn. This is an equivalence relation (reflexive, symmetric, transitive), and the equivalence classes are the sets of integers congruent modulo nnn.

    For example, for n=3n = 3n=3, the equivalence classes are:

    • [0]={…,−6,−3,0,3,6,… }[0] = \{ \dots, -6, -3, 0, 3, 6, \dots \}[0]={…,−6,−3,0,3,6,…}
    • [1]={…,−5,−2,1,4,7,… }[1] = \{ \dots, -5, -2, 1, 4, 7, \dots \}[1]={…,−5,−2,1,4,7,…}
    • [2]={…,−4,−1,2,5,8,… }[2] = \{ \dots, -4, -1, 2, 5, 8, \dots \}[2]={…,−4,−1,2,5,8,…}

    Example 2: Similarity of Triangles

    Consider the set of all triangles in a plane. Define a relation RRR where two triangles are related if they are congruent (i.e., if one can be transformed into the other by translation, rotation, or reflection). This is an equivalence relation, and the equivalence classes are the distinct shapes of triangles.


    5. Summary of Equivalence Relation Properties

    Property Definition
    Reflexive Every element is related to itself: ∀a∈A,(a,a)∈R\forall a \in A, (a, a) \in R∀a∈A,(a,a)∈R
    Symmetric If aaa is related to bbb, then bbb is related to aaa: (a,b)∈R⇒(b,a)∈R(a, b) \in R \Rightarrow (b, a) \in R(a,b)∈R⇒(b,a)∈R
    Transitive If aaa is related to bbb and bbb is related to ccc, then aaa is related to ccc: (a,b)∈R and (b,c)∈R⇒(a,c)∈R(a, b) \in R \text{ and } (b, c) \in R \Rightarrow (a, c) \in R(a,b)∈R and (b,c)∈R⇒(a,c)∈R

    Conclusion

    An equivalence relation provides a way to classify or group elements that are "equivalent" under a particular relation. The three properties of reflexivity, symmetry, and transitivity ensure that the relation partitions a set into equivalence classes, each of which contains elements that are related to each other in the same way. Equivalence relations are widely used in mathematics to define partitions, quotient sets, and equivalence classes, and they have applications in algebra, geometry, and number theory.

    Previous topic 51
    Relations: Reflexive, Symmetric, Transitive, and Antisymmetric
    Next topic 53
    Partial Orders

    Past Papers

    Open this section to load past papers

    Click on Show Past Papers to see past papers.
    On This Page
      Reading Stats
      Est. reading time12 min
      Word count1,981
      Code examples0
      DifficultyIntermediate