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
![\equiv \mod 4](https://img.qammunity.org/2020/formulas/mathematics/college/wdhlml73bih73yo1drj842u7mit1are93p.png)
- x=0 and y=1 is an example of a pair
![\\ot \equiv \mod 4](https://img.qammunity.org/2020/formulas/mathematics/college/pcf4901v0f3wv0shwbb3opbo0s3f0clzdh.png)
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
![x\equiv y \mod m \iff y\equiv x \mod m](https://img.qammunity.org/2020/formulas/mathematics/college/nxn8y3uj1639wz3tw3prd9og5dtddni4z7.png)
- Transitivity. Let x,y,z and m such that
and
. Then,
and
. Therefore:
.
In conclusion,
defines an equivalence relation.