Prove the following assertion: ## ca\equiv cb \mod cn ##.

  • Thread starter Thread starter Math100
  • Start date Start date
AI Thread Summary
The discussion centers on proving the assertion that if a ≡ b (mod n) and c > 0, then ca ≡ cb (mod cn). The proof begins by establishing that n divides (a-b), allowing for the expression kn = a-b for some integer k. It then demonstrates that ca - cb can be rewritten as ckn, leading to the conclusion that ca ≡ cb (mod cn). Participants clarify that the condition c | n is not necessary for the proof, emphasizing the importance of basic algebra. The final proof is confirmed as valid and concise.
Math100
Messages
813
Reaction score
229
Homework Statement
Prove the following assertion:
If ## a\equiv b \mod n ## and ## c>0 ##, then ## ca\equiv cb \mod cn ##.
Relevant Equations
None.
Proof:

Suppose ## a\equiv b \mod n ## and ## c\mid n ##.
Then ## n\mid (a-b)\implies kn=a-b ## for some ## k\in\mathbb{Z} ##.
Since ## c\mid n ##, it follows that ## ca-cb=ckn\implies ca-cb=k(cn) ##.
Thus ## ca\equiv cb \mod cn ##.
Therefore, if ## a\equiv b \mod n ## and ## c>0 ##, then ## ca\equiv cb \mod cn ##.
 
Physics news on Phys.org
Math100 said:
Homework Statement:: Prove the following assertion:
If ## a\equiv b \mod n ## and ## c>0 ##, then ## ca\equiv cb \mod cn ##.
Relevant Equations:: None.

Proof:

Suppose ## a\equiv b \mod n ## and ## c\mid n ##.
Then ## n\mid (a-b)\implies kn=a-b ## for some ## k\in\mathbb{Z} ##.
Since ## c\mid n ##, it follows that ## ca-cb=ckn\implies ca-cb=k(cn) ##.
Thus ## ca\equiv cb \mod cn ##.
Therefore, if ## a\equiv b \mod n ## and ## c>0 ##, then ## ca\equiv cb \mod cn ##.
The given information does not say that ##c## divides ##n## .

Furthermore, you don't need that in the place that you used it. All that's needed there is some basic algebra.
 
SammyS said:
The given information does not say that ##c## divides ##n## .

Furthermore, you don't need that in the place that you used it. All that's needed there is some basic algebra.
Then should I write "Suppose ## a\equiv b \mod n ## and ## c>0 ##" in the first sentence? And how can I show/prove or where should I insert that ## c\mid n ##?
 
Math100 said:
Then should I write "Suppose ## a\equiv b \mod n ## and ## c>0 ##" in the first sentence? And how can I show/prove or where should I insert that ## c\mid n ##?
Not anywhere in this proof.

The problem does not state that ## c\mid n ##. So, as you might expect, it's not needed for the proof.
 
Suppose ## a\equiv b \mod n ## and ## c>0 ##.
Then ## n\mid (a-b)\implies kn=a-b ## for some ## k\in\mathbb{Z} ##.
Note that ## ca-cb=ckn\implies ca-cb=k(cn) ##.
Thus ## ca\equiv cb \mod cn ##.
Therefore, if ## a\equiv b \mod n ## and ## c>0 ##, then ## ca\equiv cb \mod cn ##.

How about this revised proof above?
 
  • Like
Likes fresh_42 and Delta2
Math100 said:
Suppose ## a\equiv b \mod n ## and ## c>0 ##.
Then ## n\mid (a-b)\implies kn=a-b ## for some ## k\in\mathbb{Z} ##.
Note that ## ca-cb=ckn\implies ca-cb=k(cn) ##.
Thus ## ca\equiv cb \mod cn ##.
Therefore, if ## a\equiv b \mod n ## and ## c>0 ##, then ## ca\equiv cb \mod cn ##.

How about this revised proof above?
Yes. That's good.
 
Back
Top