TOPICS
Search

Positive Definite Matrix


A positive definite matrix is an n×n complex matrix A such that

 Re[x^*Ax]>0
(1)

for all nonzero complex vectors x in C^n, where x^* denotes the conjugate transpose of the vector x. In the case of a real matrix A, an equivalent condition is

 x^TAx>0
(2)

for every nonzero real vector x, where x^T denotes the transpose. Positive definite matrices are of both theoretical and computational importance in a wide variety of applications. They are used, for example, in optimization algorithms and in the construction of various linear regression models (Johnson 1970).

A matrix m may be tested to determine if it is positive definite in the Wolfram Language using PositiveDefiniteMatrixQ[m].

A linear system of equations with a positive definite Hermitian matrix can be efficiently solved using the Cholesky decomposition. Such a matrix has at least one matrix square root. Furthermore, exactly one of its matrix square roots is itself a positive definite Hermitian matrix.

A necessary and sufficient condition for a complex matrix A to be positive definite is that the Hermitian part

 A_H=1/2(A+A^H),
(3)

where A^H denotes the conjugate transpose, be positive definite. This means that a real matrix A is positive definite iff the symmetric part

 A_S=1/2(A+A^T),
(4)

where A^T is the transpose, is positive definite (Johnson 1970).

Another common convention restricts positive definite matrices to Hermitian matrices, or symmetric matrices in the case of real matrices (Pease 1965, Johnson 1970, Marcus and Minc 1988, p. 182; Marcus and Minc 1992, p. 69; Golub and Van Loan 1996, p. 140). A Hermitian matrix (or real symmetric matrix) is positive definite iff all its eigenvalues are positive. Therefore, a general complex (respectively, real) matrix is positive definite iff its Hermitian (or symmetric) part has all positive eigenvalues.

Every positive definite matrix is nonsingular. Its determinant is positive if the matrix is real or Hermitian, but need not be real for a general complex matrix.

If A and B are positive definite, then so is A+B. The matrix inverse of a positive definite matrix is also positive definite.

For a Hermitian matrix, Sylvester's criterion states that positive definiteness is equivalent to positivity of the determinants of all upper-left square submatrices. For a general complex matrix, this criterion must instead be applied to its Hermitian part.

The following are necessary (but not sufficient) conditions for a Hermitian matrix A (which by definition has real diagonal elements a_(ii)) to be positive definite.

1. a_(ii)>0 for all i,

2. a_(ii)+a_(jj)>2|Re[a_(ij)]| for i!=j,

3. The element with largest modulus lies on the main diagonal,

4. det(A)>0.

Here, Re[z] is the real part of z, and a typo in Gradshteyn and Ryzhik (2000, p. 1063) has been corrected in item (ii).

A real symmetric matrix A is positive definite iff there exists a real nonsingular matrix M such that

 A=MM^T,
(5)

where M^T is the transpose (Ayres 1962, p. 134). In particular, a real 2×2 symmetric matrix

 [a b; b c]
(6)

is positive definite if

 av_1^2+2bv_1v_2+cv_2^2>0
(7)

for all real vectors v=(v_1,v_2)!=0.

The numbers of positive definite n×n matrices of given types are summarized in the following table. For example, the three positive definite 2×2 (0,1)-matrices are

 [1 0; 0 1],[1 0; 1 1],[1 1; 0 1],
(8)

all of which have eigenvalue 1 with multiplicity two.

matrix typeOEIScounts
(0,1)-matrixA0856561, 3, 27, 681, 43369, ...
(-1,1)-matrixA0061251, 2, 8, 64, 1024, ...
(-1,0,1)-matrixA0862151, 7, 311, 79505, ...

See also

Determinant, Eigenvalue, Hermitian Matrix, Matrix, Negative Definite Matrix, Negative Semidefinite Matrix, Positive Eigenvalued Matrix, Positive Matrix, Positive Semidefinite Matrix, Sylvester's Criterion

Explore with Wolfram|Alpha

References

Ayres, F. Jr. Schaum's Outline of Theory and Problems of Matrices. New York: Schaum, p. 134, 1962.Golub, G. H. and Van Loan, C. F. "Positive Definite Systems." §4.2 in Matrix Computations, 3rd ed. Baltimore, MD: Johns Hopkins University Press, pp. 140-141, 1996.Gradshteyn, I. S. and Ryzhik, I. M. Tables of Integrals, Series, and Products, 6th ed. San Diego, CA: Academic Press, p. 1106, 2000.Johnson, C. R. "Positive Definite Matrices." Amer. Math. Monthly 77, 259-264, 1970. https://doi.org/10.1080/00029890.1970.11992465.Johnson, C. R.; Okubo, K.; and Reams, R. "Uniqueness of Matrix Square Roots and an Application." Lin. Alg. Appl. 323, 51-60, 2001. https://doi.org/10.1016/S0024-3795(00)00243-3.Lindell, I. V. Methods for Electromagnetic Field Analysis. New York: Clarendon Press, 1992.Marcus, M. and Minc, H. Introduction to Linear Algebra. New York: Dover, p. 182, 1988.Marcus, M. and Minc, H. "Positive Definite Matrices." §4.12 in A Survey of Matrix Theory and Matrix Inequalities. New York: Dover, p. 69, 1992.Pease, M. C. Methods of Matrix Algebra. New York: Academic Press, 1965.Sloane, N. J. A. Sequences A006125, A085656, and A086215 in "The On-Line Encyclopedia of Integer Sequences."

Referenced on Wolfram|Alpha

Positive Definite Matrix

Cite this as:

Weisstein, Eric W. "Positive Definite Matrix." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/PositiveDefiniteMatrix.html

Subject classifications