Can someone give a simple explanation of quadratic residues?

  • Context: MHB 
  • Thread starter Thread starter Terry1
  • Start date Start date
  • Tags Tags
    Explanation Quadratic
Click For Summary

Discussion Overview

The discussion revolves around the concept of quadratic residues in modular arithmetic, specifically how to determine whether a number is a quadratic residue modulo a given integer. Participants explore methods for identifying quadratic residues and nonresidues, and they share examples to clarify their understanding.

Discussion Character

  • Exploratory
  • Mathematical reasoning

Main Points Raised

  • One participant states that a number q is a quadratic residue mod n if there exists an integer x such that x² ≡ q (mod n).
  • Another participant questions how to determine if a number has solutions for the equation x² ≡ 8 (mod 11), indicating a lack of clarity on the existence of solutions.
  • A method is proposed to find quadratic residues by calculating k² mod n for k ranging from 0 to ⌊(n-1)/2⌋, noting that the results will indicate which numbers are residues and which are nonresidues.
  • Examples are provided to illustrate the method, showing that for mod 3, the quadratic residues are 0 and 1, while 2 is a nonresidue.
  • Another participant attempts to apply the method by listing potential quadratic residues for mod 13 and mod 23, seeking confirmation of their findings.

Areas of Agreement / Disagreement

Participants express uncertainty about the existence of solutions for specific cases, and there is no consensus on the method's application to all numbers. The discussion includes both agreement on the method and differing interpretations of specific examples.

Contextual Notes

Some assumptions about the properties of quadratic residues and the completeness of the method are not fully explored, leaving room for further clarification and exploration.

Terry1
Messages
4
Reaction score
0
Hi,

This is not coursework, just private study.

Ok, I understand that q is a quadratic residue MOD n if x^2 = q MOD n

What I don't understand is how to figure this out?

I read a paper that states "8 is a quadratic residue mod 17, since 5^2 = 8 MOD 17", fair enough.
It then goes on to state that "8 is a quadratic nonresidue mod 11, because x^2 = 8 MOD 11 has no solutions"

How do we know there are no solutions?

Thanks
 
Mathematics news on Phys.org
Terry said:
Hi,

This is not coursework, just private study.

Ok, I understand that q is a quadratic residue MOD n if x^2 = q MOD n

What I don't understand is how to figure this out?

I read a paper that states "8 is a quadratic residue mod 17, since 5^2 = 8 MOD 17", fair enough.
It then goes on to state that "8 is a quadratic nonresidue mod 11, because x^2 = 8 MOD 11 has no solutions"

How do we know there are no solutions?

Thanks

To find if a number is quadratic residue mod x we need to take the numbers k from 0 to x-1 and find

$k^2\,mod\,$ and this shall be a quadratic residue
but because of symmetry as $n^2= (-n)^2$ we need to take k from 0 to $\lfloor\dfrac{x-1}{2}\rfloor$

the numbers we find in above from 0 to n-1 (0 and 1 are always there) are quadratic residue and that are not there are quadratic non residue

for example $0^2 = 0\,mod \, 3$
$1^2 = 1\,mod \, 3$
$2^2 = 1\,mod \, 3$ ( same are 1)
so 0 and 1 are quadratic residue mod 3 but 2 is not quadratic residue
 
Last edited:
Thanks kaliprasad.

Let's see if I have understood correctly...

From what you explained would I be right in saying {0, 1, 3, 4, 9, 10, 12} are quadratic residues MOD 13
and {0, 1, 2, 3, 4, 6, 8, 9, 12, 13, 16, 18} are quadratic residues MOD 23?

Many thanks,

Terry
 
Terry said:
Thanks kaliprasad.

Let's see if I have understood correctly...

From what you explained would I be right in saying {0, 1, 3, 4, 9, 10, 12} are quadratic residues MOD 13
and {0, 1, 2, 3, 4, 6, 8, 9, 12, 13, 16, 18} are quadratic residues MOD 23?

Many thanks,

Terry

right
 

Similar threads

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