Content deleted Content added
→Optimization: tweak |
positive definite → positive-definite |
||
Line 1:
In [[mathematics]], a '''definite quadratic form''' is a [[quadratic form]] over some [[Real number|real]] [[vector space]] {{math|''V''}} that has the same [[positive and negative numbers|sign]] (always positive or always negative) for every nonzero vector of {{math|''V''}}. According to that sign, the quadratic form is called '''positive
A '''semidefinite''' (or '''semi-definite''') quadratic form is defined in the same way, except that "positive" and "negative" are replaced by "not negative" and "not positive", respectively. An '''indefinite''' quadratic form is one that takes on both positive and negative values.
Line 15:
:<math>Q(x)=c_1{x_1}^2+c_2{x_2}^2 </math>
where {{math|1=''x'' = (''x''<sub>1</sub>, ''x''<sub>2</sub>)}} and {{math|''c''<sub>1</sub>}} and {{math|''c''<sub>2</sub>}} are constants. If {{math|1=''c''<sub>1</sub> > 0}} and {{math|1=''c''<sub>2</sub> > 0}}, the quadratic form {{math|''Q''}} is positive
In general a quadratic form in two variables will also involve a cross-product term in ''x''<sub>1</sub>''x''<sub>2</sub>:
Line 21:
:<math>Q(x)=c_1{x_1}^2+c_2{x_2}^2+2c_3x_1x_2.</math>
This quadratic form is positive
This bivariate quadratic form appears in the context of [[conic section]]s centered on the origin. If the general quadratic form above is equated to 0, the resulting equation is that of an [[ellipse]] if the quadratic form is positive or negative
The square of the [[Euclidean norm]] in ''n''-dimensional space, the most commonly used measure of distance, is
Line 39:
where ''x'' is any ''n''×1 [[Euclidean vector#In Cartesian space|Cartesian vector]] <math>(x_1, \cdots , x_n)^T </math> in which not all elements are 0, superscript <sup>T</sup> denotes a [[transpose]], and ''A'' is an ''n''×''n'' [[symmetric matrix]]. If ''A'' is [[diagonal matrix|diagonal]] this is equivalent to a non-matrix form containing solely terms involving squared variables; but if ''A'' 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
==Optimization==
Line 55:
:<math>x=-A^{-1}b</math>
assuming ''A'' is [[nonsingular matrix|nonsingular]]. If the quadratic form, and hence ''A'', is positive
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.
Line 61:
==See also==
*[[Anisotropic quadratic form]]
*[[Positive
*[[Positive
*[[Polarization identity]]
|