In mathematics, an integral binary quadratic form, also called simply a binary quadratic form, is a quadratic homogeneous polynomial in two variables x and y:
q(x,y)=ax2+bxy+cy2, where a, b, c are integer valued coefficients. More general binary quadratic forms can be defined. Historically, the integral form was 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 fields and more general number 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 p=x2+y2 has a solution iff p≡1(mod4), and he made similar statements about the equations p=x2+2y2, p=x2+3y2, p=x2−2y2 and p=x2−3y2. In addition, x2+y2,x2+2y2,x2−3y2 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 x2−ny2=1. 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 classical theta function of 2 variables is ∑(m,n)∈ℤ2qm2+n2, if f(x,y) is a positive definite quadratic form then ∑(m,n)∈ℤ2qf(m,n) is a theta function.
Equivalence Two forms f and g are called equivalent if there exist integers α,β,γ, and δ such that the following conditions hold:
f(αx+βy,γx+δy)=g(x,y),αδ−βγ=1. For example, with f=x2+4xy+2y2 and α=−3, β=2, γ=1, and δ=−1, we find that f is equivalent to g=(−3x+2y)2+4(−3x+2y)(x−y)+2(x−y)2, which simplifies to −x2+4xy−2y2. The above equivalence conditions define an equivalence relation on the set of integral quadratic forms. It follows that the quadratic forms are partitioned into equivalence classes, called classes of quadratic forms. A class 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 αδ−βγ=±1. 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 called properly equivalent using the definition above and improperly equivalent if they are equivalent in Lagrange's sense. In matrix terminology, which is used occasionally below, when
(αβγδ) has integer entries and determinant 1, the map f(x,y)↦f(αx+βy,γx+δy) is a (right) group action of SL2(ℤ) on the set of binary quadratic forms. The equivalence relation above then arises from the general theory of group actions. If f=ax2+bxy+cy2, then important invariants include
The discriminant Δ=b2−4ac. The content, equal to the greatest common divisor of a, b, and c. Terminology has arisen for classifying classes and their forms in terms of their invariants. A form of discriminant Δ is definite if Δ<0, degenerate if Δ is a perfect square, and indefinite otherwise. A form is primitive if its content is 1, that is, if its coefficients are coprime. If a form's discriminant is a fundamental discriminant, then the form is primitive. Discriminants satisfy Δ≡0,1(mod4).
Automorphisms If f is a quadratic form, a matrix
(αβγδ) in SL2(ℤ) is an automorphism of f if f(αx+βy,γx+δy)=f(x,y). For example, the matrix
(3−4−23) is an automorphism of the form f=x2−2y2. The automorphisms of a form are a subgroup of SL2(ℤ). When f is definite, the group is finite, and when f is indefinite, it is infinite and cyclic.
Representation A binary quadratic form q(x,y) represents an integer n if it is possible to find integers x and y satisfying the equation n=q(x,y). Such an equation is a representation of n by q.
Examples Diophantus considered whether, for an odd integer n, it is possible to find integers x and y for which n=x2+y2. When n=65, we have
65=12+82,65=42+72, so we find pairs (x,y)=(1,8) and (4,7) that do the trick. We obtain more pairs that work by switching the values of x and y and/or by changing the sign of one or both of x and y. In all, there are sixteen different solution pairs. On the other hand, when n=3, the equation
3=x2+y2 does not have integer solutions. To see why, we note that x2≥4 unless x=−1,0 or 1. Thus, x2+y2 will exceed 3 unless (x,y) is one of the nine pairs with x and y each equal to −1,0 or 1. We can check these nine pairs directly to see that none of them satisfies 3=x2+y2, so the equation does not have integer solutions. A similar argument shows that for each n, the equation n=x2+y2 can have only a finite number of solutions since x2+y2 will exceed n unless the absolute values |x| and |y| are both less than n. There are only a finite number of pairs satisfying this constraint. Another ancient problem involving quadratic forms asks us to solve Pell's equation. For instance, we may seek integers x and y so that 1=x2−2y2. Changing signs of x and y in a solution gives another solution, so it is enough to seek just solutions in positive integers. One solution is (x,y)=(3,2), that is, there is an equality 1=32−2⋅22. If (x,y) is any solution to 1=x2−2y2, then (3x+4y,2x+3y) is another such pair. For instance, from the pair (3,2), we compute
(3⋅3+4⋅2,2⋅3+3⋅2)=(17,12), and we can check that this satisfies 1=172−2⋅122. Iterating this process, we find further pairs (x,y) with 1=x2−2y2:
(3⋅17+4⋅12,2⋅17+3⋅12)=(99,70),(3⋅99+4⋅70,2⋅99+3⋅70)=(577,408),⋮ These values will keep growing in size, so we see there are infinitely many ways to represent 1 by the form x2−2y2. This recursive description was discussed in Theon of Smyrna's commentary on Euclid's Elements.
… excerpt ends here. Continue reading the full article.