Count the points of a curve modulo each prime. Curves with many rational points have a few more points modulo primes, on average, and multiplying the surpluses together shows the rank. Rerun the 1960s computations that started it all
In the early 1960s Bryan Birch and Peter Swinnerton-Dyer counted the solutions of elliptic curves modulo each prime on the EDSAC 2 computer in Cambridge. Curves with many rational points tended to have a few more solutions modulo primes, and multiplying Np/p over the primes p up to X gave a product growing like a power of log X: the power was the rank.
Press Play to step through the primes and watch both strips fill. The rank-0 curve’s bars go up and down evenly; the rank-3 curve’s lean upward, and its mean surplus stays above the other’s.
The rational points reduce onto 5 of the 105 points modulo 97.
The rational points reduce onto 92 of the 92 points modulo 97, all of them.
Teal dots are the solutions of the equation modulo p; emerald rings mark the ones that rational points of the curve land on (generators, torsion and all their sums, reduced modulo p). In each strip a bar points up when Np is more than p + 1 and is scaled by 2√p, the most Hasse allows. At a bad prime (lime) the curve is singular modulo p: its count is shown but left out of the strip and the means. Counts above 500 use baby-step giant-step, checked against direct counting in the tests.
Counting modulo p. For a prime p that does not divide the discriminant Δ, the equation still defines a smooth curve over the field 𝔽p of residues modulo p, and its points (the solutions together with the point at infinity O) form a finite group E(𝔽p) of order Np. Roughly half of the p values of x make the right-hand side a square, each giving two values of y, so one expects about p + 1 points. The error is written ap = p + 1 − Np, and Helmut Hasse proved in 1933 that |ap| ≤ 2√p always. That is why every count in the demo falls inside the ruler, and why the bars and the histogram are scaled by 2√p. See also Curves over Finite Fields in the Langlands Program module, and the Sato–Tate distribution of ap/2√p over many primes.
The heuristic. Every rational point P reduces to a point modulo p: clear the denominators, reduce the numerators, and if p divides the denominator, P lands on O. Reduction respects addition, so the whole group E(ℚ) maps into E(𝔽p), and for a good prime p the torsion maps in without collapsing (apart from a few small cases at p = 2). A curve of rank r has a copy of ℤr to map, and when r is large the image tends to be a big subgroup, which pushes Np up on average: the emerald rings in the demo show that image. This is a heuristic, not a theorem. A single point of infinite order can land on a small subgroup for some primes, and no proof connects the size of these images directly to the rank. What can be proved, by Lagrange’s theorem, is that the image’s size divides Np.
Bad primes. When p divides Δ the reduced equation has a singular point, a node or a cusp. The catalogue curves are semistable, so every bad prime gives a node, and the smooth points, O included, then number p − 1 (split node) or p + 1 (non-split node), plus the node itself. The demo shows those counts in lime but leaves bad primes out of the product, as Birch and Swinnerton-Dyer did: there are finitely many of them, and they change only the constant in front.
Press Play to count every prime up to 100,000 for five curves at once. Each curve’s line runs parallel to the dashed reference line whose slope is its rank; switch to the original log–log style to see the same race on the axes of the 1960s plots.
| curve | X reached | ∏ Np/p | fitted slope | rank |
|---|---|---|---|---|
| 11a1 | 10,000 | 6.236 | 0.02 ± 0.04 | 0 |
| 37a1 | 10,000 | 74.746 | 1.05 ± 0.10 | 1 |
| 389a1 | 10,000 | 637.886 | 2.36 ± 0.29 | 2 |
| 5077a1 | 10,000 | 3,096 | 3.07 ± 0.06 | 3 |
| 234446a1 | 10,000 | 8,003 | 4.41 ± 0.45 | 4 |
∏ runs over the primes of good reduction p ≤ X (11, 37, 389, 5077 and 2 are skipped for their curves). The slope is a least-squares fit of log ∏ against log log X for X from 50 to the X reached, sampled evenly in log log X; “±” is half the gap between the slopes fitted to the first and second halves of that range, a measure of how unsettled it is, not an error bar. At X = 10⁵ the rank-3 curve fits about 3.2 and the rank-4 curve about 4.3: near, not equal.
The computation. Bryan Birch and Peter Swinnerton-Dyer, both at Cambridge, ran their counts on the EDSAC 2, the successor to the university’s EDSAC, at a time when every count cost real machine time. They published the results and their conjectures in Notes on elliptic curves I (1963) and II (1965) in the Journal für die reine und angewandte Mathematik. Their log–log plots of ∏p≤X Np/p against log X, falling roughly along straight lines whose slopes matched the ranks, are among the most famous pictures in number theory.
The first form of the conjecture. The observation became the statement that ∏p≤X Np/p ~ C·(log X)r as X → ∞, for some constant C > 0, with r the rank of E(ℚ). Soon afterwards it was restated in terms of the L-function L(E, s) built from the same counts, which is the form it is known by today: L(E, s) vanishes at s = 1 to order exactly r. The next lesson builds that function. The growth form is stronger than the L-function form, and it is not known for a single curve.
How the demo counts. For primes below 500 every value of x is tried, as on the EDSAC 2. Beyond that the demo uses Daniel Shanks’s baby-step giant-step method: it finds a multiple of a point’s order in the Hasse interval in about p1/4 group operations, and once a few points leave only one candidate for Np in the interval, that is the count. The tests check the two methods agree at every good prime up to 6,000 on six curves, and at sample primes near 100,000.
Every catalogue curve becomes one dot, its fitted slope over its rank. Switch between X = 10³, 10⁴ and 10⁵ and add the twists to see the cloud close in on the diagonal, slowly; click any dot to see its curve.
| X = 10³: — not counted yet | X = 10⁴: — not counted yet | X = 10⁵: — not counted yet |
Click a point to see its curve. Each slope is fitted from X = 50, as in the demo above. The three curves of conductor 11 share their point counts, so they make a single dot. A twist’s rank is the analytic rank, found numerically; for ranks 0 and 1 that is proved to be the rank (Gross–Zagier and Kolyvagin). Counting every curve to 10⁵ takes several seconds, longer with the twists.
A product that would be 1/L(E, 1). At a good prime p the Euler factor of the L-function is Lp(E, s) = (1 − app−s + p1−2s)−1. At s = 1 its reciprocal is 1 − ap/p + 1/p = (p + 1 − ap)/p = Np/p. So, formally, ∏ Np/p = ∏ Lp(E, 1)−1 = 1/L(E, 1). The Euler product converges only for Re s > 3/2, so this is not an equation at s = 1, but it suggests the picture: if L(E, s) vanishes to order r at s = 1, the partial products should blow up like a power of log X, the r-th. Dorian Goldfeld proved in 1982 that if the partial products do grow like C·(log X)r, then r is the order of vanishing of L(E, s) at s = 1, and C is fixed by the leading Taylor coefficient there, with an unexpected extra factor of √2.
Slow convergence. Even when the growth holds, the fitted slope approaches r only slowly. The rank enters as a coefficient of log log X, which grows from about 1.9 at X = 1,000 to 2.4 at X = 100,000; meanwhile the fluctuations of ap add a wandering term of the same size, so the error in the slope shrinks only like 1/log log X. Measured live here at X = 10⁵, the rank-3 curve fits about 3.2. A curve whose conductor is larger has more primes of “early noise” before the trend shows, which is why the twists, with conductors in the thousands and tens of thousands, scatter more.
Twists. For an equation y² = f(x), the twist by a fundamental discriminant D is the curve D·y² = f(x): over each good prime p its surplus is the original one multiplied by the sign (D/p), so its point counts and L-series change, and so can its rank. The demo builds each twist’s equation, its L-series a(n)·χD(n), and finds its conductor by testing the functional equation at the candidates N·D² and N·|D|: the right one satisfies it to about 10−12 and the wrong ones fail visibly. The rank on the axis is the order of vanishing found numerically, which for ranks 0 and 1 is proved to equal the rank (Gross–Zagier 1986 and Kolyvagin 1988–89). The experiment suggests the rank, and the conjecture predicts it; the computation here proves nothing about any curve. The passage from the product to the L-function itself is the subject of the next lesson; see also L-functions in the Langlands Program module.
Spot a mistake or have an idea?