Quadratic forms are central objects in mathematics, occurring for instance in number theory, Riemannian geometry (as curvature), and Lie theory (via the Killing form).
They are also ubiquitous in physics and chemistry, as the energy of a system, particularly in relation to the L2 norm, which leads to the use of Hilbert spaces.
Away from 2, quadratic forms are equivalent to symmetric bilinear forms (by the polarization identities), but at 2 they are different concepts; this distinction is particularly important for quadratic forms over the integers.
The term quadratic form is also often used to refer to a quadratic space, which is a pair (V,q) where V is a vector space over a field k, and q:V → k is a quadratic form on V. For example, the distance between two points in three-dimensional Euclidean space is found by taking the square root of a quadratic form involving six variables, the three coordinates of each of the two points.
A quadratic form in 2 variables is called a binary quadratic form, and these are extensively studied in number theory (particularly in the theory of modular forms), together with their associated quadratic fields.
Note that general quadratic functions and quadratic equations are not examples of quadratic forms, as they are not always homogeneous: quadratic functions are functions on affine space, while quadratic forms are "functions" on projective space (properly, sections of , the square of the twisting sheaf).
Any non-zero quadratic form in n variables defines an (n-2)-dimensional quadric in projective space. In this way one may visualize 3-dimensional quadratic forms as conic sections.
Intuitively, a symmetric form generalizes , while a quadratic form generalizes , and one can pass between these via the polarization identities.
Given a quadratic form , one obtains a symmetric form , called the associated symmetric form or associated bilinear form, via:
Conversely, given a bilinear form (which need not be symmetric), one obtains a quadratic form via:
If one composes these two operations, one gets multiplication by 2 (if one starts with either a quadratic form or a symmetric bilinear form); thus if 2 is invertible, these operations are invertible (the polarization identities); by analogy with
But if 2 is not invertible, symmetric forms and quadratic forms are different: some quadratic forms cannot be written in the form , for example, over the integers, , or more simply .
Let us write v = (x,y) for any vector in the vector space. The quadratic form F can be expressed in terms of matrices if we let M be the 2×2 matrix:
a & b/2
b/2 & cend{bmatrix}.
Then matrix multiplication gives us the following equality:
Where the superscript vT denotes the transpose of a matrix. Notice we have used that the characteristic is not 2, since we divided by 2 to define M. So we see the correspondence between 2 dimensional quadratic forms F and 2×2 symmetric matrices M, which correspond to symmetric forms.
This observation generalises quickly to forms in n variables and n×n symmetric matrices. For example, in the case of real-valued quadratic forms, the characteristic of the real numbers is 0, so real quadratic forms and real symmetric bilinear forms are the same objects, from different points of view.
If V is free of rank n we write the bilinear form B as a symmetric matrix B relative to some basis {ei} for V. The components of B are given by . If 2 is invertible the quadratic form Q is then given by
Let V be a module over a commutative ring R; often R is a field, such as the real numbers, in which case V is a vector space.
A quadratic form is an element of the symmetric square of the dual space,
Bilinear forms are the full tensor product , and symmetric forms are the subspace of symmetric tensors. Note that the space of quadratic forms is a quotient of the space of bilinear forms, while symmetric forms are a subspace.
In terms of matrices, (we take to be 2-dimensional):
One can likewise define quadratic forms corresponding to skew-symmetric forms, Hermitian forms, and skew-Hermitian forms; the general concept is ε-quadratic form.
A map is called a quadratic form on V if
Here B is called the associated symmetric form; it is a symmetric bilinear form.
The kernel of the bilinear form B consists of the elements that are orthogonal to all elements of V, and the kernel of the quadratic form Q consists of all elements u of the kernel of B with Q(u)=0. If 2 is invertible then Q and its associated bilinear form B have the same kernel.
The bilinear form B is called non-singular if its kernel is 0, and the quadratic form Q is called non-singular if its kernel is 0.
The orthogonal group of a non-singular quadratic form Q is the group of automorphisms of V that preserve the quadratic form Q.
A quadratic form Q is called isotropic when there is a non-zero v in V such that . Otherwise it is called anisotropic. A vector or a subspace of a quadratic space may also be referred to as isotropic. If then is called totally singular.
Quadratic forms over the ring of integers are called integral quadratic forms or integral lattices. They are important in number theory and topology.
An integral quadratic form is one with integer coefficients, such as ; equivalently, given a lattice in a vector space (over a field with characteristic 0, such as or ), a quadratic form is integral with respect to if and only if it is integer-valued on , meaning if .
This is the current use of the term; in the past it was sometimes used differently, as detailed below.
In "twos in", binary quadratic forms are of the form , represented by the symmetric matrix ; this is the convention Gauss uses in Disquisitiones Arithmeticae.
In "twos out", binary quadratic forms are of the form , represented by the symmetric matrix .
Several points of view mean that twos out has been adopted as the standard convention. Those include:
Lagrange's four-square theorem shows that is universal.
Recently, the 15 and 290 theorems have completely characterized universal integral quadratic forms: if all coefficients are integers, then it represents all positive integers if and only if it represents all integers up through 290; if it has an integral matrix, it represents all positive integers if and only if it represents all integers up through 15.
Assume is a quadratic form defined on a real vector space.
Let be the real symmetric matrix associated with as described above, so for any column vector it holds that
Then, is positive (semi)definite, negative (semi)definite, indefinite, if and only if the matrix has the same properties (see positive-definite matrix). Ultimately, these properties can be characterized in terms of the eigenvalues of