Eigenvalues Eigenvectors Handout
Eigenvalues Eigenvectors Handout
HCMC — 2018.
Dr. Lê Xuân Đại (HCMUT-OISP) EIGENVALUES AND EIGENVECTORS HCMC — 2018. 1 / 56
OUTLINE
3 DIAGONALIZATION
4 MATL AB
MODELLING MOTION
4PQR → 4P 0 Q0 R0 is
the reflection over the x−axis.
Dr. Lê Xuân Đại (HCMUT-OISP) EIGENVALUES AND EIGENVECTORS HCMC — 2018. 3 / 56
The Real World Problems
à !
1 0
A= is the reflection matrix.
0 −1
Therefore, for every point in the plane
(x1 , x2 ), the matrix that results in a reflection
over the x−axis and then we obtain a new
point
à ! inà the plane ! à (y1!, y2 )à !
y1 1 0 x1 x1
= . =
y2 0 −1 x2−x2
Question:
à ! ÃFor !every point (x1 , x2 ), find
y1 x1
= Ak . , (k ∈ N).
y2 x2
Dr. Lê Xuân Đại (HCMUT-OISP) EIGENVALUES AND EIGENVECTORS HCMC — 2018. 4 / 56
Eigenvalues and Eigenvectors of a Matrix Definition
à ! à ! à !
1 0 −1 0
A= , u= ,v= . We have
0 −1 −1 1
à ! à !
−1 −1
A = and
−1 1
à ! à ! à !
0 0 0
A = = −1.
1 −1 1
DEFINITION 2.1
If A is an n × n matrix, then a nonzero vector
X ∈ Rn , X 6= 0 is called an eigenvector of A if
AX = λ.X for some scalar λ. The scalar λ is
called an eigenvalue of A and X is said to be
an eigenvector corresponding to λ.
EXAMPLE 2.1
Find
à eigenvalues
! and eigenvectors of
1 0
A=
0 −1
Dr. Lê Xuân Đại (HCMUT-OISP) EIGENVALUES AND EIGENVECTORS HCMC — 2018. 6 / 56
Eigenvalues and Eigenvectors of a Matrix Definition
EXAMPLE 2.2
Find
à eigenvalues
! and eigenvectors of
1 2
A=
−2 1
à !à !
1 2 x1
AX = λX can be rewritten =
−2 1 x
à ! à !à ! à ! 2
λx1 1−λ 2 x1 0
⇔ = .
λx2 −2 1 − λ x2 0
This homogeneous linear system has
non-zero solution X 6= 0, thus
¯ ¯
¯ 1−λ 2 ¯
¯ = 0 ⇔ (1 − λ)2 + 4 = 0
¯ ¯
¯ −2 1 − λ
¯
¯
⇔ λ1,2 = 1 ± 2i.
Dr. Lê Xuân Đại (HCMUT-OISP) EIGENVALUES AND EIGENVECTORS HCMC — 2018. 10 / 56
Eigenvalues and Eigenvectors of a Matrix Definition
THEOREM
2.1
a11 a12 a13
If A = a21 a22 a23 , then
a31 a32 a33
DEFINITION 2.3
The eigenvetors corresponding to the
eigenvalue λ, together with the zero vector,
form the null space of the matrix (A − λI).
This subspace is called the eigenspace
corresponding to the eigenvalue λ.
DEFINITION 2.4
If λ0 is an eigenvalue of an n × n matrix A,
then the dimension of the eigenspace
corresponding to λ0 is called the geometric
multiplicity of λ0, and the number of times
that λ − λ0 appears as a factor in the
characteristic polynomial of A is called the
algebraic multiplicity of λ0.
EXAMPLE
2.3
3 1 1
Let A = 2 4 2
1 1 3
1
Find the characteristic polynomial of A
2
Evaluate det(A − 2013.I)
3
Find eigenvalues and eigenvectors of A
1. The characteristic
¯ polynomial of¯ A
¯ 3−λ 1 1 ¯¯
¯
χA (λ) = |A − λI| = ¯ 2 4 − λ 2 ¯ =
¯ ¯
1 3−λ ¯
¯ ¯
¯ 1
= −λ3 + 10λ2 − 28λ + 24 = −(λ − 2)2 (λ − 6)
2. det(A − 2013.I) = −(2013 − 2)2(2013 − 6)
3. The characteristic
¯ equation of A¯
¯ 3−λ 1 1 ¯¯
¯
χA (λ) = |A − λI| = ¯ 2 4 − λ 2 ¯ = 0
¯ ¯
1 3−λ ¯
¯ ¯
¯ 1
⇔ −(λ − 2)2 (λ − 6) = 0 ⇔ λ1 = 2, λ2 = 6.
Dr. Lê Xuân Đại (HCMUT-OISP) EIGENVALUES AND EIGENVECTORS HCMC — 2018. 18 / 56
Eigenvalues and Eigenvectors of a Matrix Geometric and Algebraic Multiplicity
DEFINITION 3.1
If A and B are square matrices, then we say
that B is similar to A if there is an invertible
matrix S such that B = S−1AS.
DEFINITION 3.2
A square matrix A is said to be
diagonalizable if it is similar to some
diagonal matrix D, that is, if there exists an
invertible matrix S such that S−1AS = D. In
this case the matrix S is said to diagonalize A.
Dr. Lê Xuân Đại (HCMUT-OISP) EIGENVALUES AND EIGENVECTORS HCMC — 2018. 21 / 56
Diagonalization Definition
a11 a12 ...a1n s11 s12 ... s1n
a a ...a2n s21 s22
... s2n
21 22
AS = .
... ... ...... ... ... ... ...
an1 an2 ...ann sn1 sn2 ... snn
¡ ¢ ¡ ¢
= A S∗1 S∗2 . . . S∗n = AS∗1 AS∗2 . . . AS∗n
λ1 0
s11 s12 ... s1n ... 0
s s22 ... s2n 0 λ ...
21 2
SD =
... ... ... ... ... ... ... ...
Therefore,
(AS)∗i = AS∗i = (SD)∗i = λi S∗i , (i = 1, 2, . . . , n).
EXAMPLE
3.1
15 −18 −16
Let A = 9 −12 −8 . Find a matrix S that
4 −4 −6
diagonalizes A.
Step 1. Find eigenvalues,
¯ eigenvectors of
¯ A.
¯ 15 − λ −18 −16 ¯¯
¯
χA (λ) = |A − λI| = ¯ 9 −12 − λ −8 ¯ = 0
¯ ¯
−6 − λ ¯
¯ ¯
¯ 4 −4
⇔ −(λ + 3)(λ + 2)(λ − 2) = 0 ⇔ λ1 = −3 (AM=1),
λ2 = −2 (AM=1), λ3 = 2 (AM=1).
Dr. Lê Xuân Đại (HCMUT-OISP) EIGENVALUES AND EIGENVECTORS HCMC — 2018. 25 / 56
Diagonalization Definition
Step
2. Finda matrix S that diagonalizes A.
1 2 4
S= 1 1 2
0 1 1
−3 0 0
Then S−1AS = D = 0 −2 0
0 0 2
EXAMPLE
3.2
0 −8 6
Let A = −1 −8 7 . Find Ak , k ∈ N.
1 −14 11
¯ ¯
¯ −λ −8
¯ 6 ¯¯
χA (λ) = |A − λI| = ¯ −1 −8 − λ 7 ¯=0
¯ ¯
−14 11 − λ ¯
¯ ¯
¯ 1
⇔ −(λ − 2)(λ + 2)(λ − 3) = 0 ⇔ λ1 = −2 (AM=1),
λ2 = 2 (AM=1), λ3 = 3 (AM=1).
A matrix
S that
diagonalizes
A is
1 1 2 1 1 −1
S = 1 2 3 ⇒ S−1 = −2 3 −1 ,
1 3 5 1 −2 1
−2 0 0
D = 0 2 0 . Therefore, Ak = SDk S−1 =
0 0 3
1 1 2 (−2)k 0 0 1 1 −1
1 2 3 0 2k 0 −2 3 −1
1 3 5 0 0 3k 1 −2 1
Dr. Lê Xuân Đại (HCMUT-OISP) EIGENVALUES AND EIGENVECTORS HCMC — 2018. 35 / 56
Diagonalization Recognizing Diagonalizability
THEOREM 3.1
The square matrix A is diagonalizable if and
only if the geometric multiplicity of every
eigenvalue is equal to the algebraic
multiplicity.
EXAMPLE
3.3
2 0 1
Let A = 1 1 1 . Diagonalize A if A is
−2 0 −1
diagonalizable.
Dr. Lê Xuân Đại (HCMUT-OISP) EIGENVALUES AND EIGENVECTORS HCMC — 2018. 36 / 56
Diagonalization Recognizing Diagonalizability
⇔ −λ(λ − 1)2 = 0
⇔ λ1 = 0 (AM=1), λ2 = 1 (AM=2).
Step
2. The matrix
that diagonalizes A is
1 0 1
S= 1 1 0
−2 0 −1
−1 0 −1
−1
Then S = 1 1 1
2 0 1
0 0 0
D = S−1 AS = 0 1 0
0 0 1
Dr. Lê Xuân Đại (HCMUT-OISP) EIGENVALUES AND EIGENVECTORS HCMC — 2018. 40 / 56
Diagonalization Recognizing Diagonalizability
EXAMPLE
3.4
2 0 0
Let A = 0 4 0 . Diagonalize A if A is
1 0 2
diagonalizable.
ORTHOGONAL DIAGONALIZATION
DEFINITION 3.3
A square matrix A is said to be symmetric if
A = AT or equivalently if A = (aij )n then
aij = aji , ∀i, j = 1, 2, . . . , n.
THEOREM 3.2
If A is a symmetric matrix with real entries,
then the eigenvalues λ of A are all real
numbers and eigenvectors from different
eigenspaces are orthogonal.
Dr. Lê Xuân Đại (HCMUT-OISP) EIGENVALUES AND EIGENVECTORS HCMC — 2018. 45 / 56
Diagonalization Orthogonal Diagonalization
DEFINITION 3.4
A square matrix P is said to be orthogonal if
its transpose is the same as its inverse, that is,
if PT = P−1, or equivalently, if PPT = PT P = I.
THEOREM 3.3
If A is a symmetric matrix with real entries,
then there exists the orthogonal matrix P
such that PT AP = P−1AP is diagonal.
ORTHOGONAL DIAGONALIZATION
EXAMPLE 3.5
Orthogonally
diagonalize
the matrix
2 −1 −1
A = −1 2 −1
−1 −1 2
⇔ −λ(λ − 3)2 = 0
⇔ λ1 = 0, (AM=1) λ2 = 3 (AM=2).
MATL AB
1
Finding the characteristic polynomial
of A: p = poly(A)
2
Finding the roots of characteristic
equation of A: roots(p)
3
Finding eigenvalues and eigenvectors of
of A: [V , D] = eig(A)