Singular Value Decomposition

Singular Value Decomposition is one of the important concepts in linear algebra. To understand the meaning of singular value decomposition (SVD), one must be aware of the related concepts such as matrix, types of matrices, transformations of a matrix, etc. As this concept is connected to various concepts of linear algebra, it’s become challenging to learn the singular value decomposition of a matrix. In this article, you will learn the definition of singular value decomposition, examples of 2×2 and 3×3 matrix decomposition in detail.

What is Singular Value Decomposition?

The Singular Value Decomposition of a matrix is a factorization of the matrix into three matrices. Thus, the singular value decomposition of matrix A can be expressed in terms of the factorization of A into the product of three matrices as A = UDVT

Here, the columns of U and V are orthonormal, and the matrix D is diagonal with real positive entries.

Read more:

Singular Value Decomposition of a Matrix

Mathematically, the singular value decomposition of a matrix can be explained as follows:

Consider a matrix A of order mxn.

This can be uniquely decomposed as:

A = UDVT

U is mxn and column orthogonal (that means its columns are eigenvectors of AAT)

(AAT = UDVT VDUT = UD2UT )

V is nxn and orthogonal (that means its columns are eigenvectors of ATA)

(ATA = VDUT UDVT = VD2V T )

D is nxn diagonal, where non-negative real values are called singular values.

Learn how to find eigenvalues and eigenvectors of a matrix here.

Let D = diag(σ1, σ2,…, σn) ordered such that σ1 ≥ σ2 ≥ … ≥ σn.

If σ is a singular value of A, its square is an eigenvalue of ATA.

Also, let U = (u1 u2 … un) and V = (v1 v2 … vn).

Therefore,

\(\begin{array}{l}\large A=\sum_{i=1}^{n}\sigma_{i}u_{i}v_{i}^{T}\end{array} \)

Here, the sum can be given from 1 to r so that r is the rank of matrix A.

Go through the example given below to understand the process of singular value decomposition of a matrix in a better way.

Singular Value Decomposition Example

The process of finding the singular value decomposition for 3×3 matrix and 2×2 matrix is the same. Let’s have a look at the example of 2×2 matrix decomposition.

Singular Value Decomposition 2×2 Matrix Example

Question:

Find the singular value decomposition of a matrix

\(\begin{array}{l}A = \begin{bmatrix} -4 & -7\\ 1 & 4 \end{bmatrix}\end{array} \)
.

Solution:

Given,

\(\begin{array}{l}A = \begin{bmatrix} -4 & -7\\ 1 & 4 \end{bmatrix}\end{array} \)

So,

\(\begin{array}{l}A^T = \begin{bmatrix} -4 & 1\\ -7 & 4 \end{bmatrix}\end{array} \)

Now,

\(\begin{array}{l}AA^T = \begin{bmatrix} -4 & -7\\ 1 & 4 \end{bmatrix}\begin{bmatrix} -4 & 1\\ -7 & 4 \end{bmatrix}=\begin{bmatrix} 65 & -32\\ -32 & 17 \end{bmatrix}\end{array} \)

Finding the eigenvector for AAT.

Singular value decomposition ex1

∴ The eigenvalues of the matrix A⋅A′ are given by λ = 1, 81.

Now,

Eigenvectors for λ = 81 are:

\(\begin{array}{l}v_1 = \begin{bmatrix} -2 \\ 1 \end{bmatrix}\end{array} \)

Eigenvectors for λ = 1 are:

\(\begin{array}{l}v_2 = \begin{bmatrix} 0.5 \\ 1 \end{bmatrix}\end{array} \)

Singular value decomposition ex2

Similarly, we can find the eigenvectors for A’A as:

Eigenvectors for λ = 81 are:

\(\begin{array}{l}v_1 = \begin{bmatrix} 0.5 \\ 1 \end{bmatrix}\end{array} \)

Eigenvectors for λ = 1 are:

\(\begin{array}{l}v_2 = \begin{bmatrix} -2 \\ 1 \end{bmatrix}\end{array} \)

Singular value decomposition ex3

Using these values, we can write the solution.

Singular value decomposition ex4

Or

Singular value decomposition ex5

Singular Value Decomposition Applications

Some of the applications of singular value decomposition are listed below:

  • SVD has some fascinating algebraic characteristics and conveys relevant geometrical and theoretical insights regarding linear transformations.
  • SVD has some critical applications in data science too.
  • Mathematical applications of the SVD involve calculating the matrix approximation, rank of a matrix and so on.
  • The SVD is also greatly useful in science and engineering.
  • It has some applications of statistics, for example, least-squares fitting of data and process control.

To learn more interesting Maths concepts, download BYJU’S – The Learning App today!

Comments

Leave a Comment

Your Mobile number and Email id will not be published.

*

*