1. Home
  2. Explore
  3. Mathematics
  4. Positive Definite Matrices

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Positive Definite Matrices

  • 54Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Positive Definite Tests
A symmetric matrix is positive definite when all of its eigenvalues are
.

54 questions

  1. 1
    A 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.

  2. 2
    The 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.

  3. 3
    The 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.

  4. 4
    The symmetric matrix with rows (3,4)(3,4)(3,4) and (4,5)(4,5)(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)(3,4)(3,4) and (4,5)(4,5)(4,5) has determinant 15−16=−115-16=-115−16=−1. Its eigenvalues are real and multiply to a negative number, so one is positive and the other is negative.

  5. 5
    A 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)(3,4)(3,4) and (4,5)(4,5)(4,5) has positive entries but a negative determinant and a negative eigenvalue.

  6. 6
    The 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 111 by 111 block through the full matrix.

  7. 7
    Leading 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 111 by 111 determinant.

  8. 8
    For 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)(3,4)(3,4) and (4,6)(4,6)(4,6), these are 333 and 222.

  9. 9
    A 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)(3,4)(3,4) and (4,6)(4,6)(4,6), elimination gives pivots 333 and 2/32/32/3, both positive.

  10. 10
    For the matrix with rows (3,4)(3,4)(3,4) and (4,6)(4,6)(4,6), the second elimination pivot is
    _____
    .
    Hint

    Subtract the elimination contribution 16/316/316/3 from the lower-right entry, which is 666.

    Answer

    2/32/32/3

    Explanation

    Elimination subtracts 4/34/34/3 times the first row from the second. The second pivot is 6−16/3=2/36-16/3=2/36−16/3=2/3.

  11. 11
    In the example with rows (3,4)(3,4)(3,4) and (4,6)(4,6)(4,6), the second pivot equals
    _____
    .
    Hint

    Compare the second pivot with the successive leading determinants.

    Answer

    the 222 by 222 determinant divided by the 111 by 111 determinant

    Explanation

    For this example, the second pivot is 2/32/32/3: the 222 by 222 determinant is 222, and the 111 by 111 determinant is 333.

  12. 12
    To 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.

  13. 13
    The quadratic expression xTSxx^\mathsf{T}SxxTSx is the
    _____
    in the vector xxx for the matrix SSS.
    Hint

    The lecture uses a physical-sounding name for this quadratic quantity.

    Answer

    energy

    Explanation

    The quadratic expression xTSxx^\mathsf{T}SxxTSx is called the energy in the vector xxx for the matrix SSS.

  14. 14
    A symmetric matrix is positive definite when xTSxx^\mathsf{T}SxxTSx is
    _____
    for every nonzero vector xxx.
    Hint

    For nonzero vectors, the energy must lie strictly above zero.

    Answer

    positive

    Explanation

    The energy test defines positive definiteness by requiring xTSx>0x^\mathsf{T}Sx>0xTSx>0 for every nonzero vector xxx. At the zero vector, the expression is zero.

  15. 15
    For the matrix with rows (3,4)(3,4)(3,4) and (4,6)(4,6)(4,6), the energy in (x,y)T(x,y)^\mathsf{T}(x,y)T is
    _____
    .
    Hint

    The two off-diagonal entries each contribute a term involving xyxyxy.

    Answer

    3x2+6y2+8xy3x^2+6y^2+8xy3x2+6y2+8xy

    Explanation

    Multiplying the vector (x,y)T(x,y)^\mathsf{T}(x,y)T by the matrix and then by the row vector gives 3x2+4xy+4xy+6y23x^2+4xy+4xy+6y^23x2+4xy+4xy+6y2, or 3x2+6y2+8xy3x^2+6y^2+8xy3x2+6y2+8xy.

  16. 16
    In the energy expression for the matrix with rows (3,4)(3,4)(3,4) and (4,6)(4,6)(4,6), the terms 3x23x^23x2 and 6y26y^26y2 are the
    _____
    .
    Hint

    These terms come from the entries on the main diagonal of the matrix.

    Answer

    diagonal pieces

    Explanation

    The diagonal entries 333 and 666 contribute 3x23x^23x2 and 6y26y^26y2 to the quadratic energy.

  17. 17
    The two contributions 4xy4xy4xy and 4xy4xy4xy 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 4xy4xy4xy each; together they make the 8xy8xy8xy cross term.

  18. 18
    The cross term 8xy8xy8xy is negative when xxx and yyy have
    _____
    .
    Hint

    A product of two real numbers is negative when their signs differ.

    Answer

    opposite signs

    Explanation

    The product xyxyxy is negative when xxx and yyy have opposite signs, so the term 8xy8xy8xy can lower the energy.

  19. 19
    For 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.

  20. 20
    The 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.

  21. 21
    In 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.

  22. 22
    A practical objective may add terms such as xTbx^\mathsf{T}bxTb 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 xTbx^\mathsf{T}bxTb in addition to a quadratic term.

  23. 23
    Finding 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.

  24. 24
    A 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.

  25. 25
    For 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.

  26. 26
    The 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.

  27. 27
    At 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.

  28. 28
    An 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.

  29. 29
    The 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.

  30. 30
    After 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.

  31. 31
    Large-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.

  32. 32
    A 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.

  33. 33
    In 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.

  34. 34
    If 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+y2x^2+y^2x2+y2, whose level sets are circular and whose graph is a circular bowl.

  35. 35
    On the circular bowl given by x2+y2x^2+y^2x2+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+y2x^2+y^2x2+y2, the gradient points radially outward. Moving downhill from any starting point therefore goes directly toward and through the center.

  36. 36
    If SSS and TTT are positive definite, then their sum S+TS+TS+T is
    _____
    .
    Hint

    Use the energy test and split the expression into the contribution from each matrix.

    Answer

    positive definite

    Explanation

    If SSS and TTT are positive definite, then for every nonzero xxx, xT(S+T)x=xTSx+xTTxx^\mathsf{T}(S+T)x=x^\mathsf{T}Sx+x^\mathsf{T}TxxT(S+T)x=xTSx+xTTx is a sum of positive quantities.

  37. 37
    For nonzero xxx, the energy xT(S+T)xx^\mathsf{T}(S+T)xxT(S+T)x is
    _____
    when both SSS and TTT 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+TS+TS+T is the sum of the positive energies for SSS and TTT, so it is positive.

  38. 38
    If SSS is positive definite, then its inverse S−1S^{-1}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/λ1/\lambda1/λ, where each original eigenvalue λ\lambdaλ is positive. Thus the inverse is also positive definite.

  39. 39
    An eigenvalue λ\lambdaλ of SSS becomes
    _____
    for S−1S^{-1}S−1.
    Hint

    The inverse reverses the scaling associated with an eigenvalue.

    Answer

    1/λ1/\lambda1/λ

    Explanation

    If λ\lambdaλ is an eigenvalue of SSS, the corresponding eigenvalue of S−1S^{-1}S−1 is its reciprocal.

  40. 40
    Before 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.

  41. 41
    If SSS is symmetric and QQQ is orthogonal, then QTSQQ^\mathsf{T}SQQTSQ is also
    _____
    .
    Hint

    Transpose the product and use the symmetry of SSS.

    Answer

    symmetric

    Explanation

    For orthogonal QQQ, the transpose of QTSQQ^\mathsf{T}SQQTSQ equals itself when SSS is symmetric, so the transformed matrix remains symmetric.

  42. 42
    The matrix QTSQQ^\mathsf{T}SQQTSQ has
    _____
    as SSS.
    Hint

    Similarity preserves the spectrum.

    Answer

    the same eigenvalues

    Explanation

    The matrix QTSQQ^\mathsf{T}SQQTSQ is similar to SSS because QT=Q−1Q^\mathsf{T}=Q^{-1}QT=Q−1 for an orthogonal matrix. Similar matrices have the same eigenvalues.

  43. 43
    If SSS is positive definite and QQQ is orthogonal, then QTSQQ^\mathsf{T}SQQTSQ is
    _____
    .
    Hint

    Use either the unchanged eigenvalues or substitute y=Qxy=Qxy=Qx in the energy.

    Answer

    positive definite

    Explanation

    Since the orthogonal transformation preserves the eigenvalues of SSS, positive eigenvalues remain positive; equivalently, its energy is the energy of SSS evaluated at QxQxQx.

  44. 44
    A 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.

  45. 45
    For a positive semidefinite matrix, xTSxx^\mathsf{T}SxxTSx is
    _____
    for every vector xxx.
    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.

  46. 46
    The 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.

  47. 47
    When 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.

  48. 48
    After 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.

  49. 49
    The 333 by 333 matrix whose entries are all 111 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 111 has eigenvalues 3,0,03,0,03,0,0, so all its eigenvalues are nonnegative, but it is singular and not positive definite.

  50. 50
    The eigenvalues of the 333 by 333 all-ones matrix are
    _____
    .
    Hint

    Rank one gives two zero eigenvalues, and the trace supplies the remaining value.

    Answer

    3,0,03,0,03,0,0

    Explanation

    The all-ones matrix has rank one, so only one eigenvalue is nonzero; its trace is 333, making the eigenvalues 3,0,03,0,03,0,0.

  51. 51
    The rank of the 333 by 333 all-ones matrix is
    _____
    .
    Hint

    Count the number of linearly independent columns in the all-ones matrix.

    Answer

    111

    Explanation

    All rows and columns of the all-ones matrix are dependent, and the matrix has only one independent column, so its rank is 111.

  52. 52
    Writing the all-ones matrix as ATAA^\mathsf{T}AATA 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 ATAA^\mathsf{T}AATA with A=(1,1,1)A=(1,1,1)A=(1,1,1), making its quadratic energy a squared quantity and therefore nonnegative.

  53. 53
    The ATAA^\mathsf{T}AATA 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 ATAA^\mathsf{T}AATA test allows dependent columns; requiring independent columns would rule out singular cases.

  54. 54
    A 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.

1 of 54
Question 1 of 54

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent