MA 214 Lecture 11
MA 214 Lecture 11
det(λI − A) = 0.
det(λI − A) = 0.
det(λI − A) = 0.
explicitly in λ and
det(λI − A) = 0.
explicitly in λ and
then use some nonlinear solver to compute a root of this
polynomial.
det(λI − A) = 0.
explicitly in λ and
then use some nonlinear solver to compute a root of this
polynomial.
But this is not an efficient way of computing eigenvalues because of two
reasons.
MA 214 - NA Spring 2023-24 4 / 46
Eigenvalue of a Matrix (contd.)
Example:
A given matrix may have unique or more than one dominant (but
distinct or repeated) eigenvalues as illustrated here.
Example:
A given matrix may have unique or more than one dominant (but
distinct or repeated) eigenvalues as illustrated here.
The matrix
1 0 0
A= 0 −2 1
0 0 −1
Example:
A given matrix may have unique or more than one dominant (but
distinct or repeated) eigenvalues as illustrated here.
The matrix
1 0 0
A= 0 −2 1
0 0 −1
has eigenvalues 1, −1, and −2.
Example:
A given matrix may have unique or more than one dominant (but
distinct or repeated) eigenvalues as illustrated here.
The matrix
1 0 0
A= 0 −2 1
0 0 −1
has eigenvalues 1, −1, and −2.
Take λ1 = −2, λ2 = −1, and λ3 = 1.
Example:
A given matrix may have unique or more than one dominant (but
distinct or repeated) eigenvalues as illustrated here.
The matrix
1 0 0
A= 0 −2 1
0 0 −1
has eigenvalues 1, −1, and −2.
Take λ1 = −2, λ2 = −1, and λ3 = 1.
The matrix A has a unique dominant eigenvalue, which is −2 as
this is the largest in absolute value, of all eigenvalues.
MA 214 - NA Spring 2023-24 9 / 46
Eigenvalue Problem: Power Method (contd.)
Example:
The matrix
1 3 4
B= 0 2 1
0 0 −2
Example:
The matrix
1 3 4
B= 0 2 1
0 0 −2
has eigenvalues 1, −2, 2.
Example:
The matrix
1 3 4
B= 0 2 1
0 0 −2
has eigenvalues 1, −2, 2. According to our definition, the matrix B
has two dominant eigenvalues. They are −2 and 2.
λj
< 1, j = 2, · · · , n.
λ1
λj
< 1, j = 2, · · · , n.
λ1
Using this in the expression !
k k
λ2 λn
Ak v = λk1 c1 v1 + c2 v2 + · · · + cn vn
λ1 λ1
λj
< 1, j = 2, · · · , n.
λ1
Using this in the expression !
k k
λ2 λn
Ak v = λk1 c1 v1 + c2 v2 + · · · + cn vn
λ1 λ1
Ak v
⇒ lim k = c1 v1 .
k→∞ λ
1
For c1 ̸= 0, the RHS of the above equation is a scalar multiple of the
eigenvector.
MA 214 - NA Spring 2023-24 15 / 46
Eigenvalue Problem: Power Method (contd.)
Using this in the expression
k k !
λ2 λn
Ak v = λk1 c1 v1 + c2 v2 + · · · + cn vn
λ1 λ1
Ak v
⇒ lim = c1 v1 .
k→∞ λk
1
For c1 ̸= 0, the RHS of the above equation is a scalar multiple of the
eigenvector.
Also, from the above expression for Ak v, we see that
(Ak+1 v)i
lim = λ1 ,
k→∞ (Ak v)i
The power method generates two sequences {µk } and {x(k) } using the
results
Ak v (Ak+1 v)i
lim = c1 v1 , lim = λ1
k→∞ λk k→∞ (Ak v)i
1
The power method generates two sequences {µk } and {x(k) } using the
results
Ak v (Ak+1 v)i
lim = c1 v1 , lim = λ1
k→∞ λk k→∞ (Ak v)i
1
that converges to the dominant eigenvalue λ1 and the corresponding
eigen vectors v1 , respectively.
Define
(1)
µ1 = yJ and
Define
(1) y(1)
µ1 = yJ and x(1) = .
µ1
Define
(1) y(1)
µ1 = yJ and x(1) = .
µ1
From x(1) , we can obtain µ2 and x(2) and so on.
MA 214 - NA Spring 2023-24 18 / 46
Eigenvalue Problem: Power Method (contd.)
Example:
Consider the matrix
3 0 0
A = −4 6 2
16 −15 −5
Example:
Consider the matrix
3 0 0
A = −4 6 2
16 −15 −5
The eigenvalues of this matrix are
λ1 = 3, λ2 = 1, and λ3 = 0
Example:
Consider the matrix
3 0 0
A = −4 6 2
16 −15 −5
The eigenvalues of this matrix are
λ1 = 3, λ2 = 1, and λ3 = 0
Let us take the corresponding eigenvectors as
v1 = (1, 0, 2)T , v2 = (0, 2, −5)T and v3 = (0, 1, −3)T .
which has eigenvalues 1, −2, and 2. Clearly, the matrix B has two
dominant eigenvalues, namely, −2 and 2.
We start with an initial guess x(0) = (1, 1, 1) and the five iterations
generated using power method are given below:
We start with an initial guess x(0) = (1, 1, 1) and the five iterations
generated using power method are given below:
Iteration No: 1
y(1) = Ax(0) = (8.000000, 3.000000, −2.000000, )T
µ1 = 8.000000
y(1)
x(1) = = (1.000000, 0.375000, −0.250000, )T
µ1
We start with an initial guess x(0) = (1, 1, 1) and the five iterations
generated using power method are given below:
Iteration No: 1
y(1) = Ax(0) = (8.000000, 3.000000, −2.000000, )T
µ1 = 8.000000
y(1)
x(1) = = (1.000000, 0.375000, −0.250000, )T
µ1
Iteration No: 2 (2)
y = Ax(1) = (1.125000, 0.500000, 0.500000, )T
µ2 = 1.125000
y(2)
x(2) = = (1.000000, 0.444444, 0.444444, )T
µ2
Iteration No: 3
Iteration No: 3
and so on.
MA 214 - NA Spring 2023-24 31 / 46
Eigenvalue Problem: Power Method (contd.)
Theorem (Convergence Theorem for Power method)
Hypothesis: Let A be an n × n matrix with real eigenvalues having the following
properties:
Hypothesis 3:
An initial guess x(0) ∈ Rn be chosen such that
X n
(0)
x = cj vj ,
j=1
∞
[
for some scalars c1 , c2 , · · · , cn ∈ R with c1 ̸= 0 and x
(0)
∈
/ KerAk .
k=1
Hypothesis 3:
An initial guess x(0) ∈ Rn be chosen such that
X n
(0)
x = cj vj ,
j=1
∞
[
for some scalars c1 , c2 , · · · , cn ∈ R with c1 ̸= 0 and x
(0)
∈
/ KerAk .
k=1
Consider the matrix
3 0 0
A = −4 6 2 ,
16 −15 −5
MA 214 - NA Spring 2023-24 34 / 46
Eigenvalue Problem: Power Method (contd.)
Consider the matrix
3 0 0
A = −4 6 2 ,
16 −15 −5
The eigenvalues of this matrix are λ1 = 3, λ2 = 1 and λ3 = 0. The
corresponding eigen vectors are
v1 = (1, 0, 2)T , v2 = (0, 2, −5)T and v3 = (0, 1, −3)T .
Let us take x(0) = (0, 0.5, 0.25)T .
reduces to
k k !
λ3 λn
Ak v = λk2 c2 v2 + c3 v3 + · · · + cn vn .
λ2 λ2
reduces to
k k !
λ3 λn
Ak v = λk2 c2 v2 + c3 v3 + · · · + cn vn .
λ2 λ2
1 The Power method requires at the beginning that the matrix has
only one dominant eigenvalue, and this information is generally
unavailable.
2 Even when there is only one dominant eigenvalue, it is not clear
how to choose the initial guess x(0) such that it has a non-zero
component (c1 in the notation of the theorem) along the
eigenvector v1 .
Note that in the above example, all the hypothesis of power method are
satisfied. Now let us ask the question
“What happens when any of these hypotheses is violated?”
MA 214 - NA Spring 2023-24 40 / 46
Eigenvalue Problem: Inverse Power Method
µk → 1/λn
µk → 1/λn
(possibly a subsequence) x(k) converges to an eigenvector of λn .
We have
1 0 0 −2.7083 − 2.6824 0.4543
L= −0.0706 1 0 U= 0 0.5734 0.1328 .
0.1194 − 0.1479 1 0 0 5.0107