Lab · Function fields
Zeros on the unit circle
The Riemann hypothesis is a theorem for curves over finite fields. Draw random curves, put the zeros of their L-functions on a circle, and watch them settle into the statistics of random symplectic matrices.
Take a squarefree polynomial $f(x)$ of degree $2g+1$ over $\mathbb{F}_p$ and the curve $C : y^2 = f(x)$, of genus $g$. Counting its points over the fields $\mathbb{F}_{p^r}$ gives the zeta function, and all the arithmetic is in one polynomial of degree $2g$: $$L_C(T) = \prod_{j=1}^{2g} (1 - \alpha_j T), \qquad \#C(\mathbb{F}_{p^r}) = p^r + 1 - \sum_{j=1}^{2g} \alpha_j^{\,r}.$$ Weil proved in 1948 that every $\alpha_j$ has absolute value exactly $\sqrt p$. So after dividing by $\sqrt p$ the zeros sit on the unit circle, in conjugate pairs $e^{\pm i\theta_1}, \dots, e^{\pm i\theta_g}$. The applet picks curves at random, counts their points exactly over $\mathbb{F}_p, \dots, \mathbb{F}_{p^g}$, recovers $L_C(T)$ and draws the angles.
What the picture shows
Weil's theorem is the circle itself: no zero ever leaves it. Where on the circle is a statistical question. Katz and Sarnak showed that as $p \to \infty$, the normalised Frobenius of a random curve in this family becomes equidistributed in the compact symplectic group $\mathrm{USp}(2g)$, the $2g \times 2g$ unitary matrices that preserve an alternating form. Its eigenvalues come in conjugate pairs for the same reason the zeros do, and the density of a single angle $\theta \in [0, \pi]$ is $$\rho_g(\theta) = \frac{1}{2\pi g}\left(2g + 1 - \frac{\sin\big((2g+1)\theta\big)}{\sin\theta}\right).$$ That is the outline drawn around the circle. For $g = 1$ it is $\frac{2}{\pi}\sin^2\theta$, the Sato–Tate law, here in its "vertical" form (one prime, many curves), which Birch proved in 1968. The "horizontal" form, one elliptic curve over $\mathbb{Q}$ and many primes, was proved in 2008–2011 by Clozel, Harris, Shepherd-Barron and Taylor, with Barnet-Lamb and Geraghty.
For larger genus the density dips at $\theta = 0$ and $\theta = \pi$: zeros avoid the real axis because each one repels its own conjugate. This repulsion is a fingerprint of the symmetry type, and the same symplectic statistics are conjectured for low-lying zeros of quadratic Dirichlet L-functions over $\mathbb{Q}$.
How the applet computes $L_C(T)$
Write $S_r = \sum_{x \in \mathbb{F}_{p^r}} \chi_r(f(x))$, where $\chi_r$ is the quadratic character of $\mathbb{F}_{p^r}$. Since $f$ has odd degree there is one point at infinity, so $\#C(\mathbb{F}_{p^r}) = p^r + 1 + S_r$ and the power sums are $\sum_j \alpha_j^r = -S_r$. Newton's identities turn $S_1, \dots, S_g$ into the first $g$ coefficients of $L_C(T)$, and the functional equation $T^{2g} p^g L_C(1/pT) = L_C(T)$ gives the rest. The quadratic character of $\mathbb{F}_{p^r}$ is evaluated as the Legendre symbol of the norm, so every count is exact.
Full proof: the point count is a character sum
Lemma. For $q$ odd and $f \in \mathbb{F}_q[x]$, the number of solutions of $y^2 = f(x)$ with $x, y \in \mathbb{F}_q$ is $q + \sum_{x \in \mathbb{F}_q} \chi(f(x))$, where $\chi$ is the quadratic character of $\mathbb{F}_q$ (with $\chi(0) = 0$).
Proof. For a fixed $a \in \mathbb{F}_q$, the equation $y^2 = a$ has $1 + \chi(a)$ solutions: two if $a$ is a nonzero square, none if $a$ is a non-square, and one if $a = 0$. Summing over $a = f(x)$ for each $x \in \mathbb{F}_q$ gives $\sum_x (1 + \chi(f(x))) = q + \sum_x \chi(f(x))$. $\square$
Lemma. For $a \in \mathbb{F}_{p^r}$, $\chi_r(a) = \big(\tfrac{N(a)}{p}\big)$, where $N$ is the norm to $\mathbb{F}_p$.
Proof. Both sides are multiplicative characters of $\mathbb{F}_{p^r}^\times$ of order dividing $2$. The norm $N(a) = a^{(p^r-1)/(p-1)}$ is surjective onto $\mathbb{F}_p^\times$, so $a \mapsto \big(\tfrac{N(a)}{p}\big)$ is nontrivial. A cyclic group has exactly one character of order $2$, so the two agree. $\square$
Further reading
- N. M. Katz and P. Sarnak, Random Matrices, Frobenius Eigenvalues, and Monodromy, AMS Colloquium Publications 45, 1999.
- N. M. Katz and P. Sarnak, Zeroes of zeta functions and symmetry, Bulletin of the AMS 36 (1999).
- M. Rosen, Number Theory in Function Fields, Springer GTM 210, 2002, Chapter 5.
- B. J. Birch, How the number of points of an elliptic curve over a fixed prime field varies, Journal of the London Mathematical Society 43 (1968).