Counting the classes that break factorisation
Worth reading first: Factoring uniquely with no way to divide · Which primes a form takes.
Factoring uniquely with no way to divide ended with a number that measured failure. In the integers of , six factors two ways, , and the repair is to count the ideals up to multiplication by numbers: two classes of them, the principal ones and the rest. The class number is how many classes there are. It is one exactly when factorisation is unique — one way to factor, and no other, as in the ordinary integers — and nine imaginary quadratic fields have class number one.
Defined that way, through ideals, the class number looks like something that cannot be computed: an ideal is an infinite set, and there are infinitely many of them. Carl Friedrich Gauss computed it for hundreds of fields in 1801, before ideals were invented, and he did it by counting something finite. This essay is that count.
The figure below is the whole count for one field, , whose discriminant is . Four expressions — , , and — each drawn at a point of the upper half-plane, all four inside a shaded region. Every quadratic form of discriminant can be moved into that region in exactly one way, and there are exactly four places it can land. The class number of the field is four.
Forms instead of ideals
A binary quadratic form is an expression with whole coefficients, and its discriminant is . The forms that decide which primes are sums of squares are the simplest examples: has discriminant , and has . When the discriminant is negative and is positive the form takes only positive values, like a squared length — it is the squared length of a vector in a lattice with a tilted or stretched grid.
Two forms are equivalent when a change of variables , with whole numbers and turns one into the other. Such a change is a relabelling of the same lattice by a different basis, so equivalent forms take exactly the same values. They have the same discriminant, and a form’s equivalence class is the lattice itself, stripped of the choice of basis.
Dedekind proved the dictionary Gauss had been using without it: for the discriminant of a field, equivalence classes of forms correspond exactly to classes of ideals. Each ideal is a lattice of numbers in the field; its norm form, the squared length of its elements divided by the ideal’s norm, is a binary quadratic form; and two ideals are in the same class exactly when their forms are equivalent. The class number is the number of classes of forms, and that number Gauss could count.
Squeezing a form into shape
A form can be simplified by two moves. A shift, , keeps and changes by , so can be brought between and . A swap, , , exchanges and and negates . Each keeps the discriminant and the set of values.
Alternate them: shift to make , and if then , swap and shift again. Each swap makes strictly smaller, so the process stops, and it stops at a form with . Such a form is called reduced — with a small convention on signs when or , to break ties. The form reduces in three steps to , and the figure checks at each step that the discriminant is still and that the forms take the same values.
Joseph-Louis Lagrange proved in 1773 the fact that makes reduction a counting tool: every form is equivalent to exactly one reduced form. So the classes of forms of a given discriminant are in one-to-one correspondence with the reduced forms, and those can be listed. A reduced form has , since . So is bounded, is bounded by , and is determined by the discriminant. Finitely many candidates, each checked in a line.
The upper half-plane
The shaded region in the hero is where the reduced forms live when each is drawn as a point.
A form with negative discriminant has, as a quadratic in , two complex roots, and the one in the upper half-plane is . The shift moves one step left or right; the swap sends it to , reflecting it through the unit circle. The reduction conditions say precisely that has real part between and and distance at least one from the origin: the region bounded by two vertical lines and an arc. So the reduction is a walk of in the upper half-plane, and it ends when enters the region.
That region is the fundamental domain of the modular group, the group of changes of variable with whole entries and determinant one. Every point of the upper half-plane can be moved into it, and only its boundary points can be moved to each other. The same region appears whenever lattices in the plane are classified up to rotation and scale — it is the space of all lattice shapes — and the forms of a given discriminant are the lattice shapes with one particular covolume. For discriminant there are four such shapes, drawn at four points, one of them, , sitting exactly on the arc where two boundaries meet.
Two forms, two kinds of prime
Different classes take different values, and for the primes the division is clean.
Discriminant has two reduced forms, and , so has class number two. The figure sorts the primes by their remainder modulo twenty and asks which form takes each. The answer depends only on the remainder: and go to the first form, and to the second, and the other four remainders to neither. The primes that neither form takes are the ones that stay prime in the field; the others split into two ideal factors, principal for the first form and not for the second.
This is what the class number two looks like in the primes. The prime is taken by the second form, so its ideal factors are not principal, and that is exactly why could also be : the four factors are products of non-principal ideals grouped two different ways. Euler conjectured which primes are , from tables he computed, and Lagrange and Gauss proved it with forms; the explanation by ideals came half a century later.
The ideal behind the second form
The dictionary can be run by hand on the field where the failure was first seen. In the ideal that repairs is : every number with whole and . Its norm is , and the ideal’s own norm is , so dividing gives — the second reduced form of discriminant , exactly the one the figure above credits with the primes , , and .
That is what “the ideal is not principal” looks like as a form. If were generated by one number , the norm form of would be equivalent to , and would be one of its values, since itself would have norm and would count. But never takes the value : it is at its smallest. So the ideal has no single generator, and the proof is the reduced form’s first coefficient.
The same computation classifies the primes. A prime that splits in the field splits into two ideals, and they land in one class or the other. If they land in the principal class, ; if in the other, ; and which one happens is decided by modulo — and for the first, and for the second — because here each class is alone in its genus, the set of classes that no congruence can tell apart. When a genus holds more than one class, as it does for and discriminant , congruences cannot finish the job, and deciding which form takes a prime needs a polynomial rather than a congruence: for an odd prime other than , exactly when is a square modulo and the quartic has a root modulo — the quartic being the defining equation of the field that class field theory attaches to the whole class group.
Reduction is Euclid’s algorithm for lattices
The two moves of the reduction are not new. A shift subtracts a multiple of one basis vector of the lattice from the other, and a swap exchanges them — exactly the two steps of Euclid’s algorithm, subtract the smaller as often as it fits and then exchange, played out on vectors instead of numbers. Gauss’s reduction of forms is Lagrange’s reduction of a two-dimensional lattice to its shortest basis: the reduced form’s first coefficient is the squared length of the shortest non-zero vector in the lattice, and the squared length of the shortest vector independent of it.
This is the same computation that produced the two squares whose existence Fermat’s theorem only promised: a lattice of determinant is reduced, and its shortest vector has squared length — which is written as . There, one form of discriminant was all there was, since has class number one. Here the point is that for most discriminants there are several classes, and the reduction sorts every lattice into exactly one of them.
Counting with π
The class number has a second formula, which Dirichlet proved in 1839 and which has nothing finite about it. For a discriminant below ,
where is , or according to whether is a square modulo in the sense of the Kronecker symbol — the same symbol that decides which primes the forms take. The series is a sum with a sign in front of every term, converging slowly and conditionally, and multiplied by it comes out to exactly the whole number of reduced forms: two for , four for .
That a transcendental number and an infinite series should conspire to produce a small whole number is the analytic class number formula’s surprise, and it is also the reason class numbers grow like : the series is bounded above and below by quantities that vary slowly, so tracks up to those slowly varying factors. Siegel’s theorem below is a statement that the series cannot be too small, and the difficulty of making it effective is the difficulty of ruling out a zero of the corresponding function very close to one — a possibility connected, like so much in this subject, to the Riemann hypothesis in a generalised form.
A group of classes
The classes can be multiplied. Gauss defined a composition of forms — a third form whose values include the products of the two forms’ values — and proved that it makes the classes of a given discriminant into a finite abelian group, the class group. Dirichlet later gave a much simpler recipe, which is what the figure runs.
For discriminant the table shows a group in which every element is its own inverse — the group of order four that is not cyclic, the one made of two independent switches. The identity is the principal form, , whose class is the principal ideals. The figure checks associativity on all sixty-four triples, which is the part of Gauss’s proof that took him the longest.
A group whose elements all have order two has a special meaning here. Gauss’s theory of genera sorts forms by which remainders their values leave modulo the primes dividing the discriminant, and for there are four genera. When every genus holds exactly one class, as here, the remainder of a prime modulo already decides which form takes it — nothing finer is needed. Euler, without knowing why, had found the numbers for which has this property and called them idoneal; is one of them, and so, in its way, is .
Nine fields, and no tenth
With reduction, the class number of any imaginary quadratic field is a finite computation, and Gauss computed a great many.
Class number one — unique factorisation — occurs at nine discriminants: . Gauss conjectured that there are no others. The conjecture resisted for a century and a half. Kurt Heegner published a proof in 1952 that was dismissed as incomplete; Alan Baker and Harold Stark independently proved it in 1966 and 1967, by quite different methods, and Heegner’s proof was then re-examined and found to be essentially correct. He had died in 1965.
The reason there are no more is visible in the growth. The class numbers fill a band that widens like , and Carl Ludwig Siegel proved in 1935 that is larger than once is large enough, for any . That implies only finitely many discriminants have any given class number. What it does not give is a bound on how large “large enough” is: Siegel’s proof is ineffective, able to show that exceptions stop without saying where. The list of class number one had to be proved complete by other means, and making Siegel’s bound effective took until Dorian Goldfeld, Benedict Gross and Don Zagier in the 1980s, with a bound that grows only like a logarithm.
What counting forms cannot do
The reduction counts classes exactly, for any one discriminant. What it cannot do is prove a statement about all discriminants: that class number one stops at , or that the class number grows. Each discriminant is a separate finite computation, and there are infinitely many. The figures count up to and , and the theorems of Heegner, Baker, Stark and Siegel are what reach beyond.
The figures also draw only imaginary quadratic fields, where forms are positive and reduction is clean. For real quadratic fields, with positive discriminant, forms take both signs, a reduced form is no longer unique in its class — the reduced forms of a class come in cycles, the same cycles as the continued fraction of the square root — and counting classes means counting cycles. The class number there is small much more often, and whether it is one infinitely often is not known.
Still open: the idoneal numbers
Euler found sixty-five idoneal numbers — the for which the form is alone in its genus, so that which primes it takes is decided by remainders alone — the largest being . He searched well beyond and found no more. It is now known, from the theory of the class group, that the idoneal numbers are exactly the for which the class group of discriminant has every element of order at most two.
Whether Euler’s list of sixty-five is complete is not known. Peter Weinberger proved in 1973 that at most one more exists, and none at all if a generalised form of the Riemann hypothesis is true. So the list is complete unless there is a single further idoneal number, far beyond every range that has been searched, whose existence would contradict a hypothesis almost everyone believes. It is the same kind of gap as the class-number problem had before Heegner: a finite list, an ineffective proof that it is nearly complete, and no way to rule out the last exception by computation.
Shares its objects with
Essays that name at least two of the same things, and that neither author linked.
- One sign decides which curve — both name discriminant, quadratic form
Named objects
A dashed tag is an object no other essay names yet.
Class groupClass numberDiscriminantIdealModular groupQuadratic fieldQuadratic formUnique factorisation