Positive Definiteness

Positive Definite Quadratic Forms

Definition of a Positive Definite Quadratic Form

Positive Definite Quadratic Form

Let Q(x)Q(x) be a quadratic form in nn variables. If for every nonzero vector xx we have Q(x)>0Q(x) > 0

then Q(x)Q(x) is called a positive definite quadratic form.

Definition of a Positive Definite Matrix

Positive Definite Matrix

Let AA be a real symmetric matrix of order nn. If for every nonzero vector xx we have xTAx>0x^TAx > 0

then AA is called a positive definite matrix.

Examples of Positive Definite Quadratic Forms

Example 1: Q(x1,x2)=x12+2x22Q(x_1, x_2) = x_1^2 + 2x_2^2 is a positive definite quadratic form.

Example 2: Q(x1,x2,x3)=x12+x22+x32Q(x_1, x_2, x_3) = x_1^2 + x_2^2 + x_3^2 is a positive definite quadratic form.

Criteria for Positive Definiteness

The Eigenvalue Criterion

Eigenvalue Criterion

A real symmetric matrix AA is positive definite if and only if all of its eigenvalues are positive.

Proof

Proof:

  • Sufficiency: Suppose all eigenvalues of AA are positive. Then by orthogonal diagonalisation A=QDQTA = QDQ^T, where the diagonal entries of DD are positive. For any nonzero vector xx, xTAx=xTQDQTx=yTDy>0x^TAx = x^TQDQ^Tx = y^TDy > 0, where y=QTxy = Q^Tx.
  • Necessity: Suppose AA is positive definite, λ\lambda is an eigenvalue of AA, and x⃗\vec{x} is the corresponding eigenvector. Then 0<x⃗TAx⃗=λx⃗Tx⃗0 < \vec{x}^TA\vec{x} = \lambda\vec{x}^T\vec{x}, so λ>0\lambda > 0.

The Leading Principal Minor Criterion

Leading Principal Minor Criterion

A real symmetric matrix AA is positive definite if and only if all of its leading principal minors are positive.

Leading Principal Minor

Let A=(aij)A = (a_{ij}) be a matrix of order nn. Then

  • A1=a11A_1 = a_{11}
  • A2=∣a11a12a21a22∣A_2 = \begin{vmatrix} a_{11} & a_{12} \\ a_{21} & a_{22} \end{vmatrix}
  • …\dots
  • An=∣A∣A_n = |A|

are called the leading principal minors of AA.

Comparing the Two Criteria

CriterionAdvantageDrawback
Eigenvalue criterionTheoretically completeComputationally involved
Leading principal minor criterionEasy to computeOnly applies to real symmetric matrices

Negative Definiteness and Semidefiniteness

Negative Definite Quadratic Forms

Negative Definite Quadratic Form

Let Q(x)Q(x) be a quadratic form in nn variables. If for every nonzero vector xx we have Q(x)<0Q(x) < 0

then Q(x)Q(x) is called a negative definite quadratic form.

Positive Semidefinite Quadratic Forms

Positive Semidefinite Quadratic Form

Let Q(x)Q(x) be a quadratic form in nn variables. If for every vector xx we have Q(x)≥0Q(x) \geq 0

then Q(x)Q(x) is called a positive semidefinite quadratic form.

Negative Semidefinite Quadratic Forms

Negative Semidefinite Quadratic Form

Let Q(x)Q(x) be a quadratic form in nn variables. If for every vector xx we have Q(x)≤0Q(x) \leq 0

then Q(x)Q(x) is called a negative semidefinite quadratic form.

Indefinite Quadratic Forms

Indefinite Quadratic Form

A quadratic form that is neither positive definite nor negative definite is called an indefinite quadratic form.

Applications of Positive Definiteness

Applications in Optimisation

Application 1: optimising a quadratic function Let f(x)=12xTAx+bTx+cf(x) = \frac{1}{2}x^TAx + b^Tx + c, where AA is a positive definite matrix. Then f(x)f(x) has a unique minimiser.

Application 2: Newton’s method In Newton’s method, the algorithm converges when the Hessian matrix is positive definite.

Applications in Geometry

Application 3: ellipsoids A positive definite quadratic form Q(x)=xTAxQ(x) = x^TAx describes an ellipsoid.

Application 4: distance metrics A positive definite matrix can be used to define a distance metric.

Applications in Numerical Analysis

Application 5: matrix factorisation A positive definite matrix admits a Cholesky decomposition: A=LLTA = LL^T, where LL is a lower triangular matrix.

Properties of Positive Definite Matrices

Basic Properties

Property 1: The determinant of a positive definite matrix is positive.

Property 2: The main diagonal entries of a positive definite matrix are all positive.

Property 3: The inverse of a positive definite matrix is also positive definite.

Property 4: The sum of two positive definite matrices is also positive definite.

Proofs

Proof of Property 1: Let AA be a positive definite matrix. All eigenvalues of AA are positive, so ∣A∣=∏i=1nλi>0|A| = \prod_{i=1}^n \lambda_i > 0.

Proof of Property 2: Let AA be a positive definite matrix and let eie_i be the ii-th standard basis vector. Then 0<eiTAei=aii0 < e_i^TAe_i = a_{ii}.

Exercises

Exercise 1

Decide whether the quadratic form Q(x1,x2)=x12+2x22Q(x_1,x_2) = x_1^2 + 2x_2^2 is positive definite.

positive definitenessquadratic formsymmetric matrix

Approach: Check the sign of the quadratic expression for an arbitrary nonzero vector, using the matrix representation to keep the computation short.

Steps:

  1. Matrix representation: A=(1002)A = \begin{pmatrix} 1 & 0 \\ 0 & 2 \end{pmatrix}
  2. For any nonzero vector x=(x1x2)x = \begin{pmatrix} x_1 \\ x_2 \end{pmatrix}, Q(x)=x12+2x22>0Q(x) = x_1^2 + 2x_2^2 > 0
  3. Hence the form is positive definite

Answer:It is a positive definite quadratic form

Exercise 2

Decide whether the matrix A=(2112)A = \begin{pmatrix} 2 & 1 \\ 1 & 2 \end{pmatrix} is positive definite.

positive definitenesseigenvalue criterionleading principal minors

Approach: Use the eigenvalue criterion and the leading principal minor criterion; either one settles the question, and computing both is a useful consistency check.

Steps:

  1. Method one: compute the eigenvalues
    • Characteristic equation: ∣A−λI∣=λ2−4λ+3=0|A - \lambda I| = \lambda^2 - 4\lambda + 3 = 0
    • Eigenvalues: λ1=1\lambda_1 = 1, λ2=3\lambda_2 = 3, both positive
  2. Method two: check the leading principal minors
    • ∣A1∣=2>0|A_1| = 2 > 0
    • ∣A2∣=3>0|A_2| = 3 > 0

Answer:It is a positive definite matrix

Exercise 3

Decide the positive definiteness of the quadratic form Q(x1,x2)=−x12−2x22Q(x_1, x_2) = -x_1^2 - 2x_2^2.

positive definitenessnegative definitenessquadratic form

Approach: Evaluate the sign of the form on an arbitrary nonzero vector; a sign that is always negative settles the classification at once.

Steps:

  1. Matrix representation: A=(−100−2)A = \begin{pmatrix} -1 & 0 \\ 0 & -2 \end{pmatrix}
  2. For any nonzero vector x=(x1x2)x = \begin{pmatrix} x_1 \\ x_2 \end{pmatrix}, Q(x)=−x12−2x22<0Q(x) = -x_1^2 - 2x_2^2 < 0
  3. Hence the form is negative definite

Answer:It is a negative definite quadratic form

Exercise 4

Decide the positive definiteness of the matrix A=(1111)A = \begin{pmatrix} 1 & 1 \\ 1 & 1 \end{pmatrix}.

positive definitenesseigenvalue criterionpositive semidefinite

Approach: Compute the eigenvalues. A zero eigenvalue rules out positive definiteness, while the absence of negative ones still leaves a semidefinite conclusion.

Steps:

  1. Characteristic equation: ∣A−λI∣=λ2−2λ=0|A - \lambda I| = \lambda^2 - 2\lambda = 0
  2. Eigenvalues: λ1=0\lambda_1 = 0, λ2=2\lambda_2 = 2
  3. There is a zero eigenvalue, so the matrix is not positive definite
  4. But all eigenvalues are nonnegative, so it is positive semidefinite

Answer:It is a positive semidefinite matrix

Exercise 5

Prove that the determinant of a positive definite matrix is positive.

positive definitenessdeterminanteigenvalues

Approach: Use the eigenvalue property of positive definite matrices together with the fact that the determinant of a matrix equals the product of its eigenvalues.

Steps:

  1. Let AA be a positive definite matrix
  2. All eigenvalues of a positive definite matrix are positive
  3. The determinant is the product of the eigenvalues: ∣A∣=∏i=1nλi|A| = \prod_{i=1}^n \lambda_i
  4. All eigenvalues are positive, so their product is positive as well
  5. Therefore ∣A∣>0|A| > 0

Answer:The proof is complete

Summary

Symbols Used in This Article

SymbolTypePronunciation / NoteMeaning in This Article
xTAxx^TAxMathematical symbolx transpose A xA quadratic form; positive definite means xTAx>0x^TAx>0 for every nonzero xx
Q(x)>0Q(x) > 0Mathematical symbolQ of x greater than zeroThe definition of a positive definite quadratic form
A=QDQTA = QDQ^TMathematical symbolA equals Q D Q transposeThe orthogonal diagonalisation of a real symmetric matrix, with the eigenvalues on the diagonal of DD
λ\lambdaGreek letterLambdaAn eigenvalue of AA; AA is positive definite if and only if every λ>0\lambda>0
AiA_iMathematical symbolA iA leading principal minor of AA; AA is positive definite if and only if every Ai>0A_i>0
eie_iMathematical symbole iThe ii-th standard basis vector, used to prove aii>0a_{ii}>0
A=LLTA = LL^TMathematical symbolA equals L L transposeThe Cholesky decomposition of a positive definite matrix, with LL lower triangular

Found an issue with this content?

Tell us what could be improved.