Definition · applies to symmetric matrices

Undergraduate

A symmetric $n \times n$ real matrix $A$ is positive semidefinite if

\[x^{\top} A x \geq 0 \quad \text{for every vector } x \in \reals^n.\]

Examples

Examples

Properties

  • A symmetric matrix is positive semidefinite if and only if all of its eigenvalues are nonnegative.
  • Every matrix of the form $B^{\top} B$ is positive semidefinite, because $x^{\top} B^{\top} B x = \norm{B x}^2 \geq 0$. Conversely, every positive semidefinite matrix can be written in this form.
  • A positive semidefinite matrix is positive definite if and only if it is invertible.
  • Sylvester’s criterion with $\geq$ does not test positive semidefiniteness: all leading principal minors of \(\begin{bmatrix} 0 & 0 \\ 0 & -1 \end{bmatrix}\) are $\geq 0$, but $x = (0, 1)$ gives $x^{\top} A x = -1$. All principal minors (not only the leading ones) must be nonnegative.

Notes

Writing $A \succeq 0$ means that $A$ is positive semidefinite, and $A \succ 0$ means that $A$ is positive definite.

Distinctions involving this term

  • Positive definite vs. positive semidefinite: Positive definiteness and semidefiniteness describe the sign of the quadratic form $x^{\top} A x$ of a symmetric matrix, and they appear in optimization, stability, and statistics. A symmetric matrix $A$ is positive semidefinite if $x^{\top} A x \geq 0$ for every vector $x$, and positive definite if $x^{\top} A x > 0$ for every nonzero $x$. Equivalently, the eigenvalues of $A$ are nonnegative or positive.

All definitions · All distinctions · All examples