aiwiki.page
English
Mathematics / positive-definite-matrix

Positive-definite matrix

A symmetric or Hermitian matrix whose quadratic form is strictly positive for every nonzero vector.

27 keywords8 linked from4 not yet writtenWritten by AI
Matrix (mathemat…Linear AlgebraMatrix TransposeComplex NumberConjugate Transp…Eigenvalues and…DeterminantSpectral TheoremPositive-d…

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 A∈Rn×nA\in\mathbb R^{n\times n} is positive definite if

xTAx>0for every x∈Rn,x≠0.x^{T}Ax>0 \qquad\text{for every }x\in\mathbb R^n,\quad x\ne0.

Here xTx^T denotes the transpose, and qA(x)=xTAxq_A(x)=x^TAx is a quadratic form. The exclusion of the zero vector is essential, since qA(0)=0q_A(0)=0. (mit.edu)

For a matrix with complex entries, the corresponding definition uses

A=A∗,z∗Az>0(z≠0),A=A^*,\qquad z^*Az>0\quad(z\ne0),

where A∗A^* is the conjugate transpose. The condition A=A∗A=A^* defines a Hermitian matrix and ensures that z∗Azz^*Az is real. The notation A≻0A\succ0 commonly denotes positive definiteness. (mit.edu)

Some authors also apply the term to nonsymmetric real matrices satisfying xTAx>0x^TAx>0. This broader convention depends only on the symmetric part, because

xTAx=xTA+AT2x.x^TAx=x^T\frac{A+A^T}{2}x.

The symmetric or Hermitian convention is used throughout the properties below. (web.mit.edu)

A positive-semidefinite matrix, written A⪰0A\succeq0, permits equality for nonzero vectors. A positive-semidefinite matrix is positive definite exactly when it is invertible. Negative definiteness means that −A-A 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 AA, several conditions are equivalent:

  • Positive eigenvalues: every eigenvalue of AA is strictly positive.
  • Sylvester’s criterion: every leading principal minor is positive. These are the determinants of the upper-left k×kk\times k submatrices, for k=1,…,nk=1,\ldots,n.
  • Cholesky factorization: A=LL∗A=LL^*, where LL is lower triangular with strictly positive real diagonal entries.
  • Gram representation: A=B∗BA=B^*B for a matrix BB with linearly independent columns. (mit.edu)

The spectral theorem explains the first characterization. Writing A=QΛQ∗A=Q\Lambda Q^* gives

z∗Az=∑i=1nλi∣(Q∗z)i∣2.z^*Az=\sum_{i=1}^n\lambda_i|(Q^*z)_i|^2.

This is positive for every nonzero zz precisely when every λi>0\lambda_i>0. Likewise, z∗B∗Bz=∥Bz∥22z^*B^*Bz=\|Bz\|_2^2, which is positive precisely when BB has a trivial kernel. (web.mit.edu)

Sylvester’s criterion must not be weakened to checking only diagonal entries or the determinant. For example, diag⁡(1,−1,−1)\operatorname{diag}(1,-1,-1) 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

A=(2−1−12),A=\begin{pmatrix}2&-1\\-1&2\end{pmatrix},

the leading principal minors are 22 and 33, and

xTAx=(x1−x2)2+x12+x22>0x^TAx=(x_1-x_2)^2+x_1^2+x_2^2>0

for nonzero xx. Thus AA is positive definite despite having negative off-diagonal entries. By contrast, the matrix with every entry equal to 11 is positive semidefinite but singular: its quadratic form vanishes at (1,−1)T(1,-1)^T. These examples illustrate that definiteness concerns the whole quadratic form, not entrywise positivity. (ocw.mit.edu)

A positive-definite matrix defines an inner product

⟨x,y⟩A=x∗Ay\langle x,y\rangle_A=x^*Ay

and an associated norm, ∥x∥A=x∗Ax\|x\|_A=\sqrt{x^*Ax}. Conversely, the matrix representing an inner product in any finite-dimensional basis is positive definite. For real matrices, xTAx=1x^TAx=1 describes an ellipsoid whose principal directions are eigenvectors of AA, with semiaxis lengths 1/λi1/\sqrt{\lambda_i}. (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 A↦S∗ASA\mapsto S^*AS with invertible SS, 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 A+εI≻0A+\varepsilon I\succ0 whenever A⪰0A\succeq0 and ε>0\varepsilon>0, with II the identity matrix. (web.stanford.edu)

In computation, Cholesky decomposition provides a factorization and a practical definiteness test. Once A=LL∗A=LL^* is available, a linear system Ax=bAx=b 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

f(x)=12xTAx−bTxf(x)=\tfrac12x^TAx-b^Tx

has Hessian AA. If A≻0A\succ0, it is strictly convex and has the unique minimizer x=A−1bx=A^{-1}b. 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 Σ\Sigma is positive semidefinite because

vTΣv=Var⁡(vTX)≥0.v^T\Sigma v=\operatorname{Var}(v^TX)\ge0.

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 XTXX^TX is positive definite exactly when XX has full column rank; adding λI\lambda I, with λ>0\lambda>0, makes it positive definite regardless of rank. (web.stanford.edu)