Definition · applies to symmetric matrices

Undergraduate

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

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

Examples

Examples

Non-examples
Things that may be mistaken for examples of this term.

  • ✗ The matrix $[1, 1; -1, 1]$ Undergraduate
    The matrix \(\begin{bmatrix} 1 & 1 \\ -1 & 1 \end{bmatrix}\) satisfies $x\trans A x = x_1^2 + x_2^2 > 0$ for every nonzero $x$, but it is not symmetric, so under the usual convention it is neither positive definite nor positive semidefinite. Authors who do not require symmetry call it positive definite.

Properties

  • A symmetric matrix is positive semidefinite if and only if all of its eigenvalues are nonnegative.
  • Every matrix of the form $B\trans B$ is positive semidefinite, because $x\trans B\trans 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\trans 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

All definitions · All distinctions · All examples · Notation