Professional Documents
Culture Documents
LCS Assignment
LCS Assignment
Quadratic Forms
Quadratic forms are the next simplest functions after linear ones. Like linear functions they
have a matrix representation, so that studying quadratic forms reduces to studying symmetric
matrices. This is what this section is about.
Consider the function F : R2 R, where F = a11 x21 +a12 x1 x2 +a22 x22 . We call this a quadratic
form in R2 . Notice that this can be expressed in matrix form as
)(
)
(
(
)
a11 21 a12
x1
F (x) = x1 x2
= x Ax,
1
a22
x2
2 a12
where x = (x1 , x2 ), and A is unique and symmetric.
The quadratic form in Rn is
n
F (x) =
aij xi xj ,
i,j=1
a11 12 a21
1
(
)
2 a12 a22
F (x) = x1 x2 . . . xn .
..
..
.
1
1
2 an1 2 an2
. . . 12 a1n
x1
. . . 21 a2n
x2
.. .. = x Ax.
..
.
. .
. . . ann
xn
A quadratic form has a critical point at x = 0, where it takes on the value 0. Therefore we can
classify quadratic forms by whether x = 0 is a maximum, minimum or neither. This is what
deniteness is about.
Definiteness
Let A be an n n symmetric matrix. Then A is:
1. positive definite if x Ax > 0 x = 0 in Rn . That is, x = 0 is a unique global minimum of
the quadratic form given by A.
2. positive semidefinite if x Ax 0 x = 0 in Rn . That is, x = 0 is a global minimum, but
not a unique global one, of the quadratic form given by A.
1
2.1
2.1.1
Answer: There is
principal minors:
a11 a12
,
1.
a21 a22
a11 a13
,
2.
a31 a33
a22 a23
,
3.
a32 a33
one third order principal minor of A, det(A). There are three second order
There are also three rst order principal minors: a11 , by deleting the last two rows and columns;
a22 , by deleting the rst and last rows and columns; and a33 , by deleting the rst two rows and
columns.
2.1.2
The leading principal minor is the determinant of the leading principal submatrix obtained by deleting the last n k rows and columns of an n n matrix A.
Example
List the rst, second, and third order leading principal minors of the 3 3 matrix:
Answer: There are three leading principal minors, one of order 1, one of order 2, and one of order
3:
1. |a11 |,
a
2. 11
a21
a11
3. a21
a31
Why in the world do we care about principal and leading principal minors? We need to calculate
the signs of the leading principal minors in order to determine the deniteness of a matrix. We need
deniteness to check second-order conditions for maxima and minima. We also need deniteness
of the Hessian matrix to check to see whether or not we have a concave function.
2.2
We can test for the deniteness of the matrix in the following fashion:
1. A is positive denite i all of its n leading principal minors are strictly positive.
2. A is negative denite i all of its n leading principal minors alternate in sign, where |A1 | < 0,
|A2 | > 0, |A3 | < 0, etc.
3. If some kth order leading principal minor of A is nonzero but does not t either of the above
sign patterns, then A is indenite.
If the matrix A would meet the criterion for positive or negative deniteness if we relaxed the
strict inequalities to weak inequalities (i.e. we allow zero to t into the pattern), then although the
matrix is not positive or negative denite, it may be positive or negative semidenite. In this case,
we employ the following tests:
1. A is positive semidenite i every principal minor of A is 0.
2. A is negative semidenite i every principal minor of A of odd order is 0 and every principal
minor of even order is 0.
Notice that for determining semideniteness, we can no longer check just the leading principal
minors, but we must check all principal minors. What a pain!
3
Homework
1. Express the quadratic form as a matrix product involving a symmetric coecient matrix.
(a) Q = 8x1 x2 x21 31x22
(b) Q = 3x21 2x1 x2 + 4x1 x3 + 5x22 + 4x23 2x2 x3
2. List all the principal minors of the 4 4 matrix
a11 a12
a21 a22
A=
a31 a32
a41 a42
a13
a23
a33
a43
a14
a24
a34
a44
3. Prove that:
(a) Every diagonal matrix whose diagonal elements are all positive is positive denite.
(b) Every diagonal matrix whose diagonal elements are all negative is negative denite.
(c) Every diagonal matrix whose diagonal elements are all positive or zero is positive semidefinite.
(d) Every diagonal matrix whose diagonal elements are all negative or zero is negative
semidenite.
(e) All other diagonal matrices are indenite.
4. Determine the deniteness of the following matrices:
(
)
2 1
(a)
1 1
(
)
3 4
(b)
4 5
(
)
3 4
(c)
4 6
(
)
2 4
(d)
4 8
1 2 0
(e) 2 4 5
0 5 6
1 1
0
(f) 1 1 0
0
0 2
1 0 3 0
0 2 0 5
(g)
3 0 4 0
0 5 0 6