NLA-lib Explorer

IsStarNormal.exists_eq_mul_mul_conjTranspose_iff_charpoly_eq

Library · theorem

Normal matrices are unitarily similar exactly when they have the same characteristic polynomial: for normal complex \mathbf{A}, \mathbf{B}, there is a unitary \mathbf{U} with \mathbf{B} = \mathbf{U}\mathbf{A}\mathbf{U}^{\mathsf{H}} if and only if \det(X\mathbf{I} - \mathbf{A}) = \det(X\mathbf{I} - \mathbf{B}).

IsStarNormal.exists_eq_mul_mul_conjTranspose_iff_charpoly_eq.{u_3} {n : Type u_3} [Fintype n]
  [DecidableEq n] {A B : Matrix n n ℂ} (hA : IsStarNormal A) (hB : IsStarNormal B) :
  (∃ U, HasOrthonormalCols U ∧ B = U * A * Uᴴ) ↔ A.charpoly = B.charpoly

Full source on GitHub

Import NLAlib.Matrix.Spectral.Normal.