Arnoldi decomposition 2026-10-25
The factorization produced by the Arnoldi iteration, with orthonormal and an upper Hessenberg matrix . Multiplying by identifies its leading square block as .
Arnoldi iteration 2026-10-25
Starting with , the Arnoldi iteration constructs an orthonormal basis of successive Krylov subspaces. At step , orthogonalize against , and normalize the remainder as if it is nonzero. The coefficients form an upper Hessenberg matrix and satisfy . A zero remainder means the current Krylov subspace is invariant under .
Hessenberg matrix 2026-10-14
An upper Hessenberg matrix has zero entries below the first subdiagonal; the lower version has zero entries above the first superdiagonal. The upper Hessenberg matrix is one of these two forms.
Lanczos algorithm 2026-10-25
For a real symmetric matrix , the leading block of the Arnoldi decomposition is both symmetric and an upper Hessenberg matrix, hence a tridiagonal matrix. The resulting three-term recurrence is the Lanczos algorithm. If is a symmetric positive-definite matrix, its compression is too, since for nonzero .
Without row interchanges, an upper Hessenberg matrix needs only one elimination per pivot column. Its lower factor is unit lower bidiagonal, while its upper factor is upper triangular. If the original matrix is symmetric, it is tridiagonal and the upper factor is also bidiagonal.
Starting with , for choose a Householder reflection that acts only on coordinates and maps the tail of column ,
to a multiple of its first coordinate vector. Set
This zeros all entries in column below its first subdiagonal. Because fixes the first coordinates, it preserves the zeros created in earlier columns. After steps,
is an upper Hessenberg matrix.
Each is orthogonal and symmetric. If
then is orthogonal and
Part (a) shows that each similarity update costs arithmetic operations, and there are updates. The total cost is therefore
For an efficient QR algorithm, first reduce a general real matrix to upper Hessenberg matrix by orthogonal similarities. For a real symmetric matrix, use Householder tridiagonalization; the resulting symmetric tridiagonal matrix is the usual input in this setting. These structures are preserved by suitable QR algorithm implementations and greatly reduce the work per iteration.
The output is the eigenvalues, together with an orthogonal reduction when the factors are accumulated. In the symmetric case the target is a diagonal matrix, whose diagonal entries are the real eigenvalues; the accumulated orthogonal columns are eigenvectors. For a general real matrix, the target is the real form in a Schur decomposition: an upper block triangular matrix with diagonal blocks of size one or two. The two-by-two blocks represent complex conjugate eigenvalue pairs. An arbitrary unshifted iteration need not converge, so these describe the intended converged output, with appropriate shifts and block deflation in the QR algorithm.
An orthogonal similarity transformation is with . An upper Hessenberg matrix has whenever ; its first subdiagonal may be nonzero.
At step , choose a Householder reflector whose trailing block sends the current column segment in rows to a multiple of its first coordinate. The left multiplication zeros positions . Apply the matching right multiplication to retain similarity: . Since acts only on rows and columns , earlier Hessenberg zeros are preserved. Finally gives .
Each reflector is applied through a rank-one update, costing rather than a full matrix multiplication. Across steps, the Hessenberg reduction costs .
Solving the unrelated shifted systems by separate Gaussian elimination costs floating-point operations.
Instead compute once in work. For each shift, solve
The shift changes only the diagonal, so remains an upper Hessenberg matrix. In each elimination column only the entry immediately below the pivot needs removal. With partial pivoting the only possible nonzero candidate rows are the current row and the next, and each update touches entries. Factorization therefore costs per shift; the triangular solve and both orthogonal-vector transformations also cost each.
Thus shifted solves plus the initial Hessenberg reduction cost in total. Pivoting is still needed in general: nonsingularity excludes a singular system but does not by itself guarantee that every unpivoted elimination pivot is nonzero.
For the small QR decomposition, each of the Givens rotations eliminates one subdiagonal entry of the upper Hessenberg matrix. At column , apply the rotation to two rows in columns , costing arithmetic operations. Summing gives , and applying the rotations to the right-hand side costs . Backward substitution in a triangular system costs .
Computing costs and the final dense matrix multiplication costs . Thus the total, with the Arnoldi decomposition already supplied, is
Here , since has orthonormal columns in . In the standard dense arithmetic model, forming the general matrix–vector product gives the sharp cost. The pair above records that two-parameter bound; looser bounds such as are also possible because . Treating as an unstructured dense matrix would unnecessarily replace its factorization by an computation.
Write and . The Arnoldi decomposition and give
Because has orthonormal columns, it preserves the Euclidean norm. The generalized minimal residual method therefore reduces to the small linear least-squares problem
Use Givens rotations on the upper Hessenberg matrix to obtain a QR decomposition
where is an orthogonal matrix and is an upper triangular matrix. Then solve by backward substitution in a triangular system and form . The resulting minimum linear-system residual has Euclidean norm .
The small problem has a unique answer: if , the Arnoldi decomposition gives . The invertible matrix implies , and the orthonormality of then gives . Thus has full column rank and is nonsingular.
Multiplying the Arnoldi decomposition by shows that the leading square block is
It is an upper Hessenberg matrix by the Arnoldi iteration. Because , it is also a symmetric matrix. Entries below the first subdiagonal vanish by the Hessenberg structure, and their reflected entries above the first superdiagonal vanish by symmetry. Consequently
The extra last row has only its final entry possibly nonzero. With the usual choice of positive normalization factors, the individual column relations are the three-term Lanczos algorithm recurrence
where the first term is omitted for . This reduction is an exact-arithmetic statement; round-off error can affect the orthogonality in an implementation.