ML MATH & LINEAR ALGEBRA · INTERVIEW QUESTION
What is the difference between eigenvalues and singular values?
🟢 beginner · Linear Algebra
Hint: Think about what decomposition each comes from and what they tell you about a matrix.
Answer
Eigenvalues come from eigendecomposition () and exist only for square matrices. They can be complex and describe how the matrix scales along its eigenvectors.
Singular values come from SVD () and exist for any matrix. They are always non-negative real numbers and represent the scaling factors along the principal axes.
For symmetric positive semi-definite matrices, singular values equal eigenvalues.
Eigendecomposition requires to be diagonalizable; defective matrices do not have one.
| Property | Eigenvalues | Singular Values |
|---|---|---|
| Matrix type | Square only | Any matrix |
| Values | Can be complex | Always |
| Decomposition | (when diagonalizable) |
Likely follow-up: When would you prefer SVD over eigendecomposition in ML?
Related questions
- Explain the role of SVD in PCA. How does truncated SVD relate to dimensionality reduction?
- What is a matrix and why are matrices important in machine learning?
- What is the rank of a matrix? Why does it matter in ML?
- Explain the relationship between eigendecomposition and diagonalization. Why is it useful?
- What is a dot product and why does it matter in ML?