Congruences of quadratic residues

  • Thread starter Thread starter Baba-k
  • Start date Start date
  • Tags Tags
    Quadratic
Click For Summary

Homework Help Overview

The discussion revolves around the properties of quadratic residues in modular arithmetic, specifically focusing on the congruences of squares modulo a prime number \( p \) greater than 2. The original poster seeks to understand how to demonstrate that the only congruences among the squares of integers from 1 to \( p-1 \) are of the form \( a^2 \equiv b^2 \pmod{p} \) leading to \( a = p - b \).

Discussion Character

  • Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants explore the implications of the congruence \( a^2 \equiv b^2 \pmod{p} \) and discuss the conditions under which this holds true. There is a focus on defining the meaning of "the only congruences" and whether it implies \( a = p - b \) for distinct \( a \) and \( b \).

Discussion Status

The conversation includes attempts to clarify the mathematical reasoning behind the congruences, with some participants providing feedback on the logic presented. There is an ongoing exploration of the implications of \( p \) being prime and how it affects the factors in the congruence equation.

Contextual Notes

Participants are working within the constraints of a homework assignment, which may limit the information they can use or the methods they can apply. The discussion reflects a mix of initial confusion and gradual clarification of concepts related to quadratic residues.

Baba-k
Messages
8
Reaction score
0
Hi,

I'm slowly reading through the book What is Mathematics which asks the following question at the end of its quadratic residues section. I'm not sure how to begin it really, so any hints/suggestions would be greatly appreciated.

Homework Statement


We have seen that [tex]x^{2} \equiv (p - x)^{2} \pmod p[/tex]. Where p is a prime > 2 and x is not divisible by p
Show that these are the only congruences among the numbers [tex]1^{2}, 2^{2}, 3^{2},...,(p-1)^{2}[/tex]

Homework Equations


[tex](p-x)^{2} = p^{2} - 2px + x^{2}\equiv x^{2} \pmod p[/tex]

The Attempt at a Solution


No idea..

thanks in advance,
babak
 
Physics news on Phys.org
I think we have to define what the author means by "the only congruences among the numbers [itex]1^{2}, 2^{2}, 3^{2},...,(p-1)^{2}[/itex]." I'd say that he means something like:

If a,b [itex]\in[/itex] {1, 2, ..., p-1}, a [itex]\neq[/itex] b and [itex]a^2 \equiv b^2 (mod p)[/itex], then a = p-b.

Can you prove that?

Petek
 
Hi Petek,

Thanks the response. I'm not sure how atm but will give it ago hehe

cheers
babak
 
Hi Petek,

Heres what I've come up with, what do you think ?

[tex]a^{2} \equiv b^{2} \pmod p[/tex]
[tex]a^{2} - b^{2}\equiv 0 \pmod p[/tex]
[tex](a-b)(a+b)\equiv 0 \pmod p[/tex]

[tex](a-b)\equiv 0 \pmod p \texttt{ or } (a+b)\equiv 0 \pmod p[/tex]
[tex]a+b=p \texttt{ or } a-b=p[/tex]

[tex]a=p-b \texttt{ as } a\in \left \{ 1, 2,...,p-1 \right \} \texttt{ hence } a<p[/tex]

thanks a lot,
babak
 
Looks good!
 
Baba-k said:
Hi Petek,

Heres what I've come up with, what do you think ?

[tex]a^{2} \equiv b^{2} \pmod p[/tex]
[tex]a^{2} - b^{2}\equiv 0 \pmod p[/tex]
[tex](a-b)(a+b)\equiv 0 \pmod p[/tex]

[tex](a-b)\equiv 0 \pmod p \texttt{ or } (a+b)\equiv 0 \pmod p[/tex]
[tex]a+b=p \texttt{ or } a-b=p[/tex]

[tex]a=p-b \texttt{ as } a\in \left \{ 1, 2,...,p-1 \right \} \texttt{ hence } a<p[/tex]

thanks a lot,
babak

That IS a good start. But it's a little sloppy. i) Where did you use that p is prime? ii) If a and b are in {1...p-1} it's pretty unlikely that a-b=p, don't you think? Can you elaborate a little?
 
Last edited:
Hi Dick,

Thanks for your comments.

i) The product [tex](a-b)(a+b)\equiv 0 \pmod p[/tex] is divisible by the prime p only if one of the factors is, so either [tex]a-b\equiv 0[/tex] or [tex]a+b\equiv 0 \pmod p[/tex] must be divisible by p.

ii) I chose [tex]a+b=p[/tex] as [tex]a \in \left \{1,..,p-1 \right \}[/tex] so will always be < p but with [tex]a-b=p, a=p+b[/tex] which is >p, which isn't possible.

What do you think ?

cheers
babak
 
In your middle term here
Baba-k said:

Homework Equations


[tex](p-x)^{2} = p^{2} - 2px + x^{2}\equiv x^{2} \pmod p[/tex]
is it not fairly obvious to you that

p2 - 2px = 0 (mod p) (identity)

since p is a factor of that bit?
 
Baba-k said:
Hi Dick,

Thanks for your comments.

i) The product [tex](a-b)(a+b)\equiv 0 \pmod p[/tex] is divisible by the prime p only if one of the factors is, so either [tex]a-b\equiv 0[/tex] or [tex]a+b\equiv 0 \pmod p[/tex] must be divisible by p.

ii) I chose [tex]a+b=p[/tex] as [tex]a \in \left \{1,..,p-1 \right \}[/tex] so will always be < p but with [tex]a-b=p, a=p+b[/tex] which is >p, which isn't possible.

What do you think ?

cheers
babak

i) is right on. ii) is still a little funny. If a number is divisible by p then it must have the form k*p where k is a integer, right? If a and b are in {1...p-1} and a+b is divisible by p then a+b=p, since it can't be 0 and it can't be as large as 2*p. And if a-b is divisible by p shouldn't a-b=0?
 
  • #10
Hi,

Okay thanks, think I see what you're saying. Is it enough to say..

since [tex](a+b)(a-b)\equiv 0 \pmod p[/tex] then
[tex]a+b=np[/tex] or [tex]a-b=kp[/tex] where [tex]a, b \in \left \{ 1, ..., p-1 \right \}[/tex]
if [tex]a-b=kp[/tex] then [tex]a-b[/tex] will always be < p and hence k is 0. While [tex]0 < a+b < 2p[/tex]. Hence n is 1 as we've already said that a-b=0.

Pretty much just re-written what you said before I guess hehe. Am not too sure about the logic for getting to n=1 though..

cheers!
babak
 
  • #11
Baba-k said:
Hi,

Okay thanks, think I see what you're saying. Is it enough to say..

since [tex](a+b)(a-b)\equiv 0 \pmod p[/tex] then
[tex]a+b=np[/tex] or [tex]a-b=kp[/tex] where [tex]a, b \in \left \{ 1, ..., p-1 \right \}[/tex]
if [tex]a-b=kp[/tex] then [tex]a-b[/tex] will always be < p and hence k is 0. While [tex]0 < a+b < 2p[/tex]. Hence n is 1 as we've already said that a-b=0.

Pretty much just re-written what you said before I guess hehe. Am not too sure about the logic for getting to n=1 though..

cheers!
babak

a+b is a multiple of p. Since it's also between 0 and 2p that means it's equal to p, right? I'm not sure what you are not sure about.
 
  • #12
Riteo don't worry, was just confusing my self hehe.

thanks for all your help!
 

Similar threads

Replies
6
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
7
Views
2K