Understanding the Proof of x mod pq = y mod pq for Distinct Primes p and q

  • Thread starter Thread starter SpiffyEh
  • Start date Start date
  • Tags Tags
    Proof
SpiffyEh
Messages
191
Reaction score
0

Homework Statement



Show that given x mod p = y mod p and x mod q = y mod q, the following is true:
x mod pq = y mod pq.
p and q are distinct primes.


The Attempt at a Solution


Here is the proof from someone that I am trying to understand:

In general, x≡y (mod p) and x≡y (mod q) ⇒ x≡y (mod LCM(p,q)).
Proof. x≡y (mod p) and x≡y (mod q) implies p|x-y and q|x-y
implies LCM(p,q)|x-y, which means x≡y (mod LCM(p,q)). (Q.E.D.)
So, if p and q are different primes, x≡y (mod p) and x≡y (mod q) yield
x≡y (mod pq).


I do not understand the proof. Primarily what does p|x-y mean? or any notation with |. Also, how does the LCM(p,q) come into this?
 
Physics news on Phys.org
a|b means a devides b, which means that there exists an integer number n so that b = a*n
 
Oh ok. That makes more sense. I still don't understand how the LCM comes in but it's starting to come together some more. Thanks!
 
You're welcome. It's weird actually they brought the LCM up, because if p and q are primes, then LCM(p,q)=p*q
Hope that helps
 
Is there another way to prove this without LCM?
 
don't worry about the LCM. If p and q are primes, then LCM(p,q) = p*q, so it's the same thing!
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top