Singular Value Decomposition - Properties of Symmetric Matrices


matrix

In a previous post, you have seen that the eigenvectors of a symmetric matrix are perpendicular to each other. This is not a coincidence and is an important property of symmetric matrices.

An important property of symmetric matrices is that an n×n symmetric matrix has n linearly independent and orthogonal eigenvectors, and it has n real eigenvalues corresponding to those eigenvectors. It is important to note that these eigenvalues are not necessarily unique; some of them can be identical. Another important property of symmetric matrices is that they are orthogonally diagonalizable. Next, let’s unpack orthogonally diagonalizable.

Eigendecomposition

A symmetric matrix is orthogonally diagonalizable. It means that for an n×n symmetric matrix A, we can decompose it as

A=PDP

in which D is an n×n diagonal matrix comprised of the n eigenvalues of A on its diagonal. P is also an n×n matrix, and the columns of P are the n linearly independent eigenvectors of A that correspond to those eigenvalues in D respectively. For example, if u1,u2,,un are the eigenvectors of A, and λ1,λ2,,λn are their corresponding eigenvalues, then A can be written as

A=[u1u2un][λ1000λ2000λn][u1u2un]

This can also be written as

A=[u1u2un][λ1000λ2000λn][u1u2un]

This factorization of A is called the eigendecomposition of A.

Let’s see an example. Suppose that

A=[3112]

It has two eigenvectors:

u1=[0.850.53] u2=[0.530.85]

and the corresponding eigenvalues are:

λ1=3.62, λ2=1.38

Therefore, D can be defined as

D=[λ100λ2]=[3.62001.38]

Likewise, columns of P are the eigenvectors of A corresponding to those eigenvalues in D,

P=[u1u2]=[0.850.530.530.85]

The transpose of P is

P=[u1u2]=[u1u2]=[0.850.530.530.85]

And finally, barring some round error, A can be written as

A=[3112]=[0.850.530.530.85][3.62001.38][0.850.530.530.85]

It is neat to be able to re-write a symmetric matrix as the product of three matrices. But to understand its implication, we need to look at it geometrical interpretation, which will be the topic of the next post.