










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!











A set S of nonzero vectors are
orthonormal
if, for
every
x
and
y
in S, we have dot(
x
, y
(orthogonality) and for every
x
in S we have ||
x
(length is 1).
The QR algorithm for finding eigenvalues is based onthe QR factorisation we learnt in the least squares partof the course
-^
Recall the QR factorization represents a matrix A as:
where Q is a matrix whose columns are orthonormal,and R is an upper triangular matrix.
-^
Recall that Q
H^ Q = I and Q
H
Q is termed a
unitary
matrix.
A
0
= A for k=1,2,…
s = A
(n,n)k
Q
Rk^
k^
= A
A
k+
= R
Qk
k^
end
Since:
k+
Qk
k^
-1(k
k^
k^
+sI
-1k
Qk
k
so once again A
k^
and A
k+
are
similar and so have the sameeigenvalues.
The shift operation subtracts s from each eigenvalueof A, and speeds up convergence.
Let A be an n
n matrix
n = size(A,1);I = eye(n,n);s = A(n,n); [Q,R] = qr(A-sI); A = RQ+s*I
-^
Use the up arrow key in MATLAB to iterate or put a loopround the last line.
Ramani Duraiswami, Dept. of Computer Science
Let
*^
Then A
*^
*^
*^
*^
2
This tells us that the singular value decomposition of
is
related to the Eigenvalue decomposition of
*^
Recall eigen value decomposition
(
X
Λ
X
* )
V
which contains the right singular vectors of
A
has the
right eigenvectors of
A
*^
A