Symmetric Matrices and Quadratic Forms
Symmetric Matrices and Quadratic Forms
Lall
I quadratic forms
1
Eigenvalues of symmetric matrices
but also
n
T T X
v T Av = (Av) v = (λv) v = λ |vi |2
i=1
2
Eigenvectors of symmetric matrices
Q−1 AQ = QT AQ = Λ
3
Interpretations
A = QΛQT corresponds to
x QT x ΛQT x Ax
QT Λ Q
I scale coordinates by λi
4
Geometrical interpretation
I rotate by QT
I rotate back by Q
decomposition
n
X
A= λi qi qiT
i=1
5
Example:
−1/2 3/2
A=
3/2 −1/2
T
1 1 1 1 0 1 1 1
= √ √
2 1 −1 0 −2 2 1 −1
q1
q2 q2T x
x
q1 q1T x λ1 q1 q1T x
q2
λ2 q2 q2T x
Ax
6
Proof
I in general case (λi not distinct) we must say: eigenvectors can be chosen to
be orthogonal
7
Quadratic forms
n
X
f (x) = xT Ax = Aij xi xj
i,j=1
xT Ax = xT ((A + AT )/2)x
8
Examples
quadratic forms
I kBxk2 = xT B T Bx
Pn−1
I i=1 (xi+1 − xi )2
I kF xk2 − kGxk2
9
Inequalities for quadratic forms
xT Ax ≤ λ1 xT x
because
xT Ax = xT QΛQT x
= (QT x)T Λ(QT x)
n
X
= λi (qiT x)2
i=1
n
X
≤ λ1 (qiT x)2
i=1
= λ1 kxk2
10
Inequalities
λn xT x ≤ xT Ax ≤ λ1 xT x
11
Positive semidefinite and positive definite matrices
suppose A = AT ∈ Rn×n
I denoted A > 0
I A > 0 if and only if λmin (A) > 0, i.e., all eigenvalues are positive
12
Matrix inequalities
13
Matrix inequalities
I if A ≥ B and C ≥ D, then A + C ≥ B + D
I if B ≤ 0 then A + B ≤ A
I if A ≥ 0 and α ≥ 0, then αA ≥ 0
I A2 ≥ 0
A 6≥ B, B 6≥ A
14