Simultaneous diagonalisation by congruence
Library · Source module
Simultaneous diagonalisation by congruence
A positive definite \mathbf{A} and a Hermitian \mathbf{B} are simultaneously diagonalised by congruence: \mathbf{A} = \mathbf{S}\mathbf{S}^{\mathsf{H}} and \mathbf{B} = \mathbf{S}\mathbf{D}\mathbf{S}^{\mathsf{H}} with \mathbf{D} real diagonal. The entries of \mathbf{D} are the generalized eigenvalues of the pair, the eigenvalues of \mathbf{A}^{-1}\mathbf{B}, so \mathbf{A}^{-1}\mathbf{B} and \mathbf{A}\mathbf{B} are diagonalisable with real spectrum. Two positive semidefinite matrices are simultaneously diagonalised by congruence as well. Normalizing the first diagonal to zeros and ones gives three blocks with sizes determined by the two ranks and the common nullity. For an indefinite invertible \mathbf{A}, simultaneous diagonalisation by congruence is possible exactly when \mathbf{A}^{-1}\mathbf{B} is diagonalisable with real eigenvalues. Over \mathbb{C} every pair of square matrices is simultaneously unitarily triangularised (the generalized Schur, or QZ, decomposition). The two triangular diagonals factor the determinant of the pencil, including its homogeneous roots at infinity. These determinant statements are adapted from tchen-research/NLAlib at 77514ce42a0e437d837797a063ac161f41022730.
Main results
* Matrix.PosDef.exists_eq_mul_conjTranspose_and_eq_mul_diagonal_mul_conjTranspose: the definite pair. * NLAlib.isEigenvalueListing_inv_mul_of_eq_mul_diagonal_mul_conjTranspose, Matrix.PosDef.isDiagonalizable_inv_mul. * Matrix.PosSemidef.exists_conjTranspose_mul_mul_eq_diagonal: the sum-normalized pair. * Matrix.PosSemidef.exists_eq_mul_diagonal_mul_conjTranspose: the three-block form of a semidefinite pair. * NLAlib.exists_isQZ: the QZ decomposition. * NLAlib.IsQZ.det_smul_sub_smul: the homogeneous determinant from the QZ diagonals.
Declarations
- Matrix.IsHermitian.exists_conjTranspose_mul_mul_eq_diagonal_iff
- Matrix.PosDef.exists_eq_mul_conjTranspose_and_eq_mul_diagonal_mul_conjTranspose
- Matrix.PosDef.exists_isEigenvalueListing_mul
- Matrix.PosDef.exists_isEigenvalueListing_mul_nonneg
- Matrix.PosDef.exists_isUnit_eq_mul_conjTranspose
- Matrix.PosDef.isDiagonalizable_inv_mul
- Matrix.PosDef.isDiagonalizable_mul
- Matrix.PosSemidef.exists_conjTranspose_mul_mul_eq_diagonal
- Matrix.PosSemidef.exists_eq_mul_diagonal_mul_conjTranspose
- Matrix.PosSemidef.ker_add
- NLAlib.IsQZ
- NLAlib.IsQZ.det_smul_sub_smul
- NLAlib.IsQZ.det_smul_sub_smul_eq_zero_iff
- NLAlib.IsQZ.det_sub_X_smul
- NLAlib.IsQZ.det_sub_X_smul_ne_zero_iff
- NLAlib.exists_isQZ
- NLAlib.inertiaPos_eq_card_of_eq_mul_diagonal_mul_conjTranspose
- NLAlib.isEigenvalueListing_inv_mul_of_eq_mul_diagonal_mul_conjTranspose