-1

Let $a,b\in\mathbb{Z} \backslash \{0\}$. Show that

$a\mid b$, $b\mid a$ $\implies a=\pm b$.

I can see why this is true, but not write it down.

YoTengoUnLCD
  • 13,384
  • Hint: $a\mid b$ implies that $b=c_1a$ for some integer $c_1$. Similarly you get $a=c_2b$. what can you deduce from $c_1c_2=1$? – Jyrki Lahtonen Aug 22 '15 at 18:37

3 Answers3

2

If $a|b, b=an$ where $n$ is an integer

Similarly, $b|a\implies a=bm$ where $m$ is an integer

$\implies ab=abmn\iff mn=1$

But $m,n$ are integers, so what are the possible values of $m,n?$

1

$a=tb$ and $b=sa$ gives $a=tsa$, which means $ts=1$. Now, $t$ and $s$ are both integers, so...

Arthur
  • 199,419
0

If $a|b$ then $|a|\leq |b|$. Similarly $b|a$ implies $|b|\leq |a|$. So $a=b$ or $a=-b$.

Euler88 ...
  • 2,090