Prove the following assertion about modular arithmetic

  • Thread starter Thread starter Math100
  • Start date Start date
  • Tags Tags
    Arithmetic
AI Thread Summary
The proof establishes that if a is congruent to b modulo n, then the difference a-b is divisible by n. Given that m divides n, it can be expressed as n=mp for some integer p. This leads to the conclusion that a-b can also be expressed as a multiple of m, specifically a-b=mq, where q is an integer. Therefore, it follows that m divides the difference a-b. The final assertion confirms that if a is congruent to b modulo n and m divides n, then a is also congruent to b modulo m.
Math100
Messages
813
Reaction score
229
Homework Statement
Prove the following assertion:
If ## a\equiv b \mod n ## and ## m\mid n ##, then ## a\equiv b \mod m ##.
Relevant Equations
None.
Proof:

Suppose ## a\equiv b \mod n ##.
Then ## n\mid (a-b)\implies a-b=kn ## for some ## k\in\mathbb{Z} ##.
Since ## m\mid n ##, it follows that ## n=mp ## for some ## p\in\mathbb{Z} ##.
Note that ## a-b=k(mp)\implies a-b=mq ## where ## q=kp ## is an integer.
Thus ## m\mid (a-b) ##.
Therefore, if ## a\equiv b \mod n ## and ## m\mid n ##, then ## a\equiv b \mod m ##.
 
Physics news on Phys.org
Math100 said:
Homework Statement: Prove the following assertion:
If ## a\equiv b \mod n ## and ## m\mid n ##, then ## a\equiv b \mod m ##.
Relevant Equations: None.
Proof:
Suppose ## a\equiv b \mod n ##.
Then ## n\mid (a-b)\implies a-b=kn ## for some ## k\in\mathbb{Z} ##.
Since ## m\mid n ##, it follows that ## n=mp ## for some ## p\in\mathbb{Z} ##.
Note that ## a-b=k(mp)\implies a-b=mq ## where ## q=kp ## is an integer.
Thus ## m\mid (a-b) ##.
Therefore, if ## a\equiv b \mod n ## and ## m\mid n ##, then ## a\equiv b \mod m ##.
## ~ ##
Looks good.
 
Last edited:
Back
Top