LearnQuestion bank

Explain what an eigenvector and eigenvalue of a square matrix are, and what extra guarantees you get when the matrix is real and symmetric. Give one place this matters in deep learning.

ResearchTechnicalEasy

Answer it yourself first, out loud or on paper, then compare.

Answer

Model answer, written in a candidate's voice

In short

  • Definition: Av = λv for nonzero v; λ comes from det(A − λI) = 0; A scales that direction.
  • Real symmetric case: real eigenvalues and an orthonormal eigenbasis; spectral theorem A = QΛQᵀ with Q orthogonal.
  • Caveats: not every matrix is diagonalisable; non-symmetric matrices can have complex eigenvalues.
  • Uses: PCA eigenvectors of covariance; Hessian curvature and conditioning; power iteration; stability of recurrent dynamics.
  • Deep learning place: Hessian eigenstructure for curvature/conditioning of the loss and optimisation.

In full

An eigenvector v of a square matrix A is a nonzero direction that A only scales: Av = λv, where λ is the eigenvalue, and λ is found from det(A − λI) = 0. If A is real and symmetric, the spectral theorem guarantees real eigenvalues and an orthonormal eigenbasis, so A = QΛQᵀ with Q orthogonal and Λ diagonal. This is not true in general: some matrices are not diagonalisable, and non-symmetric matrices can have complex eigenvalues. It matters in deep learning because the Hessian’s eigenvectors and eigenvalues describe curvature and conditioning of the loss—steep directions versus flat directions—which affects step size and convergence. The same eigen-machinery also underlies PCA on covariance matrices, power iteration, and stability of recurrent dynamics through the eigenvalues of the Jacobian or recurrent weight matrix.

Corrected by an independent AI reviewer.

What a strong answer covers

  • The definition Av = λv (a direction the matrix only scales), found from det(A − λI) = 0.
  • Symmetric matrices have real eigenvalues and an orthonormal eigenbasis (spectral theorem): A = QΛQᵀ.
  • Uses: PCA (eigenvectors of the covariance), Hessian curvature and conditioning, power iteration, stability of recurrent dynamics.
  • Notes that not every matrix is diagonalisable, and that non-symmetric matrices can have complex eigenvalues.

Common mistakes

  • Treating eigenvalues and singular values as the same thing for non-symmetric matrices.
  • Claiming every real matrix has real eigenvalues.