Tutorials › Linear Algebra › Proof Of The Complex Singular Value Decomposition

Singular Value Decomposition · Tutorial 786 of 1000

Proof Of The Complex Singular Value Decomposition

See how an orthonormal eigenbasis of \(\mathbf{A}^{*}\mathbf{A}\) produces a full complex SVD, including the zero singular values and the required basis completions.

Advanced 10 min read

What You'll Learn

  • Use the eigenvalues of \(\mathbf{A}^{*}\mathbf{A}\) to define the singular values.
  • Construct left singular vectors from the images of eigenvectors with positive eigenvalues.
  • Prove that the constructed left singular vectors are orthonormal.
  • Complete the left and right singular vectors to unitary matrices.
  • Verify the dimensions and factorization for tall, wide, and rank-deficient matrices.

From the Gram Matrix to a Factorization

For a real matrix, the singular value decomposition is built from an orthonormal eigenbasis of its transpose-times-itself matrix. Over \(\mathbb{C}\), the corresponding matrix is \(\mathbf{A}^{*}\mathbf{A}\), where \(\mathbf{A}^{*}\) is the conjugate transpose. The conjugation matters: it ensures that the eigenvalues are nonnegative and that the lengths of the images of eigenvectors are controlled by those eigenvalues.

Let \(\mathbf{A}\in\mathbb{C}^{m\times n}\), with \(m,n\in\mathbb{N}\). A list of columns is orthonormal if each column has length one and the product of the conjugate transpose of one column with a different column is zero. A square matrix \(\mathbf{Q}\) is unitary if \(\mathbf{Q}^{*}\mathbf{Q}=\mathbf{I}\); its columns are then an orthonormal basis. An SVD is a factorization with a unitary matrix on each side and a rectangular diagonal matrix between them.

Theorem (Complex Singular Value Decomposition): For every \(\mathbf{A}\in\mathbb{C}^{m\times n}\), there are unitary matrices \(\mathbf{U}\in\mathbb{C}^{m\times m}\) and \(\mathbf{V}\in\mathbb{C}^{n\times n}\), and an \(m\times n\) matrix \(\boldsymbol{\Sigma}\), such that \(\mathbf{A}=\mathbf{U}\boldsymbol{\Sigma}\mathbf{V}^{*}\). The only possibly nonzero entries of \(\boldsymbol{\Sigma}\) are \(\sigma_i\) in positions \((i,i)\), where \(\sigma_1\ge\cdots\ge\sigma_r>0\). These numbers are the singular values; all other diagonal positions are zero.

The earlier result on an orthonormal eigenbasis for \(\mathbf{A}^{*}\mathbf{A}\) applies because this matrix is Hermitian: \((\mathbf{A}^{*}\mathbf{A})^{*}=\mathbf{A}^{*}\mathbf{A}\). It gives an orthonormal basis of eigenvectors. Moreover, if \(\mathbf{v}\ne\mathbf{0}\) is an eigenvector with eigenvalue \(\lambda\), then

$$ \lambda\|\mathbf{v}\|^2 =\mathbf{v}^{*}\mathbf{A}^{*}\mathbf{A}\mathbf{v} =(\mathbf{A}\mathbf{v})^{*}(\mathbf{A}\mathbf{v}) =\|\mathbf{A}\mathbf{v}\|^2\ge 0. $$

Since \(\|\mathbf{v}\|^2>0\), every eigenvalue is nonnegative. This is the key fact that makes its square root a real singular value, even though the matrix and its eigenvectors may be complex.

Constructing the Left Singular Vectors

Choose an orthonormal eigenbasis \(\mathbf{v}_1,\ldots,\mathbf{v}_n\) of \(\mathbf{A}^{*}\mathbf{A}\), ordering the eigenvalues so that \(\lambda_1\ge\cdots\ge\lambda_n\ge0\). Set \(\sigma_i=\sqrt{\lambda_i}\). Let \(r\) be the number of positive eigenvalues. For each \(i\le r\), define \(\mathbf{u}_i=\mathbf{A}\mathbf{v}_i/\sigma_i\). This definition is valid because \(\sigma_i>0\); zero eigenvalues must be treated separately.

For \(i,j\le r\), the eigenvector equation gives

$$ (\mathbf{A}\mathbf{v}_i)^{*}(\mathbf{A}\mathbf{v}_j) =\mathbf{v}_i^{*}\mathbf{A}^{*}\mathbf{A}\mathbf{v}_j =\lambda_j\mathbf{v}_i^{*}\mathbf{v}_j. $$

If \(i\ne j\), the last expression is zero because the eigenvectors are orthogonal. If \(i=j\), it equals \(\lambda_i=\sigma_i^2\). Dividing by \(\sigma_i\sigma_j\) shows that \(\mathbf{u}_i^{*}\mathbf{u}_j\) is zero when \(i\ne j\) and one when \(i=j\). Thus the left vectors constructed from positive eigenvalues are orthonormal.

If \(i>r\), then \(\lambda_i=0\), and \(\|\mathbf{A}\mathbf{v}_i\|^2=\lambda_i\|\mathbf{v}_i\|^2=0\). A vector has squared length zero only if it is the zero vector, so \(\mathbf{A}\mathbf{v}_i=\mathbf{0}\). Such vectors already describe the zero part of the factorization; there is no need to divide by \(\sigma_i=0\).

Completing the Left Basis

The vectors \(\mathbf{u}_1,\ldots,\mathbf{u}_r\) are orthonormal in \(\mathbb{C}^m\). To form a square unitary matrix, they must be extended to an orthonormal basis of that space. The following finite-dimensional argument also covers the case \(r=0\).

Lemma: Any orthonormal list in \(\mathbb{C}^m\) can be extended to an orthonormal basis of \(\mathbb{C}^m\).

Proof. Start with the given orthonormal list and examine the standard basis vectors \(\mathbf{e}_1,\ldots,\mathbf{e}_m\) in order. For each \(\mathbf{e}_j\), subtract its components along the vectors currently in the list, writing the residual as \(\mathbf{w}=\mathbf{e}_j-\sum_k(\mathbf{q}_k^{*}\mathbf{e}_j)\mathbf{q}_k\), where the \(\mathbf{q}_k\) are the current orthonormal vectors. For each listed vector \(\mathbf{q}_\ell\), orthonormality gives \(\mathbf{q}_\ell^{*}\mathbf{w}=\mathbf{q}_\ell^{*}\mathbf{e}_j-\sum_k(\mathbf{q}_\ell^{*}\mathbf{q}_k)(\mathbf{q}_k^{*}\mathbf{e}_j)=0\). If \(\mathbf{w}=\mathbf{0}\), no vector is added. If \(\mathbf{w}\ne\mathbf{0}\), append \(\mathbf{w}/\|\mathbf{w}\|\); this vector has length one and is orthogonal to every vector already listed. After all \(m\) standard basis vectors have been considered, each \(\mathbf{e}_j\) belongs to the span of the resulting list, since it is either already in the span or equals its subtracted components plus the residual that was appended. The list therefore spans \(\mathbb{C}^m\) and is orthonormal, so it is an orthonormal basis. \(\square\)

Apply the lemma to the constructed left vectors, and call the resulting basis \(\mathbf{u}_1,\ldots,\mathbf{u}_m\). Put these columns into \(\mathbf{U}\). Put the eigenbasis \(\mathbf{v}_1,\ldots,\mathbf{v}_n\) into \(\mathbf{V}\), and define \(\boldsymbol{\Sigma}\) to have \(\sigma_i\) in position \((i,i)\) for \(1\le i\le r\), with zeros elsewhere. The dimensions are \(\mathbf{U}\in\mathbb{C}^{m\times m}\), \(\mathbf{V}\in\mathbb{C}^{n\times n}\), and \(\boldsymbol{\Sigma}\in\mathbb{C}^{m\times n}\). In particular, \(r\le m\), because the \(r\) constructed vectors are orthonormal in \(\mathbb{C}^m\).

Proof of the theorem. The columns of \(\mathbf{U}\) and \(\mathbf{V}\) are orthonormal bases, so \(\mathbf{U}\) and \(\mathbf{V}\) are unitary. It remains to prove the factorization. For \(j\le r\), \(\mathbf{V}^{*}\mathbf{v}_j=\mathbf{e}_j\), and hence \(\mathbf{U}\boldsymbol{\Sigma}\mathbf{V}^{*}\mathbf{v}_j=\sigma_j\mathbf{u}_j=\mathbf{A}\mathbf{v}_j\), by the definition of \(\mathbf{u}_j\). For \(j>r\), \(\boldsymbol{\Sigma}\mathbf{e}_j=\mathbf{0}\), so \(\mathbf{U}\boldsymbol{\Sigma}\mathbf{V}^{*}\mathbf{v}_j=\mathbf{0}=\mathbf{A}\mathbf{v}_j\). Thus the two linear maps agree on every vector of the basis \(\mathbf{v}_1,\ldots,\mathbf{v}_n\). For any \(\mathbf{x}=\sum_{j=1}^n c_j\mathbf{v}_j\), linearity gives equality on \(\mathbf{x}\) as well. Therefore \(\mathbf{A}=\mathbf{U}\boldsymbol{\Sigma}\mathbf{V}^{*}\). The eigenvalues were ordered nonincreasingly and are nonnegative, so their square roots have the required order. \(\square\)

Worked Constructions

Worked Example: A Tall Complex Matrix

Consider \(\mathbf{A}=\begin{bmatrix}1&0\\ i&0\\0&1\end{bmatrix}\). Its Gram matrix is

$$ \mathbf{A}^{*}\mathbf{A} =\begin{bmatrix}1&-i&0\\0&0&1\end{bmatrix} \begin{bmatrix}1&0\\i&0\\0&1\end{bmatrix} =\begin{bmatrix}2&0\\0&1\end{bmatrix}. $$

Take \(\mathbf{v}_1=\mathbf{e}_1,\mathbf{v}_2=\mathbf{e}_2\), with eigenvalues \(2,1\). The singular values are \(\sqrt{2},1\), and the constructed left vectors are \(\mathbf{u}_1=(1,i,0)^{\top}/\sqrt{2}\) and \(\mathbf{u}_2=(0,0,1)^{\top}\). A third unit vector orthogonal to both is \(\mathbf{u}_3=(1,-i,0)^{\top}/\sqrt{2}\). Thus

$$ \mathbf{U}=\begin{bmatrix} 1/\sqrt{2}&0&1/\sqrt{2}\\ i/\sqrt{2}&0&-i/\sqrt{2}\\ 0&1&0 \end{bmatrix}, \qquad \boldsymbol{\Sigma}=\begin{bmatrix}\sqrt{2}&0\\0&1\\0&0\end{bmatrix}, \qquad \mathbf{V}=\begin{bmatrix}1&0\\0&1\end{bmatrix}. $$

The first two columns of \(\mathbf{U}\) have length one and product zero; the third is also unit length and orthogonal to each, so \(\mathbf{U}^{*}\mathbf{U}=\mathbf{I}_3\). Direct multiplication gives \(\mathbf{U}\boldsymbol{\Sigma}=\begin{bmatrix}1&0\\i&0\\0&1\end{bmatrix}\), and \(\mathbf{V}^{*}=\mathbf{I}_2\). Therefore \(\mathbf{U}\boldsymbol{\Sigma}\mathbf{V}^{*}=\mathbf{A}\).

Worked Example: A Wide Matrix with a Zero Singular Value

Let \(\mathbf{A}=\begin{bmatrix}1&0&0\\i&0&0\end{bmatrix}\). Then

$$ \mathbf{A}^{*}\mathbf{A} =\begin{bmatrix}1&-i\\0&0\\0&0\end{bmatrix} \begin{bmatrix}1&0&0\\i&0&0\end{bmatrix} =\begin{bmatrix}2&0&0\\0&0&0\\0&0&0\end{bmatrix}. $$

Use \(\mathbf{V}=\mathbf{I}_3\). The first eigenvector gives \(\sigma_1=\sqrt{2}\) and \(\mathbf{u}_1=(1,i)^{\top}/\sqrt{2}\). Complete it with \(\mathbf{u}_2=(i,1)^{\top}/\sqrt{2}\); their conjugate-transpose product is \((i-i)/2=0\), and both have length one. Set

$$ \mathbf{U}=\begin{bmatrix}1/\sqrt{2}&i/\sqrt{2}\\i/\sqrt{2}&1/\sqrt{2}\end{bmatrix}, \qquad \boldsymbol{\Sigma}=\begin{bmatrix}\sqrt{2}&0&0\\0&0&0\end{bmatrix}. $$

The columns of \(\mathbf{U}\) are orthonormal, and \(\mathbf{U}\boldsymbol{\Sigma}=\begin{bmatrix}1&0&0\\i&0&0\end{bmatrix}\). Since \(\mathbf{V}^{*}=\mathbf{I}_3\), this verifies \(\mathbf{U}\boldsymbol{\Sigma}\mathbf{V}^{*}=\mathbf{A}\), including the two zero columns.

Worked Example: Reordering Eigenvectors to Order Singular Values

Take \(\mathbf{A}=\begin{bmatrix}1&2\\i&-2i\end{bmatrix}\). Calculation gives \(\mathbf{A}^{*}\mathbf{A}=\begin{bmatrix}2&0\\0&8\end{bmatrix}\), so the eigenvector for the larger eigenvalue must come first. Choose \(\mathbf{v}_1=(0,1)^{\top}\), \(\mathbf{v}_2=(1,0)^{\top}\), giving \(\mathbf{V}=\begin{bmatrix}0&1\\1&0\end{bmatrix}\). The singular values are \(2\sqrt{2},\sqrt{2}\), and the associated left vectors are \(\mathbf{u}_1=(1,-i)^{\top}/\sqrt{2}\) and \(\mathbf{u}_2=(1,i)^{\top}/\sqrt{2}\). Set

$$ \mathbf{U}=\begin{bmatrix}1/\sqrt{2}&1/\sqrt{2}\\-i/\sqrt{2}&i/\sqrt{2}\end{bmatrix}, \qquad \boldsymbol{\Sigma}=\begin{bmatrix}2\sqrt{2}&0\\0&\sqrt{2}\end{bmatrix}. $$

The two columns of \(\mathbf{U}\) have norm one, and their conjugate-transpose product is \((1+i^2)/2=0\), so \(\mathbf{U}\) is unitary. Multiplying gives \(\mathbf{U}\boldsymbol{\Sigma}=\begin{bmatrix}2&1\\-2i&i\end{bmatrix}\). Since \(\mathbf{V}^{*}=\mathbf{V}\) swaps the columns, \(\mathbf{U}\boldsymbol{\Sigma}\mathbf{V}^{*}=\begin{bmatrix}1&2\\i&-2i\end{bmatrix}=\mathbf{A}\).

Common Pitfalls and Why the Proof Matters

Do not divide by a zero singular value. In the wide-matrix example, \(\mathbf{v}_2=\mathbf{e}_2\) has eigenvalue zero and \(\mathbf{A}\mathbf{v}_2=\mathbf{0}\). The tempting expression \(\mathbf{A}\mathbf{v}_2/\sqrt{0}\) is undefined; it is not a left singular vector. Instead, the left basis is completed independently, while the zero singular value contributes a zero in \(\boldsymbol{\Sigma}\).

Use the conjugate transpose, not the transpose. For the column \(\mathbf{a}=(1,i)^{\top}\), the correct Gram entry is \(\mathbf{a}^{*}\mathbf{a}=1+(-i)i=2\). The incorrect calculation \(\mathbf{a}^{\top}\mathbf{a}=1+i^2=0\) would wrongly suggest a zero squared length. Complex conjugation is essential for the nonnegativity and length identity used in the proof.

The construction establishes more than the existence of a product with suitable dimensions. It explains why the right vectors come from \(\mathbf{A}^{*}\mathbf{A}\), why the positive singular values are square roots of its positive eigenvalues, and why zero eigenvalues require a separate step. Completing both bases makes the factorization valid for square, tall, wide, and rank-deficient matrices alike.

Check Your Understanding

Use the construction and verify each claim from the defining equations.

  1. Why is every eigenvalue of \(\mathbf{A}^{*}\mathbf{A}\) nonnegative?
  2. For an eigenvector \(\mathbf{v}_i\) with positive eigenvalue \(\lambda_i\), show that \(\mathbf{A}\mathbf{v}_i/\sqrt{\lambda_i}\) has length one.
  3. What equation shows that the constructed left vectors for distinct positive eigenvalues are orthogonal?
  4. Explain why \(\mathbf{A}\mathbf{v}_j=\mathbf{0}\) when \(\lambda_j=0\).
  5. For an \(m\times n\) matrix, state the dimensions of \(\mathbf{U}\), \(\boldsymbol{\Sigma}\), and \(\mathbf{V}\) in a full SVD.

Test yourself: Linear Algebra final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon