ArticleslgStudy

mathematics

Arnoldi iteration

Arnoldi iteration is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Arnoldi iteration rather than just read about it. In short: In numerical linear algebra, the Arnoldi iteration is an eigenvalue algorithm and an important example of an iterative method. Arnoldi finds an approximation to the eigenvalues and eigenvectors of general (possibly non-Hermitian) matrices by constructing an orthonormal basis of the Krylov subspace, which makes it particularly useful when dealing with large sparse matrices.

Arnoldi iteration — main illustration
Arnoldi iteration — illustration

Key takeaways

  • Arnoldi iteration belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Arnoldi iteration to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Arnoldi iteration from memory before moving on to harder problems.

Reference excerpt

In numerical linear algebra, the Arnoldi iteration is an eigenvalue algorithm and an important example of an iterative method. Arnoldi finds an approximation to the eigenvalues and eigenvectors of general (possibly non-Hermitian) matrices by constructing an orthonormal basis of the Krylov subspace, which makes it particularly useful when dealing with large sparse matrices. The Arnoldi method belongs to a class of linear algebra algorithms that give a partial result after a small number of iterations, in contrast to so-called direct methods which must complete to give any useful results (see for example, Householder transformation). The partial result in this case being the first few vectors of the basis the algorithm is building. When applied to Hermitian matrices it reduces to the Lanczos algorithm. The Arnoldi iteration was invented by W. E. Arnoldi in 1951.

Krylov subspaces and the power iteration An intuitive method for finding the largest (in absolute value) eigenvalue of a given m × m matrix A is the power iteration: starting with an arbitrary initial vector b, calculate Ab, A2b, A3b, ... normalizing the result after every application of the matrix A. This sequence converges to the eigenvector corresponding to the eigenvalue with the largest absolute value, λ1. However, much potentially useful computation is wasted by using only the final result, An−1b. This suggests that instead, we form the so-called Krylov matrix:

Kn=[bAbA2b⋯An−1b]. The columns of this matrix are not in general orthogonal, but we can extract an orthogonal basis, via a method such as Gram–Schmidt orthogonalization. The resulting set of vectors is thus an orthogonal basis of the Krylov subspace, 𝒦n. We may expect the vectors of this basis to span good approximations of the eigenvectors corresponding to the n largest eigenvalues, for the same reason that An−1b approximates the dominant eigenvector.

Definition The Arnoldi iteration uses the modified Gram–Schmidt process to produce a sequence of orthonormal vectors, q1, q2, q3, ..., called the Arnoldi vectors, such that for every n, the vectors q1, ..., qn span the Krylov subspace 𝒦n. Explicitly, the algorithm is as follows:

Start with an arbitrary vector q1 with norm 1. Repeat for k = 2, 3, ... qk := A qk−1 for j from 1 to k − 1 hj,k−1 := qj* qk qk := qk − hj,k−1 qj hk,k−1 := ‖qk‖ qk := qk / hk,k−1

The j-loop projects out the component of qk in the directions of q1,…,qk−1. This ensures the orthogonality of all the generated vectors. The algorithm breaks down when qk is the zero vector. This happens when the minimal polynomial of A is of degree k. In most applications of the Arnoldi iteration, including the eigenvalue algorithm below and GMRES, the algorithm has converged at this point. Every step of the k-loop takes one matrix-vector product and approximately 4mk floating point operations. In the programming language Python with support of the NumPy library:

Properties Let Qn denote the m-by-n matrix formed by the first n Arnoldi vectors q1, q2, ..., qn, and let Hn be the (upper Hessenberg) matrix formed by the numbers hj,k computed by the algorithm:

Hn=Qn∗AQn. The orthogonalization method has to be specifically chosen such that the lower Arnoldi/Krylov components are removed from higher Krylov vectors. As Aqi can be expressed in terms of q1, ..., qi+1 by construction, they are orthogonal to qi+2, ..., qn, We then have

Hn=[h1,1h1,2h1,3⋯h1,nh2,1h2,2h2,3⋯h2,n0h3,2h3,3⋯h3,n⋮⋱⋱⋱⋮0⋯0hn,n−1hn,n]. The matrix Hn can be viewed as A in the subspace 𝒦n with the Arnoldi vectors as an orthogonal basis; A is orthogonally projected onto 𝒦n. The matrix Hn can be characterized by the following optimality condition. The characteristic polynomial of Hn minimizes ||p(A)q1||2 among all monic polynomials of degree n. This optimality problem has a unique solution if and only if the Arnoldi iteration does not break down. The relation between the Q matrices in subsequent iterations is given by

AQn=Qn+1H~n where

H~n=[h1,1h1,2h1,3⋯h1,nh2,1h2,2h2,3⋯h2,n0h3,2h3,3⋯h3,n⋮⋱⋱⋱⋮⋮0hn,n−1hn,n0⋯⋯0hn+1,n] is an (n+1)-by-n matrix formed by adding an extra row to Hn.

Finding eigenvalues The idea of the Arnoldi iteration as an eigenvalue algorithm is to compute the eigenvalues in the Krylov subspace. The eigenvalues of Hn are called the Ritz eigenvalues. Since Hn is a Hessenberg matrix of modest size, its eigenvalues can be computed efficiently, for instance with the QR algorithm, or somewhat related, Francis' algorithm. Also Francis' algorithm itself can be considered to be related to power iterations, operating on nested Krylov subspace. In fact, the most basic form of Francis' algorithm appears to be to choose b to be equal to Ae1, and extending n to the full dimension of A. Improved versions include one or more shifts, and higher powers of A may be applied in a single steps. This is an example of the Rayleigh-Ritz method. It is often observed in practice that some of the Ritz eigenvalues converge to eigenvalues of A. Since Hn is n-by-n, it has at most n eigenvalues, and not all eigenvalues of A can be approximated. Typically, the Ritz eigenvalues converge to the largest eigenvalues of A. To get the smallest eigenvalues of A, the inverse (operation) of A should be used instead. This can be related to the characterization of Hn as the matrix whose characteristic polynomial minimizes ||p(A)q1|| in the following way. A good way to get p(A) small is to choose the polynomial p such that p(x) is small whenever x is an eigenvalue of A. Hence, the zeros of p (and thus the Ritz eigenvalues) will be close to the eigenvalues of A. However, the details are not fully understood yet. This is in contrast to the case where A is Hermitian. In that situation, the Arnoldi iteration becomes the Lanczos iteration, for which the theory is more complete.

Restarted Arnoldi iteration Due to practical storage consideration, common implementations of Arnoldi methods typically restart after a fixed number of iterations. One approach is the Implicitly Restarted Arnoldi Method (IRAM) by Lehoucq and Sorensen, which was popularized in the free and open source software package ARPACK. Another approach is the Krylov-Schur Algorithm by G. W. Stewart, which is more stable and simpler to implement than IRAM.

See also The generalized minimal residual method (GMRES) is a method for solving Ax = b based on Arnoldi iteration.

References

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Arnoldi iteration

Start with the simplest possible case. Write down what Arnoldi iteration claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Arnoldi iteration before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Arnoldi iteration ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Arnoldi iteration

In research
Arnoldi iteration appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Arnoldi iteration in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Arnoldi iteration is common in secondary-school and first-year university syllabi. It links to neighbouring topics Numerical linear algebra, so understanding it makes those chapters shorter.
In everyday life
Look for Arnoldi iteration outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Arnoldi iteration” →

How to study Arnoldi iteration in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Arnoldi iteration means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Arnoldi iteration out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Arnoldi iteration in simple terms?

In numerical linear algebra, the Arnoldi iteration is an eigenvalue algorithm and an important example of an iterative method. Arnoldi finds an approximation to the eigenvalues and eigenvectors of general (possibly non-Hermitian) matrices by constructing an orthonormal basis of the Krylov subspace…

Why does Arnoldi iteration matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Arnoldi iteration?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Arnoldi iteration.

Tags

  • Numerical linear algebra

Keep exploring