Docsity

Math 577 Homework Assignment 6: Flops in QR Algorithm and Equivalence of Iterative Methods, Assignments of Mathematics

Toggle sidebar
bg1
Math 577 — Homework Assignment 6, due Nov.28, 2006
1. Consider one step of the “pure” QR algorithm applied to a tridiagonal symmetric matrix A∈
Rm×m.
(a) If only eigenvalues are desired, then only A(k)is needed at step k, not Q(k). Determine how
many flops are required to get from Ak−1to A(k)using standard methods studied in class.
(b) If all the eigenvectors are desired, then the matrix Q(k)=Q(1)Q(2) · · · Q(k)will need to be
accumulated too. Determine how many flops are now required to get from step k−1 to
step k.
2. Show that the basic fixed-point iteration
Mx(k)=Nx(k−1) +b
is equivalent to the following three steps:
Given x(k−1)
(i) compute the residual r(k−1) =b−Ax(k−1),
(ii) solve Mz(k−1) =r(k−1) for z(k−1),
(iii) define x(k)=x(k−1) +z(k−1).
3. Using the notation of the previous problem, show that
r(k)=NM−1r(k−1)
z(k)=M−1Nz(k−1).
4. Find the explicit form of the iteration matrix G=M−1Nin the Gauss-Seidel method when
A=
2−1
−1 2 −1
−1 2 −1
.........
−1 2 −1
−1 2
.

Partial preview of the text

Download Math 577 Homework Assignment 6: Flops in QR Algorithm and Equivalence of Iterative Methods and more Assignments Mathematics in PDF only on Docsity!

Math 577 — Homework Assignment 6, due Nov.28, 2006

  1. Consider one step of the “pure” QR algorithm applied to a tridiagonal symmetric matrix A ∈

R

m×m .

(a) If only eigenvalues are desired, then only A

(k) is needed at step k, not Q

(k)

. Determine how

many flops are required to get from A

k− 1 to A

(k) using standard methods studied in class.

(b) If all the eigenvectors are desired, then the matrix Q

(k) = Q

(1) Q

(2) · · · Q

(k) will need to be

accumulated too. Determine how many flops are now required to get from step k − 1 to

step k.

  1. Show that the basic fixed-point iteration

M x

(k) = N x

(k−1)

  • b

is equivalent to the following three steps:

Given x

(k−1)

(i) compute the residual r

(k−1) = b − Ax

(k−1) ,

(ii) solve M z

(k−1) = r

(k−1) for z

(k−1) ,

(iii) define x

(k) = x

(k−1)

  • z

(k−1) .

  1. Using the notation of the previous problem, show that

r

(k) = N M

− 1 r

(k−1)

z

(k) = M

− 1 N z

(k−1) .

  1. Find the explicit form of the iteration matrix G = M −^1 N in the Gauss-Seidel method when

A =