HOME

TheInfoList



OR:

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 definite quadratic form is a
quadratic form In mathematics, a quadratic form is a polynomial with terms all of degree two (" form" is another name for a homogeneous polynomial). For example, 4x^2 + 2xy - 3y^2 is a quadratic form in the variables and . The coefficients usually belong t ...
over some real
vector space In mathematics and physics, a vector space (also called a linear space) is a set (mathematics), set whose elements, often called vector (mathematics and physics), ''vectors'', can be added together and multiplied ("scaled") by numbers called sc ...
that has the same
sign A sign is an object, quality, event, or entity whose presence or occurrence indicates the probable presence or occurrence of something else. A natural sign bears a causal relation to its object—for instance, thunder is a sign of storm, or me ...
(always positive or always negative) for every non-zero vector of . According to that sign, the quadratic form is called positive-definite or negative-definite. A semidefinite (or semi-definite) quadratic form is defined in much the same way, except that "always positive" and "always negative" are replaced by "never negative" and "never positive", respectively. In other words, it may take on zero values for some non-zero vectors of . An indefinite quadratic form takes on both positive and negative values and is called an isotropic quadratic form. More generally, these definitions apply to any vector space over an
ordered field In mathematics, an ordered field is a field together with a total ordering of its elements that is compatible with the field operations. Basic examples of ordered fields are the rational numbers and the real numbers, both with their standard ord ...
.


Associated symmetric bilinear form

Quadratic forms correspond one-to-one to
symmetric bilinear form In mathematics, a symmetric bilinear form on a vector space is a bilinear map from two copies of the vector space to the field of scalars such that the order of the two vectors does not affect the value of the map. In other words, it is a biline ...
s over the same space.This is true only over a field of characteristic other than 2, but here we consider only
ordered field In mathematics, an ordered field is a field together with a total ordering of its elements that is compatible with the field operations. Basic examples of ordered fields are the rational numbers and the real numbers, both with their standard ord ...
s, which necessarily have characteristic 0.
A symmetric bilinear form is also described as definite, semidefinite, etc. according to its associated quadratic form. A quadratic form and its associated symmetric bilinear form are related by the following equations: :\begin Q(x) &= B(x, x) \\ B(x,y) &= B(y,x) = \tfrac Q(x + y) - Q(x) - Q(y) ~. \end The latter formula arises from expanding \; Q(x+y) = B(x+y,x+y) ~.


Examples

As an example, let V = \mathbb^2 , and consider the quadratic form : Q(x) = c_1^2 + c_2^2 where ~ x = _1, x_2\in V and and are constants. If and the quadratic form is positive-definite, so ''Q'' evaluates to a positive number whenever \; _1,x_2\neq ,0~. If one of the constants is positive and the other is 0, then is positive semidefinite and always evaluates to either 0 or a positive number. If and or vice versa, then is indefinite and sometimes evaluates to a positive number and sometimes to a negative number. If and the quadratic form is negative-definite and always evaluates to a negative number whenever \; _1,x_2\neq ,0~. And if one of the constants is negative and the other is 0, then is negative semidefinite and always evaluates to either 0 or a negative number. In general a quadratic form in two variables will also involve a cross-product term in ·: : Q(x) = c_1 ^2 + c_2 ^2 + 2 c_3 x_1 x_2 ~. This quadratic form is positive-definite if \; c_1 > 0 \; and \, c_1 c_2 - ^2 > 0 \;, negative-definite if \; c_1 < 0 \; and \, c_1 c_2 - ^2 > 0 \;, and indefinite if \; c_1 c_2 - ^2 < 0 ~. It is positive or negative semidefinite if \; c_1 c_2 - ^2 = 0 \;, with the sign of the semidefiniteness coinciding with the sign of \; c_1 ~. This bivariate quadratic form appears in the context of
conic section A conic section, conic or a quadratic curve is a curve obtained from a cone's surface intersecting a plane. The three types of conic section are the hyperbola, the parabola, and the ellipse; the circle is a special case of the ellipse, tho ...
s centered on the origin. If the general quadratic form above is equated to 0, the resulting equation is that of an
ellipse In mathematics, an ellipse is a plane curve surrounding two focus (geometry), focal points, such that for all points on the curve, the sum of the two distances to the focal points is a constant. It generalizes a circle, which is the special ty ...
if the quadratic form is positive or negative-definite, a
hyperbola In mathematics, a hyperbola is a type of smooth function, smooth plane curve, curve lying in a plane, defined by its geometric properties or by equations for which it is the solution set. A hyperbola has two pieces, called connected component ( ...
if it is indefinite, and a
parabola In mathematics, a parabola is a plane curve which is Reflection symmetry, mirror-symmetrical and is approximately U-shaped. It fits several superficially different Mathematics, mathematical descriptions, which can all be proved to define exactl ...
if \; c_1 c_2 - ^2=0 ~. The square of the
Euclidean norm 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'' ...
in -dimensional space, the most commonly used measure of distance, is : ^2 +\cdots + ^2 ~. In two dimensions this means that the distance between two points is the square root of the sum of the squared distances along the x_1 axis and the x_2 axis.


Matrix form

A quadratic form can be written in terms of matrices as :x^\mathsf A \, x where is any ×1 Cartesian vector \; _1, \cdots , x_n\mathsf \; in which at least one element is not 0; is an
symmetric matrix In linear algebra, a symmetric matrix is a square matrix that is equal to its transpose. Formally, Because equal matrices have equal dimensions, only square matrices can be symmetric. The entries of a symmetric matrix are symmetric with ...
; and superscript denotes a
matrix transpose In linear algebra, the transpose of a matrix is an operator which flips a matrix over its diagonal; that is, it switches the row and column indices of the matrix by producing another matrix, often denoted by (among other notations). The tr ...
. If is
diagonal In geometry, a diagonal is a line segment joining two vertices of a polygon or polyhedron, when those vertices are not on the same edge. Informally, any sloping line is called diagonal. The word ''diagonal'' derives from the ancient Greek � ...
this is equivalent to a non-matrix form containing solely terms involving squared variables; but if has any non-zero off-diagonal elements, the non-matrix form will also contain some terms involving products of two different variables. Positive or negative-definiteness or semi-definiteness, or indefiniteness, of this quadratic form is equivalent to the same property of , which can be checked by considering all
eigenvalue In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by a ...
s of or by checking the signs of all of its principal minors.


Optimization

Definite quadratic forms lend themselves readily to
optimization Mathematical optimization (alternatively spelled ''optimisation'') or mathematical programming is the selection of a best element, with regard to some criteria, from some set of available alternatives. It is generally divided into two subfiel ...
problems. Suppose the matrix quadratic form is augmented with linear terms, as :x^\mathsf A \, x + b^\mathsf x \;, where is an ×1 vector of constants. The first-order conditions for a maximum or minimum are found by setting the matrix derivative to the zero vector: : 2 A \, x + b = \vec 0 \;, giving : x = -\tfrac\,A^b \;, assuming is nonsingular. If the quadratic form, and hence , is positive-definite, the second-order conditions for a minimum are met at this point. If the quadratic form is negative-definite, the second-order conditions for a maximum are met. An important example of such an optimization arises in multiple regression, in which a vector of estimated parameters is sought which minimizes the sum of squared deviations from a perfect fit within the dataset.


See also

* Isotropic quadratic form * Positive-definite function * Positive-definite matrix * Polarization identity


Notes


References

* *. *{{cite book , first1=J. , last1=Milnor , author1-link=John Milnor , first2=D. , last2=Husemoller , year=1973 , title=Symmetric Bilinear Forms , series= Ergebnisse der Mathematik und ihrer Grenzgebiete , volume=73 , publisher=Springer , isbn=3-540-06009-X , zbl=0292.10016 Quadratic forms Linear algebra