Positive Definite Matrices
- 43Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What is guaranteed about the eigenvalues of a real symmetric matrix?
What is guaranteed about the eigenvalues of a real symmetric matrix?
43 questions
- 1
What is guaranteed about the eigenvalues of a real symmetric matrix?
- A
They must all be real
- B
They must all be distinct
- C
They must all be positive
- D
They must all have magnitude one
Correct answer
AThey must all be real
Explanation
For a real symmetric matrix, all eigenvalues are real. This is one reason symmetry is central to the positive-definiteness tests discussed.
- A
- 2
What relationship holds between eigenvectors of a symmetric matrix associated with distinct eigenvalues?
- A
They are always parallel
- B
They are orthogonal when their eigenvalues are distinct
- C
They must each have only one nonzero entry
- D
They have equal lengths
Correct answer
BThey are orthogonal when their eigenvalues are distinct
Explanation
Eigenvectors associated with distinct eigenvalues of a symmetric matrix are orthogonal. The lecture identifies orthogonal eigenvectors as a key property of symmetric matrices.
- A
- 3
Which description best characterizes a positive definite matrix?
- A
It has positive entries in every position
- B
It has a positive determinant, regardless of its other properties
- C
It is symmetric and has positive eigenvalues
- D
It has at least one positive eigenvalue
Correct answer
CIt is symmetric and has positive eigenvalues
Explanation
A positive definite matrix is symmetric and has positive eigenvalues. Equivalently, its quadratic energy is positive for every nonzero vector.
- A
- 4
A real symmetric 2×2 matrix has determinant −1. What does this imply about its eigenvalues?
- A
The determinant is the larger eigenvalue, so the smaller is positive
- B
The determinant is the product of the eigenvalues, so one is positive and one is negative
- C
The determinant is the sum of the eigenvalues, so both are negative
- D
A negative determinant means both eigenvalues are negative
Correct answer
BThe determinant is the product of the eigenvalues, so one is positive and one is negative
Explanation
The determinant is the product of the eigenvalues. For a real symmetric 2×2 matrix, a negative determinant means the two eigenvalues have opposite signs, so the matrix is indefinite.
- A
- 5
Is the symmetric matrix with rows (3,4) and (4,5) positive definite?
- A
No; its determinant is negative, so it is indefinite
- B
Yes; symmetry guarantees a positive determinant
- C
Yes; positive entries guarantee positive eigenvalues
- D
No; a symmetric matrix cannot have all positive entries
Correct answer
ANo; its determinant is negative, so it is indefinite
Explanation
Positive entries do not guarantee positive definiteness. For example, the symmetric matrix with rows (3,4) and (4,5) has determinant 15−16=−1, so it has eigenvalues of opposite signs.
- A
- 6
What are the leading principal determinants used in a positive-definiteness test?
- A
They are products of entries in each row, and each must be positive
- B
They are determinants of all possible submatrices, and each must be zero
- C
They are determinants of the lower-right square submatrices, and each must be negative
- D
They are determinants of the upper-left square submatrices, and each must be positive
Correct answer
DThey are determinants of the upper-left square submatrices, and each must be positive
Explanation
The leading principal determinants are determinants of the upper-left square submatrices. For a positive definite matrix, each of these determinants must be positive.
- A
- 7
What condition do the elimination pivots satisfy when a symmetric matrix is positive definite?
- A
Every elimination pivot equals a diagonal entry of the original matrix
- B
Every elimination pivot is positive
- C
Every elimination pivot is an eigenvalue
- D
Every elimination pivot is larger than the previous one
Correct answer
BEvery elimination pivot is positive
Explanation
For a positive definite matrix, all elimination pivots are positive. In the example, the pivots are 3 and 2/3, consistent with this test.
- A
- 8
For the matrix with rows (3,4) and (4,6), how is the second elimination pivot related to its leading determinants?
- A
The second pivot is the sum of the two leading determinants
- B
The second pivot is the first leading determinant divided by the second
- C
The second pivot is the product of the two leading determinants
- D
The second pivot is the second leading determinant divided by the first
Correct answer
DThe second pivot is the second leading determinant divided by the first
Explanation
For a positive definite matrix, the second pivot in this example is the second leading determinant divided by the first: 2/3. This illustrates the connection between pivots and leading determinants.
- A
- 9
How can the different positive-definiteness tests be used?
- A
Any one of the equivalent tests is sufficient
- B
The tests apply only to matrices with positive entries
- C
Only the eigenvalue test is conclusive
- D
All five tests must be computed to establish positive definiteness
Correct answer
AAny one of the equivalent tests is sufficient
Explanation
The lecture presents eigenvalues, quadratic energy, an ATA factorization, leading determinants, and elimination pivots as alternative tests. Passing any one of these equivalent tests is sufficient.
- A
- 10
What does the leading-determinant test conclude for the matrix with rows (3,4) and (4,6)?
- A
It fails because the full determinant is negative
- B
It passes only if its off-diagonal entries are zero
- C
It fails because the first leading determinant is 2
- D
It passes because its leading determinants are 3 and 2
Correct answer
DIt passes because its leading determinants are 3 and 2
Explanation
For the matrix with rows (3,4) and (4,6), the leading determinants are 3 and 18−16=2. Both are positive, so it passes the leading-determinant test.
- A
- 11
For S=[34​46​] and x=(x,y)T, what is the quadratic energy xTSx?
- A
xTSx=3x2+4xy+6y2
- B
xTSx=3x2+8xy+12y2
- C
xTSx=3x2+8xy+6y2
- D
xTSx=3x2+16xy+6y2
Correct answer
CxTSx=3x2+8xy+6y2
Explanation
For S=[34​46​] and x=(x,y)T, the diagonal terms contribute 3x2+6y2 and the two off-diagonal terms contribute 4xy+4xy=8xy.
- A
- 12
Why does the matrix with off-diagonal entries 4 produce an 8xy term in its quadratic energy?
- A
The cross term comes from multiplying the diagonal entries together
- B
Off-diagonal entries contribute only when the diagonal entries are zero
- C
A symmetric pair of off-diagonal entries contributes two copies of the cross term
- D
A symmetric pair of off-diagonal entries contributes only one copy of the cross term
Correct answer
CA symmetric pair of off-diagonal entries contributes two copies of the cross term
Explanation
In xTSx, the two symmetric off-diagonal entries each contribute 4xy. Together they produce the cross term 8xy.
- A
- 13
What does the quadratic-energy test require for a symmetric positive definite matrix S?
- A
The energy must be positive for at least one vector
- B
The energy must be positive for every nonzero vector
- C
The energy must equal zero for every vector
- D
The energy must be nonnegative only when all vector entries are positive
Correct answer
BThe energy must be positive for every nonzero vector
Explanation
For a symmetric matrix, positive definiteness is equivalent to xTSx>0 for every nonzero vector x. This energy criterion is presented as a particularly useful test.
- A
- 14
For the energy 3x2+8xy+6y2, what happens when x and y have opposite signs?
- A
The diagonal terms become negative when x and y have opposite signs
- B
The energy is positive only when x and y have the same sign
- C
The cross term is always positive because its coefficient is positive
- D
The cross term can be negative, but the total energy remains positive
Correct answer
DThe cross term can be negative, but the total energy remains positive
Explanation
The cross term 8xy can be negative when x and y have opposite signs. Positive definiteness means the full expression remains positive for every nonzero vector despite that possibility.
- A
- 15
What is the characteristic shape of the graph of a positive definite quadratic energy?
- A
It rises like a bowl away from its minimum
- B
It is flat in every direction
- C
It forms a saddle with both upward and downward directions
- D
It falls without bound in at least one direction
Correct answer
AIt rises like a bowl away from its minimum
Explanation
A positive definite quadratic energy has its minimum at the origin when no other terms are present, and its graph rises in every direction like a bowl.
- A
- 16
What is the effect of adding a linear term to a positive definite quadratic function?
- A
It shifts the bowl and moves the minimum away from the origin
- B
It removes the minimum and makes the function unbounded below
- C
It changes the bowl into a saddle
- D
It forces the minimum to remain at the origin
Correct answer
AIt shifts the bowl and moves the minimum away from the origin
Explanation
Adding a linear term changes the location of the minimum but does not change the quadratic curvature. The graph remains a bowl, shifted away from the origin.
- A
- 17
How can a quadratic energy relate to machine learning?
- A
It models only the constraints of an optimization problem
- B
It represents the number of variables in a neural network
- C
It provides a model for an objective or loss function to be minimized
- D
It is used only to determine whether a matrix is singular
Correct answer
CIt provides a model for an objective or loss function to be minimized
Explanation
The quadratic energy is a model for optimization objectives such as loss functions. In applications, the function may also contain linear or nonlinear terms.
- A
- 18
What does positive semidefiniteness imply about xTSx?
- A
The energy is strictly positive for every vector, including zero
- B
The energy is negative for at least one vector
- C
The energy is nonnegative for every vector
- D
The energy is zero only when all entries of S are positive
Correct answer
CThe energy is nonnegative for every vector
Explanation
When S is positive semidefinite, its quadratic energy is nonnegative for every vector, though it can equal zero for nonzero vectors.
- A
- 19
In an optimization problem, what is the goal when minimizing a loss function?
- A
The point where the function becomes linear
- B
The point where every variable has the value zero
- C
The point where the objective or loss function is smallest
- D
The point where the function has the largest gradient
Correct answer
CThe point where the objective or loss function is smallest
Explanation
The minimum of an objective function is the value sought in optimization. In applications such as learning, minimizing a loss can determine model weights.
- A
- 20
What is the gradient of a function of many variables?
- A
The second derivatives arranged as a scalar
- B
The eigenvalues of the matrix of second derivatives
- C
The vector of first derivatives with respect to all variables
- D
The function values at all possible inputs
Correct answer
CThe vector of first derivatives with respect to all variables
Explanation
The gradient consists of the first derivatives with respect to all variables. It is a vector that indicates the direction of steepest increase, so its negative indicates steepest descent.
- A
- 21
What direction does the negative gradient indicate at a point?
- A
It points toward the steepest decrease
- B
It points toward the steepest increase
- C
It points directly to the global minimum in one step
- D
It points in a direction independent of the current point
Correct answer
AIt points toward the steepest decrease
Explanation
The negative gradient points in the direction of steepest decrease at the current point. Gradient descent takes a step in that direction.
- A
- 22
After one gradient-descent step, what is the usual next action?
- A
Compute all second derivatives before taking another step
- B
Recalculate the gradient at the new point
- C
Stop automatically after the first step
- D
Reuse the original gradient for every step
Correct answer
BRecalculate the gradient at the new point
Explanation
Gradient descent is iterative: after moving to a new point, the gradient is recalculated there to determine the next descent direction.
- A
- 23
What decision does a line search make in gradient descent?
- A
Choose which variables should be removed from the function
- B
Compute the eigenvalues of the objective function
- C
Choose how far to move along the selected direction
- D
Replace the gradient with the Hessian
Correct answer
CChoose how far to move along the selected direction
Explanation
A line search selects how far to move along a chosen direction. Gradient descent uses it to determine a step length along the descent direction.
- A
- 24
Why is gradient descent often based mainly on first derivatives in large machine-learning problems?
- A
Computing second derivatives for many variables is costly, so first derivatives are often used
- B
Second derivatives cannot be defined for nonlinear functions
- C
First derivatives identify the exact minimum without iteration
- D
Second derivatives are always zero in machine learning
Correct answer
AComputing second derivatives for many variables is costly, so first derivatives are often used
Explanation
The lecture emphasizes that large machine-learning problems commonly rely on first derivatives because computing all second derivatives for very high-dimensional functions is difficult.
- A
- 25
Which description captures the idea of a convex function in the lecture?
- A
It has a bowl-like shape with no lower dip elsewhere
- B
It must be a linear function
- C
It has at least two local minima of different values
- D
It has a negative second derivative in every direction
Correct answer
AIt has a bowl-like shape with no lower dip elsewhere
Explanation
A convex function has a bowl-like shape and does not have a lower dip elsewhere. A positive definite quadratic is a standard example of a convex function.
- A
- 26
How does positive definiteness relate to convexity for a quadratic function?
- A
A quadratic is convex only if all its entries are positive
- B
A positive definite quadratic matrix gives a convex bowl
- C
A quadratic is convex only if its matrix has determinant zero
- D
A positive definite quadratic matrix necessarily gives a saddle
Correct answer
BA positive definite quadratic matrix gives a convex bowl
Explanation
For a quadratic function, positive definiteness of its matrix gives a bowl-shaped, convex energy. Positive semidefiniteness corresponds to the borderline case where some directions may be flat.
- A
- 27
Why can nonconvexity make finding a global minimum difficult?
- A
Its gradient is zero at every point
- B
It has no local minima and cannot be optimized
- C
It must have a unique minimum at the origin
- D
It may contain multiple dips, so a descent method can miss the global minimum
Correct answer
DIt may contain multiple dips, so a descent method can miss the global minimum
Explanation
A nonconvex function can have multiple low points or dips. A descent method may reach one such point without finding the lowest point overall.
- A
- 28
What difficulty can arise in gradient descent when a positive definite quadratic has eigenvalues of very different sizes?
- A
The bowl becomes perfectly circular, so the gradient vanishes everywhere
- B
The bowl becomes long and narrow, causing repeated zigzagging
- C
The function becomes linear along every direction
- D
The matrix becomes symmetric, preventing any descent steps
Correct answer
BThe bowl becomes long and narrow, causing repeated zigzagging
Explanation
When a quadratic has eigenvalues with very different sizes, its bowl can be long and narrow. Steepest descent may cross the narrow valley repeatedly and make slow progress toward the bottom.
- A
- 29
For the energy x2+y2, what is the geometry of the bowl and the path of steepest descent?
- A
The bowl is circular, so descent can go directly to the center
- B
The graph is a saddle, so no minimum exists
- C
The bowl is long and narrow, so descent zigzags
- D
The graph is flat, so the gradient gives no direction
Correct answer
AThe bowl is circular, so descent can go directly to the center
Explanation
When the matrix is the identity, the energy is a sum of squares such as x2+y2. Its level sets are circular, and the negative gradient points directly toward the center.
- A
- 30
If S and T are positive definite, is S+T positive definite?
- A
Yes; the sum of their positive quadratic energies is positive
- B
Yes; because every entry in both matrices must be positive
- C
No; the eigenvalues of a sum must include zero
- D
No; addition always destroys symmetry
Correct answer
AYes; the sum of their positive quadratic energies is positive
Explanation
If S and T are positive definite, then for every nonzero x, xT(S+T)x=xTSx+xTTx. Both terms are positive, so their sum is positive.
- A
- 31
If S is positive definite, what can be concluded about S−1?
- A
No; taking an inverse changes every positive eigenvalue to a negative one
- B
Yes; its eigenvalues are reciprocals of positive eigenvalues
- C
No; the inverse of a symmetric matrix is never symmetric
- D
Yes; because its determinant must equal the determinant of S
Correct answer
BYes; its eigenvalues are reciprocals of positive eigenvalues
Explanation
The eigenvalues of S−1 are the reciprocals of the eigenvalues of S. Since the eigenvalues of a positive definite matrix are positive, their reciprocals are positive too.
- A
- 32
Why is it generally not valid to conclude that SM is positive definite when S is positive definite and M is arbitrary?
- A
It is positive definite exactly when M has positive entries
- B
It is always positive definite if either factor is positive definite
- C
It is always symmetric when S is symmetric
- D
It may not be symmetric, so positive definiteness is not assured
Correct answer
DIt may not be symmetric, so positive definiteness is not assured
Explanation
A product such as SM is generally not symmetric. Since the positive-definiteness discussion applies to symmetric matrices, that product cannot automatically be classified as positive definite.
- A
- 33
If Q is orthogonal and S is symmetric, what is true of QTSQ?
- A
It is symmetric only when Q=S
- B
It is never symmetric unless Q is the identity
- C
It is symmetric only if S is diagonal
- D
It is symmetric when Q is orthogonal and S is symmetric
Correct answer
DIt is symmetric when Q is orthogonal and S is symmetric
Explanation
If S is symmetric, then QTSQ is symmetric because its transpose equals itself. This makes it suitable for testing positive definiteness.
- A
- 34
What can be said about the eigenvalues of QTSQ when Q is orthogonal?
- A
It has the same eigenvalues as S
- B
It has the negatives of the eigenvalues of S
- C
It has eigenvalues equal to the squares of those of S
- D
It has only zero eigenvalues
Correct answer
AIt has the same eigenvalues as S
Explanation
For orthogonal Q, QT is its inverse. Thus QTSQ is similar to S, and similar matrices have the same eigenvalues.
- A
- 35
Why is QTSQ positive definite when S is positive definite and Q is orthogonal?
- A
Its energy is positive only when x is an eigenvector of Q
- B
Its energy equals the determinant of S
- C
Its energy is always zero because QTQ=I
- D
Its energy equals the energy of S evaluated at y=Qx
Correct answer
DIts energy equals the energy of S evaluated at y=Qx
Explanation
Let y=Qx. Then xTQTSQx=yTSy. If S is positive definite, this quantity is positive for every nonzero y, and orthogonal Q maps nonzero vectors to nonzero vectors.
- A
- 36
What distinguishes the eigenvalue condition for positive semidefinite matrices from that for positive definite matrices?
- A
Positive semidefinite matrices must have all negative eigenvalues
- B
Positive semidefinite matrices have only positive eigenvalues
- C
Positive semidefinite matrices must be nonsymmetric
- D
Positive semidefinite matrices may have zero eigenvalues
Correct answer
DPositive semidefinite matrices may have zero eigenvalues
Explanation
Positive semidefinite matrices allow zero eigenvalues, whereas positive definite matrices require all eigenvalues to be strictly positive.
- A
- 37
How can a positive semidefinite matrix be viewed in relation to positive definite matrices?
- A
It lies strictly inside the positive definite set
- B
It is always identical to the zero matrix
- C
It must lie outside both positive definite and indefinite matrices
- D
It can lie on the boundary between positive definite and indefinite matrices
Correct answer
DIt can lie on the boundary between positive definite and indefinite matrices
Explanation
A positive semidefinite matrix lies on the boundary of the set of positive definite matrices: it is not positive definite when it has a zero eigenvalue, but it is not indefinite if all eigenvalues are nonnegative.
- A
- 38
For a symmetric 2×2 matrix with determinant zero and positive trace, how can its eigenvalues be characterized?
- A
The zero determinant proves both eigenvalues are negative
- B
The zero determinant gives a zero eigenvalue, and the positive trace makes the other positive
- C
The positive trace proves both eigenvalues are positive
- D
The trace and determinant provide no information about the eigenvalues
Correct answer
BThe zero determinant gives a zero eigenvalue, and the positive trace makes the other positive
Explanation
A zero determinant means at least one eigenvalue is zero. If the trace is positive in this 2×2 symmetric example, the other eigenvalue is positive, giving a positive semidefinite matrix.
- A
- 39
What are the eigenvalues of the 3×3 matrix whose entries are all 1?
- A
Its eigenvalues are 3,3,3
- B
Its eigenvalues are 1,1,1
- C
Its eigenvalues are 3,0,0
- D
Its eigenvalues are 0,0,0
Correct answer
CIts eigenvalues are 3,0,0
Explanation
The 3×3 all-ones matrix has rank 1, so it has only one nonzero eigenvalue. Its trace is 3, so that eigenvalue is 3; the other two are zero.
- A
- 40
Why is the 3×3 all-ones matrix not positive definite?
- A
Its rank is 2, so it is indefinite
- B
Its rank is 1, so it is singular and not positive definite
- C
Its rank is 0, so it is positive definite
- D
Its rank is 3, so it is positive definite
Correct answer
BIts rank is 1, so it is singular and not positive definite
Explanation
A matrix with rank 1 has only one nonzero eigenvalue in this symmetric example. The two zero eigenvalues make it singular, so it cannot be positive definite.
- A
- 41
Why does expressing the 3×3 all-ones matrix as ATA show it is positive semidefinite?
- A
Writing it as ATA expresses its energy as a squared length, which is nonnegative
- B
Writing it as ATA proves its determinant is positive
- C
Writing it as ATA proves it has no zero eigenvalues
- D
Writing it as ATA makes it negative definite
Correct answer
AWriting it as ATA expresses its energy as a squared length, which is nonnegative
Explanation
Let A=(1,1,1). Then ATA is the 3×3 all-ones matrix, and xTATAx=∥Ax∥2≥0. This shows the matrix is positive semidefinite.
- A
- 42
How does column dependence relate to the distinction between positive definite and positive semidefinite matrices of the form ATA?
- A
Positive definiteness requires independent columns, while semidefiniteness can allow dependence
- B
Positive definiteness requires dependent columns, while semidefiniteness does not
- C
Both positive definiteness and semidefiniteness require dependent columns
- D
Neither condition is related to whether the columns are dependent
Correct answer
APositive definiteness requires independent columns, while semidefiniteness can allow dependence
Explanation
For ATA to be positive definite, its quadratic energy must be positive for all nonzero x, meaning Ax cannot be zero for any such x. Thus the columns of A must be independent. Positive semidefiniteness permits dependence.
- A
- 43
In the eigenvector decomposition of the 3×3 all-ones matrix, why is there only one nonzero eigenvector contribution?
- A
Every eigenvector term contributes equally because all entries are one
- B
No eigenvector terms contribute because the matrix is singular
- C
Two eigenvector terms contribute because the matrix has rank one
- D
Only one eigenvector term contributes because only one eigenvalue is nonzero
Correct answer
DOnly one eigenvector term contributes because only one eigenvalue is nonzero
Explanation
A symmetric matrix can be expressed using its eigenvalues and orthonormal eigenvectors. For the all-ones matrix, only one eigenvalue is nonzero, so only one eigenvector term contributes.
- A

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