Math 2.0

Numerical analysis Eigenvalue computations Theorem

Lanczos algorithm

Builds on Symmetric matrixKrylov subspaceTridiagonal matrixOrthonormal basisEigenvalue

Statement

Let A∈ℝn×nA \in \R^{n \times n} be symmetric, and let q1∈ℝnq_1 \in \R^n be a unit vector. The Lanczos algorithm sets q0=0q_0 = 0, β0=0\beta_0 = 0, and for j=1,2,…j = 1, 2, \dots computes wj=Aqj−βj−1qj−1,αj=qjTwj,wj′=wj−αjqj,βj=∥wj′∥,qj+1=wj′/βj,w_j = A q_j - \beta_{j-1} q_{j-1}, \quad \alpha_j = q_j^T w_j, \quad w_j' = w_j - \alpha_j q_j, \quad \beta_j = \norm{w_j'}, \quad q_{j+1} = w_j' / \beta_j, stopping when βj=0\beta_j = 0. Suppose that in exact arithmetic β1,…,βm−1\beta_1, \dots, \beta_{m-1} are nonzero, and let Qm=(q1∣⋯∣qm)Q_m = (q_1 \mid \cdots \mid q_m). Then:

  1. the columns of QmQ_m form an orthonormal basis of the Krylov subspace 𝒦m(A,q1)=span{q1,Aq1,…,Am−1q1}\mathcal{K}_m(A, q_1) = \mathrm{span}\set{q_1, A q_1, \dots, A^{m-1} q_1};
  2. QmTAQm=TmQ_m^T A Q_m = T_m, the symmetric tridiagonal matrix with diagonal α1,…,αm\alpha_1, \dots, \alpha_m and off-diagonal β1,…,βm−1\beta_1, \dots, \beta_{m-1};
  3. AQm=QmTm+βmqm+1emTA Q_m = Q_m T_m + \beta_m q_{m+1} e_m^T, where eme_m is the last standard basis vector of ℝm\R^m.

If βm=0\beta_m = 0, then 𝒦m(A,q1)\mathcal{K}_m(A, q_1) is invariant under AA and every eigenvalue of TmT_m is an eigenvalue of AA.

Remarks

The proof is by induction on jj. The vector AqjA q_j is orthogonal to q1,…,qj−2q_1, \dots, q_{j-2} because qiTAqj=(Aqi)Tqjq_i^T A q_j = (A q_i)^T q_j and Aqi∈𝒦i+1A q_i \in \mathcal{K}_{i+1}, which is orthogonal to qjq_j for i+1<ji + 1 < j. So only the two most recent vectors must be subtracted, and the short recurrence suffices; this is the Arnoldi iteration specialized to symmetric matrices.

The eigenvalues of TmT_m, called Ritz values, approximate eigenvalues of AA, and the extreme ones converge first, often long before mm reaches nn. Example: for A=diag(1,2,3)A = \mathrm{diag}(1, 2, 3) and q1=(1,1,1)/3q_1 = (1, 1, 1)/\sqrt{3}, one gets α1=2\alpha_1 = 2 and w1′=(−1,0,1)/3w_1' = (-1, 0, 1)/\sqrt{3}, so β1=2/3\beta_1 = \sqrt{2/3} and the Ritz values of T2T_2 are 2±2/32 \pm \sqrt{2/3}, approaching 11 and 33. In floating point arithmetic the vectors qjq_j lose orthogonality once a Ritz value converges, and copies of converged eigenvalues appear. Paige's analysis explains this, and practical codes use selective or full reorthogonalization.

Going deeper

For a student

The algorithm builds an orthonormal basis of a Krylov subspace with a three-term recurrence, which is cheap in memory and time. Applied to linear systems with a symmetric positive definite matrix, the same recurrence underlies the conjugate gradient method. Its convergence for extreme eigenvalues is described by the Kaniel–Paige theory using Chebyshev polynomials, and the gap between eigenvalues controls the speed. For nonsymmetric matrices one uses the Arnoldi iteration or a two-sided Lanczos process.

Reading path

To understand this page from the ground up, read these 6 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Eigenvalue concept
  2. Krylov subspace concept
  3. Orthonormal basis concept
  4. Symmetric matrix concept
  5. Tridiagonal matrix concept
  6. Lanczos algorithm statement

Where this leads

6 pages build on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Lanczos_algorithm
About this page
Tag7RRB4PCRJB
URIm2://7RRB4PCRJB
Kindstatement, theorem
WritingW0 stub
MSC65F15, 65F10
StatusThis copy of the site has no build data. Run m2 status 7RRB4PCRJB.
AboutEigenvalue algorithm, Krylov subspace
UsesSymmetric matrix, Krylov subspace, Tridiagonal matrix, Orthonormal basis, Eigenvalue
Same as

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

Used by