§ Krylov subspace method
This is a class of methods used to solve Ax=b, where A is sparse.
Krylov subspace methods are a class of methods which use the idea of a
Krylov subspace. There is conjugate gradient (CG), GMRES (Generalized minimal
residual method).
Km(A,v)≡span{v,Av,A2v,…,Amv}
Clearly, Km⊆Km+1, and there is a maximum KN that we can span
(the full vector space). We are interested in the smallest index M
such that KM=KM+1.
We notice that KM is invariant under the action of A.
Now, let's consider:
Km(A,x)≡span{x,Ax,A2x,…Amx}=span{A−1b,b,Ab,…Am−1x}(substitute x=A−1b)=Aspan{A−1b,b,Ab,…Am−1b}(Invariance of Krylov subspace)=span{b,Ab,…Amb}=Km(A,b)
We learnt that Ax=b has a solution in Km(A,b). Using this, we can build
solvers that exploit the Krylov subspace. We will describe GMRES and CG.
§ Generalized minimal residual --- GMRES
We wish to solve Ax=b where A is sparse and b is normalized. The nth
Krylov subspace is Kn(A,b)≡span {b,Ab,A2b,…,Anb}.
We approximate the actual solution with a vector xn∈Kn(A,b). We
define the residual as rn≡Axn−b.
§ Conjugate gradient descent