Ask your own question, for FREE!
Discrete Math 8 Online
OpenStudy (anonymous):

Let m be a positive integer. Show that a mod m = b mod m if a ≡ b (mod m).

ganeshie8 (ganeshie8):

use the definition

OpenStudy (anonymous):

according to the defintion, a = b(mod m) then m divides a - b

ganeshie8 (ganeshie8):

\(\large a\equiv b \pmod n\) means \(\large n|(a-b)\)

ganeshie8 (ganeshie8):

\(a\equiv b \pmod m \implies a = ms + b\) for some \(s\)

ganeshie8 (ganeshie8):

Next consider \(a \pmod m\) By division algorithm there exists some \(r, t\) such that \(a = mt + r\) where \(0 \le r\lt m\)

ganeshie8 (ganeshie8):

fine with above two steps right ?

ganeshie8 (ganeshie8):

eliminate \(a\) from both equations you get : \(a-a = ms+b - (mt+r)\)

ganeshie8 (ganeshie8):

simplifying a bit you get : \(b = m(t-s) + r\) where \(0\le r\lt m\) again

ganeshie8 (ganeshie8):

So we have : \(\large a = mt + r\) \(b = m(t-s) + r\) where \(0\le r\lt m\)

OpenStudy (anonymous):

t and r for some integer?

ganeshie8 (ganeshie8):

that precicely means \(a\pmod m = r\) \(b\pmod m = r\) right ?

ganeshie8 (ganeshie8):

yes

OpenStudy (anonymous):

yeah so if I use 0 then a (mod m) = b (mod m)?

ganeshie8 (ganeshie8):

they both equal to r so they are equal to each other too

OpenStudy (anonymous):

lol thats it?

ganeshie8 (ganeshie8):

thats it, you don't look convinced hmm

OpenStudy (anonymous):

just a little confusing. Discrete math isnt my favorite math subject :(

OpenStudy (anonymous):

and my teacher isnt being very helpful. Im taking it online.. i know it is a bad idea!

ganeshie8 (ganeshie8):

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

ganeshie8 (ganeshie8):

for example, if u have some equation like : \(a = mt + r\) you can express it using congruence definition as \(a\equiv r \pmod m\)

OpenStudy (anonymous):

I cant copy and paste for some reason. its your 3rd post. where did you find that defintion?

ganeshie8 (ganeshie8):

\(a\equiv b \pmod m \implies a = ms + b\) for some \(s\) this one ?

OpenStudy (anonymous):

yes

ganeshie8 (ganeshie8):

thats same as the definition you gave me, let me break it into steps :)

ganeshie8 (ganeshie8):

\(a\equiv b \pmod m \implies m | (a-b)\) fine ?

OpenStudy (anonymous):

sure..

ganeshie8 (ganeshie8):

that means there will be some integer factor \(s\) such that : \((a-b) = ms\) still fine ?

OpenStudy (anonymous):

yeah I guess its fine lol

ganeshie8 (ganeshie8):

kick that \(b\) to other side, you get : \(a = ms + b\)

OpenStudy (anonymous):

ah I see.. ok thanks!

ganeshie8 (ganeshie8):

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\]

OpenStudy (anonymous):

is that other method?

ganeshie8 (ganeshie8):

its same, i have just skipped the intermediate step

OpenStudy (anonymous):

whats the intermediate step?

ganeshie8 (ganeshie8):

\[a \equiv b\pmod m \color{Red}{\implies m|(a-b) \implies (a-b) = mq} \implies a = mq + b\]

OpenStudy (anonymous):

Oh i see

ganeshie8 (ganeshie8):

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

OpenStudy (anonymous):

Yeah thanks

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!