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

  • Thread starter Math100
  • Start date
  • Tags
    Integer
In summary, when two integers have the same remainder when divided by the greatest common divisor of two other integers, then those two integers will also have the same remainder when divided by the greatest common divisor. This is due to the transitivity property of equivalence relations.
  • #1
Math100
802
222
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 fresh_42
Physics news on Phys.org
  • #2
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 Math100

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

What does it mean for two integers to be congruent mod n?

Two integers, b and c, are said to be congruent mod n if they have the same remainder when divided by n. In other words, if the difference between b and c is a multiple of n.

How do you prove that two integers are congruent mod n?

To prove that b and c are congruent mod n, you must show that their difference, b - c, is divisible by n. This can be done by using the definition of congruence or by using other properties of congruence, such as the fact that adding or subtracting a multiple of n does not change the congruence.

Can two integers be congruent mod n if they are not equal?

Yes, two integers can be congruent mod n even if they are not equal. For example, 5 and 10 are congruent mod 5 because their difference, 10 - 5, is a multiple of 5.

What is the significance of proving congruence mod n?

Proving congruence mod n can be useful in a variety of mathematical contexts, such as number theory, algebra, and cryptography. It allows us to simplify calculations and make certain statements about the relationship between two numbers.

Are there any special cases when proving congruence mod n?

Yes, there are a few special cases to consider when proving congruence mod n. For example, if n is 0 or 1, then any two integers will be congruent mod n. Additionally, if n is a prime number, there are certain properties and theorems that can be used to prove congruence more easily.

Back
Top