Definiteness
The definiteness of a symmetric matrix classifies the quadratic form by its sign behavior across all nonzero inputs. There are five cases based on eigenvalue signs:
Positive definite (PD): all eigenvalues strictly positive. Then for all (bowl opening upward, unique minimum at ). Positive semidefinite (PSD): all eigenvalues . Then for all (flat or upward). Negative definite (ND): all eigenvalues strictly negative. Negative semidefinite (NSD): all eigenvalues . Indefinite: mixed signs (some positive, some negative eigenvalues) — saddle shape.
Definiteness is the single most important classification of a symmetric matrix for optimization: a PD matrix has a unique minimum; a PSD matrix may have infinitely many minima; an indefinite matrix has no minimum.
Formal View
Interactive Visualization
Definiteness Classifier
Why This Matters
Positive definiteness is the matrix condition equivalent to "the quadratic has a unique minimum" — essential for optimization.
- The Hessian of a function at a critical point is PD iff the critical point is a strict local minimum.
- Kernel matrices in machine learning are always PSD by construction.
- Control theory: a system is stable iff a certain matrix (Lyapunov function matrix) is PD.
Quiz
A symmetric matrix with eigenvalues is:
Every positive definite matrix is also positive semidefinite.
Common Mistakes
- Confusing PD ( strictly) with PSD () — a matrix with a zero eigenvalue is PSD but NOT PD.
- Checking only diagonal entries of to determine definiteness — you must check eigenvalues (or use the principal minors test) for the full picture.