Question
Question: Give an example to show that the union of two equivalence relations on a set A need not be an equiva...
Give an example to show that the union of two equivalence relations on a set A need not be an equivalence relation on A.
Solution
Hint: Recall the definition of an equivalence relation. Consider two relations R1 and R2 on the set of integers defined as aR1b⇔5∣b−a and aR2b⇔7∣b−a. Argue that R1 and R2 are equivalence relations in Z but R1⋃R2 is not. Hence prove that the union of two equivalence relations may not be an equivalence relation.
Complete step-by-step answer:
Before solving the question, we need to understand what is an equivalence relation.
Reflexive relation: A relation R on a set “A” is said to be reflexive if ∀a∈A we have aRa.
Symmetric relation: A relation R on a set “A” is said to be symmetric if aRb⇒bRa
Transitive relation: A relation R on a set “A” is said to be transitive if aRb,bRc⇒aRc.
Equivalence relation: A relation R on a set “A” is said to be an equivalence relation if the relation is reflexive, symmetric and transitive.
Consider two relations R1 and R2 on Z be such that aR1b⇔a−b is divisible by 5 and aR2b⇔a−b is divisible by 7.
Claim 1: R1 is an equivalence relation.
Proof:
Reflexivity: We know that ∀a−a=0 which is divisible by 5. Hence we have ∀a∈Z,aR1a. Hence the relation is reflexive.
Symmetricity: We know that if a-b is divisible by 5, then b-a is also divisible by 5. Hence, we have aR1b⇒bR1a. Hence the relation is symmetric.
Transitivity: We know that the sum of two integers divisible by 5 is also divisible by 5. Hence, we have if a-b is divisible by 5 and b-c is divisible by 5, then a-b+b-c= a-c is also divisible by 5.
Hence, we have aR1b,bR1c⇒aR1c. Hence the relation is transitive.
Since the relation is reflexive, symmetric and transitive, the relation is an equivalence relation.
Claim 2: R2 is an equivalence relation.
Proof:
Reflexivity: We know that ∀a−a=0 which is divisible by 7. Hence we have ∀a∈Z,aR2a. Hence the relation is reflexive.
Symmetricity: We know that if a-b is divisible by 7, then b-a is also divisible by 7. Hence, we have aR2b⇒bR2a. Hence the relation is symmetric.
Transitivity: We know that the sum of two integers divisible by 7 is also divisible by 7. Hence, we have if a-b is divisible by 7 and b-c is divisible by 7, then a-b+b-c= a-c is also divisible by 7.
Hence, we have aR2b,bR2c⇒aR2c. Hence the relation is transitive.
Since the relation is reflexive, symmetric and transitive, the relation is an equivalence relation.
Claim 3: R1⋃R2 is not transitive.
We have 7-2 = 5 which is divisible by 5.
Hence, (7,2)∈R1⇒(7,2)∈R1⋃R2
Also 2-(-5) = 2+5=7 which is divisible by 7.
Hence, (2,−5)∈R2⇒(2,−5)∈R1⋃R2
However 7-(-5) = 12, which is neither divisible by 5 nor by 7.
Hence, we have (7,−5)∈/R1 and (7,−5)∈/R2⇒(7,−5)∈/R1⋃R2.
Hence we have (7,2)∈R1⋃R2,(2,−5)∈R1⋃R2 but (7,−5)∈/R1⋃R2.
Hence R1⋃R2 is not transitive.
Since R1⋃R2 is not transitive, it is not an equivalence relation.
Hence the union of two equivalence relations on a set may not be an equivalence relation.
Note: Alternative solution:
Choose the following relations on the set A ={1,2,3,4} defined as
{{R}_{1}}=\left\\{ \left( 1,1 \right),\left( 2,2 \right),\left( 3,3 \right),\left( 4,4 \right),\left( 1,2 \right),\left( 2,1 \right) \right\\} and {{R}_{1}}=\left\\{ \left( 1,1 \right),\left( 2,2 \right),\left( 3,3 \right),\left( 4,4 \right),\left( 2,3 \right),\left( 3,2 \right) \right\\}.
Observe that R1 and R2 are equivalence relations but (1,2)∈R1⋃R2,(2,3)∈R1⋃R2,(1,3)∈/R1⋃R2.
Hence the union of two equivalence relations is not necessarily an equivalence relation.