- #1
knowLittle
- 312
- 3
Homework Statement
Let p be an odd prime. A number ##a\in \mathbb{Z} _{p}^{\ast }## is a quadratic residue if the equation ##x^{2}=a\left( \mod p\right)## has a solution for the unknown x.
a. Show that there are exactly (p-1)/2 = quadratic residues, modulo p.
The Attempt at a Solution
I have access to the "proof", but I have some questions that need clarification:
Suppose that b1 and b2 are numbers between 1 and (p - 1)/2 , and suppose that
##b_{1}^{2}\equiv b_{2}^{2}(mod p) ## We want to show that b1 = b2. The fact that ##b_{1}^{2}\equiv b_{2}^{2}(modp)## means that p divides ##\left( b_{1}^{2}-b_{2}^{2}\right) =\left( b_{1}-b_{2}\right) \left( b_{1}+b_{2}\right)##
OR that ##\left( b_{1}^{2}-b_{2}^{2}\right) =\left( b_{1}-b_{2}\right) \left( b_{1}+b_{2}\right)## = p. k, where k is an integer.
However, b1+b2 is between 2 and p-1, so it can't be divisible by p.
Thus, p must divide b1-b2. But, |b1-b2| < (p-1)/2, so the only way for b1-b2 to be divisible by p is to have b1=b2.
QUESTION: p represents an odd prime. Primes can only be divisible by 1 or itself.
By stating that |b1-b2|< (p-1)/2 and that b1=b2, they try to explain that the b1 and b2 is not 0, but it's just the same number. Does it mean that b1=b2 has to be 1?
Or, is it saying that it's impossible that p divides b1^(2) - b2^(2) given b1≠b2 ?
This shows that ##1^{2},2^{2},\ldots ,\left( \dfrac {p-1} {2}\right) ^{2}## are all different modulo p, so there are exactly (p-1) /2 quadratic residues modulo p.
Thank you.