Positive Definite Matrices

1 min read

A symmetric matrix AA is positive definite (PD) if xAx>0\mathbf{x}^\top A\mathbf{x} > 0 for all nonzero x\mathbf{x}. Positive semi-definite (PSD) allows 0\geq 0.

Equivalent characterizations (any one implies the others):

  • All eigenvalues are positive (>0> 0 for PD, 0\geq 0 for PSD)
  • All leading principal minors are positive
  • A=BBA = B^\top B for some full-rank matrix BB
  • The quadratic form f(x)=xAxf(\mathbf{x}) = \mathbf{x}^\top A\mathbf{x} has a unique global minimum at x=0\mathbf{x} = 0

Quadratic forms: f(x)=xAxf(\mathbf{x}) = \mathbf{x}^\top A\mathbf{x} defines a bowl shape when AA is PD (like a paraboloid). The eigenvectors of AA are the principal axes and eigenvalues are the curvatures along those axes.

Where it appears:

  • Covariance matrices are always PSD — Σ=E[(xμ)(xμ)]\Sigma = \mathbb{E}[(\mathbf{x}-\mu)(\mathbf{x}-\mu)^\top]
  • Hessian Matrix — if the Hessian is PD at a point, that point is a local minimum
  • Optimization — PD Hessian means the loss surface is locally convex → Convexity
  • Kernel matrices (Gram matrices) must be PSD

See also: Eigendecomposition , Taylor Expansion

Linked from