LINEAR-ALGEBRA · Interactive Practice | Unit 27 · Video 1

Three Guarantees: Why Positive Definiteness Survives Inversion, Addition, and ATA

IKey Formulas

Concept Statement Tool to use
Positive definite (quadratic form) xTAx>0x^T A x > 0 for all x≠0x \neq 0 Quadratic form
Inverse eigenvalue Ax=λx  ⟹  A−1x=1λxA x = \lambda x \implies A^{-1} x = \tfrac{1}{\lambda} x Eigenvalues
Sum closure xT(A+B)x=xTAx+xTBxx^T(A+B)x = x^T A x + x^T B x Quadratic form
ATAA^T A identity xTATAx=∥Ax∥2≥0x^T A^T A x = \|Ax\|^2 \geq 0 Norm identity
Strict positive definiteness for ATAA^T A Requires AA to have independent columns Full column rank

IIVisualization 1 — The Reciprocal Map λ↦1/λ\lambda \mapsto 1/\lambda

For a positive-definite AA, every eigenvalue λ>0\lambda > 0 becomes 1/λ>01/\lambda > 0 for A−1A^{-1} — positivity survives inversion.

💡 As an eigenvalue approaches 00, its reciprocal grows without bound — yet never turns negative, so A−1A^{-1} stays positive definite.

IIIVisualization 2 — Sum of Two Positive-Definite Bowls

Adding two positive-definite forms adds their bowls; the sum is a steeper bowl whose level set stays a bounded ellipse.

IVVisualization 3 — When Is ATAA^{T}A Positive Definite?

ATAA^{T}A is positive definite exactly when the columns of AA are independent — otherwise it is only semi-definite.

💡 With col1=(1,2,3)\text{col}_1 = (1,2,3) fixed, the parallelogram's area equals det⁡(ATA)\sqrt{\det(A^{T}A)} — it collapses to 00 precisely when the columns become dependent.

VQuiz Questions

Question 1

A symmetric matrix AA has eigenvalues {3,4}\{3, 4\}. What are the eigenvalues of A−1A^{-1}, and is A−1A^{-1} positive definite?

✅ Correct! Reciprocals of positive numbers are positive, so A−1A^{-1} stays positive definite.

❌ Not quite. Use Ax=λx⇒A−1x=(1/λ)xAx = \lambda x \Rightarrow A^{-1}x = (1/\lambda)x. Eigenvalues invert, but signs stay the same.

Show solution

Solution:

If Ax=λxAx = \lambda x, then multiplying both sides by A−1A^{-1} gives x=λA−1xx = \lambda A^{-1} x, so

A−1x=1λx.A^{-1} x = \frac{1}{\lambda} x.

So the eigenvalues of A−1A^{-1} are the reciprocals of the eigenvalues of AA: {1/3,1/4}\{1/3, 1/4\}.

Both reciprocals are positive (positive over positive). Since A−1A^{-1} is also symmetric (because (A−1)T=(AT)−1=A−1(A^{-1})^T = (A^T)^{-1} = A^{-1}) and all its eigenvalues are positive, A−1A^{-1} is positive definite.

Question 2

True or False: If AA and BB are symmetric positive definite matrices, then the eigenvalues of A+BA + B are simply the sums of the eigenvalues of AA and BB.

✅ Correct! Eigenvalues don't add unless eigenvectors are shared. That's why we switch tools and use the quadratic form for the sum.

❌ Not quite. Eigenvalues of A+BA+B are NOT the sums of eigenvalues of AA and BB in general. This is precisely why we use the quadratic form for the sum closure proof.

Show solution

Solution:

False. Eigenvalues only add when AA and BB share the same eigenvectors. In general the eigenvalues of A+BA+B are something else entirely.

This is exactly why the eigenvalue tool fails for the sum closure property. We have to switch to the quadratic form:

xT(A+B)x=xTAx+xTBx>0+0=0for x≠0.x^T(A+B)x = x^T A x + x^T B x > 0 + 0 = 0 \quad \text{for } x \neq 0.

So A+BA+B is positive definite, even though we cannot say anything clean about its individual eigenvalues.

Question 3

Consider A=[122436]A = \begin{bmatrix} 1 & 2 \\ 2 & 4 \\ 3 & 6 \end{bmatrix}. Which of the following best describes ATAA^T A?

✅ Correct! Column 2 = 2·(Column 1), so the columns are dependent. ATAA^T A is symmetric and PSD, but det⁡(ATA)=0\det(A^T A) = 0.

❌ Not quite. Check whether the columns of AA are independent. If column 2 is a multiple of column 1, then ATAA^T A is singular.

Show solution

Solution:

The second column of AA is exactly twice the first column, so the columns are dependent (rank 1).

ATAA^T A is always symmetric: (ATA)T=AT(AT)T=ATA(A^T A)^T = A^T (A^T)^T = A^T A.

We compute: ATA=[123246][122436]=[14282856].A^T A = \begin{bmatrix} 1 & 2 & 3 \\ 2 & 4 & 6 \end{bmatrix} \begin{bmatrix} 1 & 2 \\ 2 & 4 \\ 3 & 6 \end{bmatrix} = \begin{bmatrix} 14 & 28 \\ 28 & 56 \end{bmatrix}.

The determinant is 14⋅56−282=784−784=014 \cdot 56 - 28^2 = 784 - 784 = 0, so ATAA^T A is singular.

The identity xTATAx=∥Ax∥2≥0x^T A^T A x = \|Ax\|^2 \geq 0 guarantees positive semi-definiteness, but with dependent columns there exists a nonzero xx (for instance x=(2,−1)Tx = (2, -1)^T) such that Ax=0Ax = 0, killing strict positivity.

Question 4

The normal equations for least squares are ATAx^=ATbA^T A \hat{x} = A^T b. Why is having independent columns of AA the crucial requirement for a unique least-squares solution?

✅ Correct! Independent columns → ∥Ax∥2>0\|Ax\|^2 > 0 for x≠0x \neq 0 → ATAA^T A positive definite → invertible → unique x^\hat{x}.

❌ Not quite. AA is usually rectangular, so we can't invert AA directly. The trick is that ATAA^T A is square — and it's positive definite (hence invertible) exactly when the columns of AA are independent.

Show solution

Solution:

The chain of reasoning is:

  1. Independent columns of AA ⟺\Longleftrightarrow null space of AA is {0}\{0\} ⟺\Longleftrightarrow Ax=0Ax = 0 only when x=0x = 0.
  2. The identity xTATAx=∥Ax∥2x^T A^T A x = \|Ax\|^2 is then strictly positive for every x≠0x \neq 0.
  3. Therefore ATAA^T A is positive definite — symmetric with all positive eigenvalues.
  4. Positive definite matrices are invertible, so the normal equations have the unique solution

x^=(ATA)−1ATb.\hat{x} = (A^T A)^{-1} A^T b.

Note: AA itself is typically rectangular (more rows than columns), so we cannot invert AA directly. The whole point of ATAA^T A is to convert a tall rectangular matrix into a square positive definite one — provided the columns are independent.

Solved: 0 / 4