Given $X = \{1, 2, 3, 4\}$. Define a relation $\mathbf{R}$ over $P(X)$ as follows: For two elements $A,B ∈ P(X)$, $A \mathrel{\mathbf{R}} B$ if $|A| ≡ |B| \pmod{3}$.
(a) Demonstrate that the previous relation is an equivalence relation.
(b) Determine the cardinality of every equivalence class.
I have found how many classes in there which is the trivial part of the question as it is modulo $3$ then we have three classes $C_0$, $C_1$, $C_2$.
But I am not able to demonstrate that the previous relation is an equivalence relation or the cardinality of the equivalence classes.
Sorry for being inefficient even tho the question might be easy.
Guide:
You have to show the following.
In particular, transitivity is simply $|A|\equiv |B| \pmod{3}$ and $|B|\equiv |C| \pmod{3}$, then we have $|A| \equiv |C| \pmod{3}$.
Try to write out what they mean and you should be able to use the property of modulo arithmetic to see why it is an equivalence relation.
As for how many members each equivalence class has. Try to answer the following question.