The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V07. Linear algebra

Mathlib.LinearAlgebra.Matrix.Gershgorin

3 declarations. Mathlib docs · Source

Gershgorin's circle theorem

This file gives the proof of Gershgorin's circle theorem eigenvalue_mem_ball on the eigenvalues of matrices and some applications.

References

  • https://en.wikipedia.org/wiki/Gershgorin_circle_theorem

theorem eigenvalue_mem_ball E3 #

∀ {K : Type u_1} {n : Type u_2} [inst : NormedField K] [inst_1 : Fintype n] [inst_2 : DecidableEq n] {A : Matrix n n K}
  {μ : K},
  Module.End.HasEigenvalue (Matrix.toLin' A) μ → ∃ k, μ ∈ Metric.closedBall (A k k) (∑ j ∈ Finset.univ.erase k, ‖A k j‖)

Gershgorin's circle theorem: for any eigenvalue μ of a square matrix A, there exists an index k such that μ lies in the closed ball of center the diagonal term A k k and of radius the sum of the norms ∑ j ≠ k, ‖A k j‖.

theorem det_ne_zero_of_sum_row_lt_diag E1 #

∀ {K : Type u_1} {n : Type u_2} [inst : NormedField K] [inst_1 : Fintype n] [inst_2 : DecidableEq n] {A : Matrix n n K},
  (∀ (k : n), ∑ j ∈ Finset.univ.erase k, ‖A k j‖ < ‖A k k‖) → A.det ≠ 0

If A is a row strictly dominant diagonal matrix, then its determinant is nonzero.

theorem det_ne_zero_of_sum_col_lt_diag E1 #

∀ {K : Type u_1} {n : Type u_2} [inst : NormedField K] [inst_1 : Fintype n] [inst_2 : DecidableEq n] {A : Matrix n n K},
  (∀ (k : n), ∑ i ∈ Finset.univ.erase k, ‖A i k‖ < ‖A k k‖) → A.det ≠ 0

If A is a column strictly dominant diagonal matrix, then its determinant is nonzero.