Question
Question: On the set \(\mathbb{Z}\) of all integers, consider the relation \[R=\left\\{ \left( a,b \right):a-b...
On the set Z of all integers, consider the relation R=\left\\{ \left( a,b \right):a-b\text{ is divisible by 3} \right\\}.
Show that R is an equivalence relation on Z.
Also, find the partitioning of Z into mutually disjoint equivalence classes.
Solution
Hint: Recall the definition of an equivalence relation. Use the fact that 0 is divisible by 3 to prove that the relation is reflexive. Use the fact that if a number is divisible by 3, then its negative is also divisible by 3 to prove that the relation is symmetric. Use the fact that the sum of two numbers divisible by 3 is also divisible by 3 to prove that the relation is transitive. Hence prove that the relation is an equivalence relation. Form three classes of numbers, viz the class of numbers leaving 0 as remainder on division by 3, the class of numbers leaving 1 as remainder on division by 3 and the class of numbers leaving 2 as remainder on division by 3. Prove that the classes so formed are equivalence classes and define a partition of the set of integers.
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.
Class of an equivalence relation: A set S is said to be an equivalence class of a relation R if ∀a,b∈S,aRb and if aRb then a∈S⇒b∈S,i.e. any two elements of an equivalence class are related to each other and any two elements which are related to each other are either both present in the equivalence class or both not in the equivalence class.
Reflexivity: We have ∀a∈Z, a- a = 0 and 0 is divisible by 3. Hence, ∀a∈Z,aRa. Hence the relation is reflexive.
Symmetricity: We have if a-b is divisible by 3, then –(a-b) = b-a is also divisible by 3. Hence if aRb then bRa and hence the relation is symmetric.
Transitivity: We know that the sum of two integers divisible by 3 is also divisible by 3. Hence if a-b is divisible by 3 and b-c is divisible by 3, then a-b+b-c = a-c is also divisible by 3.
Hence, we have aRb,bRc⇒aRc , and hence the relation is transitive.
Since the relation is reflexive, symmetric and transitive, the relation is an equivalence relation.
Consider the three classes of integers
\begin{aligned}
& {{C}_{1}}=\left\\{ 3n,n\in \mathbb{Z} \right\\} \\\
& {{C}_{2}}=\left\\{ 3n+1,n\in \mathbb{Z} \right\\} \\\
& {{C}_{3}}=\left\\{ 3n+2,n\in \mathbb{Z} \right\\} \\\
\end{aligned}
Claim 1: The classes C1,C2 and C3 are equivalence classes of the relation R.
Proof: Let ai,bi∈Ci for some arbitrary i={1,2,3}
Hence, we have ai=3n+(i−1) and bi=3m+(i−1) where m,n∈Z
Hence, we have ai−bi=3n+(i−1)−3m−(i−1)=3n−3m=3(n−m)
Hence, we have aiRbi.
Now let aRb and a∈Ci,b∈Cj
Hence, we have a=3n+(i−1) and b=3m+\left( j-1 \right),i,j\in \left\\{ 1,2,3 \right\\} where m,n∈Z.
Hence, we have a−b=3(n−m)+(i−j)
Since a-b is divisible by 3, we have i-j is divisible by 3.
Now, we have i−j∈[−2,2]
Hence if 3 divides i-j, then i-j = 0.
Hence i=j and hence they belong to the same class.
Hence C1,C2 and C3 are equivalence classes of relation R.
Claim 2: C1,C2 and C3 form a partition of the set of integers.
We know from Euclid’s division lemma ∀n∈Z,n=3q+r,0≤r≤2,q,r∈Z
Hence every integer is of one of the form 3n,3n+1 or 3n+2
Hence every integer belongs to one of the classes C1,C2 or C3
Hence, we have Z=C1⋃C2⋃C3
Also clearly C1⋂C2=ϕ,C2⋂C3=ϕ and C1⋂C3=ϕ. Hence C1,C2 and C3 form a partition of the set of integers.
Note: [1] Students usually make a mistake while proving reflexivity of a relation. In reflexivity, we need all the elements of a to be related with themselves, and even if a single element is found such that it is not related with itself, then the relation is not reflexive.
[2] The set of equivalence classes of an equivalence relation on a set A defines a partition on the set and a partition of a set A defines an equivalence relation on the set A.