For negative discriminant , a reduced positive definite binary quadratic form satisfies and odd with . Checking leaves only under the boundary convention. The reduction algorithm for a positive definite binary quadratic form therefore puts every form in this one proper equivalence of binary quadratic forms class. Its unimodular shears give infinitely many distinct forms .
For a negative fundamental discriminant , primitive positive definite integral binary quadratic forms of discriminant , modulo proper equivalence, correspond bijectively to the ideal class group of . The displayed ideal gives one conventional choice of this correspondence. Reduced positive definite binary quadratic forms give unique class representatives with the usual boundary sign convention, making class-number computations finite.
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 .
Use the standard reduced-form convention , with when or . To reduce a positive definite integral binary quadratic form, choose a primitive integer vector at which the positive integer value is least. Complete that vector to a unimodular basis; it makes the leading coefficient that least value. A shear of the second basis vector by an integer multiple of the first replaces by , allowing . The new is the value at another primitive vector, hence . If , a shear makes without changing ; if and , the determinant-one swap reverses its sign. Thus every form is properly equivalent to a reduced positive definite binary quadratic form. This argument also gives the reduction algorithm for a positive definite binary quadratic form by successively decreasing its positive leading coefficient.
For a negative integral discriminant or , a prime is represented by some integral form of discriminant exactly when
Indeed a representing vector is primitive, since a common divisor of its coordinates would have its square divide . A unimodular change takes it to the first basis vector, giving a form and . Conversely a solution gives the positive definite form , which represents at . For odd this is the discriminant criterion for prime representation by a binary quadratic form: must be a square modulo , with parity chosen to satisfy the modulo-four condition.
For and odd , the Legendre symbol is . The supplementary laws make it positive exactly for . The prime also works directly, since has discriminant and represents . Therefore
The class here consists only of the prime .
For a reduced form, , so . The integer checks yield the reduced forms of discriminant minus thirty-two:
If one omits the boundary sign convention, also appears, but is properly equivalent to . The middle form is imprimitive and represents no odd integer. An odd integer represented by has odd and is . For to be odd, one of must be odd and the other even; substitution modulo eight gives in either case. If both are odd or both even, the value is even. Thus a prime represented by the last form is necessarily .
Conversely, a prime is represented by some discriminant- form, which reduces to one of the three displayed forms without changing its represented integers. The first and second cannot represent it, so the third must. Consequently
The prime is not an exception for this particular form: its minimum positive value is , as also follows from .
Put and . The ring of integers is , and the fundamental discriminant is . For a reduced positive definite binary quadratic form of discriminant , reduction gives
The coefficient is even; checking and , with the usual nonnegative sign choice at boundary equalities, leaves precisely
The correspondence between proper quadratic forms and ideal classes therefore gives . All four classes equal their inverses, since inversion replaces by . Hence
The three nontrivial classes may be represented by the ramified prime ideals , and . They square to principal ideals and satisfy . None is principal: an integral generator of norm , or would require to equal that number, which is impossible. The relation then makes the three classes distinct, consistently with the four-form calculation.
Consider
The three rational square classes are independent, so . Their radical product is , so and ; the extension is abelian. To verify that it is unramified, rather than assuming that radical adjunctions are harmless at , use the conductor-discriminant formula. The seven quadratic subfields have fundamental discriminants
The formula gives
The discriminant tower identity now gives
Thus the relative discriminant is the unit ideal and no finite prime ramifies. The base has no real places, so there is no infinite ramification to check. This unramified abelian degree-four extension has degree , and part (i) proves
This is the Hilbert class field of Q of square root minus thirty.
Next translate prime representation into an ideal class. For , we claim
If a representation exists, lies in and has . The integral ideal has norm , so it is a prime ideal . Its class is . Conversely, if , the product is principal, say . Since this ideal lies in , its generator has the form with integers . Taking norms gives , proving the reverse implication. This is prime representation via an ideal class, and it proves sufficiency as well as necessity.
Identify the required class in through the Artin map. We can use the explicit representation : has norm , so the prime above obtained from has class . Its Frobenius in the multiquadratic extension acts on the three radicals with signs
Their product is one, so this automorphism fixes . Because is abelian, for any unramified rational prime that splits in , the Frobenius at either prime of of norm is its rational Frobenius restricted to . The Artin isomorphism therefore makes the required class condition equivalent to
Conversely, these signs already imply splitting in , since their product is . No extra splitting condition is missing.
The supplementary law for , quadratic reciprocity for and , and then the Chinese remainder theorem turn these sign conditions into
Their four simultaneous residue classes modulo are . Finally, is represented by , whereas and cannot be represented: gives a value at least , and gives twice a square. We have proved the complete criterion
For an integral binary quadratic form with and , the reduced positive definite binary quadratic form convention is , with on either boundary or . Since , the enumeration of reduced binary quadratic forms for has . The integer is odd. For , only is retained and ; for , both give . Thus the complete list is
A proper representation of a prime uses a primitive representing vector. Completing that vector to a matrix in transforms a representing form to , so its discriminant of a binary quadratic form gives . Conversely, choose an odd satisfying this congruence and put . This is integral, and is positive definite and represents at . This proves the discriminant criterion for prime representation by a binary quadratic form here.
For , quadratic reciprocity gives . Including the ramified prime, the answer is therefore
For example supplies a proper representation of . Reduction transfers every such representation to one of the three displayed forms.
Write an integral binary quadratic form as . For proper equivalence of binary quadratic forms, the allowed changes of variables have determinant one. Here is the needed reduction rather than an appeal to class-number tables. A shear changes to without changing or the discriminant of a binary quadratic form. Choose so . If the resulting , the determinant-one change replaces by , strictly decreasing the positive integer leading coefficient. Repeating must terminate with . If and , the same rotation makes positive; the choice already fixes the other boundary sign. This is a reduced positive definite binary quadratic form.
Since , the reduction inequalities give , so . The integer is odd. For , only survives the boundary convention and . For , gives , not an integer. For , gives or ; for , gives or . None is integral. Therefore every form is properly equivalent to , establishing class number one for discriminant minus sixty-seven.
For infinitude, its determinant-one shears produce
Each has discriminant and is positive definite because it is a change of variables of the displayed positive form. Their middle coefficients are distinct, so they are infinitely many distinct elements of the set.
Use the reduction algorithm for a positive definite binary quadratic form. A determinant-one shear puts the middle coefficient in . If the resulting last coefficient is smaller than , the determinant-one substitution decreases the positive integer leading coefficient. Repeating terminates with a reduced positive definite binary quadratic form satisfying . These substitutions preserve proper equivalence of binary quadratic forms and the discriminant of a binary quadratic form.
The enumeration of reduced binary quadratic forms gives
Since , is odd. For , the possible values of are respectively . Each is a prime number greater than seven. But , so its positive divisor must be one. Then forces and . The two signs are properly equivalent: substituting in gives . Thus every form in question is properly equivalent to
A reduced positive definite binary quadratic form satisfies , with when or . These inequalities select representatives under proper equivalence of binary quadratic forms; the changes of variables have integer entries and determinant .
For the first binary quadratic form, put , . For the second, put , . Both changes preserve coprime integers, and give
Proper representation means using . For , gives a value greater than , while forces . For , the smallest values are and . For , again gives only primitively; gives , and gives at least . Thus the three smallest properly represented values are
For example the original variables can be chosen as for , and for .
Every positive definite binary quadratic form can be reduced: integer shears first make , and interchanging the variables when decreases the positive leading coefficient, so this procedure terminates. To enumerate the reduced forms of discriminant minus forty-four, reduction gives , hence . Checking with the reduced inequalities gives exactly
The second represents only even integers. The last two have the same represented values, by . The first and third are the reduced versions of and . Therefore every represented odd integer occurs in at least one of , whether or not its original representation was primitive.
Let . Its ring of integers of a quadratic field is , and its fundamental field discriminant is .
First compute the class number. The ideal-form correspondence for imaginary quadratic fields identifies the ideal classes with proper equivalence classes of primitive positive definite binary quadratic forms of discriminant . Each has a unique reduced positive definite binary quadratic form representative under the convention , with when or . From we get . Checking these three possible leading coefficients gives exactly
For , neither odd residue choice makes integral. The listed forms are primitive and satisfy the reduction convention, so
This computes the ideal class group of Q of square root minus thirty-one.
Now take a root of , and let be its splitting field over . There is no rational root: the only candidates are , and neither vanishes. Thus the cubic is irreducible. Its polynomial discriminant is
Since this is nonsquare, the Galois group of an irreducible cubic is . Its quadratic subfield is : the product of pairwise root differences squares to and changes sign under odd permutations. Thus is cyclic of degree three, and . Indeed the cubic field and have coprime degrees, so their compositum already has the full splitting-field degree six. The squarefree polynomial discriminant also shows, by the discriminant-index formula for an integral lattice, that is the full integer ring of the cubic field.
It remains to prove that is unramified everywhere. At any rational prime , the reduction of is separable. Over a finite residue extension in which it splits, all residue roots are simple and lift by Hensel lemma to the corresponding unramified extension of . Therefore the local splitting field is unramified over , and its extension over a completion of is unramified as well.
At the only possible ramified prime, direct reduction gives
The simple root lifts to . Write , with monic quadratic over . The discriminant product formula gives
Here is a unit, so the quadratic discriminant has square class . Hence the entire local splitting field is
It is quadratic over , but its extension over the completion of is trivial. Thus the prime over splits completely in ; in particular it is not ramified there. This is the local splitting-field argument behind an unramified cyclic cubic extension from a prime-discriminant cubic. There are no real places of the imaginary quadratic field , so no infinite-place ramification remains to check.
The Hilbert class field theorem identifies the maximal everywhere unramified abelian extension with an extension of degree . Our cyclic unramified extension already has that degree, so it must be the whole Hilbert class field. Therefore
Equivalently, it is the splitting field of , of degree six over and degree three over . Replacing by gives the alternative defining cubic . This is the Hilbert class field of Q of square root minus thirty-one.
Write an integral binary quadratic form as , with discriminant of a binary quadratic form . It is positive definite when and . Two forms are equivalent if one is obtained from the other by an integral linear change of variables whose matrix lies in . A positive definite form is reduced when
with when or .
To reduce a form, apply a unimodular shear with chosen so that the new middle coefficient has . If the new final coefficient is smaller than , exchange the variables, using a determinant-one rotation, so that the positive leading coefficient decreases from to . Repeating must stop because a positive integer cannot decrease indefinitely. At termination , and elementary sign changes impose the boundary convention. This is the reduction algorithm for a positive definite binary quadratic form, and proves that every positive definite form is equivalent to a reduced one.
The displayed forms have discriminant , so the intended discriminant is . For any reduced form of this discriminant, enumeration of reduced binary quadratic forms gives
The boundary convention and direct checking of leave only
Suppose first that a prime is represented by . The identity
shows modulo both and that is a nonzero square. Hence
Similarly,
Modulo , this says is a square, while modulo it says is a square. Since , the multiplicativity of the Legendre symbol gives
Conversely, suppose the two displayed Legendre symbols have the same sign. By quadratic reciprocity,
Choose an odd integer satisfying . Since is odd, is also divisible by , so
is a positive definite integral form of discriminant that represents . Reducing yields either or , and equivalence preserves represented integers. The necessary symbol calculation above determines which one: the positive pair selects , and the negative pair selects . Therefore
A reduced positive definite binary quadratic form satisfies
with when or . Its discriminant of a binary quadratic form is . The first displayed inequality already gives , while gives
Taking the positive square root yields
Moreover, , so . For fixed negative , the displayed bounds leave only finitely many possible integers and , and then is uniquely determined. Hence only finitely many reduced forms have discriminant .
For , the bound gives , so . The modular congruence condition makes odd. If , then and ; the boundary convention retains . If , then and ; the boundary convention retains . Thus the complete list is
An integral positive definite binary quadratic form
is reduced when
with when or . Its discriminant is .
For , reduction gives , so or . Since , is even. If , then forces , and . If , then ; integrality of
leaves and , and the boundary convention retains only . Hence the complete list is
Now suppose the prime is represented by . If , the equation is impossible modulo four, so is odd. The integers and then have opposite parity, and therefore
Also , since otherwise ; hence
The Chinese remainder theorem gives the stronger conclusion
In particular,
as required.
Write an integral binary quadratic form as . It is positive definite when and its discriminant is negative. Two forms are properly equivalent when one is obtained from the other by a change of variables in . A reduced positive definite binary quadratic form satisfies
with when or .
To prove reduction, choose in a proper equivalence class a form whose positive leading coefficient is minimal. Replacing by changes by , so choose to arrange . If the resulting , the determinant-one substitution would put in the leading position, contradicting minimality. Thus . Sign changes on the boundary give the stated convention. Hence every positive definite form is properly equivalent to a reduced one.
A unimodular integral substitution is a bijection of , so properly equivalent forms represent exactly the same integers.
Both given forms have discriminant . Reduction gives
The two reduced forms represent the same integers because
an integral change of variables of determinant . They are not properly equivalent: the uniqueness theorem for reduced positive definite forms says that each proper class has one reduced representative, and . Therefore the original forms represent the same integers but are not equivalent in the required proper sense.
Write an integral binary quadratic form as
A positive definite form is a reduced positive definite binary quadratic form when
with on the boundary or . The class number of a negative discriminant is the number of proper equivalence classes of primitive positive definite integral forms of discriminant .
Every such class has a reduced representative. For a reduced form,
so
There are only finitely many possible integers and , and then
is determined. Hence . There is at least one class: the principal form is
and
Thus , in agreement with the enumeration of reduced binary quadratic forms.
Now let be prime. The two forms
are primitive, positive definite, reduced, and have discriminant . They are not properly equivalent: represents one, while the least positive value of is two. Therefore
Assume henceforth that , so these are the only two classes. If
for a prime , then is odd and
Moreover , so is a quadratic residue modulo . This proves the necessity.
Conversely, suppose and is a quadratic residue modulo . By quadratic reciprocity, these two conditions imply
Indeed, for both relevant signs are positive, while for the signs from and reciprocity with cancel. Choose an even integer such that
Then
is a primitive positive definite integral form of discriminant and represents . It belongs to one of the two classes .
The second form cannot represent such a prime. If
then is odd and, since ,
This contradicts . Hence lies in the principal class , and proper equivalence of binary quadratic forms preserves represented integers. Therefore
This is the prime representation when h of minus eight q equals two.
A reduced positive definite binary quadratic form satisfies
with when either or . For or , the class number of a negative discriminant is the number of proper equivalence classes of primitive positive definite integral forms of discriminant , equivalently the number of their reduced representatives.
Write
Partitioning the complete prime-power factors between and gives ordered factorizations with . After identifying with , there are choices with . Each gives the primitive reduced form
whose discriminant is . The uniqueness of reduced representatives makes these classes distinct, proving the coprime-factorization lower bound for a quadratic-form class number
The inequality can be strict. For , there is one distinct prime factor, while the reduced primitive forms of discriminant are
Thus .
The reduced positive definite binary quadratic form bounds and imply . Enumerating and using the nonnegative boundary sign convention gives the four triples . Thus the number of reduced forms is four.