# Schur decomposition

In the mathematical discipline of linear algebra, **the Schur decomposition** or **Schur triangulation**, named after Issai Schur, is a matrix decomposition. It allows one to write an arbitrary matrix as unitarily equivalent to an upper triangular matrix whose diagonal elements are the eigenvalues of the original matrix.

## Statement

The Schur decomposition reads as follows: if *A* is a *n* × *n* square matrix with complex entries, then *A* can be expressed as[1][2][3]

where *Q* is a unitary matrix (so that its inverse *Q*^{−1} is also the conjugate transpose *Q** of *Q*), and *U* is an upper triangular matrix, which is called a **Schur form** of *A*. Since *U* is similar to *A*, it has the same spectrum, and since it is triangular, its eigenvalues are the diagonal entries of *U*.

The Schur decomposition implies that there exists a nested sequence of *A*-invariant subspaces {0} = *V*_{0} ⊂ *V*_{1} ⊂ ... ⊂ *V _{n}* =

**C**

^{n}, and that there exists an ordered orthonormal basis (for the standard Hermitian form of

**C**

^{n}) such that the first

*i*basis vectors span

*V*

_{i}for each

*i*occurring in the nested sequence. Phrased somewhat differently, the first part says that a linear operator

*J*on a complex finite-dimensional vector space stabilizes a complete flag (

*V*

_{1},...,

*V*).

_{n}## Proof

A constructive proof for the Schur decomposition is as follows: every operator *A* on a complex finite-dimensional vector space has an eigenvalue *λ*, corresponding to some eigenspace *V _{λ}*. Let

*V*

_{λ}^{⊥}be its orthogonal complement. It is clear that, with respect to this orthogonal decomposition,

*A*has matrix representation (one can pick here any orthonormal bases

*Z*and

_{1}*Z*spanning

_{2}*V*and

_{λ}*V*

_{λ}^{⊥}respectively)

where *I _{λ}* is the identity operator on

*V*. The above matrix would be upper-triangular except for the

_{λ}*A*

_{22}block. But exactly the same procedure can be applied to the sub-matrix

*A*

_{22}, viewed as an operator on

*V*

_{λ}^{⊥}, and its submatrices. Continue this way n times. Thus the space

**C**

^{n}will be exhausted and the procedure has yielded the desired result.

The above argument can be slightly restated as follows: let *λ* be an eigenvalue of *A*, corresponding to some eigenspace *V _{λ}*.

*A*induces an operator

*T*on the quotient space

**C**

^{n}modulo

*V*. This operator is precisely the

_{λ}*A*

_{22}submatrix from above. As before,

*T*would have an eigenspace, say

*W*⊂

_{μ}**C**

^{n}modulo

*V*. Notice the preimage of

_{λ}*W*under the quotient map is an invariant subspace of

_{μ}*A*that contains

*V*. Continue this way until the resulting quotient space has dimension 0. Then the successive preimages of the eigenspaces found at each step form a flag that

_{λ}*A*stabilizes.

## Notes

Although every square matrix has a Schur decomposition, in general this decomposition is not unique. For example, the eigenspace *V _{λ}* can have dimension > 1, in which case any orthonormal basis for

*V*would lead to the desired result.

_{λ}Write the triangular matrix *U* as *U* = *D* + *N*, where *D* is diagonal and *N* is strictly upper triangular (and thus a nilpotent matrix). The diagonal matrix *D* contains the eigenvalues of *A* in arbitrary order (hence its Frobenius norm, squared, is the sum of the squared moduli of the eigenvalues of *A*, while
the Frobenius norm of *A*, squared, is the sum of the squared singular values of *A*). The nilpotent part *N* is generally not unique either, but its Frobenius norm is uniquely determined by *A* (just because the Frobenius norm of A is equal to the Frobenius norm of *U* = *D* + *N*).

It is clear that if *A* is a normal matrix, then *U* from its Schur decomposition must be a diagonal matrix and the column vectors of *Q* are the eigenvectors of *A*. Therefore, the Schur decomposition extends the spectral decomposition. In particular, if *A* is positive definite, the Schur decomposition of *A*, its spectral decomposition, and its singular value decomposition coincide.

A commuting family {*A _{i}*} of matrices can be simultaneously triangularized, i.e. there exists a unitary matrix

*Q*such that, for every

*A*in the given family,

_{i}*Q A*is upper triangular. This can be readily deduced from the above proof. Take element

_{i}Q**A*from {

*A*} and again consider an eigenspace

_{i}*V*. Then

_{A}*V*is invariant under all matrices in {

_{A}*A*}. Therefore, all matrices in {

_{i}*A*} must share one common eigenvector in

_{i}*V*. Induction then proves the claim. As a corollary, we have that every commuting family of normal matrices can be simultaneously diagonalized.

_{A}In the infinite dimensional setting, not every bounded operator on a Banach space has an invariant subspace. However, the upper-triangularization of an arbitrary square matrix does generalize to compact operators. Every compact operator on a complex Banach space has a nest of closed invariant subspaces.

## Computation

The Schur decomposition of a given matrix is numerically computed by the QR algorithm or its variants. In other words, the roots of the characteristic polynomial corresponding to the matrix are not necessarily computed ahead in order to obtain its Schur decomposition. Conversely, the QR algorithm can be used to compute the roots of any given characteristic polynomial by finding the Schur decomposition of its companion matrix. Similarly, the QR algorithm is used to compute the eigenvalues of any given matrix, which are the diagonal entries of the upper triangular matrix of the Schur decomposition. See the Nonsymmetric Eigenproblems section in LAPACK Users' Guide.[4]

## Applications

Lie theory applications include:

- Every invertible operator is contained in a Borel group.
- Every operator fixes a point of the flag manifold.

## Generalized Schur decomposition

Given square matrices *A* and *B*, the **generalized Schur decomposition** factorizes both matrices as and , where *Q* and *Z* are unitary, and *S* and *T* are upper triangular. The generalized Schur decomposition is also sometimes called the **QZ decomposition**.[2]^{:375}

The generalized eigenvalues that solve the generalized eigenvalue problem (where *x* is an unknown nonzero vector) can be calculated as the ratio of the diagonal elements of *S* to those of *T*. That is, using subscripts to denote matrix elements, the *i*th generalized eigenvalue satisfies .

## References

- Horn, R.A. & Johnson, C.R. (1985).
*Matrix Analysis*. Cambridge University Press. ISBN 0-521-38632-2.(Section 2.3 and further at p. 79) - Golub, G.H. & Van Loan, C.F. (1996).
*Matrix Computations*(3rd ed.). Johns Hopkins University Press. ISBN 0-8018-5414-8.(Section 7.7 at p. 313) - Schott, James R. (2016).
*Matrix Analysis for Statistics*(3rd ed.). New York: John Wiley & Sons. pp. 175–178. ISBN 978-1-119-09247-6. - Anderson, E; Bai, Z; Bischof, C; Blackford, S; Demmel, J; Dongarra, J; Du Croz, J; Greenbaum, A; Hammarling, S; McKenny, A; Sorensen, D (1995).
*LAPACK Users guide*. Philadelphia, PA: Society for Industrial and Applied Mathematics. ISBN 0-89871-447-8.