This article includes a list ofgeneral references, butit lacks sufficient correspondinginline citations. Please help toimprove this article byintroducing more precise citations.(July 2009) (Learn how and when to remove this message) |
Inmathematics, abinary quadratic form is a quadratichomogeneous polynomial in two variables
wherea,b,c are thecoefficients. When the coefficients can be arbitrarycomplex numbers, most results are not specific to the case of two variables, so they are described inquadratic form. A quadratic form withinteger coefficients is called anintegral binary quadratic form, often abbreviated tobinary quadratic form.
This article is entirely devoted to integral binary quadratic forms. This choice is motivated by their status as the driving force behind the development ofalgebraic number theory. Since the late nineteenth century, binary quadratic forms have given up their preeminence in algebraic number theory toquadratic and more generalnumber fields, but advances specific to binary quadratic forms still occur on occasion.
Pierre Fermat stated that if p is an odd prime then the equation has a solution iff, and he made similar statement about the equations,, and. and so on are quadratic forms, and the theory of quadratic forms gives a unified way of looking at and proving these theorems.
Another instance of quadratic forms isPell's equation.
Binary quadratic forms are closely related to ideals in quadratic fields. This allows the class number of a quadratic field to be calculated by counting the number of reduced binary quadratic forms of a given discriminant.
The classicaltheta function of 2 variables is, if is a positivedefinite quadratic form then is a theta function.
Two formsf andg are calledequivalent if there exist integers such that the following conditions hold:
For example, with and,,, and, we find thatf is equivalent to, which simplifies to.
The above equivalence conditions define anequivalence relation on the set of integral quadratic forms. It follows that the quadratic forms arepartitioned into equivalence classes, calledclasses of quadratic forms. Aclass invariant can mean either a function defined on equivalence classes of forms or a property shared by all forms in the same class.
Lagrange used a different notion of equivalence, in which the second condition is replaced by. Since Gauss it has been recognized that this definition is inferior to that given above. If there is a need to distinguish, sometimes forms are calledproperly equivalent using the definition above andimproperly equivalent if they are equivalent in Lagrange's sense.
Inmatrix terminology, which is used occasionally below, when
has integer entries and determinant 1, the map is a (right)group action of on the set of binary quadratic forms. The equivalence relation above then arises from the general theory of group actions.
If, then important invariants include
Terminology has arisen for classifying classes and their forms in terms of their invariants. A form of discriminant isdefinite if,degenerate if is a perfect square, andindefinite otherwise. A form isprimitive if its content is 1, that is, if its coefficients are coprime. If a form's discriminant is afundamental discriminant, then the form is primitive.[1] Discriminants satisfy
Iff is a quadratic form, a matrix
in is anautomorphism off if. For example, the matrix
is an automorphism of the form. The automorphisms of a form are asubgroup of. Whenf is definite, the group is finite, and whenf is indefinite, it is infinite andcyclic.
A binary quadratic formrepresents an integer if it is possible to find integers and satisfying the equation Such an equation is arepresentation ofn byq.
Diophantus considered whether, for an odd integer, it is possible to find integers and for which.[2] When, we have
so we find pairs that do the trick. We obtain more pairs that work by switching the values of and and/or by changing the sign of one or both of and. In all, there are sixteen different solution pairs. On the other hand, when, the equation
does not have integer solutions. To see why, we note that unless or. Thus, will exceed 3 unless is one of the nine pairs with and each equal to or 1. We can check these nine pairs directly to see that none of them satisfies, so the equation does not have integer solutions.
A similar argument shows that for each, the equation can have only a finite number of solutions since will exceed unless the absolute values and are both less than. There are only a finite number of pairs satisfying this constraint.
Another ancient problem involving quadratic forms asks us to solvePell's equation. For instance, we may seek integersx andy so that. Changing signs ofx andy in a solution gives another solution, so it is enough to seek just solutions in positive integers. One solution is, that is, there is an equality. If is any solution to, then is another such pair. For instance, from the pair, we compute
and we can check that this satisfies. Iterating this process, we find further pairs with:
These values will keep growing in size, so we see there are infinitely many ways to represent 1 by the form. This recursive description was discussed in Theon of Smyrna's commentary onEuclid's Elements.
The oldest problem in the theory of binary quadratic forms is therepresentation problem: describe the representations of a given number by a given quadratic formf. "Describe" can mean various things: give an algorithm to generate all representations, a closed formula for the number of representations, or even just determine whether any representations exist.
The examples above discuss the representation problem for the numbers 3 and 65 by the form and for the number 1 by the form. We see that 65 is represented by in sixteen different ways, while 1 is represented by in infinitely many ways and 3 is not represented by at all. In the first case, the sixteen representations were explicitly described. It was also shown that the number of representations of an integer by is always finite. Thesum of squares function gives the number of representations ofn by as a function ofn. There is a closed formula[3]
where is the number ofdivisors ofn that arecongruent to 1 modulo 4 and is the number of divisors ofn that are congruent to 3 modulo 4.
There are several class invariants relevant to the representation problem:
The minimum absolute value represented by a class is zero for degenerate classes and positive for definite and indefinite classes. All numbers represented by a definite form have the same sign: positive if and negative if. For this reason, the former are calledpositive definite forms and the latter arenegative definite.
The number of representations of an integern by a formf is finite iff is definite and infinite iff is indefinite. We saw instances of this in the examples above: is positive definite and is indefinite.
The notion of equivalence of forms can be extended toequivalent representations. Representations and are equivalent if there exists a matrix
with integer entries and determinant 1 so that and
The above conditions give a (right) action of the group on the set of representations of integers by binary quadratic forms. It follows that equivalence defined this way is an equivalence relation and in particular that the forms in equivalent representations are equivalent forms.
As an example, let and consider a representation. Such a representation is a solution to the Pell equation described in the examples above. The matrix
has determinant 1 and is an automorphism off. Acting on the representation by this matrix yields the equivalent representation. This is the recursion step in the process described above for generating infinitely many solutions to. Iterating this matrix action, we find that the infinite set of representations of 1 byf that were determined above are all equivalent.
There are generally finitely many equivalence classes of representations of an integern by forms of given nonzero discriminant. A complete set ofrepresentatives for these classes can be given in terms ofreduced forms defined in the section below. When, every representation is equivalent to a unique representation by a reduced form, so a complete set of representatives is given by the finitely many representations ofn by reduced forms of discriminant. When, Zagier proved that every representation of a positive integern by a form of discriminant is equivalent to a unique representation in whichf is reduced in Zagier's sense and,.[4] The set of all such representations constitutes a complete set of representatives for equivalence classes of representations.
Lagrange proved that for every valueD, there are only finitely many classes of binary quadratic forms with discriminantD. Their number is theclass number of discriminantD. He described an algorithm, calledreduction, for constructing a canonical representative in each class, thereduced form, whose coefficients are the smallest in a suitable sense.
Gauss gave a superior reduction algorithm inDisquisitiones Arithmeticae, which ever since has been the reduction algorithm most commonly given in textbooks. In 1981, Zagier published an alternative reduction algorithm which has found several uses as an alternative to Gauss's.[5]
Composition most commonly refers to abinary operation on primitive equivalence classes of forms of the same discriminant, one of the deepest discoveries of Gauss, which makes this set into a finiteabelian group called theform class group (or simply class group) of discriminant.Class groups have since become one of the central ideas in algebraic number theory. From a modern perspective, the class group of a fundamental discriminant isisomorphic to thenarrow class group of thequadratic field of discriminant.[6] For negative, the narrow class group is the same as theideal class group, but for positive it may be twice as big.
"Composition" also sometimes refers to, roughly, a binary operation on binary quadratic forms. The word "roughly" indicates two caveats: only certain pairs of binary quadratic forms can be composed, and the resulting form is not well-defined (although its equivalence class is). The composition operation on equivalence classes is defined by first defining composition of forms and then showing that this induces a well-defined operation on classes.
"Composition" can also refer to a binary operation on representations of integers by forms. This operation is substantially more complicated[citation needed] than composition of forms, but arose first historically. We will consider such operations in a separate section below.
Composition means taking 2 quadratic forms of the same discriminant and combining them to create a quadratic form of the same discriminant, as follows fromBrahmagupta's identity.
A variety of definitions of composition of forms has been given, often in an attempt to simplify the extremely technical and general definition of Gauss. We present here Arndt's method, because it remains rather general while being simple enough to be amenable to computations by hand. An alternative definition is described atBhargava cubes.
Suppose we wish to compose forms and, each primitive and of the same discriminant. We perform the following steps:
It can be shown that this system always has a unique integer solution modulo. We arbitrarily choose such a solution and call itB.
The form is "the" composition of and. We see that its first coefficient is well-defined, but the other two depend on the choice ofB andC. One way to make this a well-defined operation is to make an arbitrary convention for how to chooseB—for instance, chooseB to be the smallest positive solution to the system of congruences above. Alternatively, we may view the result of composition, not as a form, but as an equivalence class of forms modulo the action of the group of matrices of the form
wheren is an integer. If we consider the class of under this action, the middle coefficients of the forms in the class form a congruence class of integers modulo 2A. Thus, composition gives a well-defined function from pairs of binary quadratic forms to such classes.
It can be shown that if and are equivalent to and respectively, then the composition of and is equivalent to the composition of and. It follows that composition induces a well-defined operation on primitive classes of discriminant, and as mentioned above, Gauss showed these classes form a finite abelian group. Theidentity class in the group is the unique class containing all forms, i.e., with first coefficient 1. (It can be shown that all such forms lie in a single class, and the restriction implies that there exists such a form of every discriminant.) Toinvert a class, we take a representative and form the class of. Alternatively, we can form the class of since this and are equivalent.
Gauss also considered a coarser notion of equivalence, with each coarse class called agenus of forms. Each genus is the union of a finite number of equivalence classes of the same discriminant, with the number of classes depending only on the discriminant. In the context of binary quadratic forms, genera can be defined either through congruence classes of numbers represented by forms or bygenus characters defined on the set of forms. A third definition is a special case of thegenus of a quadratic form in n variables. This states that forms are in the same genus if they are locally equivalent at all rational primes (including theArchimedean place).
There is circumstantial evidence of protohistoric knowledge of algebraic identities involving binary quadratic forms.[7] The first problem concerning binary quadratic forms asks for the existence or construction of representations of integers by particular binary quadratic forms. The prime examples are the solution ofPell's equation and the representation of integers as sums of two squares. Pell's equation was already considered by the Indian mathematicianBrahmagupta in the 7th century CE. Several centuries later, his ideas were extended to a complete solution of Pell's equation known as thechakravala method, attributed to either of the Indian mathematiciansJayadeva orBhāskara II.[8] The problem of representing integers by sums of two squares was considered in the 3rd century byDiophantus.[9] In the 17th century, inspired while reading Diophantus'sArithmetica,Fermat made several observations about representations by specific quadratic forms including that which is now known asFermat's theorem on sums of two squares.[10]Euler provided the first proofs of Fermat's observations and added some new conjectures about representations by specific forms, without proof.[11]
The general theory of quadratic forms was initiated byLagrange in 1775 in hisRecherches d'Arithmétique. Lagrange was the first to realize that "a coherent general theory required the simulatenous consideration of all forms."[12] He was the first to recognize the importance of the discriminant and to define the essential notions of equivalence and reduction, which, according to Weil, have "dominated the whole subject of quadratic forms ever since".[13] Lagrange showed that there are finitely many equivalence classes of given discriminant, thereby defining for the first time an arithmeticclass number. His introduction of reduction allowed the quick enumeration of the classes of given discriminant and foreshadowed the eventual development ofinfrastructure. In 1798,Legendre publishedEssai sur la théorie des nombres, which summarized the work of Euler and Lagrange and added some of his own contributions, including the first glimpse of a composition operation on forms.
The theory was vastly extended and refined byGauss in Section V ofDisquisitiones Arithmeticae. Gauss introduced a very general version of acomposition operator that allows composing even forms of different discriminants and imprimitive forms. He replaced Lagrange's equivalence with the more precise notion of proper equivalence, and this enabled him to show that the primitive classes of given discriminant form agroup under the composition operation. He introduced genus theory, which gives a powerful way to understand the quotient of the class group by the subgroup of squares. (Gauss and many subsequent authors wrote 2b in place ofb; the modern convention allowing the coefficient ofxy to be odd is due toEisenstein).
These investigations of Gauss strongly influenced both the arithmetical theory of quadratic forms in more than two variables and the subsequent development of algebraic number theory, where quadratic fields are replaced with more generalnumber fields. But the impact was not immediate. Section V ofDisquisitiones contains truly revolutionary ideas and involves very complicated computations, sometimes left to the reader. Combined, the novelty and complexity made Section V notoriously difficult.Dirichlet published simplifications of the theory that made it accessible to a broader audience. The culmination of this work is his textVorlesungen über Zahlentheorie. The third edition of this work includes two supplements byDedekind. Supplement XI introducesring theory, and from then on, especially after the 1897 publication ofHilbert'sZahlbericht, the theory of binary quadratic forms lost its preeminent position inalgebraic number theory and became overshadowed by the more general theory ofalgebraic number fields.
Even so, work on binary quadratic forms with integer coefficients continues to the present. This includes numerous results about quadratic number fields, which can often be translated into the language of binary quadratic forms, but also includes developments about forms themselves or that originated by thinking about forms, includingShanks's infrastructure,Zagier's reduction algorithm,Conway's topographs, andBhargava's reinterpretation of composition throughBhargava cubes.