LINEAR-ALGEBRA ยท Interactive Practice | Unit 24 ยท Video 4
A symmetric matrix is positive definite if and only if any one of these equivalent tests holds:
| Test | Condition | Cost |
|---|---|---|
| Eigenvalues | All | Expensive (iterative for ) |
| Pivots | All pivots from elimination | โ fast |
| Leading minors | for | Fastest for small |
Pivot Sign Theorem: For symmetric , the number of positive pivots equals the number of positive eigenvalues. Same signs, different values.
Trap: alone is not enough โ it only tells you there are an even number of negative eigenvalues. Always check every leading minor.
The level sets of are ellipses when is definite, hyperbolas when it is indefinite.
๐ก Trap: set , , โ the determinant is positive, yet the level sets are the red (negative) family, so is negative definite, not positive.
Pivots, eigenvalues, and leading minors all turn positive on exactly the same interval of .
Question 1
Consider the symmetric matrix
Using the leading principal minors test, is positive definite?
โ Correct! Both leading minors are positive, so is positive definite.
โ Not quite. Recompute and check both leading minors.
Solution:
Compute the two leading minors:
Both leading minors are positive, so is positive definite.
(The third option โ " alone is sufficient" โ is a tempting trap. For 2ร2 it happens to give the right answer here only because we also checked . In general, alone is not enough; the trap matrix has but is not positive definite.)
Question 2
True or False: If a symmetric matrix has , then is positive definite.
โ Correct! A positive determinant only guarantees an even count of negative eigenvalues โ possibly zero, possibly two.
โ Not quite. Consider the matrix from the video: has but both eigenvalues are negative.
Solution:
The determinant equals the product of the eigenvalues. So only tells us:
Counterexample:
But , so fails the very first leading minor. Both eigenvalues are negative.
Lesson: Always check every leading minor โ not just .
Question 3
Apply Gaussian elimination to
What are the pivots, and what do they tell you?
โ Correct! , , and their product equals .
โ Not quite. After eliminating below the first pivot, the (2,2) entry becomes . Pivots are not eigenvalues.
Solution:
Eliminate below the first pivot. The first pivot is . Subtract times row 1 from row 2:
So . Both pivots are positive, so is positive definite.
Sanity check: The product of pivots equals the determinant:
The eigenvalues of are and โ not the pivots. But by the pivot sign theorem, both pivots and both eigenvalues share the same signs.
Question 4
For a symmetric matrix, which test for positive definiteness is generally the most efficient in practice?
โ Correct! A single elimination pass gives all 100 pivots โ no iteration, no characteristic polynomial.
โ Not quite. Eigenvalue computation is iterative for large , and computing 100 separate determinants is wasteful. One elimination gives you all the pivots at once.
Solution:
For large :
Rule of thumb:
Solved: 0 / 4