Binary quadratic form

In mathematics, a binary quadratic form is a quadratic homogeneous polynomial in two variables

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 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 is Pell'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 classical theta function of 2 variables is , if is a positive definite quadratic form then is a theta function.