Processing math: 100%
Skip to main content

Section 17.2 Another Criterion

Now, we might want to do something more general than just try to compute Legendre symbols one by one. Notice that what we did in using the Euler's Criterion to find (2p) was to look at numbers of the form 2x and factor out 2. So one might ask whether something like this calculation could work with general a and numbers like ax to find a better theoretical result.

It turns out that this is true. We are going to follow the steps of Gauss' protege Gotthold Eisenstein here to find a way to evaluate (ap) for p an odd prime and gcd(a,p)=1. It will be slow, and we won't see the payoff until we prove Theorem 17.4.1, but it will give us good practice in thinking about the numbers themselves.

Remark 17.2.1.

Eisenstein was yet another brilliant young mathematician who came out of nowhere but died young because he couldn't find a job which could help his chronic illness. I say “yet another” because this is similar to the story of Abel (after whom Abelian groups are named), and quite likely would have been the story of Galois if he hadn't been killed in a duel first; unfortunately, their mathematics is mostly outside the bounds of this text.

Subsection 17.2.1 Laying the foundation

First, let's introduce a new set and look at a couple of properties. I strongly advise following along with a prime like p=11 or p=13.

Definition 17.2.2.

Fix an odd prime p. Let E be the set of even numbers less than p. That is,

E={2,4,6,,p1}.

Next, given a coprime to p, let the set of multiples of a by even numbers be denoted

aE={2a,4a,6a,,(p1)a}.

Finally, find the remainder of each element of aE modulo p, as a nonnegative integer. The set of all such remainders we call ¯aE; for convenience we may write aekp=ra,e for the remainder (and quotient k).

The construction of this should ring bells, because just as in Theorem 16.7.1 and Lemma 13.3.3 we could potentially factor out (p1)/2 factors of a from a product of the elements of aE. (Also, here and elsewhere we are not considering the numbers in ¯aE as elements of Zp, but as integers.)

First, we claim both sets only contain even numbers. Recall that everything in \(\overline{aE}\) is less than \(p\text{.}\)

  • If \(x\) is even, then \((-1)^x x\) is just \(x\text{,}\) which will then be the remainder.

  • If \(x\) is odd, then \((-1)^x x = -x\) has remainder \(p-x\text{,}\) which (as the difference of two odds) is also even.

It remains to show the elements of the set in question are all different.

Suppose any two such numbers were the same; then for some even numbers \(e\) and \(e'\text{,}\) and quotients \(k\) and \(k'\text{,}\) we have

\begin{equation*} (-1)^{ae-kp}(ae-kp)\equiv (-1)^{ae'-k'p}(ae'-k'p)\text{ (mod }p)\text{.} \end{equation*}

We can reduce this further by ignoring multiples of \(p\text{,}\) and even further by observing that \(\gcd(a,p)=1\) so we can cancel \(a\) from the remaining congruence. Then

\begin{equation*} e\equiv \pm e'\text{.} \end{equation*}

If \(e\) and \(e'\) are different then \(e\not\equiv e'\text{,}\) so the only option would be \(e\equiv -e'\text{.}\) This directly yields \(e+e'\equiv 0\text{.}\) But numbers in \(E\) are positive and less than \(p\text{,}\) so \(0\lt e+e'\lt 2p\text{.}\) Since \(p\) is odd we also cannot have the sum of two evens \(e+e'=p\text{,}\) so the only remaining choice is that \(e=e'\text{.}\)

Example 17.2.4.

For instance, with p=11 and a=3 we get

E={2,4,6,8,10} and ¯aE={6,1,7,2,8}.

The set in the claim is then

{(1)66,(1)11,(1)77,(1)22,(1)88}{6,10,4,2,8}.

Subsection 17.2.2 Getting the new criterion

Now we will try to use this set to arrive at something similar to Euler's Criterion. Our goal would be to use it (since we know it corresponds to Legendre symbols), but with something different and hopefully easier to compute. Still, we would need to arrive at a(p1)/2 in the end, so let's follow some steps that might lead us in that direction.

As mentioned above, the most crucial thing to notice is that the desired exponent (p1)/2 is exactly the number of elements in E. So a first step would be to multiply all the elements of aE:

eEae=a(p1)/2eEe.

Now let us reduce modulo p; recall the notation ra,e for the remainder of ae in Definition 17.2.2. This gives a congruence:

eEra,ea(p1)/2eEe.

Focus temporarily just on the product of es on the right hand side. Using Claim 17.2.3 and factoring out all the powers of (1), we can write

eEeeE(1)ra,era,e(1)eEra,eeEra,e.

Now substitute everything in the congruences. We obtain

eEra,ea(p1)/2eEea(p1)/2(1)eEra,eeEra,e.

Now if we cancel the product of the remainders and note that dividing and multiplying by powers of (1) is the same thing, we can connect to Theorem 16.5.2:

a(p1)/2(1)eEra,e.
Example 17.2.5.

For instance, with p=11 and a=3 we get

6121824306172825(1)6+1+7+2+861728

Checking, we see that 6+1+7+2+8 is even. So by Theorem 16.5.2 a should be a QR modulo p, and 11+11+3=25=52 so in this case it is.

More generally, we have the following fact.

What have we done? We have reduced evaluating the Legendre symbol (and hence deciding whether things have square roots modulo p) to calculating the parity of a certain sum. Given that in the previous chapter we had to calculate fairly large powers of modular integers, this could be an important improvement.

Remark 17.2.7.

Transforming such computations to a simple parity (or other) check is very common in algebra and number theory.

Subsection 17.2.3 The final form

Fact 17.2.6 is still somewhat unwieldy, so there is a final simplification.

Recall that these ra,e come from remainders of eE. Indeed, we could have used Division Algorithm directly in defining them:

ae=paep+ra,e

So if we add up all the remainders, we get

eEra,e=eEaepeEaep

But we only care about the parity of this sum! So we can remove the whole piece with e in it, as that's all even, and we can replace the p by 1, since they are the same modulo 2. This leaves the following much simpler criterion.

Remark 17.2.9.

The name of the criterion is long to avoid confusion with another famous criterion that Eisenstein discovered. (See David Cox's excellent 2011 Monthly article [C.7.4], which won the Lester R. Ford award, on whether Theodor Schönemann deserves the credit for that criterion.)

Example 17.2.10.

To continue Example 17.2.5 where p=11 and a=3, let's compute this exponent:

611+1211+1811+2411+3011=0+1+1+2+2=6.

Once again this is even, so 3 is confirmed to be a QR modulo 11.

Example 17.2.11.

Let's try to compute the exercise in Example 17.1.5 where p=17 and a=4511. Then we need to compute this exponent:

2217+4417+6617+8817+11017+13217+15417+17617
=1+2+3+5+6+7+9+10=43.

This is odd, so 45 is not a QR modulo 17.

This very abstruse-seeming criterion will actually be the key to proving the soon-to-come Theorem 17.4.1. See Laubenbacher and Pengelley's article [C.7.8] for an excellent exposition, which I have expanded on significantly above.