Let $p\in\mathbb N$ be a prime number and define for $x,y\in\mathbb N$, $$x\sim y\iff (p^n|x \iff p^n|y \text{ for all }n\in\mathbb N).$$ The vertical bar $|$ denotes the divisor-operation. Is $\sim$ an equivalent relation on $\mathbb N$? I've already shown reflexivity and symmetry, but I'm stuck on the transitive property.
Is "$x\sim y$ iff $x$ and $y$ have the same powers of $p$ dividing them" an equivalence relation?
2
$\begingroup$
elementary-set-theory
-
3"For all $n \in \mathbb N$?" The only integers $x$ and $y$ satisfying this for all $n$ is the number zero. What do you want exactly? – 2012-06-02
-
1I imagine what gary means is to have "if and only if" in place of "and". – 2012-06-02
-
0I still don't get it? – 2012-06-02
-
0@M.B. The condition is just saying that (for the fixed prime $p$) the highest power of $p$ going into $x$ and $y$ is the same. – 2012-06-02
-
0Ah, $p$ is fixed. I missed that. – 2012-06-02
2 Answers
4
This is a special case of the equivalence relation induced by a function $f:X\to Y$, defined by saying that $a\sim b$ if and only if $f(a)=f(b)$. In your case, the function would send $x\in\mathbb{N}$ to the largest $n$ such that $p^n|x$, or the valuation of $x$ at $p$. Two numbers $x$ and $y$ satisfy the property $$ \forall(n\in\mathbb{N}),\ p^n|x\leftrightarrow p^n|y $$ if and only if they have the same valuation at $p$.
-
1Said another way, "$x\sim y$ iff $x$ and $y$ have the same whatever" is an equivalence relation pretty much no matter what you put in for "whatever". – 2012-06-03
2
If $x\sim y$ and $y\sim z$, then for any $n\in\mathbb{N}$, $$p^n\mid x\iff p^n\mid y\qquad\text{and}\qquad p^n\mid y\iff p^n\mid z.$$ Therefore $p^n\mid x\iff p^n\mid z$, so that $x\sim z$.