Trying to understand Gauss's Lemma

  • Thread starter Thread starter Oxymoron
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around Gauss's Lemma, particularly its application to the case where \( a = 2 \) and the implications for determining the Legendre symbol \( (2/p) \) for odd primes \( p \). Participants explore the relationships between residues, lattice points, and the conditions under which certain integers are quadratic residues.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the formulation of Gauss's Lemma and its application to specific cases, questioning how to express \( (2/p) \) in terms of lattice points and residues. There is exploration of the relationship between the number of elements in specific sets and their properties under modulo conditions.

Discussion Status

The discussion is active, with participants providing insights and questioning various assumptions. Some participants have suggested methods for counting elements in sets and relating them to the Legendre symbol, while others are still working through the implications of their findings.

Contextual Notes

Participants are considering the implications of \( p \) being an odd prime and the properties of residues in the context of quadratic residues. There is an ongoing examination of how the floor function interacts with these properties, particularly under different modulo conditions.

  • #31
shmoe said:
If not, it may have been easier to proceed in a slightly different way. The elements of S less than p/2 are exactly the even integers less than p/2. You can count these directly, right?

By this I mean prove a statement in general.

Given a positive real number x, in terms of the floor function can you answer:

1) how many positive integers are less than or equal to x? (<= this is a warm up)
2) how many even positive integers are less than or equal to x?

If you can do this, then you can count the even integers in S that are less than or equal to p/2. Then you can count how many are larger than p/2.
 
Physics news on Phys.org
  • #32
1) The number of positive integers less than or equal to x is x.
2) The number of even positive integers less than or equal to x is

a) x/2 => x is even
b) floor(x/2) => x is odd

3) The number of even integers in S less than or equal to p/2 is floor(p/4) since p is odd.

The number of even integers in S strictly larger than p/2 is

(p-1)/2 - floor(p/4)
 
  • #33
Oxymoron said:
1) The number of positive integers less than or equal to x is x.
2) The number of even positive integers less than or equal to x is

a) x/2 => x is even
b) floor(x/2) => x is odd

Ok that works. You don't have to assume that x is an integer, there are floor(x) positive integers less than x in this case, and so on.


Oxymoron said:
3) The number of even integers in S less than or equal to p/2 is floor(p/4) since p is odd.

The number of even integers in S strictly larger than p/2 is

(p-1)/2 - floor(p/4)

Righty-O. Apply Gauss's lemma and that's what you had set out to prove, minus evaluating this for p=1,3,5, 7 mod 8.
 
  • #34
So Gauss's lemma implies that if n is the number of integers in S greater than p/2 then

(2/p) = (-1)^n

But we now know that n = (p-1)/2 - floor(p/4) so we have the desired result. Thanks Shmoe! :-)

But now I want to show that 2 is a QR for all primes p congruent to +1,-1 (mod 8) and not for primes congruent to +3,-3 (mod 8).
 
  • #35
Oxymoron said:
But now I want to show that 2 is a QR for all primes p congruent to +1,-1 (mod 8) and not for primes congruent to +3,-3 (mod 8).

Yep, so do the cases p=8n+/-1 or 3 separately and evaluate the exponent in each case. You only care if this is even or odd in the end.
 
  • #36
1. Let p=1(mod 8). => p=8n+1

exponent = 8n/4 - floor((8n+1)/4) = 4n - 2n = 2n (EVEN)

2. Let p=-1(mod 8) => p=8n-1

exponent = (8n-2)/2 - floor((8n-1)/4) = 4n - 1 - 2n = 2n-1 (ODD)

3. Let p=3(mod 8) => p=8n+3

exponent = (8n+2)/2 - floor((8n+3)/4) = 4n - 1 - 2n = 2n-1 (ODD)

4. Let p=-3(mod 8) => p=8n-3

exponent = (8n-4)/2 - floor((8n-3)/4) = 4n - 2 - 2n = 2n-2 (EVEN)
 
Last edited:
  • #37
But shouldn't the first two exponents be EVEN and the last two ODD?
 
  • #38
You have floor((8n-1)/4)=2n, this isn't correct.
 
  • #39
Sorry, where do I have that?

floor((8n-1)/4) = floor(2n-1/4) which is always going to be 1 less than an even number => ODD

n=1 RHS = 1
n=2 RHS = 3
n=3 RHS = 5
etc...
 
Last edited:
  • #40
Oxymoron said:
2. Let p=-1(mod 8) => p=8n-1

exponent = (8n-2)/2 - floor((8n-1)/4) = 4n - 1 - 2n = 2n-1 (ODD)

(8n-2)/2=4n-1 so

(8n-2)/2 - floor((8n-1)/4) = 4n - 1 - 2n

tells me you have

floor((8n-1)/4) = 2n
 
  • #41
Ah, I see. Well floor((8n-1)/4) is certainly not 2n. ;)

floor((8n-1)/4) = 2n-1 So we should have

4n - 1 - (2n - 1) = 2n => EVEN


And fixing the mistake in the last case yields ODD
 
  • #42
Well, if this is all correct then I have shown what I needed to show. :)
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 13 ·
Replies
13
Views
4K
Replies
23
Views
2K
Replies
2
Views
1K
  • · Replies 9 ·
Replies
9
Views
1K
  • · Replies 16 ·
Replies
16
Views
3K
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K