Eigen, Spectral, SVD Decompositions

 

✅ 1. Spectral Decomposition vs Eigenvalue Decomposition

These terms are often used interchangeably, especially in the context of symmetric (real) matrices.

🔷 Spectral Decomposition

  • Applies specifically to diagonalizable matrices, typically symmetric real matrices or Hermitian matrices in complex space.

  • For a symmetric matrix AA:

    A=QΛQTA = Q \Lambda Q^T

    where:

    • QQ contains the orthonormal eigenvectors of AA

    • Λ\Lambda is a diagonal matrix of real eigenvalues

This decomposition represents the matrix in terms of its eigenvalues and eigenvectors.

🔷 Eigenvalue Decomposition

  • More general and can apply to non-symmetric matrices.

  • For diagonalizable matrix AA:

    A=VΛV1A = V \Lambda V^{-1}

    where:

    • VV contains the (possibly non-orthogonal) eigenvectors

    • Λ\Lambda contains the eigenvalues

Key Difference:
Spectral decomposition assumes the matrix is symmetric (or Hermitian), leading to orthogonal eigenvectors and real eigenvalues.
Eigenvalue decomposition works more broadly but may involve complex eigenvalues and non-orthogonal eigenvectors.


✅ 2. Spectral Decomposition vs Singular Value Decomposition (SVD)

These are different decompositions and apply in different contexts.

🔷 Spectral Decomposition

  • Applies only to square symmetric matrices

  • Uses eigenvalues and eigenvectors

  • Form:

    A=QΛQTA = Q \Lambda Q^T

🔷 SVD (Singular Value Decomposition)

  • Applies to any m×nm \times n matrix, not just square ones

  • Uses singular values and left/right singular vectors

  • Form:

    A=UΣVTA = U \Sigma V^T

Key Difference:

  • Spectral Decomposition relies on eigenvalues of square symmetric matrices.

  • SVD generalizes this to any matrix, even non-square, and always exists.


✅ Summary Table

FeatureSpectral DecompositionSingular Value Decomposition (SVD)
Applies toSquare, symmetric matricesAny matrix (square or not)
Decomposed intoEigenvectors and eigenvaluesSingular vectors and singular values
Always exists?Only if matrix is diagonalizableYes, for all matrices
Matrix formA=QΛQTA = Q \Lambda Q^TA=UΣVTA = U \Sigma V^T
Eigenvalue-based?✅ Yes❌ No (uses singular values)
Use casePCA (with covariance), spectral clusteringPCA, LSA, image compression, recommender systems

Comments

Popular posts from this blog

GNEST305 Introduction to Artificial Intelligence and Data Science KTU BTech S3 2024 Scheme - Dr Binu V P

Basics of Machine Learning

Types of Machine Learning Systems