Definite matrix

From HandWiki
Revision as of 20:20, 8 February 2024 by AnLinks (talk | contribs) (link)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Property of a mathematical matrix

In mathematics, a symmetric matrix [math]\displaystyle{ M }[/math] with real entries is positive-definite if the real number [math]\displaystyle{ z^{\operatorname{T}}Mz }[/math] is positive for every nonzero real column vector [math]\displaystyle{ z, }[/math] where [math]\displaystyle{ z^\operatorname{T} }[/math] is the transpose of [math]\displaystyle{ z }[/math].[1] More generally, a Hermitian matrix (that is, a complex matrix equal to its conjugate transpose) is positive-definite if the real number [math]\displaystyle{ z^* Mz }[/math] is positive for every nonzero complex column vector [math]\displaystyle{ z, }[/math] where [math]\displaystyle{ z^* }[/math] denotes the conjugate transpose of [math]\displaystyle{ z. }[/math]

Positive semi-definite matrices are defined similarly, except that the scalars [math]\displaystyle{ z^\operatorname{T}Mz }[/math] and [math]\displaystyle{ z^* Mz }[/math] are required to be positive or zero (that is, nonnegative). Negative-definite and negative semi-definite matrices are defined analogously. A matrix that is not positive semi-definite and not negative semi-definite is sometimes called indefinite.

A matrix is thus positive-definite if and only if it is the matrix of a positive-definite quadratic form or Hermitian form. In other words, a matrix is positive-definite if and only if it defines an inner product.

Positive-definite and positive-semidefinite matrices can be characterized in many ways, which may explain the importance of the concept in various parts of mathematics. A matrix M is positive-definite if and only if it satisfies any of the following equivalent conditions.

  • M is congruent with a diagonal matrix with positive real entries.
  • M is symmetric or Hermitian, and all its eigenvalues are real and positive.
  • M is symmetric or Hermitian, and all its leading principal minors are positive.
  • There exists an invertible matrix [math]\displaystyle{ B }[/math] with conjugate transpose [math]\displaystyle{ B^* }[/math] such that [math]\displaystyle{ M=B^*B. }[/math]

A matrix is positive semi-definite if it satisfies similar equivalent conditions where "positive" is replaced by "nonnegative", "invertible matrix" is replaced by "matrix", and the word "leading" is removed.

Positive-definite and positive-semidefinite real matrices are at the basis of convex optimization, since, given a function of several real variables that is twice differentiable, then if its Hessian matrix (matrix of its second partial derivatives) is positive-definite at a point p, then the function is convex near p, and, conversely, if the function is convex near p, then the Hessian matrix is positive-semidefinite at p.

The set of positive definite matrices is an open convex cone, while the set of positive semi-definite matrices is a closed convex cone.[2]

Some authors use more general definitions of definiteness, including some non-symmetric real matrices, or non-Hermitian complex ones.

Definitions

In the following definitions, [math]\displaystyle{ \mathbf{x}^\operatorname{T} }[/math] is the transpose of [math]\displaystyle{ \mathbf x }[/math], [math]\displaystyle{ \mathbf{x}^* }[/math] is the conjugate transpose of [math]\displaystyle{ \mathbf x }[/math] and [math]\displaystyle{ \mathbf{0} }[/math] denotes the n-dimensional zero-vector.

Definitions for real matrices

An [math]\displaystyle{ n \times n }[/math] symmetric real matrix [math]\displaystyle{ M }[/math] is said to be positive-definite if [math]\displaystyle{ \mathbf{x}^\operatorname{T} M\mathbf{x} \gt 0 }[/math] for all non-zero [math]\displaystyle{ \mathbf{x} }[/math] in [math]\displaystyle{ \R^n }[/math]. Formally,

[math]\displaystyle{ M \text{ positive-definite} \quad \iff \quad \mathbf{x}^\operatorname{T} M\mathbf{x} \gt 0 \text{ for all } \mathbf{x} \in \R^n \setminus \{\mathbf{0}\} }[/math]

An [math]\displaystyle{ n \times n }[/math] symmetric real matrix [math]\displaystyle{ M }[/math] is said to be positive-semidefinite or non-negative-definite if [math]\displaystyle{ \mathbf{x}^\operatorname{T} M\mathbf{x} \geq 0 }[/math] for all [math]\displaystyle{ \mathbf{x} }[/math] in [math]\displaystyle{ \R^n }[/math]. Formally,

[math]\displaystyle{ M \text{ positive semi-definite} \quad \iff \quad \mathbf{x}^\operatorname{T} M\mathbf{x} \geq 0 \text{ for all } \mathbf{x} \in \R^n }[/math]

An [math]\displaystyle{ n \times n }[/math] symmetric real matrix [math]\displaystyle{ M }[/math] is said to be negative-definite if [math]\displaystyle{ \mathbf{x}^\operatorname{T} M\mathbf{x} \lt 0 }[/math] for all non-zero [math]\displaystyle{ \mathbf{x} }[/math] in [math]\displaystyle{ \R^n }[/math]. Formally,

[math]\displaystyle{ M \text{ negative-definite} \quad \iff \quad \mathbf{x}^\operatorname{T} M\mathbf{x} \lt 0 \text{ for all } \mathbf{x} \in \R^n \setminus \{\mathbf{0}\} }[/math]

An [math]\displaystyle{ n \times n }[/math] symmetric real matrix [math]\displaystyle{ M }[/math] is said to be negative-semidefinite or non-positive-definite if [math]\displaystyle{ x^\operatorname{T} Mx \leq 0 }[/math] for all [math]\displaystyle{ x }[/math] in [math]\displaystyle{ \R^n }[/math]. Formally,

[math]\displaystyle{ M \text{ negative semi-definite} \quad \iff \quad \mathbf{x}^\operatorname{T} M\mathbf{x} \leq 0 \text{ for all } \mathbf{x} \in \R^n }[/math]

An [math]\displaystyle{ n \times n }[/math] symmetric real matrix which is neither positive semidefinite nor negative semidefinite is called indefinite.

Definitions for complex matrices

The following definitions all involve the term [math]\displaystyle{ \mathbf{x}^* M\mathbf{x} }[/math]. Notice that this is always a real number for any Hermitian square matrix [math]\displaystyle{ M }[/math].

An [math]\displaystyle{ n \times n }[/math] Hermitian complex matrix [math]\displaystyle{ M }[/math] is said to be positive-definite if [math]\displaystyle{ \mathbf{x}^* M\mathbf{x} \gt 0 }[/math] for all non-zero [math]\displaystyle{ \mathbf{x} }[/math] in [math]\displaystyle{ \Complex^n }[/math]. Formally,

[math]\displaystyle{ M \text{ positive-definite} \quad \iff \quad \mathbf{x}^* M\mathbf{x} \gt 0 \text{ for all } \mathbf{x} \in \Complex^n \setminus \{\mathbf{0}\} }[/math]

An [math]\displaystyle{ n \times n }[/math] Hermitian complex matrix [math]\displaystyle{ M }[/math] is said to be positive semi-definite or non-negative-definite if [math]\displaystyle{ x^* Mx \geq 0 }[/math] for all [math]\displaystyle{ x }[/math] in [math]\displaystyle{ \Complex^n }[/math]. Formally,

[math]\displaystyle{ M \text{ positive semi-definite} \quad \iff \quad \mathbf{x}^* M\mathbf{x} \geq 0 \text{ for all } \mathbf{x} \in \Complex^n }[/math]

An [math]\displaystyle{ n \times n }[/math] Hermitian complex matrix [math]\displaystyle{ M }[/math] is said to be negative-definite if [math]\displaystyle{ \mathbf{x}^* M\mathbf{x} \lt 0 }[/math] for all non-zero [math]\displaystyle{ \mathbf{x} }[/math] in [math]\displaystyle{ \Complex^n }[/math]. Formally,

[math]\displaystyle{ M \text{ negative-definite} \quad \iff \quad \mathbf{x}^* M\mathbf{x} \lt 0 \text{ for all } \mathbf{x} \in \Complex^n \setminus \{\mathbf{0}\} }[/math]

An [math]\displaystyle{ n \times n }[/math] Hermitian complex matrix [math]\displaystyle{ M }[/math] is said to be negative semi-definite or non-positive-definite if [math]\displaystyle{ \mathbf{x}^* M\mathbf{x} \leq 0 }[/math] for all [math]\displaystyle{ \mathbf{x} }[/math] in [math]\displaystyle{ \Complex^n }[/math]. Formally,

[math]\displaystyle{ M \text{ negative semi-definite} \quad \iff \quad \mathbf{x}^* M\mathbf{x} \leq 0 \text{ for all } \mathbf{x} \in \Complex^n }[/math]

An [math]\displaystyle{ n \times n }[/math] Hermitian complex matrix which is neither positive semidefinite nor negative semidefinite is called indefinite.

Consistency between real and complex definitions

Since every real matrix is also a complex matrix, the definitions of "definiteness" for the two classes must agree.

For complex matrices, the most common definition says that [math]\displaystyle{ M }[/math] is positive-definite if and only if [math]\displaystyle{ \mathbf{z}^* M\mathbf{z} }[/math] is real and positive for every non-zero complex column vectors [math]\displaystyle{ \mathbf z }[/math]. This condition implies that [math]\displaystyle{ M }[/math] is Hermitian (i.e. its transpose is equal to its conjugate), since [math]\displaystyle{ \mathbf{z}^* M\mathbf{z} }[/math] being real, it equals its conjugate transpose [math]\displaystyle{ \mathbf{z}^* M^*\mathbf{z} }[/math] for every [math]\displaystyle{ z, }[/math] which implies [math]\displaystyle{ M=M^* }[/math].

By this definition, a positive-definite real matrix [math]\displaystyle{ M }[/math] is Hermitian, hence symmetric; and [math]\displaystyle{ \mathbf{z}^\operatorname{T} M\mathbf{z} }[/math] is positive for all non-zero real column vectors [math]\displaystyle{ \mathbf{z} }[/math]. However the last condition alone is not sufficient for [math]\displaystyle{ M }[/math] to be positive-definite. For example, if [math]\displaystyle{ M = \begin{bmatrix} 1 & 1 \\ -1 & 1 \end{bmatrix}, }[/math]

then for any real vector [math]\displaystyle{ \mathbf{z} }[/math] with entries [math]\displaystyle{ a }[/math] and [math]\displaystyle{ b }[/math] we have [math]\displaystyle{ \mathbf{z}^\operatorname{T} M\mathbf{z} = \left(a + b\right)a + \left(-a + b\right)b = a^2 + b^2 }[/math], which is always positive if [math]\displaystyle{ \mathbf z }[/math] is not zero. However, if [math]\displaystyle{ \mathbf z }[/math] is the complex vector with entries [math]\displaystyle{ 1 }[/math] and [math]\displaystyle{ i }[/math], one gets

[math]\displaystyle{ \mathbf{z}^* M \mathbf{z} = \begin{bmatrix}1 & -i\end{bmatrix} M \begin{bmatrix}1 \\ i\end{bmatrix} = \begin{bmatrix}1 + i & 1 - i\end{bmatrix} \begin{bmatrix}1 \\ i\end{bmatrix} = 2+2i }[/math]

which is not real. Therefore, [math]\displaystyle{ M }[/math] is not positive-definite.

On the other hand, for a symmetric real matrix [math]\displaystyle{ M }[/math], the condition "[math]\displaystyle{ \mathbf{z}^\operatorname{T} M\mathbf{z} \gt 0 }[/math] for all nonzero real vectors [math]\displaystyle{ \mathbf z }[/math]" does imply that [math]\displaystyle{ M }[/math] is positive-definite in the complex sense.

Notation

If a Hermitian matrix [math]\displaystyle{ M }[/math] is positive semi-definite, one sometimes writes [math]\displaystyle{ M \succeq 0 }[/math] and if [math]\displaystyle{ M }[/math] is positive-definite one writes [math]\displaystyle{ M \succ 0 }[/math]. To denote that [math]\displaystyle{ M }[/math] is negative semi-definite one writes [math]\displaystyle{ M \preceq 0 }[/math] and to denote that [math]\displaystyle{ M }[/math] is negative-definite one writes [math]\displaystyle{ M \prec 0 }[/math].

The notion comes from functional analysis where positive semidefinite matrices define positive operators. If two matrices [math]\displaystyle{ A }[/math] and [math]\displaystyle{ B }[/math] satisfy [math]\displaystyle{ B - A \succeq 0 }[/math], we can define a non-strict partial order [math]\displaystyle{ B \succeq A }[/math] that is reflexive, antisymmetric, and transitive; It is not a total order, however, as [math]\displaystyle{ B - A }[/math] in general may be indefinite.

A common alternative notation is [math]\displaystyle{ M \geq 0 }[/math], [math]\displaystyle{ M \gt 0 }[/math], [math]\displaystyle{ M \leq 0 }[/math] and [math]\displaystyle{ M \lt 0 }[/math] for positive semi-definite and positive-definite, negative semi-definite and negative-definite matrices, respectively. This may be confusing, as sometimes nonnegative matrices (respectively, nonpositive matrices) are also denoted in this way.

Examples

  • The identity matrix [math]\displaystyle{ I = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} }[/math] is positive-definite (and as such also positive semi-definite). It is a real symmetric matrix, and, for any non-zero column vector z with real entries a and b, one has

    [math]\displaystyle{ \mathbf{z}^\operatorname{T}I\mathbf{z} = \begin{bmatrix} a & b \end{bmatrix} \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} \begin{bmatrix} a \\ b \end{bmatrix} = a^2 + b^2. }[/math] Seen as a complex matrix, for any non-zero column vector z with complex entries a and b one has [math]\displaystyle{ \mathbf{z}^*I\mathbf{z} = \begin{bmatrix} \overline{a} & \overline{b} \end{bmatrix} \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} \begin{bmatrix} a \\ b\end{bmatrix} = \overline{a}a + \overline{b}b = |a|^2 + |b|^2. }[/math]

    Either way, the result is positive since [math]\displaystyle{ \mathbf z }[/math] is not the zero vector (that is, at least one of [math]\displaystyle{ a }[/math] and [math]\displaystyle{ b }[/math] is not zero).
  • The real symmetric matrix [math]\displaystyle{ M = \begin{bmatrix} 2 & -1 & 0 \\ -1 & 2 & -1 \\ 0 & -1 & 2 \end{bmatrix} }[/math] is positive-definite since for any non-zero column vector z with entries a, b and c, we have [math]\displaystyle{ \begin{align} \mathbf{z}^\operatorname{T} M\mathbf{z} = \left(\mathbf{z}^\operatorname{T}M\right) \mathbf{z} &= \begin{bmatrix} (2a - b) & (-a + 2b - c) & (-b + 2c) \end{bmatrix} \begin{bmatrix} a \\ b \\ c \end{bmatrix} \\ &= (2a - b)a + (-a + 2b - c)b + (-b + 2c)c \\ &= 2a^2 - ba - ab + 2b^2 - cb - bc + 2c^2 \\ &= 2a^2 - 2ab + 2b^2 - 2bc + 2c^2 \\ &= a^2 + a^2 - 2ab + b^2 + b^2- 2bc + c^2 + c^2 \\ &= a^2 + (a - b)^2 + (b - c)^2 + c^2 \end{align} }[/math] This result is a sum of squares, and therefore non-negative; and is zero only if [math]\displaystyle{ a = b = c = 0 }[/math], that is, when z is the zero vector.
  • For any real invertible matrix [math]\displaystyle{ A }[/math], the product [math]\displaystyle{ A^\operatorname{T}A }[/math] is a positive definite matrix (if the means of the columns of A are 0, then this is also called the covariance matrix). A simple proof is that for any non-zero vector [math]\displaystyle{ \mathbf z }[/math], the condition [math]\displaystyle{ \mathbf{z}^\operatorname{T} A^\operatorname{T} A\mathbf{z} = (A\mathbf{z})^\operatorname{T}(A\mathbf{z}) = \|A\mathbf{z}\|^2 \gt 0, }[/math] since the invertibility of matrix [math]\displaystyle{ A }[/math] means that [math]\displaystyle{ A\mathbf{z} \neq 0. }[/math]
  • The example [math]\displaystyle{ M }[/math] above shows that a matrix in which some elements are negative may still be positive definite. Conversely, a matrix whose entries are all positive is not necessarily positive definite, as for example [math]\displaystyle{ N = \begin{bmatrix} 1 & 2 \\ 2 & 1 \end{bmatrix}, }[/math] for which [math]\displaystyle{ \begin{bmatrix} -1 & 1 \end{bmatrix}N\begin{bmatrix} -1 & 1 \end{bmatrix}^\operatorname{T} = -2 \lt 0. }[/math]

Eigenvalues

Let [math]\displaystyle{ M }[/math] be an [math]\displaystyle{ n \times n }[/math] Hermitian matrix (this includes real symmetric matrices). All eigenvalues of [math]\displaystyle{ M }[/math] are real, and their sign characterize its definiteness:

  • [math]\displaystyle{ M }[/math] is positive definite if and only if all of its eigenvalues are positive.
  • [math]\displaystyle{ M }[/math] is positive semi-definite if and only if all of its eigenvalues are non-negative.
  • [math]\displaystyle{ M }[/math] is negative definite if and only if all of its eigenvalues are negative
  • [math]\displaystyle{ M }[/math] is negative semi-definite if and only if all of its eigenvalues are non-positive.
  • [math]\displaystyle{ M }[/math] is indefinite if and only if it has both positive and negative eigenvalues.

Let [math]\displaystyle{ PD P^{-1} }[/math] be an eigendecomposition of [math]\displaystyle{ M }[/math], where [math]\displaystyle{ P }[/math] is a unitary complex matrix whose columns comprise an orthonormal basis of eigenvectors of [math]\displaystyle{ M }[/math], and [math]\displaystyle{ D }[/math] is a real diagonal matrix whose main diagonal contains the corresponding eigenvalues. The matrix [math]\displaystyle{ M }[/math] may be regarded as a diagonal matrix [math]\displaystyle{ D }[/math] that has been re-expressed in coordinates of the (eigenvectors) basis [math]\displaystyle{ P }[/math]. Put differently, applying [math]\displaystyle{ M }[/math] to some vector z, giving Mz, is the same as changing the basis to the eigenvector coordinate system using P−1, giving P−1z, applying the stretching transformation D to the result, giving DP−1z, and then changing the basis back using P, giving PDP−1z.

With this in mind, the one-to-one change of variable [math]\displaystyle{ \mathbf{y} = P\mathbf{z} }[/math] shows that [math]\displaystyle{ \mathbf{z}^* M\mathbf{z} }[/math] is real and positive for any complex vector [math]\displaystyle{ \mathbf z }[/math] if and only if [math]\displaystyle{ \mathbf{y}^* D\mathbf{y} }[/math] is real and positive for any [math]\displaystyle{ y }[/math]; in other words, if [math]\displaystyle{ D }[/math] is positive definite. For a diagonal matrix, this is true only if each element of the main diagonal—that is, every eigenvalue of [math]\displaystyle{ M }[/math]—is positive. Since the spectral theorem guarantees all eigenvalues of a Hermitian matrix to be real, the positivity of eigenvalues can be checked using Descartes' rule of alternating signs when the characteristic polynomial of a real, symmetric matrix [math]\displaystyle{ M }[/math] is available.

Decomposition

Let [math]\displaystyle{ M }[/math] be an [math]\displaystyle{ n \times n }[/math] Hermitian matrix. [math]\displaystyle{ M }[/math] is positive semidefinite if and only if it can be decomposed as a product [math]\displaystyle{ M = B^* B }[/math] of a matrix [math]\displaystyle{ B }[/math] with its conjugate transpose.

When [math]\displaystyle{ M }[/math] is real, [math]\displaystyle{ B }[/math] can be real as well and the decomposition can be written as [math]\displaystyle{ M = B^\operatorname{T} B. }[/math]

[math]\displaystyle{ M }[/math] is positive definite if and only if such a decomposition exists with [math]\displaystyle{ B }[/math] invertible. More generally, [math]\displaystyle{ M }[/math] is positive semidefinite with rank [math]\displaystyle{ k }[/math] if and only if a decomposition exists with a [math]\displaystyle{ k \times n }[/math] matrix [math]\displaystyle{ B }[/math] of full row rank (i.e. of rank [math]\displaystyle{ k }[/math]). Moreover, for any decomposition [math]\displaystyle{ M = B^* B }[/math], [math]\displaystyle{ \operatorname{rank}(M) = \operatorname{rank}(B) }[/math].[3]

The columns [math]\displaystyle{ b_1,\dots,b_n }[/math] of [math]\displaystyle{ B }[/math] can be seen as vectors in the complex or real vector space [math]\displaystyle{ \mathbb{R}^k }[/math], respectively. Then the entries of [math]\displaystyle{ M }[/math] are inner products (that is dot products, in the real case) of these vectors [math]\displaystyle{ M_{ij} = \langle b_i, b_j\rangle. }[/math] In other words, a Hermitian matrix [math]\displaystyle{ M }[/math] is positive semidefinite if and only if it is the Gram matrix of some vectors [math]\displaystyle{ b_1,\dots,b_n }[/math]. It is positive definite if and only if it is the Gram matrix of some linearly independent vectors. In general, the rank of the Gram matrix of vectors [math]\displaystyle{ b_1,\dots,b_n }[/math] equals the dimension of the space spanned by these vectors.[4]

Uniqueness up to unitary transformations

The decomposition is not unique: if [math]\displaystyle{ M = B^* B }[/math] for some [math]\displaystyle{ k \times n }[/math] matrix [math]\displaystyle{ B }[/math] and if [math]\displaystyle{ Q }[/math] is any unitary [math]\displaystyle{ k \times k }[/math] matrix (meaning [math]\displaystyle{ Q^* Q = Q Q^* = I }[/math]), then [math]\displaystyle{ M = B^* B = B^* Q^* Q B =A^* A }[/math] for [math]\displaystyle{ A=Q B }[/math].

However, this is the only way in which two decompositions can differ: the decomposition is unique up to unitary transformations. More formally, if [math]\displaystyle{ A }[/math] is a [math]\displaystyle{ k \times n }[/math] matrix and [math]\displaystyle{ B }[/math] is a [math]\displaystyle{ \ell \times n }[/math] matrix such that [math]\displaystyle{ A^* A = B^* B }[/math], then there is a [math]\displaystyle{ \ell \times k }[/math] matrix [math]\displaystyle{ Q }[/math] with orthonormal columns (meaning [math]\displaystyle{ Q^* Q = I_{k \times k} }[/math]) such that [math]\displaystyle{ B = Q A }[/math].[5] When [math]\displaystyle{ \ell = k }[/math] this means [math]\displaystyle{ Q }[/math] is unitary.

This statement has an intuitive geometric interpretation in the real case: let the columns of [math]\displaystyle{ A }[/math] and [math]\displaystyle{ B }[/math] be the vectors [math]\displaystyle{ a_1,\dots,a_n }[/math] and [math]\displaystyle{ b_1,\dots,b_n }[/math] in [math]\displaystyle{ \mathbb{R}^k }[/math]. A real unitary matrix is an orthogonal matrix, which describes a rigid transformation (an isometry of Euclidean space [math]\displaystyle{ \mathbb{R}^k }[/math]) preserving the 0 point (i.e. rotations and reflections, without translations). Therefore, the dot products [math]\displaystyle{ a_i \cdot a_j }[/math] and [math]\displaystyle{ b_i \cdot b_j }[/math] are equal if and only if some rigid transformation of [math]\displaystyle{ \mathbb{R}^k }[/math] transforms the vectors [math]\displaystyle{ a_1,\dots,a_n }[/math] to [math]\displaystyle{ b_1,\dots,b_n }[/math] (and 0 to 0).

Square root

Main page: Square root of a matrix

A Hermitian matrix [math]\displaystyle{ M }[/math] is positive semidefinite if and only if there is a positive semidefinite matrix [math]\displaystyle{ B }[/math] (in particular [math]\displaystyle{ B }[/math] is Hermitian, so [math]\displaystyle{ B^* = B }[/math]) satisfying [math]\displaystyle{ M = B B }[/math]. This matrix [math]\displaystyle{ B }[/math] is unique,[6] is called the non-negative square root of [math]\displaystyle{ M }[/math], and is denoted with [math]\displaystyle{ B = M^\frac{1}{2} }[/math]. When [math]\displaystyle{ M }[/math] is positive definite, so is [math]\displaystyle{ M^\frac{1}{2} }[/math], hence it is also called the positive square root of [math]\displaystyle{ M }[/math].

The non-negative square root should not be confused with other decompositions [math]\displaystyle{ M = B^*B }[/math]. Some authors use the name square root and [math]\displaystyle{ M^\frac{1}{2} }[/math] for any such decomposition, or specifically for the Cholesky decomposition, or any decomposition of the form [math]\displaystyle{ M = B B }[/math]; others only use it for the non-negative square root.

If [math]\displaystyle{ M \gt N \gt 0 }[/math] then [math]\displaystyle{ M^\frac{1}{2} \gt N^\frac{1}{2} \gt 0 }[/math].

Cholesky decomposition

A Hermitian positive semidefinite matrix [math]\displaystyle{ M }[/math] can be written as [math]\displaystyle{ M = LL^* }[/math], where [math]\displaystyle{ L }[/math] is lower triangular with non-negative diagonal (equivalently [math]\displaystyle{ M = B^*B }[/math] where [math]\displaystyle{ B=L^* }[/math] is upper triangular); this is the Cholesky decomposition. If [math]\displaystyle{ M }[/math] is positive definite, then the diagonal of [math]\displaystyle{ L }[/math] is positive and the Cholesky decomposition is unique. Conversely if [math]\displaystyle{ L }[/math] is lower triangular with nonnegative diagonal then [math]\displaystyle{ LL^* }[/math] is positive semidefinite. The Cholesky decomposition is especially useful for efficient numerical calculations. A closely related decomposition is the LDL decomposition, [math]\displaystyle{ M = L D L^* }[/math], where [math]\displaystyle{ D }[/math] is diagonal and [math]\displaystyle{ L }[/math] is lower unitriangular.

Other characterizations

Let [math]\displaystyle{ M }[/math] be an [math]\displaystyle{ n \times n }[/math] real symmetric matrix, and let [math]\displaystyle{ B_1(M) := \{x\in \R^n : x^\operatorname{T} M x \leq 1\} }[/math] be the "unit ball" defined by [math]\displaystyle{ M }[/math]. Then we have the following

  • [math]\displaystyle{ B_1(vv^\operatorname{T}) }[/math] is a solid slab sandwiched between [math]\displaystyle{ \pm \{w: \langle w, v\rangle = 1\} }[/math].
  • [math]\displaystyle{ M\succeq 0 }[/math] if and only if [math]\displaystyle{ B_1(M) }[/math] is an ellipsoid, or an ellipsoidal cylinder.
  • [math]\displaystyle{ M\succ 0 }[/math] if and only if [math]\displaystyle{ B_1(M) }[/math] is bounded, that is, it is an ellipsoid.
  • If [math]\displaystyle{ N\succ 0 }[/math], then [math]\displaystyle{ M \succeq N }[/math] if and only if [math]\displaystyle{ B_1(M) \subseteq B_1(N) }[/math]; [math]\displaystyle{ M \succ N }[/math] if and only if [math]\displaystyle{ B_1(M) \subseteq \operatorname{int}(B_1(N)) }[/math].
  • If [math]\displaystyle{ N\succ 0 }[/math] , then [math]\displaystyle{ M \succeq \frac{vv^\operatorname{T}}{v^\operatorname{T} N v} }[/math] for all [math]\displaystyle{ v \neq 0 }[/math] if and only if [math]\displaystyle{ B_1(M) \subset \bigcap_{v^\operatorname{T} N v = 1} B_1(vv^\operatorname{T}) }[/math]. So, since the polar dual of an ellipsoid is also an ellipsoid with the same principal axes, with inverse lengths, we have [math]\displaystyle{ B_1(N^{-1}) = \bigcap_{v^\operatorname{T} N v = 1} B_1(vv^\operatorname{T}) = \bigcap_{v^\operatorname{T} N v = 1}\{w: |\langle w, v\rangle| \leq 1\} }[/math] That is, if [math]\displaystyle{ N }[/math] is positive-definite, then [math]\displaystyle{ M \succeq \frac{vv^\operatorname{T}}{v^\operatorname{T} N v} }[/math] for all [math]\displaystyle{ v\neq 0 }[/math] if and only if [math]\displaystyle{ M \succeq N^{-1} }[/math]

Let [math]\displaystyle{ M }[/math] be an [math]\displaystyle{ n \times n }[/math] Hermitian matrix. The following properties are equivalent to [math]\displaystyle{ M }[/math] being positive definite:

The associated sesquilinear form is an inner product
The sesquilinear form defined by [math]\displaystyle{ M }[/math] is the function [math]\displaystyle{ \langle \cdot, \cdot\rangle }[/math] from [math]\displaystyle{ \Complex^n \times \Complex^n }[/math] to [math]\displaystyle{ \Complex^n }[/math] such that [math]\displaystyle{ \langle x, y \rangle := y^*M x }[/math] for all [math]\displaystyle{ x }[/math] and [math]\displaystyle{ y }[/math] in [math]\displaystyle{ \Complex^n }[/math], where [math]\displaystyle{ y^* }[/math] is the conjugate transpose of [math]\displaystyle{ y }[/math]. For any complex matrix [math]\displaystyle{ M }[/math], this form is linear in [math]\displaystyle{ x }[/math] and semilinear in [math]\displaystyle{ y }[/math]. Therefore, the form is an inner product on [math]\displaystyle{ \Complex^n }[/math] if and only if [math]\displaystyle{ \langle z, z \rangle }[/math] is real and positive for all nonzero [math]\displaystyle{ z }[/math]; that is if and only if [math]\displaystyle{ M }[/math] is positive definite. (In fact, every inner product on [math]\displaystyle{ \Complex^n }[/math] arises in this fashion from a Hermitian positive definite matrix.)
Its leading principal minors are all positive
The kth leading principal minor of a matrix [math]\displaystyle{ M }[/math] is the determinant of its upper-left [math]\displaystyle{ k \times k }[/math] sub-matrix. It turns out that a matrix is positive definite if and only if all these determinants are positive. This condition is known as Sylvester's criterion, and provides an efficient test of positive definiteness of a symmetric real matrix. Namely, the matrix is reduced to an upper triangular matrix by using elementary row operations, as in the first part of the Gaussian elimination method, taking care to preserve the sign of its determinant during pivoting process. Since the kth leading principal minor of a triangular matrix is the product of its diagonal elements up to row [math]\displaystyle{ k }[/math], Sylvester's criterion is equivalent to checking whether its diagonal elements are all positive. This condition can be checked each time a new row [math]\displaystyle{ k }[/math] of the triangular matrix is obtained.

A positive semidefinite matrix is positive definite if and only if it is invertible.[7] A matrix [math]\displaystyle{ M }[/math] is negative (semi)definite if and only if [math]\displaystyle{ -M }[/math] is positive (semi)definite.

Quadratic forms

Main page: Definite quadratic form

The (purely) quadratic form associated with a real [math]\displaystyle{ n \times n }[/math] matrix [math]\displaystyle{ M }[/math] is the function [math]\displaystyle{ Q : \mathbb{R}^n \to \mathbb{R} }[/math] such that [math]\displaystyle{ Q(x) = x^\operatorname{T} Mx }[/math] for all [math]\displaystyle{ x }[/math]. [math]\displaystyle{ M }[/math] can be assumed symmetric by replacing it with [math]\displaystyle{ \tfrac{1}{2} \left(M + M^\operatorname{T}\right) }[/math].

A symmetric matrix [math]\displaystyle{ M }[/math] is positive definite if and only if its quadratic form is a strictly convex function.

More generally, any quadratic function from [math]\displaystyle{ \mathbb{R}^n }[/math] to [math]\displaystyle{ \mathbb{R} }[/math] can be written as [math]\displaystyle{ x^\operatorname{T} Mx + x^\operatorname{T} b + c }[/math] where [math]\displaystyle{ M }[/math] is a symmetric [math]\displaystyle{ n \times n }[/math] matrix, [math]\displaystyle{ b }[/math] is a real [math]\displaystyle{ n }[/math]-vector, and [math]\displaystyle{ c }[/math] a real constant. In the [math]\displaystyle{ n=1 }[/math] case, this is a parabola, and just like in the [math]\displaystyle{ n=1 }[/math] case, we have

Theorem: This quadratic function is strictly convex, and hence has a unique finite global minimum, if and only if [math]\displaystyle{ M }[/math] is positive definite.

Proof: If [math]\displaystyle{ M }[/math] is positive definite, then the function is strictly convex. Its gradient is zero at the unique point of [math]\displaystyle{ M^{-1}b }[/math], which must be the global minimum since the function is strictly convex. If [math]\displaystyle{ M }[/math] is not positive definite, then there exists some vector [math]\displaystyle{ v }[/math] such that [math]\displaystyle{ v^\operatorname{T} M v \leq 0 }[/math], so the function [math]\displaystyle{ f(t) := (vt)^\operatorname{T} M (vt) + b^\operatorname{T} (vt) + c }[/math] is a line or a downward parabola, thus not strictly convex and not having a global minimum.

For this reason, positive definite matrices play an important role in optimization problems.

Simultaneous diagonalization

One symmetric matrix and another matrix that is both symmetric and positive definite can be simultaneously diagonalized. This is so although simultaneous diagonalization is not necessarily performed with a similarity transformation. This result does not extend to the case of three or more matrices. In this section we write for the real case. Extension to the complex case is immediate.

Let [math]\displaystyle{ M }[/math] be a symmetric and [math]\displaystyle{ N }[/math] a symmetric and positive definite matrix. Write the generalized eigenvalue equation as [math]\displaystyle{ \left(M - \lambda N\right)\mathbf{x} = 0 }[/math] where we impose that [math]\displaystyle{ x }[/math] be normalized, i.e. [math]\displaystyle{ \mathbf{x}^\operatorname{T} N\mathbf{x} = 1 }[/math]. Now we use Cholesky decomposition to write the inverse of [math]\displaystyle{ N }[/math] as [math]\displaystyle{ Q^\operatorname{T} Q }[/math]. Multiplying by [math]\displaystyle{ Q }[/math] and letting [math]\displaystyle{ \mathbf{x} = Q^\operatorname{T} \mathbf{y} }[/math], we get [math]\displaystyle{ Q\left(M - \lambda N\right)Q^\operatorname{T} \mathbf{y} = 0 }[/math], which can be rewritten as [math]\displaystyle{ \left(QMQ^\operatorname{T}\right)\mathbf{y} = \lambda \mathbf{y} }[/math] where [math]\displaystyle{ \mathbf{y}^\operatorname{T} \mathbf{y} = 1 }[/math]. Manipulation now yields [math]\displaystyle{ MX = NX\Lambda }[/math] where [math]\displaystyle{ X }[/math] is a matrix having as columns the generalized eigenvectors and [math]\displaystyle{ \Lambda }[/math] is a diagonal matrix of the generalized eigenvalues. Now premultiplication with [math]\displaystyle{ X^\operatorname{T} }[/math] gives the final result: [math]\displaystyle{ X^\operatorname{T} MX = \Lambda }[/math] and [math]\displaystyle{ X^\operatorname{T} NX = I }[/math], but note that this is no longer an orthogonal diagonalization with respect to the inner product where [math]\displaystyle{ \mathbf{y}^\operatorname{T} \mathbf{y} = 1 }[/math]. In fact, we diagonalized [math]\displaystyle{ M }[/math] with respect to the inner product induced by [math]\displaystyle{ N }[/math].[8]

Note that this result does not contradict what is said on simultaneous diagonalization in the article Diagonalizable matrix, which refers to simultaneous diagonalization by a similarity transformation. Our result here is more akin to a simultaneous diagonalization of two quadratic forms, and is useful for optimization of one form under conditions on the other.

Properties

Induced partial ordering

For arbitrary square matrices [math]\displaystyle{ M }[/math], [math]\displaystyle{ N }[/math] we write [math]\displaystyle{ M \ge N }[/math] if [math]\displaystyle{ M - N \ge 0 }[/math] i.e., [math]\displaystyle{ M - N }[/math] is positive semi-definite. This defines a partial ordering on the set of all square matrices. One can similarly define a strict partial ordering [math]\displaystyle{ M \gt N }[/math]. The ordering is called the Loewner order.

Inverse of positive definite matrix

Every positive definite matrix is invertible and its inverse is also positive definite.[9] If [math]\displaystyle{ M \geq N \gt 0 }[/math] then [math]\displaystyle{ N^{-1} \geq M^{-1} \gt 0 }[/math].[10] Moreover, by the min-max theorem, the kth largest eigenvalue of [math]\displaystyle{ M }[/math] is greater than or equal to the kth largest eigenvalue of [math]\displaystyle{ N }[/math].

Scaling

If [math]\displaystyle{ M }[/math] is positive definite and [math]\displaystyle{ r \gt 0 }[/math] is a real number, then [math]\displaystyle{ r M }[/math] is positive definite.[11]

Addition

  • If [math]\displaystyle{ M }[/math] and [math]\displaystyle{ N }[/math] are positive-definite, then the sum [math]\displaystyle{ M + N }[/math] is also positive-definite.[11]
  • If [math]\displaystyle{ M }[/math] and [math]\displaystyle{ N }[/math] are positive-semidefinite, then the sum [math]\displaystyle{ M + N }[/math] is also positive-semidefinite.
  • If [math]\displaystyle{ M }[/math] is positive-definite and [math]\displaystyle{ N }[/math] is positive-semidefinite, then the sum [math]\displaystyle{ M + N }[/math] is also positive-definite.

Multiplication

  • If [math]\displaystyle{ M }[/math] and [math]\displaystyle{ N }[/math] are positive definite, then the products [math]\displaystyle{ MNM }[/math] and [math]\displaystyle{ NMN }[/math] are also positive definite. If [math]\displaystyle{ MN = NM }[/math], then [math]\displaystyle{ MN }[/math] is also positive definite.
  • If [math]\displaystyle{ M }[/math] is positive semidefinite, then [math]\displaystyle{ A^* MA }[/math] is positive semidefinite for any (possibly rectangular) matrix [math]\displaystyle{ A }[/math]. If [math]\displaystyle{ M }[/math] is positive definite and [math]\displaystyle{ A }[/math] has full column rank, then [math]\displaystyle{ A^* M A }[/math] is positive definite.[12]

Trace

The diagonal entries [math]\displaystyle{ m_{ii} }[/math] of a positive-semidefinite matrix are real and non-negative. As a consequence the trace, [math]\displaystyle{ \operatorname{tr}(M)\ge0 }[/math]. Furthermore,[13] since every principal sub-matrix (in particular, 2-by-2) is positive semidefinite, [math]\displaystyle{ \left|m_{ij}\right| \leq \sqrt{m_{ii}m_{jj}} \quad \forall i, j }[/math]

and thus, when [math]\displaystyle{ n \ge 1 }[/math], [math]\displaystyle{ \max_{i,j} \left|m_{ij}\right| \leq \max_i m_{ii} }[/math]

An [math]\displaystyle{ n \times n }[/math] Hermitian matrix [math]\displaystyle{ M }[/math] is positive definite if it satisfies the following trace inequalities:[14] [math]\displaystyle{ \operatorname{tr}(M) \gt 0 \quad \mathrm{and} \quad \frac{(\operatorname{tr}(M))^2}{\operatorname{tr}(M^2)} \gt n-1. }[/math]

Another important result is that for any [math]\displaystyle{ M }[/math] and [math]\displaystyle{ N }[/math] positive-semidefinite matrices, [math]\displaystyle{ \operatorname{tr}(MN) \ge 0 }[/math]. This follows by writing [math]\displaystyle{ \operatorname{tr}(MN) = \operatorname{tr}(M^\frac{1}{2}N M^\frac{1}{2}) }[/math]. The matrix [math]\displaystyle{ M^\frac{1}{2}N M^\frac{1}{2} }[/math] is positive-semidefinite and thus has non-negative eigenvalues, whose sum, the trace, is therefore also non-negative.

Hadamard product

If [math]\displaystyle{ M, N \geq 0 }[/math], although [math]\displaystyle{ MN }[/math] is not necessary positive semidefinite, the Hadamard product is, [math]\displaystyle{ M \circ N \geq 0 }[/math] (this result is often called the Schur product theorem).[15]

Regarding the Hadamard product of two positive semidefinite matrices [math]\displaystyle{ M = (m_{ij}) \geq 0 }[/math], [math]\displaystyle{ N \geq 0 }[/math], there are two notable inequalities:

  • Oppenheim's inequality: [math]\displaystyle{ \det(M \circ N) \geq \det (N) \prod\nolimits_i m_{ii}. }[/math][16]
  • [math]\displaystyle{ \det(M \circ N) \geq \det(M) \det(N) }[/math].[17]

Kronecker product

If [math]\displaystyle{ M, N \geq 0 }[/math], although [math]\displaystyle{ MN }[/math] is not necessary positive semidefinite, the Kronecker product [math]\displaystyle{ M \otimes N \geq 0 }[/math].

Frobenius product

If [math]\displaystyle{ M, N \geq 0 }[/math], although [math]\displaystyle{ MN }[/math] is not necessary positive semidefinite, the Frobenius inner product [math]\displaystyle{ M : N \geq 0 }[/math] (Lancaster–Tismenetsky, The Theory of Matrices, p. 218).

Convexity

The set of positive semidefinite symmetric matrices is convex. That is, if [math]\displaystyle{ M }[/math] and [math]\displaystyle{ N }[/math] are positive semidefinite, then for any [math]\displaystyle{ \alpha }[/math] between 0 and 1, [math]\displaystyle{ \alpha M + \left(1 - \alpha\right) N }[/math] is also positive semidefinite. For any vector [math]\displaystyle{ \mathbf x }[/math]: [math]\displaystyle{ \mathbf{x}^\operatorname{T} \left(\alpha M + \left(1 - \alpha\right)N\right)\mathbf{x} = \alpha \mathbf{x}^\operatorname{T} M\mathbf{x} + (1 - \alpha) \mathbf{x}^\operatorname{T} N\mathbf{x} \geq 0. }[/math]

This property guarantees that semidefinite programming problems converge to a globally optimal solution.

Relation with cosine

The positive-definiteness of a matrix [math]\displaystyle{ A }[/math] expresses that the angle [math]\displaystyle{ \theta }[/math] between any vector [math]\displaystyle{ \mathbf x }[/math] and its image [math]\displaystyle{ A\mathbf{x} }[/math] is always [math]\displaystyle{ -\pi / 2 \lt \theta \lt +\pi / 2 }[/math]:

[math]\displaystyle{ \cos\theta = \frac{\mathbf{x}^{T}A\mathbf{x}}{\lVert \mathbf{x} \rVert \lVert A\mathbf{x} \rVert}=\frac{\langle \mathbf{x}, A\mathbf{x} \rangle}{\lVert \mathbf{x} \rVert \lVert A\mathbf{x} \rVert} , \theta=\theta(\mathbf{x},A\mathbf{x})=\widehat{\mathbf{x},A\mathbf{x}}= \text{the angle between } \mathbf{x} \text{ and } A\mathbf{x} }[/math]

Further properties

  1. If [math]\displaystyle{ M }[/math] is a symmetric Toeplitz matrix, i.e. the entries [math]\displaystyle{ m_{ij} }[/math] are given as a function of their absolute index differences: [math]\displaystyle{ m_{ij} = h(|i-j|) }[/math], and the strict inequality [math]\displaystyle{ \sum_{j \neq 0} \left|h(j)\right| \lt h(0) }[/math] holds, then [math]\displaystyle{ M }[/math] is strictly positive definite.
  2. Let [math]\displaystyle{ M \gt 0 }[/math] and [math]\displaystyle{ N }[/math] Hermitian. If [math]\displaystyle{ MN + NM \ge 0 }[/math] (resp., [math]\displaystyle{ MN + NM \gt 0 }[/math]) then [math]\displaystyle{ N \ge 0 }[/math] (resp., [math]\displaystyle{ N \gt 0 }[/math]).[18]
  3. If [math]\displaystyle{ M \gt 0 }[/math] is real, then there is a [math]\displaystyle{ \delta \gt 0 }[/math] such that [math]\displaystyle{ M\gt \delta I }[/math], where [math]\displaystyle{ I }[/math] is the identity matrix.
  4. If [math]\displaystyle{ M_k }[/math] denotes the leading [math]\displaystyle{ k \times k }[/math] minor, [math]\displaystyle{ \det\left(M_k\right)/\det\left(M_{k-1}\right) }[/math] is the kth pivot during LU decomposition.
  5. A matrix is negative definite if its k-th order leading principal minor is negative when [math]\displaystyle{ k }[/math] is odd, and positive when [math]\displaystyle{ k }[/math] is even.
  6. If [math]\displaystyle{ M }[/math] is a real positive definite matrix, then there exists a positive real number [math]\displaystyle{ m }[/math] such that for every vector [math]\displaystyle{ \mathbf{v} }[/math], [math]\displaystyle{ \mathbf{v}^\operatorname{T} M \mathbf{v}\geq m\|\mathbf{v}\|_2^2 }[/math].
  7. A Hermitian matrix is positive semidefinite if and only if all of its principal minors are nonnegative. It is however not enough to consider the leading principal minors only, as is checked on the diagonal matrix with entries 0 and −1.

Block matrices and submatrices

A positive [math]\displaystyle{ 2n \times 2n }[/math] matrix may also be defined by blocks: [math]\displaystyle{ M = \begin{bmatrix} A & B \\ C & D \end{bmatrix} }[/math]

where each block is [math]\displaystyle{ n \times n }[/math]. By applying the positivity condition, it immediately follows that [math]\displaystyle{ A }[/math] and [math]\displaystyle{ D }[/math] are hermitian, and [math]\displaystyle{ C = B^* }[/math].

We have that [math]\displaystyle{ \mathbf{z}^* M\mathbf{z} \ge 0 }[/math] for all complex [math]\displaystyle{ \mathbf z }[/math], and in particular for [math]\displaystyle{ \mathbf{z} = [\mathbf{v}, 0]^\operatorname{T} }[/math]. Then [math]\displaystyle{ \begin{bmatrix} \mathbf{v}^* & 0 \end{bmatrix} \begin{bmatrix} A & B \\ B^* & D \end{bmatrix} \begin{bmatrix} \mathbf{v} \\ 0 \end{bmatrix} = \mathbf{v}^* A\mathbf{v} \ge 0. }[/math]

A similar argument can be applied to [math]\displaystyle{ D }[/math], and thus we conclude that both [math]\displaystyle{ A }[/math] and [math]\displaystyle{ D }[/math] must be positive definite. The argument can be extended to show that any principal submatrix of [math]\displaystyle{ M }[/math] is itself positive definite.

Converse results can be proved with stronger conditions on the blocks, for instance, using the Schur complement.

Local extrema

A general quadratic form [math]\displaystyle{ f(\mathbf{x}) }[/math] on [math]\displaystyle{ n }[/math] real variables [math]\displaystyle{ x_1, \ldots, x_n }[/math] can always be written as [math]\displaystyle{ \mathbf{x}^\operatorname{T} M \mathbf{x} }[/math] where [math]\displaystyle{ \mathbf{x} }[/math] is the column vector with those variables, and [math]\displaystyle{ M }[/math] is a symmetric real matrix. Therefore, the matrix being positive definite means that [math]\displaystyle{ f }[/math] has a unique minimum (zero) when [math]\displaystyle{ \mathbf{x} }[/math] is zero, and is strictly positive for any other [math]\displaystyle{ \mathbf{x} }[/math].

More generally, a twice-differentiable real function [math]\displaystyle{ f }[/math] on [math]\displaystyle{ n }[/math] real variables has local minimum at arguments [math]\displaystyle{ x_1, \ldots, x_n }[/math] if its gradient is zero and its Hessian (the matrix of all second derivatives) is positive semi-definite at that point. Similar statements can be made for negative definite and semi-definite matrices.

Covariance

In statistics, the covariance matrix of a multivariate probability distribution is always positive semi-definite; and it is positive definite unless one variable is an exact linear function of the others. Conversely, every positive semi-definite matrix is the covariance matrix of some multivariate distribution.

Extension for non-Hermitian square matrices

The definition of positive definite can be generalized by designating any complex matrix [math]\displaystyle{ M }[/math] (e.g. real non-symmetric) as positive definite if [math]\displaystyle{ \Re\left(\mathbf{z}^* M\mathbf{z}\right) \gt 0 }[/math] for all non-zero complex vectors [math]\displaystyle{ \mathbf z }[/math], where [math]\displaystyle{ \Re(c) }[/math] denotes the real part of a complex number [math]\displaystyle{ c }[/math].[19] Only the Hermitian part [math]\displaystyle{ \frac{1}{2}\left(M + M^*\right) }[/math] determines whether the matrix is positive definite, and is assessed in the narrower sense above. Similarly, if [math]\displaystyle{ \mathbf x }[/math] and [math]\displaystyle{ M }[/math] are real, we have [math]\displaystyle{ \mathbf{x}^\operatorname{T} M \mathbf{x} \gt 0 }[/math] for all real nonzero vectors [math]\displaystyle{ \mathbf x }[/math] if and only if the symmetric part [math]\displaystyle{ \frac{1}{2}\left(M + M^\operatorname{T}\right) }[/math] is positive definite in the narrower sense. It is immediately clear that [math]\displaystyle{ \mathbf{x}^\operatorname{T} M \mathbf{x} = \sum_{ij} x_i M_{ij} x_j }[/math]is insensitive to transposition of M.

Consequently, a non-symmetric real matrix with only positive eigenvalues does not need to be positive definite. For example, the matrix [math]\displaystyle{ M = \left[\begin{smallmatrix} 4 & 9 \\ 1 & 4 \end{smallmatrix}\right] }[/math] has positive eigenvalues yet is not positive definite; in particular a negative value of [math]\displaystyle{ \mathbf{x}^\operatorname{T} M\mathbf{x} }[/math] is obtained with the choice [math]\displaystyle{ \mathbf{x} = \left[\begin{smallmatrix} -1 \\ 1 \end{smallmatrix}\right] }[/math] (which is the eigenvector associated with the negative eigenvalue of the symmetric part of [math]\displaystyle{ M }[/math]).

In summary, the distinguishing feature between the real and complex case is that, a bounded positive operator on a complex Hilbert space is necessarily Hermitian, or self adjoint. The general claim can be argued using the polarization identity. That is no longer true in the real case.

Applications

Heat conductivity matrix

Fourier's law of heat conduction, giving heat flux [math]\displaystyle{ \mathbf q }[/math] in terms of the temperature gradient [math]\displaystyle{ \mathbf g = \nabla T }[/math] is written for anisotropic media as [math]\displaystyle{ \mathbf{q} = -K\mathbf{g} }[/math], in which [math]\displaystyle{ K }[/math] is the symmetric thermal conductivity matrix. The negative is inserted in Fourier's law to reflect the expectation that heat will always flow from hot to cold. In other words, since the temperature gradient [math]\displaystyle{ \mathbf g }[/math] always points from cold to hot, the heat flux [math]\displaystyle{ \mathbf q }[/math] is expected to have a negative inner product with [math]\displaystyle{ \mathbf g }[/math] so that [math]\displaystyle{ \mathbf{q}^\operatorname{T}\mathbf{g} \lt 0 }[/math]. Substituting Fourier's law then gives this expectation as [math]\displaystyle{ \mathbf{g}^\operatorname{T}K\mathbf{g} \gt 0 }[/math], implying that the conductivity matrix should be positive definite.

See also

Notes

  1. "Appendix C: Positive Semidefinite and Positive Definite Matrices". Parameter Estimation for Scientists and Engineers: 259–263. doi:10.1002/9780470173862.app3. 
  2. Boyd, Stephen; Vandenberghe, Lieven (2004-03-08). Convex Optimization. Cambridge University Press. ISBN 978-0-521-83378-3. http://dx.doi.org/10.1017/cbo9780511804441. 
  3. (Horn Johnson), p. 440, Theorem 7.2.7
  4. (Horn Johnson), p. 441, Theorem 7.2.10
  5. (Horn Johnson), p. 452, Theorem 7.3.11
  6. (Horn Johnson), p. 439, Theorem 7.2.6 with [math]\displaystyle{ k = 2 }[/math]
  7. (Horn Johnson), p. 431, Corollary 7.1.7
  8. (Horn Johnson), p. 485, Theorem 7.6.1
  9. (Horn Johnson), p. 438, Theorem 7.2.1
  10. (Horn Johnson), p. 495, Corollary 7.7.4(a)
  11. 11.0 11.1 (Horn Johnson), p. 430, Observation 7.1.3
  12. (Horn Johnson), p. 431, Observation 7.1.8
  13. (Horn Johnson), p. 430
  14. Wolkowicz, Henry; Styan, George P.H. (1980). "Bounds for Eigenvalues using Traces". Linear Algebra and its Applications (Elsevier) (29): 471–506. 
  15. (Horn Johnson), p. 479, Theorem 7.5.3
  16. (Horn Johnson), p. 509, Theorem 7.8.16
  17. Styan, G. P. (1973). "Hadamard products and multivariate statistical analysis". Linear Algebra and Its Applications 6: 217–240. , Corollary 3.6, p. 227
  18. Bhatia, Rajendra (2007). Positive Definite Matrices. Princeton, New Jersey: Princeton University Press. pp. 8. ISBN 978-0-691-12918-1. 
  19. Weisstein, Eric W. Positive Definite Matrix. From MathWorld--A Wolfram Web Resource. Accessed on 2012-07-26

References

External links

de:Definitheit#Definitheit von Matrizen