Class number of a negative discriminant Created 2026-09-24 Updated 2026-11-05
For a negative discriminant of a binary quadratic form or , the class number of a negative discriminant counts proper equivalence classes of primitive binary quadratic forms that are positive definite and have discriminant .
Uniqueness of the reduced positive definite binary quadratic form in each class makes this the number of reduced primitive forms. Enumeration of reduced binary quadratic forms proves finiteness and gives an explicit procedure. For example, , represented by , while , with the four forms listed under reduced positive definite binary quadratic forms of discriminant minus thirty-nine.
Imprimitive forms do not enter . At , the reduced form has content two, so the three reduced forms listed under reduced forms of discriminant minus thirty-two contribute only two primitive classes. If is a fundamental discriminant, this form class number agrees with the class number of the imaginary quadratic field of discriminant . For nonfundamental , the associated order in a number field need not be the full ring of integers, so that distinction must be retained.
The discriminant of a binary quadratic form is . If the form is positive-definite, evaluating it at gives . For , completing the square gives
Evaluating along shows that positivity also requires . Conversely these two inequalities make both displayed coefficients positive, proving
A reduced positive definite binary quadratic form satisfies , with if or . The last convention avoids counting both boundary representatives. For fixed negative discriminant, these inequalities imply
There are finitely many such integers , finitely many integers with , and then is determined. Hence the number of reduced forms is finite. If no admissible integer coefficients have the given discriminant, this number is zero.
For , the bound gives . The integrality of and the boundary sign convention give respectively
These are all the reduced positive definite binary quadratic forms of discriminant minus thirty-nine. Thus
represented by , , , and .