Positive Definite Matrices
- 54Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
54 questions
- 1A symmetric matrix is positive definite when all of its eigenvalues are_____.
Hint
Recall the defining spectral property of this type of symmetric matrix.
Answer
positive eigenvalues
Explanation
A positive definite matrix is symmetric and has positive eigenvalues.
- 2The eigenvalues of a symmetric matrix are always_____.
Hint
What kind of numbers are guaranteed as eigenvalues of a symmetric matrix?
Answer
real
Explanation
Symmetric matrices have real eigenvalues, which makes it meaningful to classify them by whether their eigenvalues are positive, zero, or negative.
- 3The determinant of a matrix equals_____.
Hint
Think of the determinant as a product associated with the spectrum.
Answer
the product of its eigenvalues
Explanation
The determinant of a matrix equals the product of its eigenvalues. For a symmetric matrix with two eigenvalues and a negative determinant, one eigenvalue must be negative and the other positive.
- 4The symmetric matrix with rows (3,4) and (4,5) has a negative determinant, so its eigenvalues include_____.
Hint
A negative product of two real numbers means their signs differ.
Answer
one positive and one negative eigenvalue
Explanation
The matrix with rows (3,4) and (4,5) has determinant 15−16=−1. Its eigenvalues are real and multiply to a negative number, so one is positive and the other is negative.
- 5A matrix can have all_____and still fail to be positive definite.
Hint
Distinguish the signs of individual entries from the signs of eigenvalues.
Answer
positive entries
Explanation
Having positive entries is not enough to establish positive definiteness. The matrix with rows (3,4) and (4,5) has positive entries but a negative determinant and a negative eigenvalue.
- 6The determinants of the successive upper-left blocks of a matrix are called_____.
Hint
These are determinants taken from the upper-left corner in increasing block sizes.
Answer
leading determinants
Explanation
Leading determinants are determinants of the upper-left blocks, considered successively from the 1 by 1 block through the full matrix.
- 7Leading determinants are calculated from_____.
Hint
Think of where the first entries of each leading block are located.
Answer
the upper left
Explanation
The word “leading” means the determinants are taken from the upper-left part of the matrix, starting with the 1 by 1 determinant.
- 8For a symmetric matrix to pass the leading-determinant test, each of its leading determinants must be_____.
Hint
For positive definiteness, each determinant in this test must have the same sign as the positive first one.
Answer
positive
Explanation
The leading-determinant test requires the successive leading determinants to be positive. For the matrix with rows (3,4) and (4,6), these are 3 and 2.
- 9A positive definite matrix has positive elimination_____.
Hint
The pivot test checks the signs of the numbers produced along the elimination diagonal.
Answer
positive
Explanation
For the matrix with rows (3,4) and (4,6), elimination gives pivots 3 and 2/3, both positive.
- 10For the matrix with rows (3,4) and (4,6), the second elimination pivot is_____.
Hint
Subtract the elimination contribution 16/3 from the lower-right entry, which is 6.
Answer
2/3
Explanation
Elimination subtracts 4/3 times the first row from the second. The second pivot is 6−16/3=2/3.
- 11In the example with rows (3,4) and (4,6), the second pivot equals_____.
Hint
Compare the second pivot with the successive leading determinants.
Answer
the 2 by 2 determinant divided by the 1 by 1 determinant
Explanation
For this example, the second pivot is 2/3: the 2 by 2 determinant is 2, and the 1 by 1 determinant is 3.
- 12To establish positive definiteness, it is enough for a matrix to pass_____.
Hint
The tests are equivalent, not a checklist that requires separate proofs by every method.
Answer
any one of the tests
Explanation
The lecture presents equivalent tests for positive definiteness: passing any one of them is sufficient to pass them all.
- 13The quadratic expression xTSx is the_____in the vector x for the matrix S.
Hint
The lecture uses a physical-sounding name for this quadratic quantity.
Answer
energy
Explanation
The quadratic expression xTSx is called the energy in the vector x for the matrix S.
- 14A symmetric matrix is positive definite when xTSx is_____for every nonzero vector x.
Hint
For nonzero vectors, the energy must lie strictly above zero.
Answer
positive
Explanation
The energy test defines positive definiteness by requiring xTSx>0 for every nonzero vector x. At the zero vector, the expression is zero.
- 15For the matrix with rows (3,4) and (4,6), the energy in (x,y)T is_____.
Hint
The two off-diagonal entries each contribute a term involving xy.
Answer
3x2+6y2+8xy
Explanation
Multiplying the vector (x,y)T by the matrix and then by the row vector gives 3x2+4xy+4xy+6y2, or 3x2+6y2+8xy.
- 16In the energy expression for the matrix with rows (3,4) and (4,6), the terms 3x2 and 6y2 are the_____.
Hint
These terms come from the entries on the main diagonal of the matrix.
Answer
diagonal pieces
Explanation
The diagonal entries 3 and 6 contribute 3x2 and 6y2 to the quadratic energy.
- 17The two contributions 4xy and 4xy in the energy expression are called the_____.
Hint
These terms combine the two different variables rather than squaring one variable.
Answer
cross terms
Explanation
The off-diagonal entries contribute 4xy each; together they make the 8xy cross term.
- 18The cross term 8xy is negative when x and y have_____.
Hint
A product of two real numbers is negative when their signs differ.
Answer
opposite signs
Explanation
The product xy is negative when x and y have opposite signs, so the term 8xy can lower the energy.
- 19For a positive definite matrix, the positive squared terms_____a potentially negative cross term so the energy remains positive for nonzero vectors.
Hint
The key issue is whether the positive contributions are strong enough to counteract a negative cross term.
Answer
overwhelm
Explanation
Although the cross term can be negative, the positive squared terms dominate sufficiently for a positive definite matrix, keeping the energy positive away from the origin.
- 20The graph of the energy for a positive definite matrix has the shape of_____.
Hint
Picture a surface that rises in every direction away from its lowest point.
Answer
a bowl
Explanation
The graph of the energy for a positive definite matrix rises from its minimum at the origin, producing a bowl-shaped surface.
- 21In a machine-learning model, a function representing error that is minimized is called a_____.
Hint
In machine learning, this function quantifies how poorly a model performs.
Answer
loss function
Explanation
The lecture connects energy minimization with machine learning, where a loss function measures error and the goal is to minimize it.
- 22A practical objective may add terms such as xTb to its quadratic part; these are_____.
Hint
These terms involve variables to the first power rather than only squared variables.
Answer
linear terms
Explanation
The lecture notes that practical objective functions can include a term such as xTb in addition to a quadratic term.
- 23Finding the lowest value of an objective function is called_____.
Hint
This is the search for the lowest value of a function.
Answer
minimization
Explanation
The lecture describes a major goal of machine learning and applied mathematics as minimizing an energy or objective function.
- 24A function whose graph curves upward in a bowl-like way is described as_____.
Hint
This property describes a function that curves upward rather than forming a local peak in the bowl-shaped case.
Answer
convex
Explanation
A convex function has a graph that bends upward in the general bowl-like sense; a positive definite quadratic provides a standard example.
- 25For a quadratic function, the strictly upward bowl corresponds to a_____matrix.
Hint
For a quadratic, this matrix property makes the energy rise away from its minimum.
Answer
positive definite
Explanation
For a quadratic function, convexity corresponds to a positive definite matrix; the lecture also notes a positive semidefinite borderline case.
- 26The gradient vector consists of all the_____.
Hint
These are the derivatives used to form the gradient vector.
Answer
first derivatives
Explanation
The gradient is made up of all the first derivatives of the function, one for each variable.
- 27At a given point, the gradient identifies the_____.
Hint
The gradient tells how the function changes most rapidly locally.
Answer
steepest direction
Explanation
At a point, the gradient indicates the direction of steepest increase; moving opposite that direction gives the steepest descent.
- 28An iterative method that follows downhill directions determined by the gradient is called_____.
Hint
This optimization method takes steps guided by the gradient toward lower values.
Answer
gradient descent
Explanation
Gradient descent repeatedly moves in a direction of decreasing function value, using the gradient to choose the direction.
- 29The procedure for deciding how far to travel along a descent direction is called a_____.
Hint
This procedure selects a step length along a line in the chosen direction.
Answer
line search
Explanation
A line search chooses how far to move along a selected descent direction before stopping at a new point.
- 30After a gradient-descent step reaches a new point, the next move begins by asking the algorithm to_____.
Hint
The direction of steepest descent can change from point to point, so update the information used to choose it.
Answer
recalculate the gradient
Explanation
After reaching a new point, gradient descent computes the gradient there and follows the newly indicated downhill direction.
- 31Large-scale machine learning often avoids computing_____because there may be hundreds or thousands of variables.
Hint
These derivatives describe curvature beyond the first-derivative gradient.
Answer
second derivatives
Explanation
The lecture notes that second derivatives could support a more sophisticated formula, but computing them for functions with many variables is costly and difficult.
- 32A quadratic with a very large eigenvalue and a very small one produces_____.
Hint
A large and a very small eigenvalue stretch the bowl unevenly.
Answer
a long, thin bowl
Explanation
When eigenvalues differ greatly in size, the quadratic bowl is elongated and narrow, making steepest-descent steps inefficient.
- 33In a long, narrow valley, gradient descent tends to move_____.
Hint
The method overshoots from one side of the narrow valley to the other.
Answer
back and forth across the valley
Explanation
In a narrow valley, the steepest direction repeatedly crosses the valley and reaches the opposite side, causing slow zigzagging progress.
- 34If all eigenvalues are equal, as for the identity matrix, the quadratic graph is_____.
Hint
Equal eigenvalues give equal curvature in every direction.
Answer
a circular bowl
Explanation
When the matrix is the identity, the quadratic is x2+y2, whose level sets are circular and whose graph is a circular bowl.
- 35On the circular bowl given by x2+y2, gradient descent from a starting point travels_____.
Hint
On a perfectly symmetric bowl, the downhill path from a point points directly toward its lowest point.
Answer
through the center
Explanation
For x2+y2, the gradient points radially outward. Moving downhill from any starting point therefore goes directly toward and through the center.
- 36If S and T are positive definite, then their sum S+T is_____.
Hint
Use the energy test and split the expression into the contribution from each matrix.
Answer
positive definite
Explanation
If S and T are positive definite, then for every nonzero x, xT(S+T)x=xTSx+xTTx is a sum of positive quantities.
- 37For nonzero x, the energy xT(S+T)x is_____when both S and T are positive definite.
Hint
Evaluate the quadratic expression for the sum by separating it into two parts.
Answer
positive
Explanation
For every nonzero vector, the energy for S+T is the sum of the positive energies for S and T, so it is positive.
- 38If S is positive definite, then its inverse S−1 is also_____.
Hint
Consider what happens to a positive eigenvalue when it is replaced by its reciprocal.
Answer
positive definite
Explanation
The inverse of a positive definite matrix is symmetric and has eigenvalues 1/λ, where each original eigenvalue λ is positive. Thus the inverse is also positive definite.
- 39An eigenvalue λ of S becomes_____for S−1.
Hint
The inverse reverses the scaling associated with an eigenvalue.
Answer
1/λ
Explanation
If λ is an eigenvalue of S, the corresponding eigenvalue of S−1 is its reciprocal.
- 40Before asking whether a matrix is positive definite in this framework, it must be_____.
Hint
This property is required before applying the lecture’s positive-definiteness framework.
Answer
symmetric
Explanation
The lecture restricts positive-definiteness questions to symmetric matrices because symmetry guarantees real eigenvalues and supports the relevant tests.
- 41If S is symmetric and Q is orthogonal, then QTSQ is also_____.
Hint
Transpose the product and use the symmetry of S.
Answer
symmetric
Explanation
For orthogonal Q, the transpose of QTSQ equals itself when S is symmetric, so the transformed matrix remains symmetric.
- 42The matrix QTSQ has_____as S.
Hint
Similarity preserves the spectrum.
Answer
the same eigenvalues
Explanation
The matrix QTSQ is similar to S because QT=Q−1 for an orthogonal matrix. Similar matrices have the same eigenvalues.
- 43If S is positive definite and Q is orthogonal, then QTSQ is_____.
Hint
Use either the unchanged eigenvalues or substitute y=Qx in the energy.
Answer
positive definite
Explanation
Since the orthogonal transformation preserves the eigenvalues of S, positive eigenvalues remain positive; equivalently, its energy is the energy of S evaluated at Qx.
- 44A positive semidefinite matrix has eigenvalues_____.
Hint
This classification includes the zero boundary case as well as positive values.
Answer
greater than or equal to zero
Explanation
Positive semidefinite matrices allow zero eigenvalues, so their eigenvalues are nonnegative rather than strictly positive.
- 45For a positive semidefinite matrix, xTSx is_____for every vector x.
Hint
The energy may reach zero even for a nonzero vector.
Answer
greater than or equal to zero
Explanation
For a positive semidefinite matrix, the energy is nonnegative for every vector; unlike positive definiteness, it need not be strictly positive for every nonzero vector.
- 46The boundary between positive definite and indefinite in the example occurs when the matrix has_____.
Hint
A singular matrix has an eigenvalue that makes the determinant vanish.
Answer
a zero eigenvalue
Explanation
At the borderline example, the determinant is zero, so the matrix is singular and has a zero eigenvalue.
- 47When the determinant of the borderline matrix is zero, the matrix is_____.
Hint
A zero determinant indicates this matrix property.
Answer
singular
Explanation
A matrix with determinant zero is singular. In the borderline example, this guarantees one eigenvalue is zero.
- 48After finding one zero eigenvalue, the sign of the other eigenvalue in the example can be determined from_____.
Hint
Use the sum of diagonal entries, which also equals the sum of eigenvalues.
Answer
the trace
Explanation
The trace is the sum of the eigenvalues. Once one eigenvalue is known to be zero, a positive trace shows that the other eigenvalue in the two-by-two example is positive.
- 49The 3 by 3 matrix whose entries are all 1 is_____.
Hint
Its one positive eigenvalue and two zero eigenvalues place it on the nonnegative boundary case.
Answer
positive semidefinite
Explanation
The matrix with every entry equal to 1 has eigenvalues 3,0,0, so all its eigenvalues are nonnegative, but it is singular and not positive definite.
- 50The eigenvalues of the 3 by 3 all-ones matrix are_____.
Hint
Rank one gives two zero eigenvalues, and the trace supplies the remaining value.
Answer
3,0,0
Explanation
The all-ones matrix has rank one, so only one eigenvalue is nonzero; its trace is 3, making the eigenvalues 3,0,0.
- 51The rank of the 3 by 3 all-ones matrix is_____.
Hint
Count the number of linearly independent columns in the all-ones matrix.
Answer
1
Explanation
All rows and columns of the all-ones matrix are dependent, and the matrix has only one independent column, so its rank is 1.
- 52Writing the all-ones matrix as ATA shows that it is_____.
Hint
Express the matrix as the product of a vector’s transpose and the vector itself.
Answer
positive semidefinite
Explanation
The all-ones matrix can be written as ATA with A=(1,1,1), making its quadratic energy a squared quantity and therefore nonnegative.
- 53The ATA condition for positive semidefiniteness allows_____.
Hint
Unlike the positive definite case, this classification permits a lack of column independence.
Answer
dependent columns
Explanation
The positive-semidefinite version of the ATA test allows dependent columns; requiring independent columns would rule out singular cases.
- 54A positive semidefinite matrix with a zero eigenvalue is_____and cannot be positive definite.
Hint
A zero eigenvalue prevents invertibility.
Answer
singular
Explanation
A positive definite matrix has strictly positive eigenvalues and is nonsingular. A positive semidefinite matrix with a zero eigenvalue is singular and therefore cannot be positive definite.

Ask anything
We've read this whole study set, so questions about it get the best answers.