{
  "id": "positive-definite-matrix",
  "title": "Positive-definite matrix",
  "lang": "en",
  "source_lang": "en",
  "summary": "A symmetric or Hermitian matrix whose quadratic form is strictly positive for every nonzero vector.",
  "category": "mathematics",
  "subcategory": "algebra",
  "type": "concept",
  "aliases": [
    "Positive definite matrix",
    "PD matrix",
    "Symmetric positive-definite matrix",
    "SPD matrix",
    "Hermitian positive-definite matrix"
  ],
  "generated_at": "2026-10-04",
  "model": "pro/gpt-6.1-sol",
  "url": "https://aiwiki.page/en/positive-definite-matrix/",
  "translations": {
    "zh-Hans": {
      "url": "https://aiwiki.page/zh/positive-definite-matrix/",
      "json": "https://aiwiki.page/zh/positive-definite-matrix.json"
    }
  },
  "sections": [
    {
      "heading": "",
      "text": "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)"
    },
    {
      "heading": "Definition and conventions",
      "text": "A real symmetric matrix \\(A\\in\\mathbb R^{n\\times n}\\) is positive definite if\n\n\\[x^{T}Ax>0 \\qquad\\text{for every }x\\in\\mathbb R^n,\\quad x\\ne0.\\]\n\nHere \\(x^T\\) denotes the transpose, and \\(q_A(x)=x^TAx\\) is a quadratic form. The exclusion of the zero vector is essential, since \\(q_A(0)=0\\). (mit.edu)\n\nFor a matrix with complex entries, the corresponding definition uses\n\n\\[A=A^*,\\qquad z^*Az>0\\quad(z\\ne0),\\]\n\nwhere \\(A^*\\) is the conjugate transpose. The condition \\(A=A^*\\) defines a Hermitian matrix and ensures that \\(z^*Az\\) is real. The notation \\(A\\succ0\\) commonly denotes positive definiteness. (mit.edu)\n\nSome authors also apply the term to nonsymmetric real matrices satisfying \\(x^TAx>0\\). This broader convention depends only on the symmetric part, because\n\n\\[x^TAx=x^T\\frac{A+A^T}{2}x.\\]\n\nThe symmetric or Hermitian convention is used throughout the properties below. (web.mit.edu)\n\nA positive-semidefinite matrix, written \\(A\\succeq0\\), permits equality for nonzero vectors. A positive-semidefinite matrix is positive definite exactly when it is invertible. Negative definiteness means that \\(-A\\) is positive definite; an indefinite Hermitian matrix has quadratic-form values of both signs. (web.mit.edu)"
    },
    {
      "heading": "Equivalent characterizations",
      "text": "For a symmetric or Hermitian matrix \\(A\\), several conditions are equivalent:\n\n- Positive eigenvalues: every eigenvalue of \\(A\\) is strictly positive.\n- Sylvester’s criterion: every leading principal minor is positive. These are the determinants of the upper-left \\(k\\times k\\) submatrices, for \\(k=1,\\ldots,n\\).\n- Cholesky factorization: \\(A=LL^*\\), where \\(L\\) is lower triangular with strictly positive real diagonal entries.\n- Gram representation: \\(A=B^*B\\) for a matrix \\(B\\) with linearly independent columns. (mit.edu)\n\nThe spectral theorem explains the first characterization. Writing \\(A=Q\\Lambda Q^*\\) gives\n\n\\[z^*Az=\\sum_{i=1}^n\\lambda_i|(Q^*z)_i|^2.\\]\n\nThis is positive for every nonzero \\(z\\) precisely when every \\(\\lambda_i>0\\). Likewise, \\(z^*B^*Bz=\\|Bz\\|_2^2\\), which is positive precisely when \\(B\\) has a trivial kernel. (web.mit.edu)\n\nSylvester’s criterion must not be weakened to checking only diagonal entries or the determinant. For example, \\(\\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)"
    },
    {
      "heading": "Examples and geometric meaning",
      "text": "For\n\n\\[A=\\begin{pmatrix}2&-1\\\\-1&2\\end{pmatrix},\\]\n\nthe leading principal minors are \\(2\\) and \\(3\\), and\n\n\\[x^TAx=(x_1-x_2)^2+x_1^2+x_2^2>0\\]\n\nfor nonzero \\(x\\). Thus \\(A\\) is positive definite despite having negative off-diagonal entries. By contrast, the matrix with every entry equal to \\(1\\) is positive semidefinite but singular: its quadratic form vanishes at \\((1,-1)^T\\). These examples illustrate that definiteness concerns the whole quadratic form, not entrywise positivity. (ocw.mit.edu)\n\nA positive-definite matrix defines an inner product\n\n\\[\\langle x,y\\rangle_A=x^*Ay\\]\n\nand an associated norm, \\(\\|x\\|_A=\\sqrt{x^*Ax}\\). Conversely, the matrix representing an inner product in any finite-dimensional basis is positive definite. For real matrices, \\(x^TAx=1\\) describes an ellipsoid whose principal directions are eigenvectors of \\(A\\), with semiaxis lengths \\(1/\\sqrt{\\lambda_i}\\). (cs.cornell.edu)"
    },
    {
      "heading": "Algebraic structure and computation",
      "text": "The inverse of a positive-definite matrix is positive definite. Positive definiteness is also preserved by congruence transformations \\(A\\mapsto S^*AS\\) with invertible \\(S\\), 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)\n\nPositive-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+\\varepsilon I\\succ0\\) whenever \\(A\\succeq0\\) and \\(\\varepsilon>0\\), with \\(I\\) the identity matrix. (web.stanford.edu)\n\nIn computation, Cholesky decomposition provides a factorization and a practical definiteness test. Once \\(A=LL^*\\) is available, a linear system \\(Ax=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)"
    },
    {
      "heading": "Applications",
      "text": "In optimization, the quadratic function\n\n\\[f(x)=\\tfrac12x^TAx-b^Tx\\]\n\nhas Hessian \\(A\\). If \\(A\\succ0\\), it is strictly convex and has the unique minimizer \\(x=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)\n\nIn statistics, a covariance matrix \\(\\Sigma\\) is positive semidefinite because\n\n\\[v^T\\Sigma v=\\operatorname{Var}(v^TX)\\ge0.\\]\n\nIt 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 \\(X^TX\\) is positive definite exactly when \\(X\\) has full column rank; adding \\(\\lambda I\\), with \\(\\lambda>0\\), makes it positive definite regardless of rank. (web.stanford.edu)"
    }
  ],
  "links": [
    "matrix",
    "linear-algebra",
    "matrix-transpose",
    "quadratic-form",
    "complex-number",
    "conjugate-transpose",
    "hermitian-matrix",
    "positive-semidefinite-matrix",
    "eigenvalues-and-eigenvectors",
    "determinant",
    "spectral-theorem",
    "sylvesters-criterion",
    "inner-product",
    "norm-mathematics",
    "inverse-matrix",
    "convex-set",
    "identity-matrix",
    "cholesky-decomposition",
    "system-of-linear-equations",
    "floating-point-arithmetic",
    "mathematical-optimization",
    "hessian-matrix",
    "statistics",
    "covariance-matrix",
    "variance",
    "multivariate-normal-distribution",
    "gram-matrix"
  ],
  "sources": [
    {
      "title": "mit.edu/~9.520/fall17/slides/mathcamp/mathcamp-slides.pdf",
      "url": "https://www.mit.edu/~9.520/fall17/slides/mathcamp/mathcamp-slides.pdf"
    },
    {
      "title": "mit.edu/~18.06/Fall2022/pset13sol.html",
      "url": "https://www.mit.edu/~18.06/Fall2022/pset13sol.html"
    },
    {
      "title": "web.mit.edu/dimitrib/www/Appendix_A_NEW_ALG.pdf",
      "url": "https://web.mit.edu/dimitrib/www/Appendix_A_NEW_ALG.pdf"
    },
    {
      "title": "ocw.mit.edu/courses/2-29-numerical-fluid-mechanics-spring-2015/1839ca0d0ab0b2de…",
      "url": "https://ocw.mit.edu/courses/2-29-numerical-fluid-mechanics-spring-2015/1839ca0d0ab0b2de100c75d5a629331e_MIT2_29S15_Lecture7.pdf"
    },
    {
      "title": "cs.cornell.edu/courses/cs6210/2025fa/lec/2025-08-25-slides.html",
      "url": "https://www.cs.cornell.edu/courses/cs6210/2025fa/lec/2025-08-25-slides.html"
    },
    {
      "title": "web.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf",
      "url": "https://web.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf"
    },
    {
      "title": "netlib.org/lapack/lawnspdf/lawn117.pdf",
      "url": "https://www.netlib.org/lapack/lawnspdf/lawn117.pdf"
    },
    {
      "title": "ocw.mit.edu/courses/18-06sc-linear-algebra-fall-2011/d163e012754258d3b374548504…",
      "url": "https://ocw.mit.edu/courses/18-06sc-linear-algebra-fall-2011/d163e012754258d3b374548504d8a18a_MIT18_06SCF11_Ses3.3sum.pdf"
    }
  ],
  "license": "https://creativecommons.org/licenses/by/4.0/"
}