If a|b and b|a, find the value of a in terms of b.

65 Views Asked by At

If a|b and b|a, where a and b are integers and a≠0, find the value of a in terms of b.

Assume that b>0.

1

There are 1 best solutions below

0
On BEST ANSWER

Since $a|b \implies b=ak$ and $b|a \implies a=mb$.

Therefore that $$a=mb=mka \implies mk=1 \implies m=k=1 \text { or } m=k=-1 $$

So $a=\pm b$