Prove that ## b\equiv c\pmod {n} ##, where the integer is....

  • Thread starter Thread starter Math100
  • Start date Start date
  • Tags Tags
    Integer
Click For Summary
SUMMARY

The discussion provides a proof demonstrating that if ## a\equiv b\pmod {n_{1}} ## and ## a\equiv c\pmod {n_{2}} ##, then ## b\equiv c\pmod {n} ##, where ## n=gcd(n_{1}, n_{2}) ##. The proof utilizes the properties of congruences and the definition of the greatest common divisor. It establishes that the difference ## b-c ## is divisible by ## n ##, confirming the equivalence relation. The argument is reinforced by the transitivity property of congruences.

PREREQUISITES
  • Understanding of modular arithmetic and congruences
  • Knowledge of the greatest common divisor (gcd)
  • Familiarity with integer properties and equivalence relations
  • Basic algebraic manipulation skills
NEXT STEPS
  • Study the properties of equivalence relations in mathematics
  • Learn about the applications of the greatest common divisor in number theory
  • Explore advanced topics in modular arithmetic, such as Chinese Remainder Theorem
  • Investigate proofs involving congruences and their implications in cryptography
USEFUL FOR

Mathematicians, students studying number theory, educators teaching modular arithmetic, and anyone interested in proofs related to congruences.

Math100
Messages
817
Reaction score
230
Homework Statement
If ## a\equiv b\pmod {n_{1}} ## and ## a\equiv c\pmod {n_{2}} ##, prove that ## b\equiv c\pmod {n} ##, where the integer ## n=gcd(n_{1}. n_{2}) ##.
Relevant Equations
None.
Proof:

Suppose ## a\equiv b\pmod {n_{1}} ## and ## a\equiv c\pmod {n_{2}} ## where the integer ## n=gcd(n_{1}, n_{2}) ##.
Then ## a-b=n_{1}k_{1} ## and ## a-c=n_{2}k_{2} ## for some ## k_{1}, k_{2}\in\mathbb{Z} ##.
This means ## b-c=n_{2}k_{2}-n_{1}k_{1} ##.
Since ## n=gcd(n_{1}, n_{2}) ##, it follows that ## n_{1}=qn ## and ## n_{2}=tn ## with ## gcd(q, t)=1 ##.
Thus ## b-c=tnk_{2}-qnk_{1}=n(tk_{2}-qk_{1})\implies n\mid (b-c)\implies b\equiv c\pmod {n} ##.
Therefore, ## b\equiv c\pmod {n} ## if ## a\equiv b\pmod {n_{1}} ## and ## a\equiv c\pmod {n_{2}} ##, where the integer ## n=gcd(n_{1}, n_{2}) ##.
 
  • Like
Likes   Reactions: fresh_42
Physics news on Phys.org
That's fine.

Maybe a bit more intuitive is the following order of arguments (same as yours):

##n\,|\,n_1 \,|\,(a-b)## so ##a\equiv b\pmod n## and for symmetry reasons ##a\equiv c\pmod n.## Now ##\equiv## is an equivalence relation (reflexive, symmetric, transitive), hence ##b\equiv c \pmod n## which is the transitivity property.
 
  • Like
Likes   Reactions: Math100

Similar threads

Replies
1
Views
2K
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 19 ·
Replies
19
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 6 ·
Replies
6
Views
1K