ScholarQuill logoScholarQuillUniversity Notes
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
Study Tools
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
Contact
ScholarQuill logo
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
ScholarQuill logoScholarQuillUniversity Notes
Study PortalMATH2113Relations Equivalence
Ctrl + K
Login
Explore
Search
Semester
Papers
CGPA
    MATH2113

    Discrete Mathematics

    Progress0 / 25 done
    Topics25
    1Sets, Subsets, Algebra of Sets2Propositions and Compound Statements3Basic Logical Operations4Propositional Logic and its Applications with Statement Problems5Propositions and Truth Tables6Tautologies and Contradictions7Conditional and Bi-conditional Statements8Arguments in Propositional Logic9Propositional Functions10Quantifiers and Negation of Quantified Statements11Relations and Equivalence Relations12Partial Ordering Relations13Functions and Recursively Defined Functions
    14Basics of Counting Methods15Combinations and Permutations16Pigeonhole Principle17Graphs and its Types18Graph Isomorphism19Trees in Graph Theory20Connectivity in Graphs21Eulerian and Hamiltonian Paths22Spanning Trees and Shortest Path Problem
    23Power, Floor, Increasing, Decreasing24Big O, Little O and Omega Notations25Orders of the Polynomial Functions
    10 min read
    Topic 11 of 25
    Topic Study Note Illustration
    11

    Relations and Equivalence Relations

    Relations and Equivalence Relations


    Relations and Equivalence Relations


    1. What is a Relation?

    A relation on a set AAA is a collection of ordered pairs of elements from AAA. Formally, a relation RRR on a set AAA is a subset of the Cartesian product A×AA \times AA×A.

    For example, if A={1,2,3}A = \{1, 2, 3\}A={1,2,3}, a relation RRR on AAA could be:

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

    This means that 1 is related to 2, and 2 is related to 3.


    2. Types of Relations

    A relation RRR on a set AAA can have different properties. Some important ones are:

    a) Reflexive Relation

    A relation RRR on a set AAA is reflexive if for every element a∈Aa \in Aa∈A, the pair (a,a)(a, a)(a,a) is in the relation RRR.

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

    Example:
    If A={1,2,3}A = \{1, 2, 3\}A={1,2,3}, the relation R={(1,1),(2,2),(3,3)}R = \{(1, 1), (2, 2), (3, 3)\}R={(1,1),(2,2),(3,3)} is reflexive.


    b) Symmetric Relation

    A relation RRR on a set AAA is symmetric if whenever (a,b)∈R(a, b) \in R(a,b)∈R, then (b,a)∈R(b, a) \in R(b,a)∈R.

    ∀a,b∈A, (a,b)∈R⇒(b,a)∈R\forall a, b \in A, \, (a, b) \in R \Rightarrow (b, a) \in R∀a,b∈A,(a,b)∈R⇒(b,a)∈R

    Example:
    If A={1,2,3}A = \{1, 2, 3\}A={1,2,3}, and R={(1,2),(2,1)}R = \{(1, 2), (2, 1)\}R={(1,2),(2,1)}, this relation is symmetric because if 1 is related to 2, then 2 is also related to 1.


    c) Transitive Relation

    A relation RRR on a set AAA is transitive if whenever (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.

    ∀a,b,c∈A, (a,b)∈R and (b,c)∈R⇒(a,c)∈R\forall a, b, c \in A, \, (a, b) \in R \, \text{and} \, (b, c) \in R \Rightarrow (a, c) \in R∀a,b,c∈A,(a,b)∈Rand(b,c)∈R⇒(a,c)∈R

    Example:
    If A={1,2,3}A = \{1, 2, 3\}A={1,2,3}, and R={(1,2),(2,3),(1,3)}R = \{(1, 2), (2, 3), (1, 3)\}R={(1,2),(2,3),(1,3)}, the relation is transitive because if 1 is related to 2, and 2 is related to 3, then 1 is also related to 3.


    3. Equivalence Relations

    An equivalence relation is a relation on a set AAA that satisfies three specific properties:

    1. Reflexive: For all a∈Aa \in Aa∈A, (a,a)∈R(a, a) \in R(a,a)∈R.
    2. Symmetric: For all a,b∈Aa, b \in Aa,b∈A, if (a,b)∈R(a, b) \in R(a,b)∈R, then (b,a)∈R(b, a) \in R(b,a)∈R.
    3. Transitive: For all a,b,c∈Aa, b, c \in Aa,b,c∈A, 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.

    If a relation RRR satisfies all three properties, it is called an equivalence relation.


    4. Example of Equivalence Relation

    Let A={1,2,3,4}A = \{1, 2, 3, 4\}A={1,2,3,4} and define a relation RRR by:

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

    This relation RRR is:

    • Reflexive: Each element is related to itself.
    • Symmetric: If (1,2)∈R(1, 2) \in R(1,2)∈R, then (2,1)∈R(2, 1) \in R(2,1)∈R; similarly for (3,4)(3, 4)(3,4) and (4,3)(4, 3)(4,3).
    • Transitive: For example, (1,2)(1, 2)(1,2) and (2,1)(2, 1)(2,1) imply (1,1)(1, 1)(1,1), and so on.

    Thus, RRR is an equivalence relation.


    5. Equivalence Classes

    Given an equivalence relation RRR on a set AAA, the equivalence class of an element a∈Aa \in Aa∈A, denoted by [a][a][a], is the set of all elements that are related to aaa under RRR.

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

    Example:
    For the relation RRR defined on A={1,2,3,4}A = \{1, 2, 3, 4\}A={1,2,3,4}, the equivalence classes are:

    • [1]={1,2}[1] = \{1, 2\}[1]={1,2}
    • [3]={3,4}[3] = \{3, 4\}[3]={3,4}

    Each equivalence class groups elements that are "equivalent" to each other.


    6. Partition of a Set

    An equivalence relation on a set AAA partitions AAA into disjoint equivalence classes. This means that the equivalence classes form a partition of AAA, meaning that:

    • Every element of AAA belongs to exactly one equivalence class.
    • The equivalence classes are disjoint (no overlap).

    Example:
    Given A={1,2,3,4}A = \{1, 2, 3, 4\}A={1,2,3,4} and the relation RRR from earlier, the equivalence classes [1]={1,2}[1] = \{1, 2\}[1]={1,2} and [3]={3,4}[3] = \{3, 4\}[3]={3,4} form a partition of AAA, because each element of AAA is in exactly one equivalence class.


    7. Equivalence Relation Properties

    • Reflexivity: Every element is related to itself.
    • Symmetry: If aaa is related to bbb, then bbb is related to aaa.
    • Transitivity: If aaa is related to bbb and bbb is related to ccc, then aaa is related to ccc.

    These properties ensure that equivalence relations allow us to group elements of a set into classes that share some common property.


    ← Previous topic 10
    Quantifiers and Negation of Quantified Statements
    Next topic 12 →
    Partial Ordering Relations

    Past Papers

    Open this section to view and download past papers

    Click on Show Past Papers to load available exam papers.

    Reading Progress
    0%
    10mremaining
    1.8kwords
    Intermediatelevel
    On This Page

    No headings found

    Study Toolkit

    Subject Portal

    Discrete Mathematics