Binary quadratic form: Difference between revisions

Content deleted Content added
CyScribe (talk | contribs)
Link suggestions feature: 3 links added.
 
(17 intermediate revisions by 13 users not shown)
Line 1:
{{Short description|Quadratic homogeneous polynomial in two variables}}
{{About|binary quadratic forms with [[integer]] coefficients|binary quadratic forms with other coefficients|quadratic form}}
{{more footnotes|date=July 2009}}
Line 9 ⟶ 10:
This article is entirely devoted to integral binary quadratic forms. This choice is motivated by their status as the driving force behind the development of [[algebraic number theory]]. Since the late nineteenth century, binary quadratic forms have given up their preeminence in algebraic number theory to [[quadratic field|quadratic]] and more general [[number field]]s, but advances specific to binary quadratic forms still occur on occasion.
 
Pierre Fermat stated that if p is an odd prime then the equation <math>p = x^2 + y^2</math> has a solution iff <math>p \equiv 1 \pmod{4}</math>, and he made similar statement about the equations <math>p = x^2 + 2y^2</math>, <math>p = x^2 + 3y^2</math>, <math>p = x^2 - 2y^2</math> and <math>p = x^2 - 3y^2</math>.
<math>x^2 + y^2, x^2 + 2y^2, x^2 - 3y^2</math> 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 is [[Pell's equation]] <math>x^2-ny^2=1</math>.
 
Binary quadratic forms are closely related to ideals in quadratic fields,. thisThis 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 classical [[theta function]] of 2 variables is <math> \sum_{(m,n)\in \mathbb{Z}^2} q^{m^2 + n^2}</math>, if <math>f(x,y)</math> is a positive [[definite quadratic form]] then <math> \sum_{(m,n)\in \mathbb{Z}^2} q^{f(m,n)}</math> is a theta function.
 
== Equivalence ==
Line 23 ⟶ 24:
 
: <math>\begin{align} f(\alpha x + \beta y, \gamma x + \delta y) &= g(x,y),\\
\alpha \delta - \beta \gamma &= 1.\end{align}.</math>
 
For example, with <math>f= x^2 + 4xy + 2y^2</math> and <math>\alpha = -3</math>, <math>\beta = 2</math>, <math>\gamma = 1</math>, and <math>\delta = -1</math>, we find that ''f'' is equivalent to <math>g = (-3x+2y)^2 + 4(-3x+2y)(x-y)+2(x-y)^2</math>, which simplifies to <math>-x^2+4xy-2y^2</math>.
Line 39 ⟶ 40:
If <math>f=ax^2+bxy+cy^2</math>, then important invariants include
 
* The [[discriminant]] <math>\Delta=b^2-4ac. </math>.
* The content, equal to the greatest common divisor of ''a'', ''b'', and ''c''.
 
Line 54 ⟶ 55:
: <math> \begin{pmatrix} 3 & -4 \\ -2 & 3 \end{pmatrix} </math>
 
is an automorphism of the form <math>f = x^2 - 2y^2</math>. The automorphisms of a form formare a [[subgroup]] of <math>\mathrm{SL}_2(\mathbb{Z})</math>. When ''f'' is definite, the group is finite, and when ''f'' is indefinite, it is infinite and [[cyclic group|cyclic]].
 
==RepresentationsRepresentation==
 
We say that aA binary quadratic form <math>q(x,y)</math> '''represents''' an integer <math>n</math> if it is possible to find integers <math>x</math> and <math>y</math> satisfying the equation <math>n = fq(x,y).</math> Such an equation is a '''representation''' of {{math|''n''}} by {{math|''fq''}}.
 
=== Examples ===
Line 83 ⟶ 84:
: <math>\begin{align}
(3 \cdot 17 + 4 \cdot 12, 2 \cdot 17 + 3 \cdot 12) &= (99,70),\\
(3 \cdot 99 + 4 \cdot 70, 2 \cdot 99 + 3 \cdot 70) &= (477577,408),\\
&\vdots \end{align}
</math>
Line 93 ⟶ 94:
 
The examples above discuss the representation problem for the numbers 3 and 65 by the form <math>x^2 + y^2</math> and for the number 1 by the form <math>x^2 - 2y^2</math>. We see that 65 is represented by <math>x^2 + y^2</math> in sixteen different ways, while 1 is represented by <math>x^2 - 2y^2</math> in infinitely many ways and
3 is not represented by <math>x^2+y^2</math> 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 <math>x^2+y^2</math> is always finite. The [[sum of squares function]] <math>r_2(n)</math> gives the number of representations of ''n'' by <math>x^2+y^2</math> as a function of ''n''. There is a closed formula<ref>{{harvnb|Hardy|Wright|2008||loc=Thm. 278}}</ref>
 
: <math> r_2(n) = 4(d_1(n) - d_3(n)), </math>
Line 127 ⟶ 128:
has determinant 1 and is an automorphism of ''f''. Acting on the representation <math>1 = f(x_1,y_1)</math> by this matrix yields the equivalent representation <math>1 = f(3x_1 + 4y_1, 2x_1 + 3 y_1)</math>. This is the recursion step in the process described above for generating infinitely many solutions to <math>1 = x^2 - 2y^2</math>. Iterating this matrix action, we find that the infinite set of representations of 1 by ''f'' that were determined above are all equivalent.
 
There are generally finitely many equivalence classes of representations of an integer ''n'' by forms of given nonzero discriminant <math>\Delta</math>. A complete set of representatives[[representative (mathematics)|representative]]s for these classes can be given in terms of ''reduced forms'' defined in the section below. When <math>\Delta < 0</math>, 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 of ''n'' by reduced forms of discriminant <math>\Delta</math>. When <math>\Delta > 0</math>, Zagier proved that every representation of a positive integer ''n'' by a form of discriminant <math>\Delta</math> is equivalent to a unique representation <math>n = f(x,y)</math> in which ''f'' is reduced in Zagier's sense and <math>x > 0</math>, <math>y \geq 0</math>.<ref>{{harvnb|Zagier|1981||loc=}}</ref> The set of all such representations constitutes a complete set of representatives for equivalence classes of representations.
 
== Reduction and class numbers<!--'Class number (binary quadratic forms)' redirects here--> ==
Line 133 ⟶ 134:
Lagrange proved that for every value ''D'', there are only finitely many classes of binary quadratic forms with discriminant ''D''. Their number is the '''{{vanchor|class number}}'''<!--boldface per WP:R#PLA--> of discriminant ''D''. He described an algorithm, called '''reduction''', for constructing a canonical representative in each class, the '''reduced form''', whose coefficients are the smallest in a suitable sense.
 
Gauss gave a superior reduction algorithm in ''[[Disquisitiones 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.<ref>{{harvnb|Zagier|1981||loc=}}</ref>
 
== Composition ==
Line 141 ⟶ 142:
"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{{cncitation needed|date=March 2017}}<!--<ref>{{harvnb|Shanks|1989}}</ref> full citation not in article yet --> 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, itas isfollows afrom generalization of the 2-square[[Brahmagupta's identity <math>\left(a^2 + b^2\right)\left(c^2 + d^2\right) = \left(ac-bd\right)^2 + \left(ad+bc\right)^2</math>]].
 
=== Composing forms and classes ===
Line 173 ⟶ 174:
The general theory of quadratic forms was initiated by [[Lagrange]] in 1775 in his ''[[List of important publications in mathematics#Recherches d'Arithmétique|Recherches d'Arithmétique]]''. Lagrange was the first to realize that "a coherent general theory required the simulatenous consideration of all forms."<ref>{{harvnb|Weil|2001|loc=p.318}}</ref> 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".<ref>{{harvnb|Weil|2001|loc=p.317}}</ref> Lagrange showed that there are finitely many equivalence classes of given discriminant, thereby defining for the first time an arithmetic [[Ideal class group|class number]]. His introduction of reduction allowed the quick enumeration of the classes of given discriminant and foreshadowed the eventual development of [[infrastructure (number theory)|infrastructure]]. In 1798, [[Adrien-Marie Legendre|Legendre]] published ''Essai 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 by [[Carl Friedrich Gauss|Gauss]] in Section V of ''[[List of important publications in mathematics#Disquisitiones Arithmeticae|Disquisitiones Arithmeticae]]''. Gauss introduced a very general version of a [[composition 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 a [[group (mathematics)|group]] 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 2''b'' in place of ''b''; the modern convention allowing the coefficient of ''xy'' to be odd is due to [[Gotthold Eisenstein|Eisenstein]]).
 
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 general [[number field]]s. But the impact was not immediate. Section V of ''Disquisitiones'' 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 text ''[[List of important publications in mathematics#Vorlesungen über Zahlentheorie|Vorlesungen über Zahlentheorie]]''. The third edition of this work includes two supplements by [[Dedekind]]. Supplement XI introduces [[ring theory]], and from then on, especially after the 1897 publication of [[Hilbert|Hilbert's]] ''[[List of important publications in mathematics#Zahlbericht|Zahlbericht]]'', the theory of binary quadratic forms lost its preeminent position in [[algebraic number theory]] and became overshadowed by the more general theory of [[algebraic number fields]].
Line 183 ⟶ 184:
*[[Fermat's theorem on sums of two squares]]
* [[Legendre symbol]]
* [[Brahmagupta's identity]]
 
==Notes==
Line 190 ⟶ 192:
* Johannes Buchmann, Ulrich Vollmer: ''Binary Quadratic Forms'', Springer, Berlin 2007, {{ISBN|3-540-46367-4}}
* Duncan A. Buell: ''Binary Quadratic Forms'', Springer, New York 1989
* David A. Cox, ''Primes of the form <math>x^2 + yny^2</math>, Fermat, class field theory, and complex multiplication''
* {{Citation
| last=Cohen
Line 207 ⟶ 209:
| last= Fröhlich
| first = Albrecht
| authorlinkauthor-link= Albrecht Fröhlich
| last2=Taylor
| first2=Martin
| authorlink2author-link2= Martin J. Taylor
| title=Algebraic number theory
| publisher=[[Cambridge University Press]]
Line 231 ⟶ 233:
| publisher= Clarendon Press
| ___location=Oxford
| series=
| isbn= 978-0-19-921986-5
| mr= 2445243
| zbl= 1159.11001
| year=2008
| origyearorig-year=1938
}}
* {{Citation
| last = Weil
| first = André
| authorlinkauthor-link= André Weil
| title = Number Theory: An approach through history from Hammurapi to Legendre
| publisher = Birkhäuser Boston
Line 249 ⟶ 250:
| last = Zagier
| first = Don
| authorlinkauthor-link = Don Zagier
| title = Zetafunktionen und quadratische Körper: eine Einführung in die höhere Zahlentheorie
| publisher = Springer