NLA-lib Explorer

Matrix polynomials and functional calculus

Polynomial approximation becomes an operator approximation by evaluating the same polynomial on a matrix. This is the bridge from a scalar approximation theorem to a Krylov or matrix-function error bound.

Definition (Evaluating a polynomial on a matrix). For p(t)=\sum_{j=0}^k c_jt^j, set p(\mathbf{A})=\sum_{j=0}^k c_j\mathbf{A}^j. Applying p(\mathbf{A}) to \mathbf{b} produces a vector in the Krylov space generated by \mathbf{A} and \mathbf{b}. For Hermitian \mathbf{A}, functional calculus evaluates a scalar function on its real eigenvalues.

Copy link

Background

Results

Theorem (A 1-Lipschitz function is 1-Lipschitz in the Frobenius norm on Hermitian matrices).

for Hermitian \mathbf{A}, \mathbf{B} over \Bbbk and f : \mathbb{R} \to \mathbb{R} with \lvert f(x) - f(y)\rvert \le \lvert x - y\rvert, \|f(\mathbf{A}) - f(\mathbf{B})\|_{\mathsf{F}} \le \|\mathbf{A} - \mathbf{B}\|_{\mathsf{F}}. The finite-dimensional Hermitian specialization of [Kittaneh1985, abstract], with Lipschitz constant one. The statement includes both real and complex matrices and empty index types.

Lean statement and details
Matrix.IsHermitian.frobNorm_cfc_sub_cfc_le.{u_1, u_4} {𝕜 : Type u_1} [RCLike 𝕜] {ι : Type u_4}
  [Fintype ι] [DecidableEq ι] {A B : Matrix ι ι 𝕜} (hA : A.IsHermitian) (hB : B.IsHermitian)
  {f : ℝ → ℝ} (hf : LipschitzWith 1 f) : frobNorm (cfc f A - cfc f B) ≤ frobNorm (A - B)

Full source on GitHub

Copy link

Theorem (The norm of a polynomial in a Hermitian matrix).

is at most the largest value of \lvert p \rvert on its eigenvalues: if c \ge 0 and \lvert p(x) \rvert \le c for every x in the spectrum of \mathbf{A}, then \|p(\mathbf{A})\|_2 \le c. [Saad2003, §6.11]; [Saad2011, §6.6].

Lean statement and details
Matrix.IsHermitian.specNorm_aeval_le.{u_1, u_3} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_3} [Fintype n]
  [DecidableEq n] {A : Matrix n n 𝕜} (hA : A.IsHermitian) (p : Polynomial ℝ) {c : ℝ} (hc : 0 ≤ c)
  (h : ∀ x ∈ spectrum ℝ A, |Polynomial.eval x p| ≤ c) : specNorm ((Polynomial.aeval A) p) ≤ c

Full source on GitHub

Copy link

Theorem (The trace of f(\mathbf{A})).

is the sum of f over the eigenvalues: for Hermitian \mathbf{A}, \operatorname{Re} \operatorname{tr} f(\mathbf{A}) = \sum_{i < \lvert n \rvert} f(\lambda_i(\mathbf{A})). [Tropp2015, Definition 8.3.1]; there the sum defines the trace function, with the remark that it agrees with the trace of the standard matrix function.

General form: sizes are index types

Lean statement and details
Matrix.IsHermitian.re_trace_cfc.{u_1, u_3} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_3} [Fintype n]
  [DecidableEq n] {A : Matrix n n 𝕜} (hA : A.IsHermitian) (f : ℝ → ℝ) :
  RCLike.re (cfc f A).trace = ∑ i ∈ Finset.range (Fintype.card n), f (eigenvalue A i)

Full source on GitHub

Copy link

Used by algorithms

Broader topics