A positive-definite matrix is a square matrix whose associated quadratic expression is strictly positive for every nonzero vector. Under the standard convention in linear algebra, the matrix is symmetric when its entries are real and Hermitian when they are complex. Positive definiteness connects matrix algebra with geometry, optimization, and statistical modeling: it characterizes nondegenerate squared lengths and quadratic functions with a unique minimum. (mit.edu)
Definition and conventions
A real symmetric matrix is positive definite if
Here denotes the transpose, and is a quadratic form. The exclusion of the zero vector is essential, since . (mit.edu)
For a matrix with complex entries, the corresponding definition uses
where is the conjugate transpose. The condition defines a Hermitian matrix and ensures that is real. The notation commonly denotes positive definiteness. (mit.edu)
Some authors also apply the term to nonsymmetric real matrices satisfying . This broader convention depends only on the symmetric part, because
The symmetric or Hermitian convention is used throughout the properties below. (web.mit.edu)
A positive-semidefinite matrix, written , permits equality for nonzero vectors. A positive-semidefinite matrix is positive definite exactly when it is invertible. Negative definiteness means that is positive definite; an indefinite Hermitian matrix has quadratic-form values of both signs. (web.mit.edu)
Equivalent characterizations
For a symmetric or Hermitian matrix , several conditions are equivalent:
- Positive eigenvalues: every eigenvalue of is strictly positive.
- Sylvester’s criterion: every leading principal minor is positive. These are the determinants of the upper-left submatrices, for .
- Cholesky factorization: , where is lower triangular with strictly positive real diagonal entries.
- Gram representation: for a matrix with linearly independent columns. (mit.edu)
The spectral theorem explains the first characterization. Writing gives
This is positive for every nonzero precisely when every . Likewise, , which is positive precisely when has a trivial kernel. (web.mit.edu)
Sylvester’s criterion must not be weakened to checking only diagonal entries or the determinant. For example, has positive determinant but is not positive definite. For positive semidefiniteness, nonnegative leading principal minors alone are insufficient; all principal minors must be nonnegative. (web.mit.edu)
Examples and geometric meaning
For
the leading principal minors are and , and
for nonzero . Thus is positive definite despite having negative off-diagonal entries. By contrast, the matrix with every entry equal to is positive semidefinite but singular: its quadratic form vanishes at . These examples illustrate that definiteness concerns the whole quadratic form, not entrywise positivity. (ocw.mit.edu)
A positive-definite matrix defines an inner product
and an associated norm, . Conversely, the matrix representing an inner product in any finite-dimensional basis is positive definite. For real matrices, describes an ellipsoid whose principal directions are eigenvectors of , with semiaxis lengths . (cs.cornell.edu)
Algebraic structure and computation
The inverse of a positive-definite matrix is positive definite. Positive definiteness is also preserved by congruence transformations with invertible , reflecting a change of coordinates. Every positive-definite matrix has a unique positive-definite square root, obtained by replacing its eigenvalues with their positive square roots. (web.mit.edu)
Positive-definite matrices form an open convex set within the real vector space of symmetric or Hermitian matrices. Their closure is the positive-semidefinite cone. In particular, positive weighted sums remain positive definite, and whenever and , with the identity matrix. (web.stanford.edu)
In computation, Cholesky decomposition provides a factorization and a practical definiteness test. Once is available, a linear system is solved through two triangular systems. Positive definiteness does not guarantee good conditioning: a very small minimum eigenvalue can make solutions sensitive to perturbations and rounding errors. (netlib.org)
Applications
In optimization, the quadratic function
has Hessian . If , it is strictly convex and has the unique minimizer . More generally, a positive-definite Hessian at a stationary point of a twice continuously differentiable function guarantees a strict local minimum, though it is not necessary for one. (ocw.mit.edu)
In statistics, a covariance matrix is positive semidefinite because
It is positive definite exactly when every nonzero linear combination has positive variance. A nondegenerate multivariate normal distribution therefore has positive-definite covariance. Similarly, the Gram matrix is positive definite exactly when has full column rank; adding , with , makes it positive definite regardless of rank. (web.stanford.edu)