Tutorials › Linear Algebra › SVDs Of Orthogonal, Projection, And Scaled Matrices

Singular Value Decomposition · Tutorial 802 of 1000

SVDs Of Orthogonal, Projection, And Scaled Matrices

Learn how orthogonality and projection structure determine singular values and provide singular vectors directly.

Advanced 9 min read

What You'll Learn

  • Build an SVD for an orthogonal matrix from its defining equation.
  • Find the singular values and singular vectors of an orthogonal projection.
  • Relate a projection’s range and kernel to its right singular vectors.
  • Handle positive, negative, and zero scalar multiples.
  • Check proposed factors by verifying orthogonality and matrix multiplication.

Structure Can Make an SVD Immediate

For a general matrix, finding singular values usually begins with the eigenvalues of its Gram matrix. Orthogonal matrices and orthogonal projections have enough structure that their singular values can often be read off without solving a characteristic equation. The key is to use the defining equations of these matrices to identify the action on suitable orthonormal vectors.

We work over \(\mathbb{R}\). For a square matrix \(\mathbf{A}\in\mathbb{R}^{n\times n}\), a singular value decomposition (SVD) is a factorization \(\mathbf{A}=\mathbf{U}\boldsymbol{\Sigma}\mathbf{V}^{\top}\), where \(\mathbf{U}\) and \(\mathbf{V}\) are orthogonal matrices and \(\boldsymbol{\Sigma}\) is diagonal with nonnegative entries. The columns of \(\mathbf{V}\) are right singular vectors; the corresponding columns of \(\mathbf{U}\) are left singular vectors. A paired set of columns \(\mathbf{v}_i,\mathbf{u}_i\) with diagonal entry \(\sigma_i\) satisfies \(\mathbf{A}\mathbf{v}_i=\sigma_i\mathbf{u}_i\).

Definition: A real square matrix \(\mathbf{Q}\) is orthogonal if \(\mathbf{Q}^{\top}\mathbf{Q}=\mathbf{I}\). A real square matrix \(\mathbf{P}\) is an orthogonal projection if \(\mathbf{P}^{\top}=\mathbf{P}\) and \(\mathbf{P}^2=\mathbf{P}\). The first condition for a projection makes it symmetric; the second says that applying it twice has the same effect as applying it once.

Orthogonal Matrices

An orthogonal matrix preserves lengths: for every \(\mathbf{x}\in\mathbb{R}^n\), \(\|\mathbf{Q}\mathbf{x}\|^2=(\mathbf{Q}\mathbf{x})^{\top}(\mathbf{Q}\mathbf{x})=\mathbf{x}^{\top}\mathbf{Q}^{\top}\mathbf{Q}\mathbf{x}=\mathbf{x}^{\top}\mathbf{x}=\|\mathbf{x}\|^2\). For singular values, an even more direct fact is that \(\mathbf{Q}^{\top}\mathbf{Q}\) is the identity. Therefore every singular value is \(1\).

Theorem: If \(\mathbf{Q}\in\mathbb{R}^{n\times n}\) is orthogonal, then all its singular values are \(1\). One SVD is \(\mathbf{Q}=\mathbf{Q}\mathbf{I}\mathbf{I}^{\top}\); its right singular vectors are the standard basis vectors, and its left singular vectors are the columns of \(\mathbf{Q}\).

Proof. In the proposed factorization, \(\mathbf{U}=\mathbf{Q}\) is orthogonal by hypothesis, \(\mathbf{V}=\mathbf{I}\) is orthogonal, and \(\boldsymbol{\Sigma}=\mathbf{I}\) is diagonal with nonnegative entries. Multiplication gives \(\mathbf{U}\boldsymbol{\Sigma}\mathbf{V}^{\top}=\mathbf{Q}\mathbf{I}\mathbf{I}^{\top}=\mathbf{Q}\). Thus this is an SVD with every diagonal entry equal to \(1\). Equivalently, \(\mathbf{Q}^{\top}\mathbf{Q}=\mathbf{I}\), whose eigenvalues are all \(1\); their nonnegative square roots, the singular values, are all \(1\). \(\square\)

Worked Example: A Rotation Matrix

Consider \(\mathbf{Q}=\begin{bmatrix}\tfrac35&-\tfrac45\\[2pt]\tfrac45&\tfrac35\end{bmatrix}\). Its columns are \(\mathbf{q}_1=(\tfrac35,\tfrac45)^{\top}\) and \(\mathbf{q}_2=(-\tfrac45,\tfrac35)^{\top}\). Their squared lengths are \(\tfrac9{25}+\tfrac{16}{25}=1\) for each column, and their inner product is \(-\tfrac{12}{25}+\tfrac{12}{25}=0\). Hence \(\mathbf{Q}^{\top}\mathbf{Q}=\mathbf{I}_2\).

Take \(\mathbf{U}=\mathbf{Q}\), \(\boldsymbol{\Sigma}=\mathbf{I}_2\), and \(\mathbf{V}=\mathbf{I}_2\). The factorization check is

$$ \mathbf{U}\boldsymbol{\Sigma}\mathbf{V}^{\top} = \begin{bmatrix}\tfrac35&-\tfrac45\\[2pt]\tfrac45&\tfrac35\end{bmatrix} \begin{bmatrix}1&0\\0&1\end{bmatrix} \begin{bmatrix}1&0\\0&1\end{bmatrix} = \begin{bmatrix}\tfrac35&-\tfrac45\\[2pt]\tfrac45&\tfrac35\end{bmatrix} =\mathbf{Q}. $$

For the singular-vector check, \(\mathbf{Q}\mathbf{e}_1=\mathbf{q}_1=1\mathbf{q}_1\) and \(\mathbf{Q}\mathbf{e}_2=\mathbf{q}_2=1\mathbf{q}_2\). Thus both singular values are \(1\), with right vectors \(\mathbf{e}_1,\mathbf{e}_2\) and left vectors \(\mathbf{q}_1,\mathbf{q}_2\).

Orthogonal Projections

A projection acts differently on two complementary parts of the space. It leaves every vector in its image unchanged and sends every vector in its kernel to zero. For an orthogonal projection, these parts are perpendicular. This gives an orthonormal basis in which the projection has only \(1\)s and \(0\)s on its diagonal.

Theorem: Let \(\mathbf{P}\in\mathbb{R}^{n\times n}\) be an orthogonal projection. There is an orthonormal basis of \(\mathbb{R}^n\) whose first \(r\) vectors lie in \(\operatorname{im}\mathbf{P}\) and whose remaining vectors lie in \(\ker\mathbf{P}\), where \(r=\dim(\operatorname{im}\mathbf{P})\). In this basis, an SVD of \(\mathbf{P}\) has singular values \(1\) repeated \(r\) times and \(0\) repeated \(n-r\) times.

Proof. First, if \(\mathbf{x}\in\operatorname{im}\mathbf{P}\), then \(\mathbf{x}=\mathbf{P}\mathbf{y}\) for some \(\mathbf{y}\), and \(\mathbf{P}\mathbf{x}=\mathbf{P}^2\mathbf{y}=\mathbf{P}\mathbf{y}=\mathbf{x}\). If \(\mathbf{z}\in\ker\mathbf{P}\), then \(\mathbf{P}\mathbf{z}=\mathbf{0}\). For any such \(\mathbf{x},\mathbf{z}\), symmetry gives \(\mathbf{x}^{\top}\mathbf{z}=(\mathbf{P}\mathbf{y})^{\top}\mathbf{z}=\mathbf{y}^{\top}\mathbf{P}^{\top}\mathbf{z}=\mathbf{y}^{\top}\mathbf{P}\mathbf{z}=0\). So the image and kernel are orthogonal. Every \(\mathbf{w}\in\mathbb{R}^n\) decomposes as \(\mathbf{w}=\mathbf{P}\mathbf{w}+(\mathbf{w}-\mathbf{P}\mathbf{w})\). The first term lies in the image, and the second lies in the kernel because \(\mathbf{P}(\mathbf{w}-\mathbf{P}\mathbf{w})=\mathbf{P}\mathbf{w}-\mathbf{P}^2\mathbf{w}=\mathbf{0}\). Choose orthonormal bases for these two subspaces and combine them; their perpendicularity makes the combined list an orthonormal basis of \(\mathbb{R}^n\). Write its vectors as \(\mathbf{v}_1,\dots,\mathbf{v}_n\), with the first \(r\) in the image. Then \(\mathbf{P}\mathbf{v}_i=\mathbf{v}_i\) for \(i\le r\), and \(\mathbf{P}\mathbf{v}_i=\mathbf{0}\) for \(i>r\). Let \(\mathbf{V}\) have these basis vectors as columns and set \(\boldsymbol{\Sigma}=\operatorname{diag}(1,\dots,1,0,\dots,0)\), with \(r\) entries equal to \(1\). The equations on the basis vectors give \(\mathbf{P}\mathbf{V}=\mathbf{V}\boldsymbol{\Sigma}\). Since \(\mathbf{V}\) is orthogonal, multiplication on the right by \(\mathbf{V}^{\top}\) gives \(\mathbf{P}=\mathbf{V}\boldsymbol{\Sigma}\mathbf{V}^{\top}\). Taking \(\mathbf{U}=\mathbf{V}\) gives an SVD, with the stated singular values. \(\square\)

Worked Example: Projection onto a Plane

Let \(\mathbf{P}=\begin{bmatrix}\tfrac12&\tfrac12&0\\[2pt]\tfrac12&\tfrac12&0\\[2pt]0&0&1\end{bmatrix}\). This matrix projects onto the plane spanned by \((1,1,0)^{\top}\) and \((0,0,1)^{\top}\). To see the orthonormal directions, set \(\mathbf{v}_1=(1,1,0)^{\top}/\sqrt2\), \(\mathbf{v}_2=(0,0,1)^{\top}\), and \(\mathbf{v}_3=(1,-1,0)^{\top}/\sqrt2\). Each has length \(1\); their pairwise inner products are \(0\).

Direct multiplication gives \(\mathbf{P}\mathbf{v}_1=\mathbf{v}_1\), \(\mathbf{P}\mathbf{v}_2=\mathbf{v}_2\), and \(\mathbf{P}\mathbf{v}_3=\mathbf{0}\). Thus choose \(\mathbf{U}=\mathbf{V}=\begin{bmatrix}\mathbf{v}_1&\mathbf{v}_2&\mathbf{v}_3\end{bmatrix}\) and \(\boldsymbol{\Sigma}=\operatorname{diag}(1,1,0)\). The product is

$$ \mathbf{U}\boldsymbol{\Sigma}\mathbf{V}^{\top} =\mathbf{v}_1\mathbf{v}_1^{\top}+\mathbf{v}_2\mathbf{v}_2^{\top} = \begin{bmatrix}\tfrac12&\tfrac12&0\\[2pt]\tfrac12&\tfrac12&0\\[2pt]0&0&0\end{bmatrix} + \begin{bmatrix}0&0&0\\0&0&0\\0&0&1\end{bmatrix} =\mathbf{P}. $$

The factorization check confirms the two singular values equal to \(1\) and the one equal to \(0\). The zero singular value corresponds to the direction \(\mathbf{v}_3\), which the projection removes.

Scalar Multiples

Multiplying a matrix by a real scalar changes the lengths of its outputs by the absolute value of that scalar. A negative scalar also reverses their directions. In an SVD, the singular values must stay nonnegative, so the sign belongs in one of the orthogonal factors, not in the diagonal matrix.

Theorem: Let \(c\in\mathbb{R}\). If \(\mathbf{Q}\in\mathbb{R}^{n\times n}\) is orthogonal and \(c\ne0\), then \(c\mathbf{Q}\) has an SVD with \(\boldsymbol{\Sigma}=|c|\mathbf{I}\), \(\mathbf{V}=\mathbf{I}\), and \(\mathbf{U}=\operatorname{sgn}(c)\mathbf{Q}\), where \(\operatorname{sgn}(c)=1\) for \(c>0\) and \(-1\) for \(c<0\). If \(\mathbf{P}\) is an orthogonal projection with the orthonormal basis matrix \(\mathbf{V}\) from the projection theorem, then \(c\mathbf{P}\), for \(c\ne0\), has an SVD with \(\boldsymbol{\Sigma}=|c|\operatorname{diag}(1,\dots,1,0,\dots,0)\) and \(\mathbf{U}=\operatorname{sgn}(c)\mathbf{V}\). For \(c=0\), the zero matrix has all singular values zero.

Proof. For an orthogonal \(\mathbf{Q}\) and \(c\ne0\), the matrix \(\operatorname{sgn}(c)\mathbf{Q}\) is orthogonal because its transpose times itself is \(\operatorname{sgn}(c)^2\mathbf{Q}^{\top}\mathbf{Q}=\mathbf{I}\). The proposed product is \(\operatorname{sgn}(c)\mathbf{Q}|c|\mathbf{I}\mathbf{I}^{\top}=c\mathbf{Q}\), and its diagonal entries are nonnegative. For the projection, the earlier factorization is \(\mathbf{P}=\mathbf{V}\boldsymbol{\Sigma}_0\mathbf{V}^{\top}\), where \(\boldsymbol{\Sigma}_0\) has \(r\) ones followed by zeros. The proposed left factor \(\operatorname{sgn}(c)\mathbf{V}\) is orthogonal, and \((\operatorname{sgn}(c)\mathbf{V})(|c|\boldsymbol{\Sigma}_0)\mathbf{V}^{\top}=c\mathbf{P}\); again the diagonal entries are nonnegative. If \(c=0\), then \(c\mathbf{Q}\) and \(c\mathbf{P}\) are zero matrices, and \(\mathbf{O}=\mathbf{I}\mathbf{O}\mathbf{I}^{\top}\) is an SVD with every singular value zero. \(\square\)

Worked Example: A Negative Multiple of a Projection

Use the projection from the previous example and consider \(-2\mathbf{P}\). With \(\mathbf{V}=\begin{bmatrix}\mathbf{v}_1&\mathbf{v}_2&\mathbf{v}_3\end{bmatrix}\), take \(\mathbf{U}=-\mathbf{V}\) and \(\boldsymbol{\Sigma}=\operatorname{diag}(2,2,0)\). The columns of \(-\mathbf{V}\) remain orthonormal, and all entries on the diagonal of \(\boldsymbol{\Sigma}\) are nonnegative. Multiplying gives

$$ \mathbf{U}\boldsymbol{\Sigma}\mathbf{V}^{\top} =-2\mathbf{v}_1\mathbf{v}_1^{\top}-2\mathbf{v}_2\mathbf{v}_2^{\top} = \begin{bmatrix}-1&-1&0\\-1&-1&0\\0&0&-2\end{bmatrix} =-2\mathbf{P}. $$

The singular-vector equations are \((-2\mathbf{P})\mathbf{v}_1=2(-\mathbf{v}_1)\), \((-2\mathbf{P})\mathbf{v}_2=2(-\mathbf{v}_2)\), and \((-2\mathbf{P})\mathbf{v}_3=\mathbf{0}=0(-\mathbf{v}_3)\). Thus the singular values are \(2,2,0\); the negative sign is accounted for in the left singular vectors.

Common Pitfall: Singular Values Cannot Be Negative

A tempting but incorrect factorization of \(-2\mathbf{P}\) is to keep \(\mathbf{U}=\mathbf{V}\) and write a diagonal matrix with entries \(-2,-2,0\). That is not an SVD, because its diagonal entries are negative. The correction is to use nonnegative singular values \(2,2,0\) and put the sign into \(\mathbf{U}\), as in the worked example. More generally, for any nonzero real \(c\), the singular values of \(c\mathbf{Q}\) are \(|c|\), not \(c\); those of \(c\mathbf{P}\) are \(|c|\) on the image directions and \(0\) on the kernel directions.

These constructions are useful because they identify not only the singular values but also the directions on which a matrix acts. An orthogonal matrix preserves every length, so all its singular values are \(1\). A projection preserves lengths on its image and annihilates its perpendicular kernel, so its singular values are \(1\) or \(0\). Scaling multiplies the nonzero lengths by \(|c|\). In each case, checking the orthogonal factors and multiplying \(\mathbf{U}\boldsymbol{\Sigma}\mathbf{V}^{\top}\) back gives a direct verification of the proposed SVD.

Check Your Understanding

For each question, justify the singular values and verify any proposed factorization using the defining properties.

  1. What are the singular values of a \(4\times4\) orthogonal matrix, and what choice of left and right singular vectors gives an SVD?
  2. For an orthogonal projection of rank \(2\) on \(\mathbb{R}^5\), how many singular values are \(1\), and how many are \(0\)?
  3. Give an SVD for \(c\mathbf{Q}\) when \(\mathbf{Q}\) is orthogonal and \(c<0\). Explain where the negative sign appears.
  4. If \(\mathbf{P}\) is an orthogonal projection, describe what \(\mathbf{P}\) does to vectors in its image and kernel.
  5. Why is a diagonal matrix with entries \(-3\) and \(0\) not a valid SVD singular-value matrix?

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