NLA-lib Explorer

NLAlib.mul_eq_mul_diagonal_add_smul_one_iff

Library · theorem

A shift by a multiple of the identity moves the eigenvalues and keeps the eigenvectors: (\mathbf{A} + c\mathbf{I})\mathbf{V} = \mathbf{V}\operatorname{diag}(\mathbf{d} + c) if and only if \mathbf{A}\mathbf{V} = \mathbf{V}\operatorname{diag}(\mathbf{d}). So the separation of the eigenvalues and the condition number of the eigenvector matrix are those of \mathbf{A}.

NLAlib.mul_eq_mul_diagonal_add_smul_one_iff.{u_1, u_4} {K : Type u_1} [Field K] {n : Type u_4}
  [Fintype n] [DecidableEq n] {A V : Matrix n n K} {d : n → K} (c : K) :
  ((A + c • 1) * V = V * diagonal fun i ↦ d i + c) ↔ A * V = V * diagonal d

Full source on GitHub

Import NLAlib.Matrix.Spectral.Diagonalizable.