Ch1-4 Quadratic Forms
Ch1-4 Quadratic Forms
Ch1-4 Quadratic Forms
Note that
a11 · · · a1n x1
. .. .. .
Q(x1 , . . . , xn ) = (x1 , . . . , xn ) . . .
. .
.
a1n · · · ann xn
and that the matrix A is symmetric.
Q(x) = xt Ax,
for all x ∈ Rn .
1
2 I.4 QUADRATIC FORMS
(1) Q(0) = 0.
Q(x) > 0,
for all x 6= 0.
Q(x) < 0,
for all x 6= 0.
Q(x) ≥ 0,
Q(y) = 0.
Q(x) ≤ 0,
Q(z) = 0.
Note that any non null quadratic form is of one and only one of the classes above. The null
quadratic form is a special case.
I.4 QUADRATIC FORMS 3
It turns out that it suffices to know the sign of the eigenvalues of A for classifying Q.
Theorem 2.3 (Criterion of the proper values). Let Q : Rn → R be a quadratic form with
associated matrix A and let λ1 , . . . , λn be the eigenvalues of A. Then
(3) Q is SD+ if and only if λi ≥ 0, for all i = 1, . . . , n, and there is j ∈ {1, . . . , n} such
that λj = 0.
(4) Q is SD− if and only if λi ≤ 0, for all i = 1, . . . , n, and there is j ∈ {1, . . . , n}such
that λj = 0.
(5) Q is indefinite if and only if there are i, j ∈ {1, . . . , n}, such that λi > 0 and λj < 0.
• s(p) be the number of change of signs between the consecutive and non-null coeffi-
cients of p.
Then
r+ (p) = s(p), r− (p) = n − r+ (p) − r0 (p).
Remark 2.4. To classify a quadratic form Q, it suffices to know the sign of its eigenval-
ues, or roots of its characteristic polynomial. An important property of the characteristic
polynomial associated to a symmetric matrix is that all its roots are real (not true for an
arbitrary square matrix!). Thus, Descartes’ Rule applies, and allows us to classify easily
4 I.4 QUADRATIC FORMS
Q once we have calculated the characteristic polynomial, without knowing explicitly the
eigenvalues.
• If ∆n = det A 6= 0, and none of the two previous conditions are fulfilled, then Q is
indefinite.
– Q is SD+ if and only if ∆01 > 0, ∆02 > 0,. . . ,∆0p > 0.
– Q is SD− if and only if ∆01 < 0, ∆02 > 0,. . . ,(−1)p ∆0p > 0.
Remark 2.8. The exchange of columns and the corresponding rows in the matrix A is
equivalent to exchange the role of the corresponding variables.
This quadratic form has been classified above as Indefinite with Descartes’ Rule. Of course,
we get the same result if we use the alternative principal minors method. The matrix
associated to Q is
1 0 1
A=
0 2 −1
1 −1 1
V = {x ∈ Rn : Bx = 0},
(2) If Q is D− , then Q V
is D− .
(2) By principal minors of the bordered matrix. Let the bordered matrix
!
O B
A∗ = .
Bt A
(a) If the last n − m principal minors of A∗ have the same sign as (−1)m , then Q V
is D+ .
(b) If the last n − m principal minors of A∗ alternate sign, starting with the sign
of (−1)m+1 , then Q V
is D− .
Example 3.3. Classify the quadratic form Q(x, y, z) = x2 + 2y 2 + z 2 + 2xz − 2yz restricted
to the subspace V defined by the equation 4x − 2y − z = 0 (the equation describes a plane).
0 4 −2 −1
0 4 −2
4 1 0 1
4 1 0 = −36, = −54,
−2 0 2 −1
−2 0 2
−1 1 −1 1
both have the sign of (−1)m = (−1)1 = −1, thus the quadratic form restricted to V is D+ .
q(x, y) = Q(x, y, 4x − 2y) = x2 + 2y 2 + (4x − 2y)2 + 2(4x − 2y)(x − y) = 25x2 + 10y 2 − 28xy,
I.4 QUADRATIC FORMS 7
!
25 −14
with matrix , which is D+ .
−14 10