Quadratic congruences with prime modulus

Click For Summary

Discussion Overview

The discussion centers on proving that if a prime number \( p \) is congruent to 1 modulo 4, then the Legendre symbols \( (a/p) \) and \( (-a/p) \) are equal. Participants explore the implications of Euler's criterion and the properties of quadratic residues, particularly focusing on the case where \( p \) is a prime of the form \( 4d + 1 \).

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • Some participants note that if \( p \equiv 1 \mod 4 \), then \( (-1/p) = 1 \).
  • One participant discusses Euler's criterion, stating that if \( a \) is a quadratic residue modulo \( p \), then \( a^{(p-1)/2} \equiv 1 \mod p \), and if not, \( a^{(p-1)/2} \equiv -1 \mod p \).
  • Another participant suggests comparing \( a^{(p-1)/2} \mod p \) and \( (-a)^{(p-1)/2} \mod p \) when \( p \equiv 1 \mod 4 \).
  • Some participants explore the implications of \( (-1)^{(p-1)/2} \) being equal to 1 when \( p \equiv 1 \mod 4 \).
  • One participant expresses uncertainty about the connection between the Legendre symbol and the properties of quadratic residues.
  • Another participant emphasizes the importance of the expression \( (-a/p) = (-1/p)(a/p) \) in the context of the discussion.

Areas of Agreement / Disagreement

Participants generally agree on the implications of \( p \equiv 1 \mod 4 \) regarding the Legendre symbol, but there remains some uncertainty about the application of Euler's criterion and the Legendre symbol itself. The discussion does not reach a consensus on a formal proof.

Contextual Notes

Participants mention limitations in their understanding of the Legendre symbol and Euler's criterion, indicating that some foundational knowledge may be missing. The discussion also reflects varying levels of familiarity with the mathematical concepts involved.

Who May Find This Useful

This discussion may be useful for students studying number theory, particularly those interested in quadratic residues and the properties of primes in relation to modular arithmetic.

Ch1ronTL34
Messages
12
Reaction score
0
The question is:

Show that if p == 1 mod 4, then (a/p) = (-a/p).
(Note that == means congruent).

I know that if X^2==a mod p (p is a prime) is solvable then a is a quadratic residue of p.

For an example, I let p = 5 since 5==1 mod 4. Then, I let X = 2 and 4 just to check the equation. So:

2^2==-1 mod 5...a=-1 is quadratic residue.
4^2==1 mod 5...a=1 is quadratic residue.

I know that the legendre symbol (a/p) is 1 if a is a quadratic residue mod p and -1 if a is a quadratic non-residue.

From my example, (-1/5)=1 and (1/5)=1, so I have found an example that shows (a/p) = (-a/p) but I'm having trouble proving it in general.

Thanks!
 
Physics news on Phys.org
Do you know anything about (-1/p)? Have you seen Euler's criteron?
 
p = 1 (mod 4) implies (-1/p) = 1.
 
shmoe said:
Do you know anything about (-1/p)? Have you seen Euler's criteron?

No shmoe, I don't know anything about (-1/p) and I just did some research on Euler's criterion:

if a is quadratic residue modulo p (i.e. there exists a number k such that k^2 ≡ a (mod p)), then

a^(p − 1)/2 ≡ 1 (mod p)
and if a is not a quadratic residue modulo p then

a^(p − 1)/2 ≡ −1 (mod p).

I'm not really seeing the connection of why this helps...thanks again
 
If you are happy using Euler's criterion, how do

a^(p-1)/2 mod p

and

(-a)^(p-1)/2 mod p

compare when p=1 mod 4?

Also, by looking at (-1)^(p-1)/2 mod p, you can prove what AKG posted with Euler's.

If this is for a class, you should try to prove it using methods you've covered though. What do you know so far about the legendre symbol?
 
This is for a class but he didn't teach us ANYTHING about the legendre symbol. I'm guessing that 1 mod 4 implies (-1/p)=1 is critical but i still don't really understand.

I took shmoe's advice and found that, when p==1 mod 4
a^(p-1)/2 mod 5 equals (-a)^(p-1)/2 mod 5
 
Ch1ronTL34 said:
This is for a class but he didn't teach us ANYTHING about the legendre symbol. I'm guessing that 1 mod 4 implies (-1/p)=1 is critical but i still don't really understand.

Oi, do you at least have a text you're expected to have access to?

Ch1ronTL34 said:
I took shmoe's advice and found that, when p==1 mod 4
a^(p-1)/2 mod 5 equals (-a)^(p-1)/2 mod 5

5 is just one specific example of such a prime, but we can go with this a little bit. More important is what happens in the exponent, when p is 5, (p-1)/2=2. and you have:

a^(p-1)/2 =a^2 mod 5

and

(-a)^(p-1)/2 =(-a)^2=(-1)^2 * a^2 =a^2 mod 5

So you'd have

a^(p-1)/2 = (-a)^(p-1)/2 mod 5

and therefore (a/p)=(-a/p)

What was important here is the (-1)^(p-1)/2 part. It was 1 when p=5 above. What can you say about (-1)^(p-1)/2 when p=1 mod 4?


This is really asking about (-1/p). It comes in here because (-a/p)=(-1/p)*(a/p). More generally you'd have (a*b/p)=(a/p)*(b/p).
 
Yes shmoe, I do have a textbook..."Elementary Theory of Numbers" by William J. LeVeque. Unlike most mathbooks, this one is about 100 pages and very small...though its size has proven to be misleading...ANYWAYS:

When p==1 mod 4, (-1)^(p-1)/2 will be an even number because p will be odd (p=4d+1 for some d) and (p-1)/2 will be an even number...(-1)^even number is 1.
 
LeVeque is a nice little book. It works in the ties with abstract algebra well.

Ch1ronTL34 said:
When p==1 mod 4, (-1)^(p-1)/2 will be an even number because p will be odd (p=4d+1 for some d) and (p-1)/2 will be an even number...(-1)^even number is 1.

Exactly. If p=3 mod 4, (p-1)/2 would have been odd, so you'd end up with -1, and you hopefully see (-1/p) is completely determined by p mod 4.

Back to your problem, you should now be able to show

(-a)^(p-1)/2 = a^(p-1)/2 mod p

when p=1 mod 4, by just pulling out the -1 from the left hand side like I did above. That's pretty much it.
 
  • #10
Alright I think I get it now. Thanks so much for the help shmoe!
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
Replies
48
Views
6K