Professional Documents
Culture Documents
Dana Mackey (DIT) : Numerical Methods II
Dana Mackey (DIT) : Numerical Methods II
AV = λV
4 0 1
Example: Find the eigenvalues of A = −2 1 0.
−2 0 1
This gives a
single independent equation V1 + V2 = 0 so any vector of the
1
form V = α is an eigenvector corresponding to the eigenvalue 1.
−1
A = PDP −1
D = diag [λ1 , λ2 , . . . , λn ]
Overview:
Ci = {z ∈ C
l : |z − aii | ≤ Ri }
C1 = {z ∈ C
l : |z − 1| ≤ 1}; C2 = {z ∈ C
l : |z − 5| ≤ 2};
C3 = {z ∈ C
l : |z − 9| ≤ 3}
Since C1 is disjoint from the other circles, it must contain one of the
eigenvalues and this eigenvalue is real. As C2 and C3 overlap, their union
must contain the other two eigenvalues.
The eigenvalue with the largest absolute value, λ1 is called the dominant
eigenvalue. Any eigenvector corresponding to λ1 is called a dominant
eigenvector.
x0 = α1 v1 + · · · αn vn
x(1) = Ax(0) = α1 λ1 v1 + · · · αn λn vn
x(2) = Ax(1) = α1 λ21 v1 + · · · αn λ2n vn
..
.
x(m) = Ax(m−1) = α1 λm m
1 v1 + · · · αn λ n vn
and hence m m
x(m)
λ2 λn
= α1 v1 + α2 + · · · αn vn
λm
1 λ1 λ1
which gives
x(m)
lim = α1 v1
m→∞ λm
1
(m)
Hence, the sequence xλm converges to an eigenvector associated with the
1
dominant eigenvalue.
For m ≥ 1, let
y(m)
y(m) = Ax(m−1) , x(m) = (m)
ypm
where pm is the index of the component of y(m) which has maximum
absolute value.
Note that
y(m) = Ax(m−1) ≈ λ1 x(m−1)
(m−1)
and since xpm−1 = 1 (by construction), it follows that
(m)
ypm−1 → λ1
Note: If the ratio |λ2 /λ1 | is small, the convergence rate is fast. If
|λ1 | = |λ2 | then, in general, the power method does not converge.
1 Let
p(x) = a0 + a1 x + · · · + am x m
be a polynomial of degree m. Then the eigenvalues of the matrix
B = p(A) = a0 + a1 A + · · · + am Am
det(A − qI ) 6= 0
|z + 4| ≤ 2; |z − 3| ≤ 1 and |z − 15| ≤ 2
so they are all disjoint! There is one eigenvalue in each of the three circles
so they lie close to -4, 3 and 15.
Note that, once the desired approximation, µ(n) , v(n) has been obtained,
we must calculate
1
λ(n) = 3 + (n)
µ
The associated eigenvector for λ is the same as the one calculated for µ.
Use the inverse power method to find an approximation for the smallest
eigenvalue of A.
AQ = QB or A = QBQ T
Av = λv
then
BQ T v = λQ T v
which means λ is an eigenvalue of B with eigenvector Q T v.
We find the QR factorisation for the matrix A and then take the reverse
order product RQ to construct the first matrix in the sequence.
A = QR =⇒ R = QT A
A(1) = RQ =⇒ A(1) = Q T AQ
Easy to see that A and A(1) are orthogonally similar and so have the same
eigenvalues. We then find the QR factorisation of A(1) :
This procedure is then continued to construct A(2) , A(3) , etc. and (if the
original matrix is symmetric and tridiagonal) this sequence converges to a
diagonal matrix. The diagonal values of each of the iteration matrices
A(m) can be considered as approximations of the eigenvalues of A.
Exercise: Calculate the first iteration of the QR algorithm for the matrix
on the previous slide.
1. Let
1 0 0
A = 0 6 −2
0 −2 4
Calculate the eigenvalues of A (using the definition) and perform two
iterations of the QR algorithm to approximate them.
2. Let
12 1 0
A=1 3 −2
0 −2 5
whose eigenvalues are 12.11689276, 1.693307642, 6.189799598. Perform
one iteration of the QR algorithm.
Solve the system using eigenvalues and determine how the two populations
are going to evolve. Assume x(0) = 4, y (0) = 1.
The Leslie model describes the growth of the female portion of a human or
animal population. The females are divided into n age classes of equal
duration (L/n, where L is the population age limit).
(0) T
(0) (0)
x(0) = x1 , x2 , . . . xn
(0) (0)
where x1 is the number of females aged 0 to L/n years, x2 is the
number of females aged L/n to 2L/n etc. This is called the initial age
distribution vector.
x(k+1) = Lx(k)
Suppose the age limit of a certain animal population is 15 years and divide
the female population into 3 age groups. The Leslie matrix is given by
0 4 3
L = 21 0 0
0 14 0
If there are initially 1000 females in each age class, find the age
distribution after 15 years. Knowing that the dominant eigenvalue is
λ1 = 23 , find the long term age distribution.