Professional Documents
Culture Documents
PAULOS HAILESELASSIE
1.
Let a, b, and m be integers and suppose that there exist integers r and s for which a ≡ r
mod m, b ≡ s mod m, and 0 ≤ r, s < m. Prove that a ≡ b mod m if and only if r = s.
the forward direction of the statement is ”if a ≡ b mod m then r = s” with the given
information of:
let a, b and m be integers and k be and suppose that there exists integers r and s such
that a r mod m and b ≡ s mod m and 0 ≤ r, s < m
Proof:
so the information we are given is that a ≡ r (mod m) and b ≡ s (mod m), then by
transitivity a ≡ s (mod m). so since a ≡ s (mod m) (given in question) then by reflexivity
s ≡ a (mod m).
Also since s ≡ a (mod m) and a ≡ r (mod m) then by reflexivity, s ≡ r (mod m). so this
is how I came up with the expression of s ≡ r (mod m) to use in the following proof.
so now, to prove that this direction is correct I will prove that m divides r-s which is
equivalent to saying r ≡ smodm
the reason why I am using multiple representations of modulo is to show that r-s is 0 which
would mean that r and s are equal.
r ≡ smodm
0≤r<m
0≤s<m
so this implies that the difference between r and s would be strictly less than m, which is
expressed as
r−s<m
since r − s < m, this means that the only integer multiple of m that is equal to r-s is 0
so q=0 this is because if r-s is less than m that means that the only other way that we can
express r-s as a multiple of n is either a non-integer or 0, so since q has to be an integer then
q can only be 0, using this information this will give the following equation:
r − s = mq
by substitution of q=0
r − s = m(0)
r−s=0
now rearranging the equation we get:
r=s
if r = s and then a ≡ b mod m with the following information given in the question:
by reflexivity:
a ≡ b mod m
so since the forward and reverse reading directions of conditional (if then) statements are
both true, the biconditional statement is true.