Definition

Let AMn(F)A\in M_n(\mathbb F), where F=R\mathbb F=\mathbb R or C\mathbb C. The AA is positive semidefinite, written A0A\succeq0 or A0A\geq0, if A=AA=A^* and

xAx0for every xFn.x^*Ax\geq0\qquad\text{for every }x\in\mathbb F^n.

Here AA^* is the transpose in the real case and the conjugate transpose in the complex case. It is positive definite if xAx>0x^*Ax>0 for every nonzero xx. Semidefiniteness permits a nontrivial kernel; definiteness does not. The condition is basis-independent when AA is regarded as the matrix of a self-adjoint operator on a finite-dimensional .

Equivalent characterizations

For a Hermitian matrix AA, the following are equivalent:

  • AA is positive semidefinite;
  • every of AA is nonnegative;
  • there is a matrix BB such that A=BBA=B^*B;
  • AA has a unique positive semidefinite square root A1/2A^{1/2}.

The factorization can be obtained from the spectral theorem. It also identifies positive semidefinite matrices with Gram matrices: Aij=vj,viA_{ij}=\langle v_j,v_i\rangle 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 A,B0A,B\succeq0 and s,t0s,t\geq0, then sA+tB0sA+tB\succeq0. The Loewner order on Hermitian matrices is

ABBA0.A\preceq B\quad\Longleftrightarrow\quad B-A\succeq0.

This is a , but it is not a total order when n>1n>1. Congruence preserves positivity: A0A\succeq0 implies CAC0C^*AC\succeq0 for every compatible matrix CC.

Tests and examples

Every matrix BBB^*B 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
  1. 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.
  2. Rajendra Bhatia, Positive Definite Matrices, Princeton University Press, 2007. DOI record. Relevant: Chapter 1 on positivity, factorization, and the Loewner order.