Eigenvalues and Eigenvectors
Eigenvalues and Eigenvectors Eigenvalue problem Let ! be an - - PowerPoint PPT Presentation
Eigenvalues and Eigenvectors Eigenvalue problem Let ! be an - - PowerPoint PPT Presentation
Eigenvalues and Eigenvectors Eigenvalue problem Let ! be an "" matrix: $ & is an eigenvector of ! if there exists a scalar ' such that ! $ = ' $ I l eigenvectors where ' is called an eigenvalue . eigenvalues eigeipairs If $ is
Eigenvalue problem
Let ! be an "×" matrix: $ ≠ & is an eigenvector of ! if there exists a scalar ' such that ! $ = ' $ where ' is called an eigenvalue. If $ is an eigenvector, then α$ is also an eigenvector. Therefore, we will usually seek for normalized eigenvectors, so that $ = 1 Note: When using Python, numpy.linalg.eig will normalize using p=2 norm.
I l eigenvectors
eigenvalues eigeipairs
I
- - ay
Aku)
- Hau) III
11×112--1
How do we find eigenvalues?
Linear algebra approach: ! $ = ' $ ! − ' , $ = & Therefore the matrix ! − ' , is singular ⟹ ./0 ! − ' , = 0 2 ' = ./0 ! − ' , is the characteristic polynomial of degree ". In most cases, there is no analytical formula for the eigenvalues of a matrix (Abel proved in 1824 that there can be no formula for the roots
- f a polynomial of degree 5 or higher) ⟹ Approximate the
eigenvalues numerically!
= I
Example
! = 2 1 4 2 &'( 2 − * 1 4 2 − * = 0
J
columns of A-
are L
. D . → rankCA> = IA- is singular matrix
delta
- KI)
- O
- p CX) = ( 2 -XJ
- 4=0
→ 4
- 212) X t k
- 4--0
12
- 42--0
eigenvectors
" x. ⇒ ⇒
height
:*
.
CA
- XI) x
to :o)
to)
*::
÷,f¥i¥¥÷¥¥
.
I
- (d)lx
2L .I . eigenvectors
Diagonalizable Matrices
A "×" matrix ! with " linearly independent eigenvectors 3 is said to be diagonalizable. ! 3! = '" 3!, ! 3# = '$ 3#, … ! 3% = '& 3%,
A X,H4→A4=h#
FEEL
a Hii
iii.
na -
K
* ÷
." "
÷¥¥¥÷s¥÷÷÷¥a
.
Example
! = 2 1 4 2 &'( 2 − * 1 4 2 − * = 0
Solution of characteristic polynomial gives: '" = 4, '$ = 0 To get the eigenvectors, we solve: ! $ = ' $
2 − (4) 1 4 2 − (4)
- !
- "
= 0 0 = 1 2 2 − (0) 1 4 2 − (0)
- !
- "
= 0 0 = −1 2
II::÷÷
- Ipx
.
line
:b
.O
→ *to
:c:)
I
t.tt#E/e.t:::I.o:::Igtisaias
.- I. =L
"
- )
O
O
Example
The eigenvalues of the matrix: ! = 3 −18 2 −9 are '" = '$ = −3. Select the incorrect statement: A) Matrix ! is diagonalizable B) The matrix ! has only one eigenvalue with multiplicity 2 C) Matrix ! has only one linearly independent eigenvector D) Matrix ! is not singular det(A)= 27
- I-361=63 # O
→ NOT SINGULAR
(A
- XI) x
- l:" :
I:)
K
too)
→False
6 U,
- 1862=0
261 - Geez → Jet
- ne eigenvector
→True
- → True
- →True
A=¥
- nlyoneeigenecfor
Let’s look back at diagonalization…
1) If a "×" matrix ! has " linearly independent eigenvectors $ then ! is diagonalizable, i.e., ! = :;:1! where the columns of : are the linearly independent normalized eigenvectors $ of ! (which guarantees that :1! exists) and ; is a diagonal matrix with the eigenvalues of !. 2) If a "×" matrix ! has less then " linearly independent eigenvectors, the matrix is called defective (and therefore not diagonalizable). 3) If a "×" symmetric matrix ! has " distinct eigenvalues then ! is diagonalizable.
A !×! symmetric matrix # with ! distinct eigenvalues is diagonalizable. Suppose $,% and &, ( are eigenpairs of # $ % = #% & ( = #(
- ai
Mio → Av=µo
#It
- - Ay
→ vector-
Ak
- XE.nu
→ scalars
LI
ftp.u-XEEorghogond
A- symmetric → ftp.ye-xv.y
vectors
^
AIA
my .ie
- AFI
II
= =⇒le/
(M
- A) LEE) - o
- ¥0
Some things to remember about eigenvalues:
- Eigenvalues can have zero value
- Eigenvalues can be negative
- Eigenvalues can be real or complex numbers
- A "×" real matrix can have complex eigenvalues
- The eigenvalues of a "×" matrix are not necessarily unique. In fact,
we can define the multiplicity of an eigenvalue.
- If a "×" matrix has " linearly independent eigenvectors, then the
matrix is diagonalizable
How can we get eigenvalues numerically?
Assume that # is diagonalizable (i.e., it has * linearly independent eigenvectors %). We can propose a vector + which is a linear combination of these eigenvectors: + = ,!%! + ,"%" + ⋯ + ,#%#
A
, nxn → Ui , Ue ,- , Un → L -I .
/AUi=XiUT
=/
#If= Aau, t A talk t
. . . t AdnUn- = Idek, tazz Kz t
- tankkn
Assume :
1412112171 Xsl
- 71 Xml
Power Iteration
Our goal is to find an eigenvector %$ of #. We will use an iterative process, where we start with an initial vector, where here we assume that it can be written as a linear combination of the eigenvectors of #. +% = ,!%! + ,"%" + ⋯ + ,#%#
Xo = -
M
¥
I
- converge
D
→diagonalieable
Ui
all L.I .
A- Io
= 9 X, U, t da daUz t- .
t an X
n Un = I, 4947faction
A-Ii
= A a,X,U, t AdaXaUz t . . . t Adn XnUn
= a, X, H,Ui) take(wea)t
- t anXn (xnun
)
= a, Xiu, t kXi uz t .- tan in un =IfEthier
It ¥2
= a, XP U , t da XP Uz t- t in XP Un
A.x÷,
= di XY Ui t da Tf Uz t- t an Xnk Un
Power Iteration
$2 = '" 2 <"3" + <$ '$ '"
2
3$ + ⋯ + <& '& '"
2
3& Assume that <" ≠ 0, the term <"3" dominates the others when ? is very large. Since |'" > |'$ , we have 3!
3" 2
≪ 1 when ? is large Hence, as ? increases, $2 converges to a multiple of the first eigenvector 3", i.e.,
Xo
= All , theUz t- t an Un
Anxn
A
OX
- dometnaut
14131121 > last
- I Xnl
k → a
→
In -→④%y,
Tp
" 't '
le
↳ large !
Hxkll -grow