Saying a is equivalent b mod m is like saying:
a = b - qm
where q is the quotient, m is the divisor, and a will equal the remainder. ^ Verify the above statement
So then if we were to solve this equation for qm we would get:
a-b=-qm
This logic is contradicted by my professor when looking at one of his proof examples where he states a = b mod m implies a q exists such that:
a-b=qm
The contradiction is qm is not negative. I understand this has something to do with congruence, but I am not quite understanding how this is correct and where my logic is flawed.