Explanation:
a) Give two pairs which are in the relation
and two pairs that are not.
As stated before, a pair
is equal mod m (written
) if
. Then:
- x=0 and y=4 is an example of a pair

- x=0 and y=1 is an example of a pair

b) Show the
is an equivalence relation.
An equivalence relation is a binary relation that is reflexive, symmetric and transitive.
By definition
is a binary relation. Observe that:
- Reflexive. We know that, for every m,
. Then, by definition,
. - Symmetry. It is clear that, given x,y and m such that
, then
. Therefore

- Transitivity. Let x,y,z and m such that
and
. Then,
and
. Therefore:
.
In conclusion,
defines an equivalence relation.