The areas / V07. Linear algebra
Mathlib.LinearAlgebra.Matrix.Charpoly.Eigs
8 declarations. Mathlib docs · Source
theorem Matrix.mem_spectrum_iff_not_isUnit_eval_charpoly E0 #
∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {R : Type u_2} [inst_2 : CommRing R] {B : Matrix n n R}
{r : R}, r ∈ spectrum R B ↔ ¬IsUnit (Polynomial.eval r B.charpoly)
theorem Matrix.mem_spectrum_of_isRoot_charpoly E0 #
∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {R : Type u_2} [inst_2 : CommRing R] {B : Matrix n n R}
[Nontrivial R] {r : R}, B.charpoly.IsRoot r → r ∈ spectrum R B
The roots of the characteristic polynomial are in the spectrum of the matrix.
theorem Matrix.mem_spectrum_iff_isRoot_charpoly E0 #
∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {K : Type u_3} [inst_2 : Field K] {A : Matrix n n K}
{r : K}, r ∈ spectrum K A ↔ A.charpoly.IsRoot r
In fields, the roots of the characteristic polynomial are exactly the spectrum of the matrix.
The weaker direction is true in nontrivial rings (see Matrix.mem_spectrum_of_isRoot_charpoly).
theorem Matrix.spectrum_transpose E0 #
∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {K : Type u_3} [inst_2 : Field K] (A : Matrix n n K),
spectrum K A.transpose = spectrum K A
A matrix and its transpose have the same spectrum.
theorem Matrix.det_eq_prod_roots_charpoly_of_splits E1 #
∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {R : Type u_2} [inst_2 : CommRing R] {B : Matrix n n R}
[inst_3 : IsDomain R], B.charpoly.Splits → B.det = B.charpoly.roots.prod
theorem Matrix.trace_eq_sum_roots_charpoly_of_splits E1 #
∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {R : Type u_2} [inst_2 : CommRing R] {B : Matrix n n R}
[inst_3 : IsDomain R], B.charpoly.Splits → B.trace = B.charpoly.roots.sum
theorem Matrix.det_eq_prod_roots_charpoly E1 #
∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {K : Type u_3} [inst_2 : Field K] (A : Matrix n n K)
[IsAlgClosed K], A.det = A.charpoly.roots.prod
theorem Matrix.trace_eq_sum_roots_charpoly E1 #
∀ {n : Type u_1} [inst : Fintype n] [inst_1 : DecidableEq n] {K : Type u_3} [inst_2 : Field K] (A : Matrix n n K)
[IsAlgClosed K], A.trace = A.charpoly.roots.sum