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
816
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:
Since ##px^9+q## is the factor, then ##x^9=\frac{-q}{p}## will be one of the roots. Let ##f(x)=27x^{18}+bx^9+70##, then: $$27\left(\frac{-q}{p}\right)^2+b\left(\frac{-q}{p}\right)+70=0$$ $$b=27 \frac{q}{p}+70 \frac{p}{q}$$ $$b=\frac{27q^2+70p^2}{pq}$$ From this expression, it looks like there is no greatest value of ##b## because increasing the value of ##p## and ##q## will also increase the value of ##b##. How to find the greatest value of ##b##? Thanks
I tried to combine those 2 formulas but it didn't work. I tried using another case where there are 2 red balls and 2 blue balls only so when combining the formula I got ##\frac{(4-1)!}{2!2!}=\frac{3}{2}## which does not make sense. Is there any formula to calculate cyclic permutation of identical objects or I have to do it by listing all the possibilities? Thanks
Back
Top