What do the eigenvalues of a matrix tell you about its definiteness?

Quick Overview

Asks how the eigenvalues of a matrix determine whether it is positive definite, semi-definite, negative definite or indefinite. Tests the spectral decomposition argument, the meaning of zero eigenvalues, the symmetry requirement, and where definiteness matters for covariance matrices and Hessians.

What do the eigenvalues of a matrix tell you about its definiteness?

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Other

What do the eigenvalues of a matrix tell you about its definiteness? Definiteness here refers to the sign of the quadratic form $x^\top A x$ over all nonzero vectors $x$. ```hint Change coordinates For a symmetric matrix, rewrite $x^\top A x$ in the coordinates of an orthonormal basis of eigenvectors and see what the expression becomes. ``` ```hint Test a non-symmetric case Try a 2 by 2 upper-triangular matrix with positive diagonal entries and a large off-diagonal entry. Is its quadratic form positive for every nonzero vector? ``` ### What a Strong Answer Covers - The eigenvalue sign condition for positive definite, positive semi-definite, negative (semi-)definite and indefinite matrices. - Why the condition holds, using the spectral decomposition of a symmetric matrix. - What zero eigenvalues mean for the quadratic form and for invertibility. - The symmetry requirement and what governs the quadratic form of a non-symmetric matrix. - Where definiteness matters in practice, such as covariance matrices, Hessians and convexity. ### Follow-up Questions - How would you check numerically that a large covariance matrix is positive definite, and what do you do about tiny negative eigenvalues? - Do the leading principal minors in Sylvester's criterion also decide positive semi-definiteness? - At a critical point the Hessian has eigenvalues 3, 0 and -2. What can you conclude? - Why is every covariance matrix positive semi-definite, and when is it singular?

Overview: Asks how the eigenvalues of a matrix determine whether it is positive definite, semi-definite, negative definite or indefinite. Tests the spectral decomposition argument, the meaning of zero eigenvalues, the symmetry requirement, and where definiteness matters for covariance matrices and Hessians.

Nov 25, 2026
mediumData ScientistOtherStatistics & Math
0
0

What do the eigenvalues of a matrix tell you about its definiteness?

Definiteness here refers to the sign of the quadratic form x⊤Axx^\top A x over all nonzero vectors xx.

What a Strong Answer Covers Guidance

  • The eigenvalue sign condition for positive definite, positive semi-definite, negative (semi-)definite and indefinite matrices.
  • Why the condition holds, using the spectral decomposition of a symmetric matrix.
  • What zero eigenvalues mean for the quadratic form and for invertibility.
  • The symmetry requirement and what governs the quadratic form of a non-symmetric matrix.
  • Where definiteness matters in practice, such as covariance matrices, Hessians and convexity.

Follow-up Questions Guidance

  • How would you check numerically that a large covariance matrix is positive definite, and what do you do about tiny negative eigenvalues?
  • Do the leading principal minors in Sylvester's criterion also decide positive semi-definiteness?
  • At a critical point the Hessian has eigenvalues 3, 0 and -2. What can you conclude?
  • Why is every covariance matrix positive semi-definite, and when is it singular?