Prove that the relation in the set given by is even is an equivalence relation.
Relations · Question 15 of 16
Prove that the relation R in the set A = 1, 2, 3, 4, 5 given by R = (a, b) : a - b is even is an equivalence relation.
Solution:
Key idea: An equivalence relation is reflexive, symmetric and transitive. Here means is even; a number is even when it can be written as for some integer .
Step 1 — Show is reflexive. We must show for every , i.e. that is even.
, so 0 is even.
So , and is reflexive.
Step 2 — Show is symmetric. We assume and show .
means is even.
is the negative of , so they have the same absolute value:
So is even, and . is symmetric.
Step 3 — Show is transitive. We assume and and show .
is even, so is even; similarly is even.
Write as a sum of these two:
The sum of two even numbers is even, so is even, and so is .
So , and is transitive.
Note: The pair is in exactly when and are both odd or both even, so the classes are and .
Hence is an equivalence relation on .
