NLA MT25, Singular value decomposition


Flashcards

@State the SVD theorem.


Suppose $A \in \mathbb R^{m \times n}$ is a matrix. Then $A$ has the decomposition

\[A = U \Sigma V^\top\]

where:

  • The columns of $U$ are the “left singular vectors”
  • The columns of $V$ are the “right singular vectors”
  • $U^\top U = V^\top V = I _ n$
  • $\Sigma = \text{diag}(\sigma _ 1, \ldots, \sigma _ n)$
  • $\sigma _ 1 \ge \cdots \ge \sigma _ n \ge 0$ (the “singular values”)

The ∆svd-theorem states that every matrix $A$ has the decomposition

\[A = U \Sigma V^\top\]

where:

  • The columns of $U$ are the “left singular vectors”
  • The columns of $V$ are the “right singular vectors”
  • $U^\top U = V^\top V = I _ n$
  • $\Sigma = \text{diag}(\sigma _ 1, \ldots, \sigma _ n)$
  • $\sigma _ 1 \ge \cdots \ge \sigma _ n \ge 0$ (the “singular values”)

How can you interpret this geometrically?


Any matrix can bethought of as a rotation / reflection, followed by a magnification / shrinkage, followed by another rotation / reflection.

Example SVD calculations

Find the SVD of

\[A = \begin{bmatrix} -1 & -2 \\ 2 & 1 \\ 1 & 0 \\ 0 & 1 \end{bmatrix}\]

Compute the Gram matrix:

\[A^\top A = \begin{bmatrix} 6 & 4 \\ 4 & 6 \end{bmatrix}\]

Calculate the eigenvalues:

\[\chi _ A(\lambda) = (\lambda - 6)^2 - 4^2 = 0\]

so eigenvalues are $10$ and $2$.

Calculate eigenvector matrix:

\[V = \frac{1}{\sqrt 2} \begin{bmatrix} 1 & -1 \\ 1 & 1 \end{bmatrix}\]

Hence

\[A^\top A = V \Sigma^2 V^\top\]

where

\[\Sigma^2 = \begin{bmatrix} 10 & \\ & 2 \end{bmatrix}\]

Calculate $U$:

\[U = AV\Sigma^{-1} = \begin{bmatrix} -3/\sqrt{20} & -1/2 \\ \phantom{-}3/\sqrt{20} & -1/2 \\ \phantom{-}1/\sqrt{20} & -1/2 \\ \phantom{-}1/\sqrt{20} & \phantom{-}1/2 \end{bmatrix}\]

@example~

@Prove the ∆svd-properties, e.g. that if $A$ has the singular value decomposition

\[A = U\Sigma V^\top\]

then:

  1. The rank $r$ of $A$ is the number of non-zero singular values of $A$, which is the number of non-zero entries in $\Sigma$
  2. A basis for the column space of $A$ is given by the first $r$ columns of $U$
  3. A basis for the column space of $A^\top$ is given by the first $r$ columns of $V$
  4. A basis for the null space of $A$ is given by the last $n - r$ columns of $V$
  5. A basis for the null space of $A^\top$ is given by the last $n - r$ columns of $U$

@todo

@Prove that if $A \in \mathbb R^{m \times n}$ with SVD $A = U \Sigma V^\top$, then:

  • $V$ is an eigenvector matrix of $A^\top A$
  • $U$ is an eigenvector matrix of $A A^\top$
  • $\sigma _ i = \sqrt{\lambda _ i (A^\top A)}$

@todo

Suppose that $A$ is symmetric. @State a result about the connection between its eigenvalues $\lambda _ i$ and its singular values $\sigma _ i$.


\[\sigma _ i(A) = \vert \lambda _ i (A) \vert\]

@Prove that if $A$ is symmetric, then

\[\sigma _ i (A) = \vert \lambda _ i(A) \vert\]

@todo

Suppose that $A$ is unitary. @State a result about the connection between its eigenvalues and its singular values.


@todo, also @todo proof

Suppose that $A$ is skew-symmetric. @State a result about the connection between its eigenvalues and its singular values.


@todo, also @todo proof

Suppose that $A$ is normal. @State a result about the connection between its eigenvalues and its singular values.


@todo, also @todo proof

Suppose that $A$ is triangular. @State a result about the connection between its eigenvalues and its singular values.


@todo, also @todo proof

Suppose $A$ is a matrix. @Define the Jordan-Wieldant matrix.


\[\begin{bmatrix} 0 & A \\ A^\top & 0 \end{bmatrix}\]

The Jordan-Wieldant matrix associated with a matrix $A$ is

\[\begin{bmatrix} 0 & A \\ A^\top & 0 \end{bmatrix}\]

@State a result concerning its eigenvalues.


This matrix has eigenvalues $\pm \sigma _ i(A)$ and $m - n$ copies of eigenvalues at $0$, and it has eigenvector matrix

\[\begin{bmatrix} U & U & U _ \perp \\ V & -V & 0 \end{bmatrix}\]

Low-rank approximation




Related posts