In 19—31, (1) prove that the relation is an equivalence relation, and (2) describe the distinct equivalence classes of each relation.
20. E is the relation defined on Z as follows:
For every
To prove:
(1) The given relation is an equivalence relation,
(2) Describe the distinct equivalence classes of each relation.
Given information:
E is the relation defined onZ as follows: For all m, n ∈Z ,
m E n ⇔ 4 | ( m - n).
Proof:
(1). A relation will be equivalence relation if it is reflexive, symmetric and transitive.
To proof: E is an equivalent relation
Reflexive:
Let
By the definition of divides, 4 divides x − x and thus
Since
Symmetric:
Let us assume that
By the definition of divides, there exists an integer k such that:
Multiply each side by − 1:
Use the distributive property:
By the definition of divides, 4 divides y − x as − k is an integer (because k is an integer).
Since
Transitive:
Let us assume that