Docsity

MINRES Algorithm for Solving Hermitian Linear Systems - Prof. Joseph Pasciak, Assignments of Mathematical Methods for Numerical Analysis and Optimization

Toggle sidebar
bg1
Homework #3. (Due Oct 1.)
Math. 609
In this problem, Ais a Hermitian n×nmatrix whose spectrum satisfies
σ(A)⊂[−b, −a]∪[a, b].
Here 0 < a ≤b.Ais clearly invertible and we shall consider the “so-called”
MINRES method. We shall use the inner-product
< x, y >A= (Ax, Ay) for x, y ∈Cn
with the corresponding norm k|xk| =< x, x >1/2
A.That <·,·>Ais an inner
product follows from the assumption that Ais Hermitian and non-singular.
We consider the following conjugate gradient like algorithm for solving Ax =
b:
(i) For x0given, set p0=r0=b−Ax0.
(ii) For j= 0,1,... do
•xj+1 =xj+αjpj,
•rj+1 =rj−αjApj,
•pj+1 =rj+1 −βjpj.
Problem 1. :
(a) Derive formulas for αjand βjso that < ej+1, pj>A= 0 and < pj+1, pj>A=
0. We shall refer to the resulting algorithm as the MINRES algorithm.
(b) Show that ej=e0+θfor some θ∈Kj(A, r0). Here Kj(A, r0) is the
Krylov space, span{r0, Ar0,...,Aj−1r0}.
(c) Show that ejis the solution of the minimization problem
(1.1) k|ejk| =argmin
χ∈Kj(A,r0)
k|e0+χk|.
(Hint: follow the proof of the analogous result for CG given in class.)
(d) Where does the proof in part c break down if Ais not Hermitian? In
this case, the above algorithm does not solve the minimization problem
(1.1).
Problem 2. Consider applying the usual CG algorithm to the normal equa-
tions, A2x=Ab with initial iterate x0. Let ˜emdenote the errors correspond-
ing to the resulting sequence of iterates. Note that jsteps of this method
involves the same number of Aevaluations as 2jsteps of MINRES.
1
pf2

Partial preview of the text

Download MINRES Algorithm for Solving Hermitian Linear Systems - Prof. Joseph Pasciak and more Assignments Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

Homework #3. (Due Oct 1.)

Math. 609

In this problem, A is a Hermitian n × n matrix whose spectrum satisfies σ(A) ⊂ [−b, −a] ∪ [a, b]. Here 0 < a ≤ b. A is clearly invertible and we shall consider the “so-called” MINRES method. We shall use the inner-product < x, y >A= (Ax, Ay) for x, y ∈ Cn

with the corresponding norm ‖|x‖| =< x, x >^1 A/ 2. That < ·, · >A is an inner product follows from the assumption that A is Hermitian and non-singular. We consider the following conjugate gradient like algorithm for solving Ax = b:

(i) For x 0 given, set p 0 = r 0 = b − Ax 0. (ii) For j = 0, 1 ,... do

  • xj+1 = xj + αj pj ,
  • rj+1 = rj − αj Apj ,
  • pj+1 = rj+1 − βj pj.

Problem 1. :

(a) Derive formulas for αj and βj so that < ej+1, pj >A= 0 and < pj+1, pj >A=

  1. We shall refer to the resulting algorithm as the MINRES algorithm. (b) Show that ej = e 0 + θ for some θ ∈ Kj (A, r 0 ). Here Kj (A, r 0 ) is the Krylov space, span{r 0 , Ar 0 ,... , Aj−^1 r 0 }. (c) Show that ej is the solution of the minimization problem (1.1) ‖|ej ‖| = argmin χ∈Kj (A,r 0 )

‖|e 0 + χ‖|.

(Hint: follow the proof of the analogous result for CG given in class.) (d) Where does the proof in part c break down if A is not Hermitian? In this case, the above algorithm does not solve the minimization problem (1.1).

Problem 2. Consider applying the usual CG algorithm to the normal equa- tions, A^2 x = Ab with initial iterate x 0. Let ˜em denote the errors correspond- ing to the resulting sequence of iterates. Note that j steps of this method involves the same number of A evaluations as 2j steps of MINRES. 1

2

(a) What argmin problem does ˜em solve (clearly identify the Krylov space)? (b) Show that ‖|e 2 j ‖| ≤ ‖|˜ej ‖|. Here e 2 j is the error resulting from 2j steps of MINRES. (c) Use the CG error bound and part b to get an estimate for 2j steps of MINRES. (d) (Extra Credit) Show that the estimate of part b is sharp by selecting an initial error e 0 for which ‖|e 2 j ‖| = ‖|e˜j ‖|. This shows that the extra functions in Kj (A, r 0 ) sometimes do not make the iteration any faster (than the normal equation method).