Prove the following assertion about modular arithmetic

  • Thread starter Thread starter Math100
  • Start date Start date
  • Tags Tags
    Arithmetic
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 1K views
Math100
Messages
823
Reaction score
234
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 ##.
 
Reply
  • Like
Likes   Reactions: fresh_42
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:
Reply
  • Like
Likes   Reactions: Math100