Prove or disprove: If a, b belong to the set of positive integers, and if a divides b and b divides a, then a=b. Does this hold if if a,b are not necessarily positive? Why or Why not?
Here is what I have:
If a and b are integers, we say a divides b if there exists an integer k so that b=ak. Thus: $$b=ak$$ $$a=bj$$
$$a=akj$$ $$kj=1$$
Since a divides b and b divides a, we know that k,j must both be integer, which means k and j must both equal 1 or -1. This means:
$$a=b$$
This proves that a=b when we assume that a,b are both positive integers.
For the second part of the question, I am asked if I can still say a=b if the assumption about a, b is relaxed so that a,b belong to the integers (not the positive integers.) I think The answer is no, I cannot say that a=b for every case when we allow a,b to also be negative integers.
Here is my reasoning (I use the same idea that a=bj and b=ak here)
$$+/-a=akj$$ $$+/-1=kj$$
So $ |a|=|b|$ but not $a=b$
I'm very new to proofs so any suggestions or thoughts are greatly appreciated.