Tutorials › Linear Algebra › Principal Submatrices And Definiteness

Quadratic Forms and Definiteness · Tutorial 766 of 1000

Principal Submatrices And Definiteness

Learn to identify principal submatrices and minors, and understand exactly how they reflect positive definiteness.

Advanced 10 min read

What You'll Learn

  • Define a principal submatrix using the same index set for rows and columns.
  • Distinguish principal minors from determinants of arbitrary submatrices.
  • Prove that every principal submatrix of a positive definite matrix is positive definite.
  • Relate positive definiteness to restrictions of a quadratic form to coordinate subspaces.
  • Show that positive definiteness forces every principal minor to be positive.
  • Recognize why positive definiteness of all proper principal submatrices does not suffice.

Restricting a Quadratic Form to Selected Coordinates

A real symmetric matrix determines a quadratic form: to a column vector \(\mathbf{x}\), it assigns the scalar \(\mathbf{x}^{\top}\mathbf{A}\mathbf{x}\). Positive definiteness means this scalar is strictly positive for every nonzero vector. Selecting only some coordinates restricts the quadratic form to vectors whose other coordinates are zero. The corresponding matrix is a principal submatrix, and its determinant is a principal minor. These objects reveal what positive definiteness forces on coordinate restrictions, although checking only proper submatrices cannot establish that the full matrix is positive definite.

Throughout, matrices and vectors are real, and positive definite means symmetric positive definite. An index set \(I\) will be a nonempty subset of \(\{1,\dots,n\}\), written in increasing order. For example, if \(I=\{1,3\}\), we select rows 1 and 3 and columns 1 and 3, keeping those rows and columns in that order.

Definition: Let \(\mathbf{A}\in\mathbb{R}^{n\times n}\) and \(I=\{i_1,\dots,i_k\}\subseteq\{1,\dots,n\}\), with \(i_1<\cdots<i_k\). The principal submatrix \(\mathbf{A}[I,I]\) is the \(k\times k\) matrix whose entry in row \(r\), column \(s\) is \(a_{i_r i_s}\). Its determinant \(\det(\mathbf{A}[I,I])\) is a principal minor of \(\mathbf{A}\). The submatrix is principal because its row and column index sets are the same.

A submatrix formed using different row and column index sets is not principal. For instance, choosing rows 1 and 2 but columns 2 and 3 does not give a principal submatrix, even though it is a square submatrix. If \(\mathbf{A}\) is symmetric, then \(\mathbf{A}[I,I]\) is symmetric too: its \((r,s)\) entry is \(a_{i_r i_s}=a_{i_s i_r}\), the \((s,r)\) entry.

Definition: A real symmetric matrix \(\mathbf{A}\in\mathbb{R}^{n\times n}\) is positive definite if \(\mathbf{x}^{\top}\mathbf{A}\mathbf{x}>0\) for every \(\mathbf{x}\in\mathbb{R}^n\) with \(\mathbf{x}\ne\mathbf{0}\).

The Restriction Identity

To relate a principal submatrix to the full quadratic form, insert zeros in the coordinates not in \(I\). More precisely, for \(\mathbf{x}\in\mathbb{R}^k\), let \(\mathbf{y}\in\mathbb{R}^n\) be the vector whose \(i_r\)-th entry is \(x_r\), for \(1\le r\le k\), and whose other entries are zero. Then multiplying out the quadratic forms gives the identity below.

$$ \mathbf{y}^{\top}\mathbf{A}\mathbf{y} =\sum_{r=1}^{k}\sum_{s=1}^{k}x_r a_{i_r i_s}x_s =\mathbf{x}^{\top}\mathbf{A}[I,I]\mathbf{x}. $$

The identity says that the principal submatrix records exactly the values of the full quadratic form on vectors supported in the selected coordinates. Here, a vector is supported in \(I\) when every coordinate outside \(I\) is zero.

Theorem: If \(\mathbf{A}\in\mathbb{R}^{n\times n}\) is positive definite, then every principal submatrix \(\mathbf{A}[I,I]\) is positive definite.

Proof. Fix a nonempty index set \(I\), and take any nonzero \(\mathbf{x}\in\mathbb{R}^{|I|}\). Construct \(\mathbf{y}\in\mathbb{R}^n\) by inserting the entries of \(\mathbf{x}\) in the coordinates in \(I\) and zeros elsewhere. Since \(\mathbf{x}\ne\mathbf{0}\), at least one entry placed in \(\mathbf{y}\) is nonzero, so \(\mathbf{y}\ne\mathbf{0}\). Positive definiteness of \(\mathbf{A}\) gives \(\mathbf{y}^{\top}\mathbf{A}\mathbf{y}>0\). By the restriction identity, this is \(\mathbf{x}^{\top}\mathbf{A}[I,I]\mathbf{x}>0\). Also, \(\mathbf{A}[I,I]\) is symmetric because \(\mathbf{A}\) is symmetric. Thus it is positive definite. \(\square\)

This theorem applies to every nonempty coordinate selection, not only to consecutive indices or to the first few indices. In particular, if even one principal submatrix is not positive definite, the full matrix cannot be positive definite: otherwise the theorem would force that submatrix to be positive definite.

Worked Example: Extracting a Principal Submatrix

Let

$$ \mathbf{A}= \begin{bmatrix} 2&1&0\\ 1&2&0\\ 0&0&3 \end{bmatrix}, \qquad I=\{1,3\}. $$

Selecting rows 1 and 3 and columns 1 and 3 gives

$$ \mathbf{B}=\mathbf{A}[I,I] =\begin{bmatrix} 2&0\\ 0&3 \end{bmatrix}. $$

For \(\mathbf{x}=\begin{bmatrix}2\\-1\end{bmatrix}\), the corresponding vector in the original three coordinates is \(\mathbf{y}=\begin{bmatrix}2\\0\\-1\end{bmatrix}\). Calculate both quadratic forms:

$$ \mathbf{B}\mathbf{x} =\begin{bmatrix}2&0\\0&3\end{bmatrix} \begin{bmatrix}2\\-1\end{bmatrix} =\begin{bmatrix}4\\-3\end{bmatrix}, \qquad \mathbf{x}^{\top}\mathbf{B}\mathbf{x} =\begin{bmatrix}2&-1\end{bmatrix} \begin{bmatrix}4\\-3\end{bmatrix} =8+3=11. $$

In the full coordinates,

$$ \mathbf{A}\mathbf{y} =\begin{bmatrix}2&1&0\\1&2&0\\0&0&3\end{bmatrix} \begin{bmatrix}2\\0\\-1\end{bmatrix} =\begin{bmatrix}4\\2\\-3\end{bmatrix}, \qquad \mathbf{y}^{\top}\mathbf{A}\mathbf{y} =\begin{bmatrix}2&0&-1\end{bmatrix} \begin{bmatrix}4\\2\\-3\end{bmatrix} =8+3=11. $$

The values agree, as the restriction identity requires. Moreover, for any \(\begin{bmatrix}s\\t\end{bmatrix}\ne\mathbf{0}\), its quadratic form under \(\mathbf{B}\) is \(2s^2+3t^2>0\), so \(\mathbf{B}\) is positive definite. The full matrix is also positive definite: its quadratic form at \(\begin{bmatrix}x\\y\\z\end{bmatrix}\) is \(2x^2+2xy+2y^2+3z^2=(x+y)^2+x^2+y^2+3z^2\), which is positive unless all three coordinates are zero.

Check: the chosen \(\mathbf{x}\) embeds as \(\mathbf{y}\), and both calculations give \(11\), not merely the same sign.

Principal Minors Must Be Positive

For a positive definite matrix, the theorem shows that each principal submatrix is positive definite. Its determinant must therefore be positive as well. To justify that claim, use the Spectral Theorem for real symmetric matrices: each real symmetric matrix has an orthogonal diagonalization, and its determinant is the product of its eigenvalues. If \(\mathbf{B}\) is positive definite and \(\mathbf{v}\ne\mathbf{0}\) is an eigenvector with eigenvalue \(\lambda\), then

$$ \lambda\mathbf{v}^{\top}\mathbf{v} =\mathbf{v}^{\top}\mathbf{B}\mathbf{v}>0. $$

Since \(\mathbf{v}^{\top}\mathbf{v}>0\), this implies \(\lambda>0\). Thus all eigenvalues of \(\mathbf{B}\) are positive, so their product, \(\det\mathbf{B}\), is positive.

Theorem: Every principal minor of a real symmetric positive definite matrix is positive.

Proof. Let \(I\) be any nonempty index set. By the theorem on restrictions, \(\mathbf{B}=\mathbf{A}[I,I]\) is symmetric positive definite. The Spectral Theorem gives an orthogonal matrix \(\mathbf{Q}\) and real eigenvalues \(\lambda_1,\dots,\lambda_{|I|}\) such that \(\mathbf{B}=\mathbf{Q}\operatorname{diag}(\lambda_1,\dots,\lambda_{|I|})\mathbf{Q}^{\top}\). For each eigenvalue choose a corresponding nonzero eigenvector \(\mathbf{v}\). Then \(\lambda\mathbf{v}^{\top}\mathbf{v}=\mathbf{v}^{\top}\mathbf{B}\mathbf{v}>0\), so \(\lambda>0\). Therefore \(\det\mathbf{B}=\prod_{j=1}^{|I|}\lambda_j>0\). This determinant is the principal minor indexed by \(I\). \(\square\)

Worked Example: Computing Principal Minors

For the matrix \(\mathbf{A}\) in the preceding example, the nonempty index sets are \(\{1\}\), \(\{2\}\), \(\{3\}\), \(\{1,2\}\), \(\{1,3\}\), \(\{2,3\}\), and \(\{1,2,3\}\). The principal minors of size one are the diagonal entries \(2,2,3\). The principal submatrices of size two give

$$ \det\mathbf{A}[\{1,2\},\{1,2\}] =\det\begin{bmatrix}2&1\\1&2\end{bmatrix} =4-1=3, $$
$$ \det\mathbf{A}[\{1,3\},\{1,3\}] =\det\begin{bmatrix}2&0\\0&3\end{bmatrix} =6, \qquad \det\mathbf{A}[\{2,3\},\{2,3\}] =\det\begin{bmatrix}2&0\\0&3\end{bmatrix} =6. $$

The principal minor of size three is

$$ \det\mathbf{A} =2\begin{vmatrix}2&0\\0&3\end{vmatrix} -1\begin{vmatrix}1&0\\0&3\end{vmatrix} =2(6)-1(3)=9. $$

All seven principal minors are positive, in agreement with positive definiteness. The determinant calculations describe a necessary consequence of positive definiteness; they do not replace the restriction argument or, by themselves, explain what happens when the full matrix is omitted.

Check: the \(3\times3\) determinant is \(9\), also equal to the product of the diagonal-block determinants, \(3\cdot3=9\).

Why Proper Submatrices Do Not Decide the Full Matrix

The condition “every principal submatrix is positive definite” is equivalent to positive definiteness of \(\mathbf{A}\) if it includes the full index set \(\{1,\dots,n\}\), because that principal submatrix is \(\mathbf{A}\) itself. The restriction theorem supplies the substantive direction: positive definiteness of the full matrix forces positive definiteness on every coordinate restriction. But if the full matrix is excluded, the reverse inference can fail. In particular, even checking every proper principal submatrix does not guarantee that the quadratic form is positive in all directions.

Worked Example: Proper Principal Submatrices Can Miss a Negative Direction

Consider the symmetric matrix

$$ \mathbf{C}= \begin{bmatrix} 1&-\tfrac34&-\tfrac34\\ -\tfrac34&1&-\tfrac34\\ -\tfrac34&-\tfrac34&1 \end{bmatrix}. $$

Each principal submatrix of size one is \(\begin{bmatrix}1\end{bmatrix}\), which is positive definite. Each principal submatrix of size two is

$$ \begin{bmatrix} 1&-\tfrac34\\ -\tfrac34&1 \end{bmatrix}. $$

For a vector \(\begin{bmatrix}s\\t\end{bmatrix}\), its quadratic form is

$$ s^2-\tfrac32 st+t^2 =\left(s-\tfrac34t\right)^2+\tfrac{7}{16}t^2. $$

If \(t\ne0\), the second term is positive and the first is nonnegative. If \(t=0\) and the vector is nonzero, then \(s\ne0\) and the first term \(s^2\) is positive. Thus every size-two principal submatrix is positive definite. Its principal minor is also \(1-\tfrac{9}{16}=\tfrac{7}{16}>0\).

However, take \(\mathbf{x}=\begin{bmatrix}1\\1\\1\end{bmatrix}\ne\mathbf{0}\). Each row of \(\mathbf{C}\) sums to \(1-\tfrac34-\tfrac34=-\tfrac12\), so

$$ \mathbf{C}\mathbf{x} =\begin{bmatrix}-\tfrac12\\-\tfrac12\\-\tfrac12\end{bmatrix}, \qquad \mathbf{x}^{\top}\mathbf{C}\mathbf{x} =\begin{bmatrix}1&1&1\end{bmatrix} \begin{bmatrix}-\tfrac12\\-\tfrac12\\-\tfrac12\end{bmatrix} =-\tfrac32. $$

The full matrix is not positive definite, despite all its proper principal submatrices being positive definite. The vector with all coordinates equal to \(1\) is a direction that none of the proper coordinate restrictions tests in its entirety.

Check: the negative value \(-\tfrac32\) violates the defining inequality for positive definiteness, so the conclusion follows directly from the definition.

Common Pitfall: Confusing a Necessary Condition with a Complete Test

A common incorrect argument is: “Every proper principal submatrix of \(\mathbf{C}\) is positive definite, so \(\mathbf{C}\) is positive definite.” The calculation above corrects it: \(\mathbf{x}^{\top}\mathbf{C}\mathbf{x}=-\tfrac32<0\) for \(\mathbf{x}=(1,1,1)^{\top}\). The restriction theorem gives a one-way implication from the full matrix to each principal submatrix. Positive definiteness of selected restrictions does not automatically control vectors with all coordinates active.

Likewise, positivity of a principal minor is not itself a statement that the corresponding submatrix is positive definite. A determinant is one scalar, while positive definiteness requires a quadratic-form inequality for every nonzero vector. The results here give a reliable implication: if \(\mathbf{A}\) is positive definite, then all its principal submatrices are positive definite and all its principal minors are positive. A failed principal-submatrix test disproves positive definiteness; passing tests on only some proper submatrices does not prove it.

Check Your Understanding

Use the definitions and restriction identity to justify each answer.

  1. For a \(4\times4\) matrix, which rows and columns define the principal submatrix indexed by \(I=\{1,4\}\)?
  2. Explain why \(\mathbf{A}[I,I]\) is symmetric whenever \(\mathbf{A}\) is symmetric.
  3. If \(\mathbf{A}\) is positive definite, what does the restriction theorem imply about \(\mathbf{A}[\{2,5\},\{2,5\}]\)?
  4. Why must every principal minor of a real symmetric positive definite matrix be positive?
  5. Give a reason that positive definiteness of every proper principal submatrix does not, by itself, establish positive definiteness of the full matrix.

Test yourself: Linear Algebra final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon