What does the spectral theorem say about symmetric matrices?

Quick Overview

Asks you to state the spectral theorem for real symmetric matrices and explain what it says about their eigenvalues, eigenvectors and diagonalization. Tests linear algebra fundamentals behind PCA, covariance matrices, definiteness checks and Hessians in optimization.

What does the spectral theorem say about symmetric matrices?

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Other

What does the spectral theorem say about symmetric matrices? Answer for real matrices with $A = A^\top$. ```hint Three parts Cover what the theorem says about the eigenvalues, what it says about the eigenvectors, and the factorization you can write as a result. ``` ```hint A complex eigenvector For an eigenvector $v$ that might be complex, compare the number $v^* A v$ with its own complex conjugate. ``` ### What a Strong Answer Covers - What the theorem says about the eigenvalues, the eigenvectors and the factorization of $A$. - Why the main claims hold, including what happens when an eigenvalue repeats. - The geometric meaning of the factorization. - How symmetric matrices differ from general square matrices. - Where the theorem is used, such as PCA, definiteness tests and Hessians. ### Follow-up Questions - Why is a covariance matrix positive semidefinite, and what does that say about its eigenvalues? - How is the spectral theorem related to the singular value decomposition? - Which real matrices can be diagonalized by an orthogonal matrix, and what is the analog for complex matrices? - Why should you use `numpy.linalg.eigh` instead of `numpy.linalg.eig` on a covariance matrix?

Overview: Asks you to state the spectral theorem for real symmetric matrices and explain what it says about their eigenvalues, eigenvectors and diagonalization. Tests linear algebra fundamentals behind PCA, covariance matrices, definiteness checks and Hessians in optimization.

General logo
General
Nov 24, 2026
mediumData ScientistOtherStatistics & Math
0
0

What does the spectral theorem say about symmetric matrices?

Answer for real matrices with A=A⊤A = A^\top.

What a Strong Answer Covers Guidance

  • What the theorem says about the eigenvalues, the eigenvectors and the factorization of AA .
  • Why the main claims hold, including what happens when an eigenvalue repeats.
  • The geometric meaning of the factorization.
  • How symmetric matrices differ from general square matrices.
  • Where the theorem is used, such as PCA, definiteness tests and Hessians.

Follow-up Questions Guidance

  • Why is a covariance matrix positive semidefinite, and what does that say about its eigenvalues?
  • How is the spectral theorem related to the singular value decomposition?
  • Which real matrices can be diagonalized by an orthogonal matrix, and what is the analog for complex matrices?
  • Why should you use numpy.linalg.eigh instead of numpy.linalg.eig on a covariance matrix?