In
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, a quadratic form is a
polynomial with terms all of
degree two ("
form" is another name for a
homogeneous polynomial). For example,
is a quadratic form in the variables and . The coefficients usually belong to a fixed
field , such as the
real or
complex numbers, and one speaks of a quadratic form ''over'' . Over the reals, a quadratic form is said to be ''
definite'' if it takes the value zero only when all its variables are simultaneously zero; otherwise it is ''
isotropic''.
Quadratic forms occupy a central place in various branches of mathematics, including
number theory
Number theory is a branch of pure mathematics devoted primarily to the study of the integers and arithmetic functions. Number theorists study prime numbers as well as the properties of mathematical objects constructed from integers (for example ...
,
linear algebra,
group theory
In abstract algebra, group theory studies the algebraic structures known as group (mathematics), groups.
The concept of a group is central to abstract algebra: other well-known algebraic structures, such as ring (mathematics), rings, field ( ...
(
orthogonal groups),
differential geometry
Differential geometry is a Mathematics, mathematical discipline that studies the geometry of smooth shapes and smooth spaces, otherwise known as smooth manifolds. It uses the techniques of Calculus, single variable calculus, vector calculus, lin ...
(the
Riemannian metric, the
second fundamental form),
differential topology (
intersection forms of
manifolds, especially
four-manifolds),
Lie theory (the
Killing form), and
statistics
Statistics (from German language, German: ', "description of a State (polity), state, a country") is the discipline that concerns the collection, organization, analysis, interpretation, and presentation of data. In applying statistics to a s ...
(where the exponent of a zero-mean
multivariate normal distribution has the quadratic form
)
Quadratic forms are not to be confused with
quadratic equation
In mathematics, a quadratic equation () is an equation that can be rearranged in standard form as
ax^2 + bx + c = 0\,,
where the variable (mathematics), variable represents an unknown number, and , , and represent known numbers, where . (If and ...
s, which have only one variable and may include terms of degree less than two. A quadratic form is a specific instance of the more general concept of
forms.
Introduction
Quadratic forms are homogeneous quadratic polynomials in variables. In the cases of one, two, and three variables they are called unary,
binary, and ternary and have the following explicit form:
where , ..., are the coefficients.
The theory of quadratic forms and methods used in their study depend in a large measure on the nature of the coefficients, which may be
real or
complex numbers,
rational numbers, or
integers. In
linear algebra,
analytic geometry, and in the majority of applications of quadratic forms, the coefficients are real or complex numbers. In the algebraic theory of quadratic forms, the coefficients are elements of a certain
field. In the arithmetic theory of quadratic forms, the coefficients belong to a fixed
commutative ring
In mathematics, a commutative ring is a Ring (mathematics), ring in which the multiplication operation is commutative. The study of commutative rings is called commutative algebra. Complementarily, noncommutative algebra is the study of ring prope ...
, frequently the integers or the
-adic integers .
Binary quadratic forms have been extensively studied in
number theory
Number theory is a branch of pure mathematics devoted primarily to the study of the integers and arithmetic functions. Number theorists study prime numbers as well as the properties of mathematical objects constructed from integers (for example ...
, in particular, in the theory of
quadratic fields,
continued fractions, and
modular forms. The theory of integral quadratic forms in variables has important applications to
algebraic topology.
Using
homogeneous coordinates, a non-zero quadratic form in variables defines an -dimensional
quadric in the -dimensional
projective space. This is a basic construction in
projective geometry. In this way one may visualize 3-dimensional real quadratic forms as
conic sections.
An example is given by the three-dimensional
Euclidean space
Euclidean space is the fundamental space of geometry, intended to represent physical space. Originally, in Euclid's ''Elements'', it was the three-dimensional space of Euclidean geometry, but in modern mathematics there are ''Euclidean spaces ...
and the
square of the
Euclidean norm expressing the
distance between a point with coordinates and the origin:
A closely related notion with geometric overtones is a quadratic space, which is a pair , with a
vector space over a field , and a quadratic form on ''V''. See ' below for the definition of a quadratic form on a vector space.
History
The study of quadratic forms, in particular the question of whether a given integer can be the value of a quadratic form over the integers, dates back many centuries. One such case is
Fermat's theorem on sums of two squares
In additive number theory, Pierre de Fermat, Fermat's theorem on sums of two squares states that an Even and odd numbers, odd prime number, prime ''p'' can be expressed as:
:p = x^2 + y^2,
with ''x'' and ''y'' integers, if and only if
:p \equiv ...
, which determines when an integer may be expressed in the form , where , are integers. This problem is related to the problem of finding
Pythagorean triples, which appeared in the second millennium BCE.
In 628, the Indian mathematician
Brahmagupta
Brahmagupta ( – ) was an Indian Indian mathematics, mathematician and Indian astronomy, astronomer. He is the author of two early works on mathematics and astronomy: the ''Brāhmasphuṭasiddhānta'' (BSS, "correctly established Siddhanta, do ...
wrote ''
Brāhmasphuṭasiddhānta'', which includes, among many other things, a study of equations of the form . He considered what is now called
Pell's equation, , and found a method for its solution. In Europe this problem was studied by
Brouncker,
Euler and
Lagrange.
In 1801
Gauss published ''
Disquisitiones Arithmeticae,'' a major portion of which was devoted to a complete theory of
binary quadratic forms over the
integers. Since then, the concept has been generalized, and the connections with
quadratic number fields, the
modular group, and other areas of mathematics have been further elucidated.
Associated symmetric matrix
Any matrix determines a quadratic form in variables by
where .
Example
Consider the case of quadratic forms in three variables . The matrix has the form
The above formula gives
So, two different matrices define the same quadratic form if and only if they have the same elements on the diagonal and the same values for the sums , and . In particular, the quadratic form is defined by a unique
symmetric matrix
This generalizes to any number of variables as follows.
General case
Given a quadratic form over the real numbers, defined by the matrix ,
the matrix
is
symmetric, defines the same quadratic form as , and is the unique symmetric matrix that defines .
So, over the real numbers (and, more generally, over a
field of
characteristic different from two), there is a
one-to-one correspondence between quadratic forms and
symmetric matrices that determine them.
Real quadratic forms
A fundamental problem is the classification of real quadratic forms under a
linear change of variables.
Jacobi proved that, for every real quadratic form, there is an
orthogonal diagonalization; that is, an
orthogonal change of variables that puts the quadratic form in a "
diagonal form"
where the associated symmetric matrix is
diagonal. Moreover, the coefficients are determined uniquely
up to a
permutation.
If the change of variables is given by an
invertible matrix that is not necessarily orthogonal, one can suppose that all coefficients are 0, 1, or −1.
Sylvester's law of inertia states that the numbers of each 0, 1, and −1 are
invariants of the quadratic form, in the sense that any other diagonalization will contain the same number of each. The signature of the quadratic form is the triple , where these components count the number of 0s, number of 1s, and the number of −1s, respectively.
Sylvester
Sylvester or Silvester is a name derived from the Latin adjective ''silvestris'' meaning "wooded" or "wild", which derives from the noun ''silva'' meaning "woodland". Classical Latin spells this with ''i''. In Classical Latin, ''y'' represented a ...
's law of inertia shows that this is a well-defined quantity attached to the quadratic form.
The case when all have the same sign is especially important: in this case the quadratic form is called
positive definite (all 1) or negative definite (all −1). If none of the terms are 0, then the form is called ; this includes positive definite, negative definite, and
isotropic quadratic form (a mix of 1 and −1); equivalently, a nondegenerate quadratic form is one whose associated symmetric form is a
nondegenerate ''bilinear'' form. A real vector space with an indefinite nondegenerate quadratic form of index (denoting 1s and −1s) is often denoted as particularly in the physical theory of
spacetime.
The
discriminant of a quadratic form, concretely the class of the determinant of a representing matrix in (up to non-zero squares) can also be defined, and for a real quadratic form is a cruder invariant than signature, taking values of only "positive, zero, or negative". Zero corresponds to degenerate, while for a non-degenerate form it is the parity of the number of negative coefficients, .
These results are reformulated in a different way below.
Let be a quadratic form defined on an -dimensional
real vector space. Let be the matrix of the quadratic form in a given basis. This means that is a symmetric matrix such that
where ''x'' is the column vector of coordinates of in the chosen basis. Under a change of basis, the column is multiplied on the left by an
invertible matrix , and the symmetric square matrix is transformed into another symmetric square matrix of the same size according to the formula
Any symmetric matrix can be transformed into a diagonal matrix
by a suitable choice of an orthogonal matrix , and the diagonal entries of are uniquely determined – this is Jacobi's theorem. If is allowed to be any invertible matrix then can be made to have only 0, 1, and −1 on the diagonal, and the number of the entries of each type ( for 0, for 1, and for −1) depends only on . This is one of the formulations of Sylvester's law of inertia and the numbers and are called the positive and negative indices of inertia. Although their definition involved a choice of basis and consideration of the corresponding real symmetric matrix , Sylvester's law of inertia means that they are invariants of the quadratic form .
The quadratic form is positive definite if (similarly, negative definite if ) for every nonzero vector . When assumes both positive and negative values, is an
isotropic quadratic form. The theorems of Jacobi and
Sylvester
Sylvester or Silvester is a name derived from the Latin adjective ''silvestris'' meaning "wooded" or "wild", which derives from the noun ''silva'' meaning "woodland". Classical Latin spells this with ''i''. In Classical Latin, ''y'' represented a ...
show that any positive definite quadratic form in variables can be brought to the sum of squares by a suitable invertible linear transformation: geometrically, there is only ''one'' positive definite real quadratic form of every dimension. Its
isometry group is a ''
compact'' orthogonal group . This stands in contrast with the case of isotropic forms, when the corresponding group, the
indefinite orthogonal group , is non-compact. Further, the isometry groups of and are the same (, but the associated
Clifford algebras (and hence
pin groups) are different.
Definitions
A quadratic form over a field is a map from a finite-dimensional -vector space to such that the function is bilinear and for all , . (The former condition restricts ''q'' to be the sum of a quadratic form and a linear form, and the latter condition eliminates the possibility that any nontrivial linear form contributes to that sum.)
More concretely, an -ary quadratic form over a field is a
homogeneous polynomial of degree 2 in variables with coefficients in :
This formula may be rewritten using matrices: let be the
column vector with components , ..., and be the matrix over whose entries are the coefficients of . Then
A vector is a
null vector if .
Two -ary quadratic forms and over are equivalent if there exists a nonsingular linear transformation such that
Let the
characteristic of be different from 2. The coefficient matrix of may be replaced by the
symmetric matrix with the same quadratic form, so it may be assumed from the outset that is symmetric. Moreover, a symmetric matrix is uniquely determined by the corresponding quadratic form. Under an equivalence , the symmetric matrix of and the symmetric matrix of are related as follows:
The associated bilinear form of a quadratic form is defined by
Thus, is a
symmetric bilinear form over with matrix . Conversely, any symmetric bilinear form defines a quadratic form
and these two processes are the inverses of each other. As a consequence, over a field of characteristic not equal to 2, the theories of symmetric bilinear forms and of quadratic forms in variables are essentially the same.
Quadratic space
Given an -dimensional
vector space over a field , a ''quadratic form'' on is a
function that has the following property: for some basis, the function that maps the coordinates of to is a quadratic form. In particular, if with its
standard basis, one has
The
change of basis formulas show that the property of being a quadratic form does not depend on the choice of a specific basis in , although the quadratic form depends on the choice of the basis.
A finite-dimensional vector space with a quadratic form is called a quadratic space.
The map is a
homogeneous function
In mathematics, a homogeneous function is a function of several variables such that the following holds: If each of the function's arguments is multiplied by the same scalar (mathematics), scalar, then the function's value is multiplied by some p ...
of degree 2, which means that it has the property that, for all in and in :
When the characteristic of is not 2, the bilinear map over is defined:
This bilinear form is symmetric. That is, for all , in , and it determines : for all in .
When the characteristic of is 2, so that 2 is not a
unit, it is still possible to use a quadratic form to define a symmetric bilinear form . However, can no longer be recovered from this in the same way, since for all (and is thus alternating).
[This alternating form associated with a quadratic form in characteristic 2 is of interest related to the Arf invariant – .] Alternatively, there always exists a bilinear form (not in general either unique or symmetric) such that .
The pair consisting of a finite-dimensional vector space over and a quadratic map from to is called a quadratic space, and as defined here is the associated symmetric bilinear form of . The notion of a quadratic space is a coordinate-free version of the notion of quadratic form. Sometimes, is also called a quadratic form.
Two -dimensional quadratic spaces and are isometric if there exists an invertible linear transformation (isometry) such that
The isometry classes of -dimensional quadratic spaces over correspond to the equivalence classes of -ary quadratic forms over .
Generalization
Let be a
commutative ring
In mathematics, a commutative ring is a Ring (mathematics), ring in which the multiplication operation is commutative. The study of commutative rings is called commutative algebra. Complementarily, noncommutative algebra is the study of ring prope ...
, be an -
module, and be an -bilinear form. A mapping is the ''associated quadratic form'' of , and is the ''polar form'' of .
A quadratic form may be characterized in the following equivalent ways:
* There exists an -bilinear form such that is the associated quadratic form.
* for all and , and the polar form of is -bilinear.
Related concepts
Two elements and of are called
orthogonal if . The kernel of a bilinear form consists of the elements that are orthogonal to every element of . is non-singular if the kernel of its associated bilinear form is . If there exists a non-zero in such that , the quadratic form is
isotropic, otherwise it is
definite. This terminology also applies to vectors and subspaces of a quadratic space. If the restriction of to a subspace of is identically zero, then is totally singular.
The orthogonal group of a non-singular quadratic form is the group of the linear automorphisms of that preserve : that is, the group of isometries of into itself.
If a quadratic space has a product so that is an
algebra over a field
In mathematics, an algebra over a field (often simply called an algebra) is a vector space equipped with a bilinear map, bilinear product (mathematics), product. Thus, an algebra is an algebraic structure consisting of a set (mathematics), set to ...
, and satisfies
then it is a
composition algebra.
Equivalence of forms
Every quadratic form in variables over a field of characteristic not equal to 2 is
equivalent to a diagonal form
Such a diagonal form is often denoted by .
Classification of all quadratic forms up to equivalence can thus be reduced to the case of diagonal forms.
Geometric meaning
Using
Cartesian coordinates in three dimensions, let , and let be a
symmetric 3-by-3 matrix. Then the geometric nature of the
solution set of the equation depends on the eigenvalues of the matrix .
If all
eigenvalues of are non-zero, then the solution set is an
ellipsoid or a
hyperboloid. If all the eigenvalues are positive, then it is an ellipsoid; if all the eigenvalues are negative, then it is an ''imaginary ellipsoid'' (we get the equation of an ellipsoid but with imaginary radii); if some eigenvalues are positive and some are negative, then it is a hyperboloid; if the eigenvalues are all equal and positive, then it is a sphere (special case of an ellipsoid with equal semi-axes corresponding to the presence of equal eigenvalues).
If there exist one or more eigenvalues , then the shape depends on the corresponding . If the corresponding , then the solution set is a
paraboloid
In geometry, a paraboloid is a quadric surface that has exactly one axial symmetry, axis of symmetry and no central symmetry, center of symmetry. The term "paraboloid" is derived from parabola, which refers to a conic section that has a similar p ...
(either elliptic or hyperbolic); if the corresponding , then the dimension degenerates and does not come into play, and the geometric meaning will be determined by other eigenvalues and other components of . When the solution set is a paraboloid, whether it is elliptic or hyperbolic is determined by whether all other non-zero eigenvalues are of the same sign: if they are, then it is elliptic; otherwise, it is hyperbolic.
Integral quadratic forms
Quadratic forms over the ring of integers are called integral quadratic forms, whereas the corresponding modules are quadratic lattices (sometimes, simply
lattices). They play an important role in
number theory
Number theory is a branch of pure mathematics devoted primarily to the study of the integers and arithmetic functions. Number theorists study prime numbers as well as the properties of mathematical objects constructed from integers (for example ...
and
topology.
An integral quadratic form has 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.
Historical use
Historically there was some confusion and controversy over whether the notion of integral quadratic form should mean:
; ''twos in'' : the quadratic form associated to a symmetric matrix with integer coefficients
; ''twos out'' : a polynomial with integer coefficients (so the associated symmetric matrix may have half-integer coefficients off the diagonal)
This debate was due to the confusion of quadratic forms (represented by polynomials) and symmetric bilinear forms (represented by matrices), and "twos out" is now the accepted convention; "twos in" is instead the theory of integral symmetric bilinear forms (integral symmetric matrices).
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:
* better understanding of the 2-adic theory of quadratic forms, the 'local' source of the difficulty;
* the
lattice point of view, which was generally adopted by the experts in the arithmetic of quadratic forms during the 1950s;
* the actual needs for integral quadratic form theory in
topology for
intersection theory;
* the
Lie group and
algebraic group aspects.
Universal quadratic forms
An integral quadratic form whose image consists of all the positive integers is sometimes called ''universal''.
Lagrange's four-square theorem shows that is universal.
Ramanujan generalized this and found 54 multisets that can each generate all positive integers, namely,
There are also forms whose image consists of all but one of the positive integers. For example, has 15 as the exception. 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.
See also
*
''ε''-quadratic form
*
Cubic form
*
Discriminant of a quadratic form
*
Hasse–Minkowski theorem
*
Quadric
*
Ramanujan's ternary quadratic form
*
Square class
*
Witt group
*
Witt's theorem
Notes
References
*
*
*
Further reading
*
*
*
*
*
*
External links
*
*
{{Authority control
Linear algebra
Real algebraic geometry
Squares in number theory