2
$\begingroup$

Given the finite set of consecutive prime integers:

{2, 3, 5, 7, 11}

It is required to establish an equivalence relation on the set.

  • 1
    "$a \mathrm{R} b$ if and only if $0=0$" is an equivalence relation on that set.2017-01-31
  • 1
    "aRb iff (a-b) is divisible by p", you can check easily that it's reflexive, transitive and symmetric.2017-01-31
  • 0
    Actually "the finite set of prime integers" does not even exist.2017-01-31

2 Answers 2

2

Establishing an equivalence relation on a set $A$ comes to the same as establishing a partition of $A$.

If $\mathcal P$ denotes a partition of $A$ then the corresponding equivalence relation is: $$aRb\text{ if and only if }a,b\in P\text{ for some }P\in\mathcal P$$

So just choose some partition of $\{2,3,5,7,11\}$ and define $R$ as above.

If conversely $R$ denotes an equivalence relation on $A$ then the corresponding partition is the set of equivalence classes of $R$.


1

Thanks to the comment by arberavdullahu, the relation $aRb$ iff $p|(a-b)$, where $p$ denotes any prime in the set defines an equivalence relation on the set. Indeed,

1)$p|(a-a)=0\implies R $ is reflexive

2)$p|(a-b)\implies p|(b-a)=-(a-b)\implies R$ is symmetric

3)$p|(a-b) $ and $p|(b-c)\implies p|(a-c)=(a-b)+(b-c)\implies R$ is transitive.

  • 0
    Works also if $p$ is not prime.2017-01-31
  • 0
    @drhab definitely, i agree with you2017-01-31