LINEAR-ALGEBRA
| Formula | Name | Description |
|---|---|---|
| Quadratic form (2ร2) | symmetric | |
| Completing the square | Sum-of-squares decomposition | |
| pivots: | Gaussian elimination | Outer coefficients in sum-of-squares |
| multiplier: | Elimination step | Inner shift inside the square |
| all pivots | Positivity test | Definiteness from row reduction |
The signs of the pivots turn the level set of into an ellipse, parallel lines, or a hyperbola.
An ellipse is the level set of a bowl; two crossing lines belong to a saddle; parallel lines mark the degenerate trough.
Each step of completing the square on is exactly one step of Gaussian elimination.
The multipliers become the inner shifts of the squares; the pivots become their outer coefficients.
Test your understanding with the questions below.
Question 1
Consider the symmetric matrix Apply Gaussian elimination. What are the two pivots?
โ Correct! Both pivots are positive, so is positive definite.
โ Not quite. You wrote down the diagonal entries of , not the pivots. The second pivot changes after elimination.
โ Not quite. Check the elimination step: , not .
โ Sign error. , not .
โ Not quite. Try again โ the hints above can help.
Solution:
The first pivot is the (1,1) entry: .
The multiplier is . Subtracting times row 1 from row 2 gives a new (2,2) entry:
Equivalently,
Pivots: 3 and 2. Both positive โ so is positive definite.
Question 2
True or False: If every entry of a symmetric matrix is positive, then is positive definite.
โ Correct! Positive entries do not guarantee positive definiteness โ only positive pivots do.
โ Not quite. This is a common trap. The matrix has all positive entries but is indefinite.
โ Not quite. Try again โ the hints above can help.
Solution:
False. Positivity of entries is not the test โ the test is positivity of the pivots.
Counter-example from the video: has all positive entries, but
So is indefinite. Indeed, plugging in :
The correct test: is positive definite if and only if all pivots are positive.
Question 3
Completing the square on for gives the decomposition
Where does the inner coefficient 3 come from in the language of Gaussian elimination?
โ Correct! Pivots become the outer coefficients of the squares; multipliers become the inner shifts.
โ Not quite. The first pivot is (the outer coefficient of the first square), not 3.
โ Not quite. The second pivot is (the outer coefficient of the second square).
โ Not quite. , not 3.
โ Not quite. Try again โ the hints above can help.
Solution:
The decomposition is
For :
So 3 is the elimination multiplier โ the number you multiply row 1 by before subtracting it from row 2 to zero out the (2,1) entry.
The video's punchline: pivots โ outer coefficients, multipliers โ inner shifts.
Question 4
Consider . Classify its quadratic form .
โ Correct! One pivot is zero, so the form is a single square โ non-negative, but zero along the line .
โ Not quite. The second pivot is , not positive. Try : , so the form is not strictly positive.
โ Not quite. The decomposition is , a perfect square โ it is never negative.
โ Not quite. With all entries positive and giving , the form cannot be negative definite.
โ Not quite. Try again โ the hints above can help.
Solution:
Run elimination on :
Sum-of-squares decomposition:
This is never negative (it's a square), but it equals zero along the line (a whole line of nonzero vectors). So the form is positive semi-definite.
The signature is the missing (zero) pivot โ not a negative one.
Solved: 0 / 4