Lably
Skip to content

Binary quadratic form

Quadratic homogeneous polynomial in two variables

  • 14 min read
  • 6 chapters

Related on Lably

Through Mathematics, Complex number and Integer

q(x,y)=ax2+bxy+cy2,

where a, b, c are the coefficients. When the coefficients can be arbitrary complex numbers, most results are not specific to the case of two variables, so they are described in quadratic form. A quadratic form with integer coefficients is called an integral binary quadratic form, often abbreviated to binary 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 of algebraic number theory. Since the late nineteenth century, binary quadratic forms have given up their preeminence in algebraic number theory to quadratic 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)∈Z2qm2+n2, if f(x,y) is a positive definite quadratic form then ∑(m,n)∈Z2qf(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(Z) 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

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(Z) 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(Z). When f is definite, the group is finite, and when f is indefinite, it is infinite and cyclic.

Sign in to keep reading

5 more chapters are free with a Lably account.

More in Topics in mathematics