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

  • Thread starter Thread starter Math100
  • Start date Start date
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
5 replies · 1K views
Math100
Messages
823
Reaction score
234
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.
 
Reply
  • Like
Likes   Reactions: Delta2
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?
 
Reply
  • Like
Likes   Reactions: 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.
 
Reply
  • Like
Likes   Reactions: Math100