NLA-lib Explorer

Schur triangularisation

Library · Source module

Schur triangularisation

Every square complex matrix is unitarily similar to an upper triangular matrix, with its eigenvalues on the diagonal in any prescribed order. Over a general RCLike field the same holds when the characteristic polynomial splits, in particular for a real matrix all of whose complex eigenvalues are real.

The eigenvalues of a matrix that need not be Hermitian are given by a listing, NLAlib.IsEigenvalueListing A d, defined in NLAlib.Matrix.Spectral.EigenvalueListing.

Main results

* NLAlib.IsEigenvalueListing.exists_hasOrthonormalCols_isUpperTriangular: Schur's theorem with a prescribed diagonal. * NLAlib.exists_hasOrthonormalCols_isUpperTriangular: Schur's theorem over \mathbb{C}. * NLAlib.IsEigenvalueListing.sum_norm_sq_le_frobNorm_sq: Schur's inequality. * NLAlib.IsEigenvalueListing.sum_norm_sq_eq_frobNorm_sq_iff: equality exactly for normal matrices. * NLAlib.IsEigenvalueListing.exists_isUpperTriangular_inv_mul_mul_norm_apply_lt: a triangular form with small off-diagonal part. * NLAlib.IsEigenvalueListing.exists_isEigenvalueListing_add_mul_of_commute: eigenvalues of commuting matrices add and multiply, for a prescribed listing of the first. * NLAlib.dense_setOf_separable_charpoly: matrices with distinct eigenvalues are dense.

Implementation notes

The similarity of NLAlib.IsEigenvalueListing.exists_isUpperTriangular_inv_mul_mul_of_commute, which triangularises a commuting pair over any field, is made unitary by a QR factorization. For a normal matrix \mathbf{A} the pair \mathbf{A}, \mathbf{A}^{\mathsf{H}} gives a diagonal form.

Declarations