Suppose we are given an equation such as over the field of five elements
. We can find all its solutions by trying the five possible values of
and looking to see whether the resulting number is a square. We can do the same thing over the field of twenty-five elements
, then over the field of one hundred and twenty-five elements, and so on. The equations are the same, but the sets in which we are looking for solutions get larger at each stage. What is remarkable is that we do not actually have to carry out all these calculations. Once we know the number of points over the original field, the numbers over all its finite extensions are determined. We want to understand why this is true, simply by manipulating finite sums. There is an elementary identity involving divisors of polynomials which does all the work that such a generating function usually does.
Let be an odd prime power and let
be squarefree over
. Write
for the number of points on
over
, including its single point at infinity. Define the quadratic character on this field by
For a fixed , the number of possible values of
is precisely
. This is just the observation that a nonzero square has two square roots, a nonsquare has none, and zero has one. Thus the point count is given by
The term is the simple part of the answer. The interesting information is in the sum
. Here is the identity we shall prove:
The value is a convention that makes the formula work starting at
; In particular,
. Once we know
, we know
, and then
, and so on. Notice that the coefficients of the cubic do not occur in the recurrence except through the very first sum.
Let us check this with the cubic over
. The squares in this field are
. For
, the values of
modulo five are respectively
. Consequently,
What happens over the field of twenty-five elements? We can construct this field explicitly by adjoining an element
with
. Every element is
, where
range independently over
. The conjugate of
is
, because
. Hence its norm is
. A useful shortcut is that an element is a square in the larger field exactly when its norm is a square in the smaller field (with the usual convention at zero). Indeed, for a nonzero element
,
; the left side is the quadratic character of its norm in the field of five elements, and the right side is its character in the field of twenty-five elements. Expanding the cubic in this field gives
We can therefore carry out the entire calculation modulo five. If the two coefficients in this expression are , the contribution is
. Here is the table, with rows indexed by
and columns by
.
Adding the entries gives . This agrees with the predicted value
. Thus there are twenty-seven points over the field of twenty-five elements. Notice also that the first row of this table is not the original character sum: every nonzero element of the smaller field becomes a square in the quadratic extension. This change of character as we pass to an extension will be important in our proof.
The recurrence now predicts , and
. We would have had to look through 125 and 625 possible values of
to find these two sums directly. The recurrence avoids that work altogether. Here are several examples together. The first column of counts is obtained by testing the five elements of the original field; the later columns are calculated by the recurrence we are about to prove.
The two middle examples have the same second count but different first and third counts. In the last example the recurrence simplifies to , so all the odd-indexed sums vanish. These examples suggest that there is some finite amount of information hidden in the equation which controls all the extension-field sums. How can we get at it?
Looking at all of them together
When we sum over , the elements are not unrelated. Every element has a minimal polynomial over
. An irreducible monic polynomial
of degree
has
distinct roots, all in
, and these roots belong to
exactly when
. Indeed, the roots are obtained by repeatedly raising one of them to the
th power; the first return occurs after
steps. The elements fixed by the
th power of this operation are exactly the roots of
. So instead of summing over individual elements, let us group together the roots of each irreducible polynomial. This is a natural thing to do because the value of the quadratic character is unchanged when we raise its argument to the
th power. All the roots of a given irreducible polynomial therefore make the same contribution. There is one point we must get right. If
and
, then
For nonzero , this follows by writing
The exponent on the right is congruent to modulo two, since
is odd. The formula also holds at zero. For example, in a quadratic extension a nonsquare in the original field becomes a square; in an odd-degree extension it remains a nonsquare. Thus we need to remember both the degree of the minimal polynomial and the number of times that degree divides the extension degree.
For a monic irreducible polynomial of degree
, choose any root
and put
There is no choice involved in the value: the other roots are powers of under the same field automorphism and give the same sign. Extend this definition to all monic polynomials by multiplication, including
. Thus if
, we set
. In particular, the value is zero when
shares a factor with
.
Grouping the original sum according to minimal polynomials now gives the exact formula
It is useful to write out the first few cases. There is no hidden analysis here; we are simply counting the roots contributed by polynomials of each degree.
There is something familiar about these sums if one thinks of ordinary integers. In analytic number theory one frequently has to sum over primes and their powers, with a weight depending on the prime. The same sort of sum has appeared here, except that the primes are irreducible polynomials and the weights are their degrees.
Let us make this translation quite concrete in the example over
. Take
. It is irreducible, and at a root
we have
. The norm of this value down to
is
, a nonsquare. Thus
. Both roots of this polynomial contribute minus one to the extension-field sum, making a total contribution of minus two. On the other hand, a polynomial such as
has character
. It contributes to the unrestricted sum over quadratic polynomials, but not to the sum over elements of the quadratic extension: no element has this reducible polynomial as its minimal polynomial. This is the distinction between the two kinds of sums.
Divisor Calculation
Define to be
when
is a power of a monic irreducible polynomial, with
, and zero otherwise. This is the polynomial version of the von Mangoldt function. The preceding formula says exactly that
All sums over polynomials below are over monic polynomials. We have succeeded in moving the calculation to the original field, but the restriction to prime powers is inconvenient. It is difficult to sum a character over irreducible polynomials of a given degree. It is much easier to sum over all polynomials of a given degree, because their coefficients can vary freely. Let us therefore introduce the simpler sums
How can we relate these simpler sums to the ones we actually want? There is an elementary identity that does exactly this. If , the only divisors of
on which
is nonzero are the powers of the individual irreducible factors. For each
, there are
such powers, all contributing
. Therefore
For instance, if with
and
, the five contributing divisors are
, with weights
. Their sum is seven, exactly the degree of
. The identity is just unique factorization written as an addition formula.
Multiply it by and sum over polynomials of degree
. We get
In the second line we have written . In the third line we have used the multiplicativity of
, and grouped together the terms with the same degree of
. The two sums in parentheses are exactly
and
. Thus we obtain
This is the identity from which the recurrence will emerge. To appreciate what it is saying, imagine that were all zero. Then for every
the left side would vanish, and only three terms on the right would remain. We would immediately have a second-order recurrence for
. So our problem is now very concrete: can we show that these unrestricted polynomial sums vanish from degree three onwards? And can we calculate the first two of them?
Quadratic reciprocity
The character is defined by looking at the irreducible factors of
. To sum over all
of a fixed degree, it would be much more convenient to have a formula depending on the remainder of
upon division by
. Polynomial quadratic reciprocity gives just such a formula. Let us derive the particular identity we need. For two monic polynomials
of degrees
, write their roots, counted with multiplicity in a common finite extension, as
and
. Consider the two products
Both products lie in , since raising all roots to the
th power merely permutes them. The first differs from the second by the sign
. Now suppose first that
is irreducible of degree
. The first product is the norm of
down to
. The quadratic character of a field element is equal to the quadratic character of its norm: this follows immediately by raising the norm
to the power
. It follows that
is the quadratic character of that first product. Factoring a general
proves the same assertion with multiplicities. Interchanging the two polynomials now gives
If the polynomials have a common root, both sides are zero, so there is no exception to the formula. This is polynomial quadratic reciprocity. Notice how little is required for it: the two ways of multiplying all the differences of the roots, together with the formula for the norm.
Since our cubic has degree three, we have . The right-hand symbol depends only on
modulo
. Indeed, at every root of
, the value of
is unchanged when we add a multiple of
. We have converted a condition on the factors of a varying polynomial into a condition on its three remainder coefficients.
Cancellation of Sums
Write , meaning simply that we multiply polynomials and replace every occurrence of
by
. Every element of
has a unique expression
. Let
. The character is multiplicative and takes values zero, one and minus one. There is an especially simple way to see that the sum of
over all
remainders is zero. Choose a nonsquare constant
. Since
has odd degree, the root-product formula gives
. Multiplication by
permutes all the remainders, so
The sum must therefore vanish. This argument works whether the cubic is irreducible or splits into factors. We need not consider different factorizations here.
Now let . Every monic polynomial of degree
is uniquely expressible as
, where
is monic of degree
and
. For each fixed remainder there are exactly
choices of
. Thus
This is the decisive step in the argument. From degree three onwards, the polynomials range uniformly over all possible remainders. Every positive contribution has a negative contribution paired with it. Below degree three, the leading coefficient is prescribed and we do not have this freedom. That is why the sums of degrees one and two can survive.
Of course , since every monic polynomial of degree one is
for some
. We have therefore already proved
The order of the recurrence has come directly from the degree of the polynomial in the original equation. We have not yet used any special property of a cubic other than its degree and the parity of that degree. The only missing ingredient is the numerical value of . By reciprocity (the degree of the denominator is now two),
Why should this sum always be , regardless of the coefficients of the cubic? We would like to turn the character of a quadratic polynomial into a calculation directly with its coefficients. The natural device is a finite Fourier sum: instead of restricting the coefficient of
to be one, we allow it to vary and attach an additive phase to it. This will allow us to replace the multiplicative character by a quadratic expression. Choose a nontrivial additive character
on
. For a prime field one can take
. For any finite field of characteristic
, choose a nonzero linear functional to
and compose it with
. The only property we need is
For nonzero , multiplication by
permutes the field, and the sum of a nontrivial character vanishes: translating the sum by an element at which the character is not one multiplies it by that value while leaving the sum unchanged. Let
, and introduce
We will compute in two ways. First group the elements of
according to their last coefficient
. For
, multiplication by
takes the elements with last coefficient one bijectively to those with last coefficient
. Since
, we obtain
For , the sum vanishes by the same nonsquare multiplication argument as before. Consequently,
So the auxiliary sum contains exactly the quantity we are trying to find. Now comes the second calculation.
There is a useful identity over any finite field of odd characteristic. If is a nontrivial additive character of that field, then
The first equality merely counts the number of square roots of , and the second uses the vanishing of the complete additive sum. This is the basic reason a quadratic Gauss sum can be written either as a multiplicative-character sum or as a sum of quadratic phases.
We want to use the same identity in . If
is irreducible,
is already a field. If it is reducible, factor it as
. Because
is squarefree, the factors are distinct, and the Chinese remainder theorem identifies
with the product of the fields
. Under this identification,
is the product of the quadratic characters on the individual fields. The additive phase also factors as a product, since
is linear. To apply the preceding Gauss sum identity on each field, we only have to check that the additive character there is nontrivial.
Here is an elementary way to see this. The pairing cannot vanish for all
if
. Indeed, if the remainder polynomial representing
has degree
and leading coefficient
, take
. The product has degree two and its last coefficient is
. If
vanished identically on one of the field factors, any nonzero element supported on that factor would pair to zero with every
, which is impossible. Thus
is a nonzero linear functional on every factor and its image there is all of
. The induced additive character is nontrivial on each factor. Applying the elementary identity separately on these fields and multiplying the resulting equalities gives
We have removed the multiplicative character altogether. Now we only need to square a polynomial of degree two and read off one coefficient. Writing , we obtain
Since and
, the coefficient we want is
Thus our sum is
This is where the cancellation takes place. If , the inner sum is zero; if
, it is
. So the only surviving terms are those with
, and
The coefficient disappeared when we read off the coefficient of
; the coefficient
disappeared when we summed over
. We are left with an ordinary quadratic Gauss sum, which occurs on both sides of our calculation. For completeness, this sum is nonzero. Using
, we have
Here we made the invertible substitution , which is possible since the characteristic is odd. Comparing
and
therefore gives
The whole calculation has been a succession of finite sums and elementary polynomial substitutions. In particular, nothing about the size of the original point counts has been assumed.
We have proved , and
for
. Return now to the divisor identity. For
it gives
. For
it gives
For example, writing out the first few cases, we find
These expressions give the point counts over the first five extensions directly in terms of the original count. What is particularly useful about the proof is that we can see where each coefficient came from. The coefficient came from monic linear polynomials. The coefficient
came from summing the character over monic quadratic polynomials. All the higher coefficients disappeared because the remainders modulo the cubic were distributed uniformly.
We can solve the recurrence by the usual elementary method for linear recurrences. Put , and
, with
. We have
. Consider the matrix
Direct multiplication gives . Multiplying by successive powers of
and taking traces shows that
satisfies the same recurrence and the same first two values, namely two and
. If
are the two roots of
, the trace of
is
(also when the roots coincide, by triangularizing the matrix). Therefore
For the first example above, and the two roots are
. For
over five elements, they are
. In both cases their absolute values are
. We have derived the numbers usually called the Frobenius eigenvalues from the recurrence alone. The matrix we constructed is simply a convenient way of encoding the recurrence; we have not constructed the action of Frobenius on a geometric vector space. The fact that these two numbers always have absolute value
is a deeper fact, RH over elliptic curves. The recurrence and the identity
do not by themselves imply this. For example the real numbers 1 and
also have product
. What remains to prove is that the roots cannot have unequal absolute values. In the elliptic curve case this is Hasse’s theorem, equivalently
. It is important to distinguish the elementary explanation of the recurrence from this much deeper estimate.
There was nothing in the divisor identity that required a cubic. Let now be any monic squarefree polynomial of degree
, with
. Define
and
just as before. The grouping by irreducible polynomials and the divisor calculation give exactly the same identity. And from degree
onwards, each remainder modulo
occurs the same number of times. Multiplication by a nonsquare constant still reverses the sign of
, because the degree is odd. Hence
for
, and
For a polynomial of degree five, we obtain a recurrence involving at most the four preceding terms; for degree seven, at most the six preceding terms. We need not construct the extension fields to calculate the coefficients: the coefficients are finite character sums over monic polynomials of degrees at most , all in the original field. We can even repeat the last Gauss sum calculation to show that the final coefficient is
. Here are the details. Let
now be the polynomials modulo
, and let
extract the coefficient of
. The same grouping by the last coefficient gives
, and the same square-root counting argument gives
. The pairing
is again nondegenerate by multiplying a nonzero polynomial of degree
by
, so the argument on the individual field factors works without change.
Write a remainder uniquely as , where
has degree less than
,
, and
is a combination of
. The square of
and the product
have degree less than
, so neither contributes to the last coefficient. Consequently,
If has degree
, choose
, whose degree is less than
. Then
. Thus as we sum over all
, the additive phase involving
cancels completely unless
. If
, every one of the
choices of
gives the same phase
. We conclude that
, and therefore
. The calculation for cubics was just the case
of this argument.
We can also express these point counts in terms of numbers. Take the roots
, with multiplicity, of
The elementary Newton identities for sums of powers say that if , then for
,
. To verify this without a power series, write
, where
is the sum of all products of
distinct roots. Expanding
, a monomial with a repeated index occurs twice with opposite signs, according to whether that index belongs to the elementary symmetric product or not. The remaining monomials have all indices distinct, each occurs
times, and all have the same sign, leaving
. For
, multiply the root equation by
and sum over
. This gives the same recurrence we have obtained for
. The first
values agree by the divisor identity, so all values agree. Hence
This gives a list of roots counted with multiplicity, not a claim that the shortest possible recurrence must always have order
: repeated roots can permit a shorter recurrence. As before, the bounds
are deeper fact, not proved by these calculations.
Conclusion
The important identity in the proof is . It applies to every completely multiplicative function on monic polynomials, not just quadratic characters. If we define
to be its unrestricted sum over degree
, and
to be its sum weighted by
, then
. Whenever the unrestricted sums eventually vanish, the weighted sums satisfy a recurrence. In our problem the weighted sums happen to be the original sums over extension fields. The unrestricted sums eventually vanish because division by a fixed polynomial distributes the remainders uniformly. These are the two reasons that an apparently infinite collection of point-counting problems is controlled by a finite collection of numbers. The usual generating-function argument packages the divisor identity into a logarithmic derivative. That is certainly a useful way to organize the calculation. But it is not necessary for discovering the recurrence. The recurrence is already present in the finite convolution, and the finite convolution is already present in unique factorization. The more difficult question of bounding the resulting roots is a separate problem. It is useful to know precisely how much of the point-counting formula can be understood before we ever come to that question.