Professional Documents
Culture Documents
2. Diagonalization
3.Symmetric Matrices and Orthogonal Diagonalization
4.Application of Eigenvalues and Eigenvectors
Ax x
Eigenvector
Geometrical Interpretation
2 0
1
0
A
x1 x 2
1
0
0 1
Eigenvalue
2 0 1 2
1
Ax1
2 2x1
0 1 0 0
0
Eigenvector
Eigenvalue
2 0 0 0
0
Ax2
1 (1)x2
0 1 1 1
1
Eigenvector
0
1
Sol:
For the eigenvalue 1 = 1, corresponding vectors are any vectors on the x-axis
x 1 0 x x
x Thus, the eigenspace
A
1
corresponding to = 1 is the x
0 1 0 0 0 0
A
1
y 0 1 y y y
If v ( x, y),
1 0 x x
Av
0 1 y y
x 0
x
x
0
Av A A A A
y
0
y
0 y
x 0 x
1 1
0 y y
Characteristic equation of A:
det( I A) 0
Characteristic polynomial of AMnn:
det( I A) ( I A) n cn1 n1
c1 c0
2 12
A
det( I A)
2
1
12
5
2 3 2 ( 1)( 2) 0
1, 2
Eigenvalue: 1 1, 2 2
3 12 x1 0
(1) 1 1 (1 I A)x
1 4 x2 0
3 12 G.-J. E. 1 4
1
4
0
0
x1 4t 4
t , t 0
x2 t 1
4 12 x1 0
(2) 2 2 (2 I A)x
1 3 x2 0
4 12 G.-J. E. 1 3
1
3
0
0
x1 3s
3
s , s 0
1
x2 s
2 1 0
A 0 2 0
0
0
2
The eigenspace of = 2:
0 1 0 x1 0
( I A)x 0 0 0 x2 0
0 0 0 x3 0
x1 s 1 0
x2 0 s 0 t 0 , s , t 0
x3 t 0 1
1 0
Notes:
(1) If an eigenvalue 1 occurs as a multiple root (k times) for
the characteristic polynominal, then 1 has multiplicity k.
1
0
A
1
1
0
1
0
0
0 0
5 10
2 0
0
3
Eigenvalues: 1 1, 2 2, 3 3
0
0
(1) 1 1 (1 I A)x
1
0 0 0 x1 0
0 5 10 x2 0
0 1 0 x3 0
0 0 2 x4 0
x1 2t
0 2
x s
1 0
2 s t , s,t 0
x3 2t
0 2
0 1
x4 t
0 2
1 0
,
is a basis for the eigenspace
0 2 corresponding to 1 1
0 1
The dimension of the eigenspace of 1 = 1 is 2
1
0
(2) 2 2 (2 I A)x
1
0 0 0 x1 0
1 5 10 x2 0
0 0 0 x3 0
0 0 1 x4 0
x1 0 0
x 5t 5
2 t , t 0
x3 t 1
x4 0 0
0
5 is a basis for the eigenspace
1 corresponding to 2 2
0
The dimension of the eigenspace of 2 = 2 is 1
2
0
(3) 3 3 (3 I A)x
1
0 0 0 x1 0
2 5 10 x2 0
0 1 0 x3 0
0 0 0 x4 0
x1 0 0
x 5t 5
2 t , t 0
x3 0 0
x4 t 1
0
5 is a basis for the eigenspace
corresponding to 3 3
1
The dimension of the eigenspace of 3 = 3 is 1
Sol:
1
0
(b) A 0
0
0
0
2
0
0
0
0 0
0 0
0 0
0 4
0 0
0
0
0
0
3
0
0
(a) I A 1
1 0 ( 2)( 1)( 3) 0
5
3 3
1 2, 2 1, 3 3
(b) 1 1, 2 2, 3 0, 4 4, 5 3
2. Diagonalization
Diagonalization problem :
For a square matrix A, does there exist an invertible matrix P
such that P1AP is diagonal?
Diagonalizable matrix :
Definition 1: A square matrix A is called diagonalizable if
there exists an invertible matrix P such that P1AP is a
diagonal matrix (i.e., P diagonalizes A)
Definition 2: A square matrix A is called diagonalizable if A
is similar to a diagonal matrix
I B I P 1 AP P 1 IP P 1 AP P 1 ( I A) P
P 1 I A P P 1 P I A P 1P I A
I A
Since A and B have the same characteristic equation,
they are with the same eigenvalues
1 3 0
A 3 1 0
0
0
1
(1) 4 the eigenvector p1 1
0
1
0
(2) 2 the eigenvector p 2 1 , p3 0
0
1
1 1 0
4 0 0
P [p1 p 2 p3 ] 1 1 0 , and P 1 AP 0 2 0
0 0 1
0 0 2
Note: If P [p 2
p1 p3 ]
1 1 0
1 1 0
0 0 1
2 0 0
P 1 AP 0 4 0
0 0 2
0
1
0 0
0
pn ]
1 0
0 2
1
P AP D
0 0
0
0
where Api i pi , i 1, 2,
,n
, n
pn
Ex 5: Diagonalizing a matrix
1 1 1
A 1
3 1
3 1 1
Find a matrix P such that P 1 AP is diagonal.
The eigenvalues : 1 2, 2 2, 3 3
1
1 2 1 I A 1
3
x1 t
x 0
2
x3 t
1 1
1 0 1
G.-J. E.
1 1
0 1 0
0 0 0
1 3
1
eigenvector p1 0
1
1 0 14
3 1 1
G.-J. E.
0 1 14
2 2 2 I A 1 5 1
0 0 0
3 1 1
x1 14 t
1
x 1 t eigenvector p 1
2
2 4
x3 t
4
2 1 1
1 0 1
G.-J. E.
0 1 1
3 3 3 I A 1 0 1
3 1 4
0 0 0
x1 t
1
x t eigenvector p 1
3
2
x3 t
1
1 1 1
P [p1 p 2 p3 ] 0 1 1 and it follows that
1 4 1
2 0 0
P 1 AP 0 2 0
0 0 3
1 0
0
2
(1) D
0 0
0
1k
0
0
k
n
0
(2) D P 1 AP D k P 1 AP P 1 AP
k
n
2k
0
P 1 AP P 1 Ak P
repeat k times
1k
0
k
k 1
k
A PD P , where D
2k
0
k
n
0 0 3
1 1, 2 0, 3 3.
According to Thm. 6, because these three values are
distinct, A is diagonalizable.
Symmetric matrix :
A square matrix A is symmetric if it is equal to its transpose:
A AT
2
0
5
4 3
B
(symmetric)
3
1
3 2 1
C 1 4 0
(nonsymmetric)
1 0 5
Ex 2:
Prove that a 2 2 symmetric matrix is diagonalizable.
a c
A
c b
Pf: Characteristic equation:
a c
I A
2 (a b) ab c 2 0
c b
As a function in , this quadratic polynomial function has a
nonnegative discriminant as follows
(1) (a b) 2 4c 2 0
a b, c 0
a c a 0
A
c b 0 a
(2) (a b) 2 4c 2 0
The characteristic polynomial of A has two distinct real roots,
which implies that A has two distinct real eigenvalues.
According to Thm. 6, A is diagonalizable.
Orthogonal matrix :
A square matrix P is called orthogonal if it is invertible and
P1 PT (or PPT PT P I )
p1T p1 p1T p 2
T
T
p
p
p
T
2
1
2 p2
P P
T
T
p n p1 p n p 2
p1T p n p1 p1 p1 p 2
p 2T p1 p 2 p1 p 2 p 2
T
p n p n p n p1 p n p 2
p1 p n
p 2 p1
In
pn pn
13
2
P 5
2
3 5
2
3
1
5
4
3 5
0
5
3 5
2
3
PPT 25
2
3 5
2
3
1
5
4
3 5
13
0 23
2
5
3 5
3
2
3
2
5
1
5
1 0 0
I
4
0
1
0
3 5
5
0 0 1
3 5
2
3 5
1
2
2
3
3
3
2
1
Moreover, let p1 5 , p 2 5 , and p3 0 ,
2
4
5
3 5
3 5
3 5
we can produce p1 p 2 p1 p3 p 2 p3 0 and p1 p1
p 2 p 2 p3 p3 1.
Pf:
Orthogonal diagonalization :
A matrix A is orthogonally diagonalizable if there exists an
orthogonal matrix P such that P1AP = D is diagonal.
Thm. 10: Fundamental theorem of symmetric matrices
Let A be an nn matrix. Then A is orthogonally diagonalizable
and has real eigenvalues if and only if A is symmetric.
1 1 1
A1 1 0 1
1
1
1
5 2 1
A2 2 1 8
1
8
0
3 2 0
A3
2 0 1
0 0
A4
0 2
Symmetric
matrix
Orthogonally
diagonalizable
Ex 9: Orthogonal diagonalization
Sol:
(1) I A ( 3) 2 ( 6) 0
1 6, 2 3 (has a multiplicity of 2)
v1
(2) 1 6, v1 (1, 2, 2) u1
( 13 ,
v1
(3) 2 3, v2 (2, 1, 0), v3 (2, 0, 1)
2
3
2
3
(a) 4 x2 9 y 2 36 0
(b) 13x2 10 xy 13 y 2 72 0
Sol:
x2 y 2
(a) In standard form, we can obtain 2 2 1.
3
2
Since there is no xy-term, it is easy
to derive the standard form and it is
apparent that this equation
represents an ellipse.
(b) 13x2 10 xy 13 y 2 72 0
Since there is a xy-term, it is difficult to identify the graph of this equation.
In fact, it is also an ellipse, which is oblique on the xy-plane.
There is a easy way to identify the graph of
quadratic equation. The basic idea is to rotate the
x- and y-axes to x- and y-axes such that there is
no more xy-term in the new quadratic equation.
In the above example, if we rotate the x- and yaxes by 45 degree counterclockwise, the new
( x ')2 ( y ') 2
quadratic equation
2 1 can be
2
3
2
Quadratic form :
a b / 2
A
b
/
2
c
x
If we define X = y , then XTAX= ax2 + bxy + cy2 . In fact, the
quadratic equation can be expressed in terms of X as follows.
X T AX d
e X f .
1 0
P AP P AP D
,
0 2
where 1 and 2 are eigenvalues of A. The equation for the
rotated conic is given by
1
1 ( x ')2 2 ( y ')2 d e PX f 0.
Pf:
According to Thm. 10, since A is symmetric, we can
conclude that there exists an orthogonal matrix P such that
P1AP = PTAP = D is diagonal.
Replacing X with PX, the quadratic form becomes
X T AX ( PX )T A( PX ) ( X )T PT APX
( X )T DX 1 ( x)2 2 ( y) 2 .
It is obvious that the new quadratic form in terms of X has no xyterm, and the coefficients for (x)2 and (y)2 are the two eigenvalues
of the matrix A.
x
x
x
x
X PX v1 v 2 xv1 yv 2 Since and are
y
y
y
y
the orignal and new coodinates, the roles of v1 and v 2 are like the basis
vectors (or the axis vectors ) in the new coordinate system.
Ex 6: Rotation of a conic
Perform a rotation of axes to eliminate the xy-term in the
following quadratic equation
13x2 10 xy 13 y 2 72 0
Sol:
The matrix of the quadratic form associated with this equation is
13 5
A
.
5 13
The eigenvalues are 1 = 8 and 2 = 18, and the corresponding
eigenvectors are
1
1
x1 and x 2 .
1
1
1
2
1
2
1
2 cos 45
1 sin 45
2
sin 45
cos 45
In three-dimensional version:
ax2 + by2 + cz2 + dxy + exz + fyz
is the quadratic form associated with the equation of quadric
surface: ax2 + by2 + cz2 + dxy + exz + fyz + gx + hy + iz + j = 0
d /2
a
A d / 2
b
e / 2 f / 2
e/2
f / 2
c
X T AX g h i X j.