Positive Definite Matrices
- 46Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
What are two important properties of real symmetric matrices?
A matrix S is symmetric if ST=S. A real symmetric matrix has real eigenvalues and orthogonal eigenvectors.
Or swipe the card
46 cards
What are two important properties of real symmetric matrices?
A matrix S is symmetric if ST=S. A real symmetric matrix has real eigenvalues and orthogonal eigenvectors.
What does it mean for a symmetric matrix to be positive definite?
A symmetric matrix is positive definite if all its eigenvalues are positive.
What does it mean for a symmetric matrix to be indefinite?
An indefinite symmetric matrix has both positive and negative eigenvalues.
Do positive entries in a symmetric matrix guarantee that it is positive definite?
No. Positive entries do not guarantee positive eigenvalues or positive definiteness; for example, the matrix with rows (3,4) and (4,5) has positive entries but determinant −1.
How can the determinant reveal that a 2×2 symmetric matrix is indefinite?
The determinant is the product of the eigenvalues. For a 2×2 symmetric matrix with negative determinant, its two real eigenvalues have opposite signs, so the matrix is indefinite.
How does positive semidefiniteness differ from positive definiteness?
Positive semidefinite means all eigenvalues are greater than or equal to zero; unlike positive definite matrices, these matrices may have zero eigenvalues.
What is the relationship among the different tests for positive definiteness?
Any one of the equivalent tests—eigenvalues, quadratic energy, leading principal determinants, pivots, or an appropriate ATA factorization—is sufficient to establish positive definiteness.
What is the eigenvalue test for positive definiteness?
All eigenvalues of S must be positive.
What is the energy test for positive definiteness?
For every nonzero vector x, the quadratic form xTSx must be positive.
What are the leading principal determinants, and what must they satisfy for positive definiteness?
The leading principal determinants are the determinants of the upper-left k×k submatrices, for k=1,2,…,n. All must be positive.
How many leading principal determinants must be checked for an n×n matrix?
For an n×n matrix, check all n leading principal determinants, one for each leading square submatrix.
How are elimination pivots related to leading principal determinants?
For a symmetric matrix with positive leading principal determinants, its elimination pivots are positive. Each pivot is the ratio of consecutive leading determinants.
What are the leading principal determinants of the matrix with rows (3,4) and (4,6)?
For the matrix with rows (3,4) and (4,6), the leading determinants are 3 and 18−16=2, so both are positive.
What are the elimination pivots of the matrix with rows (3,4) and (4,6)?
The pivots are 3 and 2/3: the second pivot is the 2×2 determinant divided by the first leading determinant, 2/3.
How is an ATA factorization used to identify positive definite or positive semidefinite matrices?
A positive definite matrix can be written as ATA with A nonsingular. More generally, ATA is positive semidefinite, and it is positive definite when A has independent columns.
What is the quadratic energy associated with a matrix S and vector x?
The quadratic energy associated with S at vector x is the scalar xTSx.
What quadratic energy results from the matrix with rows (3,4) and (4,6), for x=(x,y)T?
For the matrix with rows (3,4) and (4,6), xTSx=3x2+8xy+6y2.
How do diagonal and off-diagonal entries of a symmetric matrix contribute to its quadratic energy?
Diagonal entries contribute squared-variable terms, such as 3x2 and 6y2. Symmetric off-diagonal entries contribute cross terms; the two 4 entries together give 8xy.
What is the geometric interpretation of the energy xTSx when S is positive definite?
For a positive definite matrix, xTSx is positive for every nonzero x and forms a bowl-shaped graph with its minimum at the origin.
Why can the cross term in a quadratic energy be negative without making the matrix indefinite?
A cross term such as 8xy can be negative when x and y have opposite signs. Positive definiteness means the full quadratic expression remains positive for every nonzero vector.
What condition does positive semidefiniteness impose on quadratic energy?
For a positive semidefinite matrix, xTSx is greater than or equal to zero for every vector x; it may equal zero for some nonzero vectors.
What is the optimization goal in the machine-learning setting described?
Optimization seeks a point where a loss or energy function is minimized; in machine learning, the function can depend on very many model parameters.
What effect does adding a linear term to a positive definite quadratic have?
Adding a linear term to a positive definite quadratic shifts the bowl and its minimum away from the origin, while preserving the bowl-shaped geometry.
What equations result from setting the first derivatives of a quadratic function to zero?
Minimizing a quadratic function by setting its first derivatives to zero produces a linear system.
What does convexity mean for a function, and how does it relate to quadratic forms?
A convex function has bowl-like geometry and does not dip into separate lower regions. A positive definite quadratic is convex; a positive semidefinite quadratic is the limiting case.
Why can minimizing a nonconvex function be difficult?
A nonconvex function can have multiple local minima, so a descent method may not reach the lowest, global minimum.
What is the gradient, and how does it guide descent?
The gradient is the vector of first derivatives with respect to all variables; it points in the direction of steepest increase, so its negative gives the steepest local descent direction.
What does a line search determine in gradient descent?
A line search chooses how far to move along a selected descent direction before stopping at a new point.
What are the basic repeated steps of gradient descent?
At each new point, recompute the gradient and use its negative as the next descent direction; repeat the step-and-search process.
Why might an optimization method use first derivatives instead of second derivatives for a very large problem?
Gradient-based methods commonly use first derivatives rather than second derivatives because computing second derivatives for functions with very many variables is costly.
Why can gradient descent make slow progress in a narrow valley?
A narrow, elongated bowl has eigenvalues with very different sizes. Steepest descent can cross the valley and turn uphill quickly, requiring small zigzagging steps toward the bottom.
How are a quadratic bowl’s eigenvalues related to its shape?
The eigenvalues describe the curvature of the quadratic bowl in different directions; a large difference between their sizes corresponds to an elongated bowl.
What is the shape of the quadratic bowl when its eigenvalues are equal?
If all eigenvalues are equal, the quadratic bowl is circular in two dimensions. For the identity matrix, the energy is x2+y2.
What path does gradient descent follow on a perfectly circular quadratic bowl?
On a perfectly circular bowl, the steepest descent path from a starting point runs directly through the center to the minimum.
Does positive definiteness alone ensure that gradient descent will be efficient?
Positive definiteness ensures an upward-opening bowl, but widely differing eigenvalues can still make gradient descent inefficient.
If S and T are positive definite, is S+T positive definite? Why?
Yes. For every nonzero x, xT(S+T)x=xTSx+xTTx, and both terms are positive.
If S is positive definite, is S−1 positive definite? Why?
Yes. The eigenvalues of S−1 are the reciprocals of the eigenvalues of S, so positive eigenvalues remain positive.
If S is positive definite and Q is orthogonal, why is QTSQ positive definite?
Yes. If Q is orthogonal, then QTSQ is symmetric and has the same eigenvalues as S, so it remains positive definite.
How does the energy test show that QTSQ is positive definite for orthogonal Q?
Set y=Qx. Then xTQTSQx=yTSy, which is positive for every nonzero x because Q is invertible and S is positive definite.
If S is positive definite, is the product SM necessarily positive definite for an arbitrary matrix M?
Not in general. The product SM may not be symmetric, and the positive-definiteness tests discussed apply to symmetric matrices.
What are the rank and eigenvalues of the 3×3 matrix whose entries are all 1, and how is it classified?
It is singular and has rank 1, with eigenvalues 3,0,0. It is positive semidefinite but not positive definite.
How can the trace and rank determine the eigenvalues of the 3×3 all-ones matrix?
Its trace is 3, equal to the sum of its eigenvalues. Since it has rank 1, only one eigenvalue is nonzero, so that eigenvalue must be 3.
How can the 3×3 all-ones matrix be expressed as ATA?
The matrix equals ATA for the row vector A=(1,1,1), since the product has every entry equal to 1.
Can a singular symmetric matrix be positive semidefinite?
A singular symmetric matrix can be positive semidefinite if its eigenvalues are all nonnegative, including zero.
How does column dependence distinguish positive semidefinite from positive definite ATA matrices?
Dependent columns are allowed for a positive semidefinite matrix. For positive definiteness, the corresponding factor must have independent columns so that no nonzero vector produces zero energy.
For the matrix with rows (3,4) and (4,16/3), how can singularity and trace identify its eigenvalues?
The zero eigenvalue makes the determinant zero, while the positive trace gives the sum of the remaining eigenvalues; in the example, the other eigenvalue is 25/3.

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