Lecture 4
Lecture 4
DIAGONALIZATION OF
SYMMETRIC MATRICES
SYMMETRIC MATRIX
= v (λ 2 v 2 )
T
1
Since v2 is an eigenvector
= λ 2 v v 2 = 2 v1 v 2
T
1
SYMMETRIC MATRIX
▪ Hence (λ1 − λ 2 )v1 v 2 = 0.
▪ But λ1 − λ 2 0, so v1 v2 = 0.
▪ An n n matrix A is said to be orthogonally
diagonalizable if there are an orthogonal matrix P
(with P = P ) and a diagonal matrix D such that
−1 T
▪ Thus A is symmetric.
▪ Theorem 2: An n n matrix A is orthogonally
diagonalizable if and only if A is symmetric matrix.
1/ 2 −1/ 18
u1 = 0 , u 2 = 4 / 18
1/ 2
1/ 18
SYMMETRIC MATRIX
▪ An orthonormal basis for the eigenspace for λ = −2 is
−2 −2 / 3
1 1
u3 = 2v3 = −1 = −1/ 3
2v3 3
2 2 / 3
▪ Let
1/ 2 −1/ 18 −2 / 3 7 0 0
P = u1 u2 u3 = 0 4 / 18 −1/ 3 , D = 0 7 0
0 0 −2
1/ 2 1/ 18 2 / 3
d. A is orthogonally diagonalizable.
SPECTRAL DECOMPOSITION
▪ Suppose A = PDP −1
, where the columns of P are
orthonormal eigenvectors u1,…,un of A and the
corresponding eigenvalues λ1,…,λn are in the
diagonal matrix D.
▪ Then, since P = P ,
−1 T
λ1 0 u1T
A = PDP = u1
T
un
0 λ n u n
T
u1T
= λ1 u 1 λnu n
u Tn
SPECTRAL DECOMPOSITION
▪ Using the column-row expansion of a product, we can
write
A = λ1u1u1 + λ 2 u 2 u 2 + + λ n u n u n ----(2)
T T T
T
▪ Each matrix u j u j is a projection matrix in the sense that
n T
for each x in , the vector (u j u j )x is the orthogonal
projection of x onto the subspace spanned by uj.
SPECTRAL DECOMPOSITION
7 2 2 / 5 −1/ 5 8 0 2 / 5 1/ 5
A= =
2 4 1/ 5 2 / 5 0 3 −1/ 5 2 / 5
▪ Then A = 8u1u1T + 3u 2 u T2
SPECTRAL DECOMPOSITION
▪ To verify the decomposition of A, compute
2 / 5 4 / 5 2 / 5
u 1u 1 = 2 / 5 1/ 5 =
T
1/ 5 2 / 5 1/ 5
−1/ 5 1/ 5 −2 / 5
u 2u = −1/ 5 2 / 5 =
T
−2 / 5 4 / 5
2
2 / 5
and
32 / 5 16 / 5 3 / 5 −6 / 5 7 2
8u u + 3u 2 u =
T T
+ = =A
16 / 5 8 / 5 −6 / 5 12 / 5 2 4
1 1 2