Find all equivalence classes?

173 Views Asked by At

a) Let S be : S={3,4,5,6,7,8} and the relation ~ defined as m~n if m^2 ≡ n^2 (mod 5).

b) Let S be : S={1,2,3,4,5,6,7,8} and the relation ~ defined as m~n if m ≡ n (mod 4).

Can someone help me with this ?

1

There are 1 best solutions below

1
On BEST ANSWER

That looks pretty straight forward- especially since the set is small enough to just calculate everything. The given base set is {3, 4, 5, 6, 7, 8}. Since the equivalence relation involves squares modulo 7, I would first calculate those: 3^2= 9= 4 (mod 5), 4^2= 16= 1 (mod 5), 5^2= 25= 0 (mod 5), 6^2= 36= 1 (mod 5), 7^2= 49= 4 (mod 5), 8^2= 64= 4 (mod 5). 3, 7, and 8 all have squares equal to 4 modulo 5 so are "equivalent". One equivalence class is {3, 7, 8}. 4 and 6 have squares equal to 1 modulo 5 so are "equivalent" so another equivalence class is {4, 6}. 5 is alone in its equivalence class- the third equivalence class is the singleton set {5}.

For the second problem you have "m mod n (mod 4)". I have no idea what that means! Do you intend "m= n (mod 4)"? If so, then 3= 3 (mod 4), 4= 0 (mod 4), 5= 1 (mod 4), 6= 2 (mod 4), 7= 3 (mod 4), and 8= 0 (mod 4). 3 and 7 are both equal to 3 (mod 4) so one equivalence class is {3, 7}. 4 and 8 are both equal to 0 (mod 4) so another equivalence class is {4, 8}. 5 and 6 form equivalence classes of their, {5}, and {6}.