Learning Outcomes:
- Eigendecompositon of a square matrix.
- Necessary conditions for eigendecomposition.
- Spectral decomposition of the symmetric matrix.
Note: Like eigen-pairsm, spectral decomposition is again very important concepts in many ML algorithms. Some of these algorithms can be listes as: PCA, Spectral Clustering, Statistical ML algorithms, reinforcement learning, image processing, etc.
Eigen-decomposition
- Let A be a square matrix of order n. Also let {} be the n Linearly Independent eigenvectors of A. Then the matrix A can be decomposed as: where P is the matrix whose columns are the eigenvectors of A and D is the diagonal matrix whose diagonal elements are the corresponding eigenvalues of A.
- The column of P is the eigenvector of A, and D is a diagonal matrix whose diagonal elements are the corresponding eigenvalues of A.
Note: Every square matrix does not possess the property of eigen-decomposition. The necessary and sufficient conditions for the eigen-decomposition of a square matrix are:
Example for reference:
Necessary conditions for eigen-decomposition:
- We need AM = GM for each eigenvalue of A.
- The matrix A should have n linearly independent eigenvectors.
- The eigenvectors of A forms a basis of n-dimensional vector space.
Spectral Decomposition
-
Let A be a symmetric matrix. Then, the eigen-decomposition of A is guaranteed where P is the matrix whose columns are the eigenvectors of A and D is the diagonal matrix whose diagonal elements are the corresponding eigenvalues of A.
-
Consider be the eigenvalues of A and be the corresponding eigenvectors of A. Then, the spectral decomposition of A is given by:

Note: Each matrix is the projection onto 1-D subspace spanned by . In other words, Orthogonal Projection maps x onto the line spanned by .
Example for reference:
Spectral Decomposition Spectral Decomposition
Singular Value Decomposition (SVD)
Singular Values:
- Let . Consider the matrix n \times nA^{T}Aare $${\sigma}_1 \geq {\sigma}_2 \geq ... \geq {\sigma}_n \geq 0$$ Let, $${\sigma}_1 = \sqrt{{\lambda}_1}$$ $$\Rightarrow {\sigma}_1 \geq {\sigma}_2 \geq ... \geq {\sigma}_n \geq 0$$ The numbers{\sigma}_1, {\sigma}_2, …, {\sigma}_n$ are called the singular values of A.
Singular Value Decomposition:
- Let A be a matrix. Then, the Singular Value Decomposition of A is given by:
where U is a orthogonal matrix, D is a diagonal matrix and V is a orthogonal matrix.
- V is the matrix whose columns are the eigenvectors of .
- We can have eigenvectors of such that Moreover, these are pairwise orthogonal to each other.

- We can have eigenvectors of such that Moreover, these are pairwise orthogonal to each other.
- U is the matrix whose columns are the eigenvectors of .
- Now take the orthonormal eigenvectors of as such that Moreover, these are pairwise orthogonal to each other.

- Now take the orthonormal eigenvectors of as such that Moreover, these are pairwise orthogonal to each other.
- D or is the diagonal matrix whose diagonal elements are the singular values of A.
- The diagonal elements of D are the square roots of the eigenvalues of or .

- The diagonal elements of D are the square roots of the eigenvalues of or .
- V is the matrix whose columns are the eigenvectors of .
Example for reference:
Applications of SVD:

Properties of SVD:
- Let with rank(A) = r and be the SVD.
- Only the first r (= rankA) singular values are non-zero.
- The range(A) is given by the first ‘r’ columns of U.
- The null(A) is given by the last ‘n-r’ columns of V.(i.e. the solution space of AX = 0).
- The is given by the first ‘r’ columns of V.
- The is given by the last ‘m-r’ columns of U.
Pseudo-Inverse:

Example for reference:

Operator and Matrix Norms:
-
If V(F) and W(F) are vector spaces and the set defined as
The set is a vector space over the field F. The norm is called the operator norm on the space . For a matrix , we define the matrix p-norm as where is the p-norm of the vector X.

Spectral and Frobenius Norms:

Matrix Norms:

Example for all the above concepts:

Rank of a Matrix:
-
The rank of a matrix A is the maximum number of linearly independent columns in A. It is the number of L.I. rows or columns in A.
is having rank 3.
-
Let . Then,
- for invertible matrices P and Q.
- rank(\begin{bmatrix} A_{11} & A_{12} \\ 0 & A_{22} \end{bmatrix}) \leq rank(A) + rank(B)$ = rank(A_{11}) + rank(A_{22}) where are block matrices.
Rank and Matrix Factorization

Low Rank Approximation:
- Let (often large), having . The low-rank approximation of A is to find another matrix which is having rank and approximate A.
- To find the “best” we must define how closely approximates A. The simplest metric is the Frobenius norm of .This criterion leads to the following low-rank approximation problem:

Convexity

Measure of quality of approximation:
- A measure of quality of the approximation is given by

Example

Application of Image Processing
- A sequence of low rank approximations follows. We see the input image, the low rank approximation, the error, and the threshold for the spectrum. The image matrix has rank 266. Using a rank of 25 produces a reasonable approximation.

Learning Outcomes:
- One of the most popular and widely used matrix decomposition method is the Singular Value Decomposition (SVD).
- All matrices have an SVD, which makes it more stable than other methods, such as the eigendecomposition.
- It is having applications in order to deal with big-data. More specifically some of these application include compressing, denoising, an ddata reduction.