Definition
Positive semidefinite matrix
A real symmetric or complex Hermitian matrix whose quadratic form is nonnegative.
Definition
Let , where or . The matrix is positive semidefinite, written or , if and
Here is the transpose in the real case and the conjugate transpose in the complex case. It is positive definite if for every nonzero . Semidefiniteness permits a nontrivial kernel; definiteness does not. The condition is basis-independent when is regarded as the matrix of a self-adjoint operator on a finite-dimensional inner-product space.
Equivalent characterizations
For a Hermitian matrix , the following are equivalent:
- is positive semidefinite;
- every eigenvalue of is nonnegative;
- there is a matrix such that ;
- has a unique positive semidefinite square root .
The factorization can be obtained from the spectral theorem. It also identifies positive semidefinite matrices with Gram matrices: for some finite family of vectors, subject to the convention chosen for which inner-product variable is linear.
Cone and order
Positive semidefinite matrices form a closed convex cone: if and , then . The Loewner order on Hermitian matrices is
This is a partial order, but it is not a total order when . Congruence preserves positivity: implies for every compatible matrix .
Tests and examples
Every matrix is positive semidefinite. Covariance and Gram matrices are standard examples. A diagonal Hermitian matrix is positive semidefinite exactly when all diagonal entries are nonnegative.
Nonnegative entries do not imply positive semidefiniteness, and positive semidefinite matrices may have negative off-diagonal entries. Sylvester's criterion using strictly positive leading principal minors characterizes positive definiteness; for semidefiniteness one instead requires all principal minors to be nonnegative.
References
- Roger A. Horn and Charles R. Johnson, Matrix Analysis, 2nd ed., Cambridge University Press, 2013. DOI record. Relevant: Chapters 4 and 7 on Hermitian matrices, quadratic forms, and positive semidefinite matrices.
- Rajendra Bhatia, Positive Definite Matrices, Princeton University Press, 2007. DOI record. Relevant: Chapter 1 on positivity, factorization, and the Loewner order.