Study Vault Search notes, aliases and full text
Graph
ConceptLinear Algebra used inMSIAI-written · not yet proofread

Positive Semidefinite Matrix

Also PSD Matrix · Positive Semi-Definite Matrix · Positive Definite Matrix · Positive Semidefiniteness · Positiv semidefinite Matrix · Positiv definite Matrix

A symmetric matrix B is positive semidefinite (B ≽ 0) if zᵀBz ≥ 0 for all z, equivalently if all its eigenvalues are ≥ 0; positive definite (B ≻ 0) if zᵀBz > 0 for all z ≠ 0.

Know these firstMatrix RankEigenvalue

Properties#

Proof

By the spectral theorem B=QΛQ⊤B = Q \Lambda Q^\top with orthogonal QQ and Λ=diag⁡(λ1,…,λn)\Lambda = \operatorname{diag}(\lambda_1, \dots, \lambda_n). Substituting w=Q⊤zw = Q^\top z (a bijection of Rn\mathbb{R}^n, with w=0  ⟺  z=0w = 0 \iff z = 0) gives z⊤Bz=w⊤Λw=∑iλiwi2z^\top B z = w^\top \Lambda w = \sum_i \lambda_i w_i^2. This is ≥0\geq 0 for all ww iff every λi≥0\lambda_i \geq 0 (take w=eiw = e_i for “only if”), and >0> 0 for all w≠0w \neq 0 iff every λi>0\lambda_i > 0.

  • Positive definite ⇒ invertible: B≻0B \succ 0 has no zero eigenvalue, so it is an invertible matrix. A PSD matrix is invertible iff it is positive definite.
  • Gram matrices: for any A∈Rn×mA \in \mathbb{R}^{n \times m} the matrix A⊤A∈SmA^\top A \in \mathbb{S}^m is positive semidefinite, and A⊤A≻0  ⟺  rank⁡(A)=mA^\top A \succ 0 \iff \operatorname{rank}(A) = m (full column rank). In MSI: Φ⊤Φ≻0  ⟺  rank⁡(Φ)=d\Phi^\top\Phi \succ 0 \iff \operatorname{rank}(\Phi) = d. Similarly BB⊤≽0BB^\top \succcurlyeq 0 for any BB.
  • Diagonal entries: B≽0⇒Bii=ei⊤Bei≥0B \succcurlyeq 0 \Rightarrow B_{ii} = e_i^\top B e_i \geq 0. A negative diagonal entry rules out PSD, but nonnegative diagonal entries don’t prove it.
  • Sums: if A≽0A \succcurlyeq 0 and B≽0B \succcurlyeq 0, then A+B≽0A + B \succcurlyeq 0. If additionally one of them is ≻0\succ 0, the sum is ≻0\succ 0 (used for regularization, e.g. adding a small Q≻0Q \succ 0).
  • Where it appears in MSI: covariance matrices are PSD; a weighted norm ∥x∥W2=x⊤Wx\|x\|_W^2 = x^\top W x needs W≻0W \succ 0; second-order optimality conditions ask for a PSD/PD Hessian; the Gauss–Newton Hessian approximation J⊤JJ^\top J is PSD but not necessarily PD.

Example#

Sources#

Search

Type In
↑ ↓ move ↵ open ⇥ next section Ctrl↵ results page Prefix # to search text only