Content deleted Content added
math typesetting / formatting for text embedding; minor text edits for equivalent, less-jargony English |
|||
(One intermediate revision by one other user not shown) | |||
Line 22:
:<math> Q(x) = c_1{x_1}^2 + c_2{x_2}^2 </math>
where <math>~ x = [x_1, x_2] \in V </math> and {{mvar|c}}{{sub|1}} and {{mvar|c}}{{sub|2}} are constants. If {{nobr| {{mvar|c}}{{sub|1}} > 0 }} and {{nobr| {{mvar|c}}{{sub|
In general a quadratic form in two variables will also involve a cross-product term in {{mvar|x}}{{sub|1}}·{{mvar|x}}{{sub|2}}:
Line 52:
Definite quadratic forms lend themselves readily to [[optimization]] problems. Suppose the matrix quadratic form is augmented with linear terms, as
:<math>x^\mathsf{T} A \, x +
where {{mvar|b}} is an {{mvar|n}}×1 vector of constants. The [[first-order condition]]s for a maximum or minimum are found by setting the [[matrix derivative]] to the zero vector:
:<math> 2 A \, x +
giving
:<math> x = -\tfrac{1}{2}\,A^{-1}b \;,</math>
assuming {{mvar|A}} is [[nonsingular matrix|nonsingular]]. If the quadratic form, and hence {{mvar|A}}, is positive-definite, the [[second partial derivative test|second-order condition]]s for a minimum are met at this point. If the quadratic form is negative-definite, the second-order conditions for a maximum are met.
|