calculated. Since the columns correspond exactly to the vectors calculated in the power method, apart from any scaling , it is clear that the algorithm becomes unstable if this basis were calculated first and then orthonormalized , for example according to Gram-Schmidt .
However, the algorithm manages without the prior creation of the so-called Krylow matrix .
A square matrix and a (not necessarily standardized) start vector are given .
for and do
for do
end for
end for
Use in the eigenvalue problem
After steps, the Arnoldi method essentially determined an orthonormal basis in the matrix and a Hessenberg matrix
The relationship applies to these quantities calculated using the Arnoldi method
where is the -th unit vector. It follows:
For , the equation defines an invariant subspace of the matrix and all eigenvalues of the matrix are also eigenvalues of . In this case, the Arnoldi procedure terminates prematurely due to the second condition .
If is small, the eigenvalues of are good approximations to individual eigenvalues of . In particular, eigenvalues at the edge of the spectrum are approximated well, similar to the Lanczos method .
Application to linear systems, FOM and GMRES
The Arnoldi method is also the core algorithm of the GMRES method for solving systems of linear equations and the Full Orthogonalization Method (FOM). In the FOM you build the Krylow subspace and the bases with the start vector and replace the matrix with the approximation in the linear system . The right side is so element of Krylowraums, . The approximate solution in the Krylow space is determined in the basic representation using the system
This corresponds to the condition and defines the solution by the orthogonality condition . Therefore the FOM is a Galerkin procedure . If you solve the small system with a QR decomposition from , the method differs only minimally from the pseudocode in the article GMRES procedure .
literature
WE Arnoldi: The Principle of Minimized Iterations in the Solution of the Matrix Eigenvalue Problem . In: Quarterly of Applied Mathematics . 9, 1951, pp. 17-29.
Gene H. Golub, Charles F. Van Loan: Matrix Computations . 3. Edition. The Johns Hopkins University Press, 1996, ISBN 0-8018-5414-8 .