If a and b are both quadratic residues/nonresidues mod p & q

Click For Summary
SUMMARY

The discussion centers on the mathematical problem of determining solutions to the equation \(x^2 \equiv ab \mod pq\) where \(p\) and \(q\) are distinct odd primes and \(a\) and \(b\) are quadratic residues or nonresidues modulo \(p\) and \(q\). The key conclusion is that if both \(a\) and \(b\) are quadratic residues modulo \(p\) and \(q\), then \(ab\) is also a quadratic residue for both primes. The Chinese Remainder Theorem is mentioned as a potential method for solving the problem, but complications arise when attempting to combine the solutions for \(p\) and \(q\).

PREREQUISITES
  • Understanding of quadratic residues and nonresidues
  • Familiarity with Legendre symbols
  • Knowledge of the Chinese Remainder Theorem
  • Basic modular arithmetic concepts
NEXT STEPS
  • Study the properties of quadratic residues in number theory
  • Learn how to apply the Chinese Remainder Theorem in solving modular equations
  • Explore counterexamples in modular arithmetic to deepen understanding
  • Investigate the implications of Legendre symbols in quadratic equations
USEFUL FOR

Mathematicians, students studying number theory, and anyone interested in modular arithmetic and quadratic residues will benefit from this discussion.

sunnyceej
Messages
15
Reaction score
0

Homework Statement


If a and b are both quadratic residues/nonresidues mod p & q where p and q are distinct odd primes and a and b are not divisible by p or q, Then x2 = ab (mod pq)

Homework Equations


Legendre symbols: (a/p) = (b/p) and (a/q) = (b/q)
quadratic residue means x2 = a (mod p)

The Attempt at a Solution


I know that since (a/p) = (b/p) and (a/q) = (b/q) that (ab/p) = 1 and (ab/q) = 1 (ab is a quadratic residue for both mod p and mod q). So I have x12=ab(mod p) and x22=ab(mod q).

The Chinese remainder theorem takes me in circles, and since I can't guarantee x12= x22, then I can't just multiply p and q and call it good. I've spent hours trying to find a counter example since I can't figure out how to combine p and q into the same mod. So I'm stuck. any hints on what to look at for either a proof or counterexample?
 
Physics news on Phys.org
Let ##n = pq## where ##p## and ##q## are odd primes. You wish to solve:

$$x^2 \equiv ab \space \text{mod n}$$

From the information given, the above equation takes the form:

$$x^2 - ab \equiv 0 \space \text{mod n}$$

$$\Rightarrow (x - ab)(x + ab) \equiv 0 \space \text{mod n}$$

So we know:

$$(x - ab) \equiv 0 \space \text{mod n}$$
$$(x + ab) \equiv 0 \space \text{mod n}$$

How many solutions can you see? Some of them will be relatively straightforward, then you need to do the old switcheroo.
 
Last edited:

Similar threads

Replies
30
Views
3K
  • · Replies 8 ·
Replies
8
Views
6K
  • · Replies 16 ·
Replies
16
Views
3K
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K