Let m be a positive integer. Show that a mod m = b mod m if a ≡ b (mod m).
use the definition
according to the defintion, a = b(mod m) then m divides a - b
\(\large a\equiv b \pmod n\) means \(\large n|(a-b)\)
\(a\equiv b \pmod m \implies a = ms + b\) for some \(s\)
Next consider \(a \pmod m\) By division algorithm there exists some \(r, t\) such that \(a = mt + r\) where \(0 \le r\lt m\)
fine with above two steps right ?
eliminate \(a\) from both equations you get : \(a-a = ms+b - (mt+r)\)
simplifying a bit you get : \(b = m(t-s) + r\) where \(0\le r\lt m\) again
So we have : \(\large a = mt + r\) \(b = m(t-s) + r\) where \(0\le r\lt m\)
t and r for some integer?
that precicely means \(a\pmod m = r\) \(b\pmod m = r\) right ?
yes
yeah so if I use 0 then a (mod m) = b (mod m)?
they both equal to r so they are equal to each other too
lol thats it?
thats it, you don't look convinced hmm
just a little confusing. Discrete math isnt my favorite math subject :(
and my teacher isnt being very helpful. Im taking it online.. i know it is a bad idea!
All these congruence proofs just require you to check with the definition of congruence relation at each step. And luckily there is only one definition to check - check my first reply from top
for example, if u have some equation like : \(a = mt + r\) you can express it using congruence definition as \(a\equiv r \pmod m\)
I cant copy and paste for some reason. its your 3rd post. where did you find that defintion?
\(a\equiv b \pmod m \implies a = ms + b\) for some \(s\) this one ?
yes
thats same as the definition you gave me, let me break it into steps :)
\(a\equiv b \pmod m \implies m | (a-b)\) fine ?
sure..
that means there will be some integer factor \(s\) such that : \((a-b) = ms\) still fine ?
yeah I guess its fine lol
kick that \(b\) to other side, you get : \(a = ms + b\)
ah I see.. ok thanks!
after doing few congruence proofs, it becomes easy to see why below is same as the definition. you can use below directly and skip that intermediate division step : \[a \equiv b\pmod m \implies a = mq + b\]
is that other method?
its same, i have just skipped the intermediate step
whats the intermediate step?
\[a \equiv b\pmod m \color{Red}{\implies m|(a-b) \implies (a-b) = mq} \implies a = mq + b\]
Oh i see
you dont need to show those intermediate steps in red always you can directly jump from first step to last once u get hang of congruences
Yeah thanks
Join our real-time social learning platform and learn together with your friends!