
















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

















Ramani Duraiswami, Dept. of Computer Science
Recap:
-^
matrix
has an eigenvector
x
(non-zero) with
corresponding eigenvalue
λ
if
Ax
λ
x
This means
Ax
x
x
If a matrix vector product gives a zero vector, then eitherthe vector is zero, or the matrix has zero determinant (issingular).
-^
Here this means det(A-
λ
A matrix is symmetric if its transpose is equal to itself
-^
is symmetric if
t^ =
For a complex matrix
H^
Eigenvalues and Eigenvectors of a real symmetric(complex hermitian) matrix are real and eigenvectors areorthogonal.
-^
Eigenvalues and Eigenvectors of a real symmetric matrix are real. Itseigenvectors are orthogonal.
A
·^
X
R^
=^
X
R^
·^ diag(
λ^1
...
λ
N
)
X
L^
·^ A
= diag(
λ^1
...
λ
N
)^
·^ X
L
-^
Multiply first equation on left by
X
, second on the right byL
X
, andR
subtract
( X
L^
·^ X
)R ·^
diag(
λ^1
...
λ
N
) = diag(
λ^1
...
λ
N
)^
·^ (
X
L^
·^ X
)R
-^
matrix of dot products of the left and right eigenvectors commuteswith the diagonal matrix of eigenvalues.
-^
Only matrices that commute with a diagonal matrix
of distinct
elements
are themselves diagonal.
-^
So
X
L^
·^ X
R^
is diagonal
-^
So
X
L^
and
X
R^
are orthogonal to each other
-^
But
X
L^
=
X
t R
Example
⎞ ⎟ ⎟ ⎠
⎛ ⎜⎜ ⎝ =^
2 1
3 4
A
⎞ ⎟⎟ ⎠
⎛ ⎜⎜ ⎝
−
−
=
−
λ
λ
λ^
2
1
3
4
I
A
0 ) 3 )( 1 ( )
2 )(
(^4) (
0 )
det(
= − − − ⇒ = −
λ
λ
λ
I
A
0 ) 1
)( 5 ( 0 5 6 2
= − − ⇒ = + −
λ
λ
λ
λ^ • Hence the two eigenvalues are 1 and 5.
Example (continued)
Once we have the eigenvalues, the eigenvectors canbe obtained by substituting back into (A-
λ
x
This gives eigenvectors (1 -1)
T^
and (1 1/3)
T
Note that we can scale the eigenvectors any way wewant.
-^
Determinant are not used for finding the eigenvaluesof large matrices.
If A is positive definite and
λ
and
x
are an
eigenvalue/eigenvector pair, then:
x
λ
x
x
H
x
λ
x
H
x
Since
x
H
x
and
x
H
x
are both real and positive it follows
that
λ
is real and positive.
If A is a positive definite matrix then:– A is nonsingular.– The inverse of A is positive definite.– Gaussian elimination can be performed on A without pivoting.– The eigenvalues of A are positive.
The Power Method
Label the eigenvalues in order of decreasing absolutevalue so |
λ
1
λ
2
λ
n
Consider the iteration formula:
y
k+
y
k
where we start with some initial
y
, so that: 0
y
k^
k y
0
Then
y
k^
converges to the eigenvector
x
1
corresponding
the eigenvalue
λ
1
Eigen Decomposition
-^
Recall from previous class the Eigen decomposition
-^
Let
λ
1
,^ λ
2
,…,
λ
n
be the eigenvalues of the n
×
n matrix A and
x^1
, x
,…, 2
x n
the corresponding eigenvectors.
-^
Let
Λ
be the diagonal matrix with
λ
1
,^ λ
2
,…,
λ
n
on the main
diagonal.
-^
Let X be the n
×
n matrix whose jth column is
x
.j
-^
Then AX = X
Λ
, and so we have the
eigen decomposition
of
A:
A = X
t^ Λ
X
This requires X to be invertible, thus the eigenvectors of Amust be linearly independent.
Proof
-^
We know that A
k^
= X
Λ
k X
-1^ , so:
y k
= A
k y
= X 0
Λ
k X
-1 y
0
-^
Now we have:
k k n
k k
k
k n
k
k
k
1 1 2 1 2 1
-^
The terms on the diagonal get smaller in absolute value as kincreases, since
λ
1
is the dominant eigenvalue.
-^
So we have
1 1 1
1 2
1
1
k
n
n
k
k
-^
Since
λ
1
k^ c
x 1
1
is just a constant times
x
1
then we have the
required result.
Rayleigh Quotient
Note that once we have the eigenvector, thecorresponding eigenvalue can be obtained from the Rayleigh quotient
dot(A
x
, x
)/dot(
x
, x
where dot(
a
, b
) is the scalar product of vectors
a
and
b
defined by:
dot(
a
, b
) = a
b 1
+a 1
b 2
+…+a 2
bn
n
So for our example,
λ
1
Scaling
The
λ
1
k^
can cause problems as it may become very large
as the iteration progresses.
-^
To avoid this problem we scale the iteration formula:
y
k+
y
k^
/r
k+
where r
k+
is the component of A
y
k^
with largest absolute
value.