Documentation

CslibFrontier.Foundations.LinearAlgebra.Matrix.PosSemidefKernel

Kernels of positive semidefinite sums #

For complex positive semidefinite matrices, the kernel of a nonnegative weighted sum is the intersection of the kernels of its positive-weight terms.

Main results #

theorem Matrix.mulVec_sum_smul_eq_zero_iff {ι : Type u_1} {κ : Type u_2} [Fintype ι] (s : Finset κ) (w : κ → ℝ) (A : κ → Matrix ι ι ℂ) (hw : ∀ k ∈ s, 0 ≤ w k) (hA : ∀ k ∈ s, (A k).PosSemidef) (x : ι → ℂ) :
(∑ k ∈ s, w k • A k).mulVec x = 0 ↔ ∀ k ∈ s, w k ≠ 0 → (A k).mulVec x = 0

A vector lies in the kernel of a nonnegative weighted sum of positive semidefinite matrices exactly when it lies in the kernel of every term with nonzero weight.