Tutorials › Linear Algebra › How Orthogonal Changes Preserve Singular Values

Singular Value Decomposition · Tutorial 803 of 1000

How Orthogonal Changes Preserve Singular Values

Learn why orthogonal changes preserve singular values, how the singular vectors transform, and how to use those facts to simplify an SVD calculation.

Advanced 9 min read

What You'll Learn

  • State the dimensions and orthogonality conditions for left and right matrix factors.
  • Prove that either orthogonal multiplication preserves singular values.
  • Track the left and right singular vectors under orthogonal changes.
  • Simplify an SVD by reducing a matrix to a diagonal matrix.
  • Avoid confusing orthogonal factors with arbitrary invertible matrices.

Orthogonal Changes of Coordinates

An orthogonal matrix changes coordinates without changing lengths or angles. In a matrix product, an orthogonal matrix on the left changes the output coordinates, while one on the right changes the input coordinates. The singular values measure how much a matrix stretches in its principal directions, so it is natural to ask whether these coordinate changes alter those amounts. They do not: multiplying by an orthogonal matrix on either side preserves every singular value.

Throughout this tutorial, matrices and vectors have real entries. A square matrix \(\mathbf{Q}\in\mathbb{R}^{m\times m}\) is orthogonal if \(\mathbf{Q}^{\top}\mathbf{Q}=\mathbf{I}_m\). This condition also gives \(\mathbf{Q}\mathbf{Q}^{\top}=\mathbf{I}_m\), so \(\mathbf{Q}^{-1}=\mathbf{Q}^{\top}\). For a matrix \(\mathbf{A}\in\mathbb{R}^{m\times n}\), multiplication on the left must use an \(m\times m\) orthogonal matrix; multiplication on the right must use an \(n\times n\) orthogonal matrix.

Definition: A full singular value decomposition (SVD) of \(\mathbf{A}\in\mathbb{R}^{m\times n}\) is a factorization \(\mathbf{A}=\mathbf{U}\boldsymbol{\Sigma}\mathbf{V}^{\top}\), where \(\mathbf{U}\in\mathbb{R}^{m\times m}\) and \(\mathbf{V}\in\mathbb{R}^{n\times n}\) are orthogonal and \(\boldsymbol{\Sigma}\in\mathbb{R}^{m\times n}\) is diagonal in the rectangular sense: its only possibly nonzero entries are \(\sigma_1,\dots,\sigma_r\) in positions \((i,i)\), with \(\sigma_1\ge\cdots\ge\sigma_r>0\). These positive numbers, together with zeros up to \(\min(m,n)\) if needed, are the singular values of \(\mathbf{A}\).

The singular values are the diagonal entries in an SVD’s middle factor, counted with multiplicity and arranged in nonincreasing order. The SVD theory established earlier ensures that such a factorization exists. The key idea here is to transform the outer factors while keeping the same middle factor.

The Preservation Theorem

Theorem: Let \(\mathbf{A}\in\mathbb{R}^{m\times n}\), let \(\mathbf{Q}\in\mathbb{R}^{m\times m}\) be orthogonal, and let \(\mathbf{R}\in\mathbb{R}^{n\times n}\) be orthogonal. Then \(\mathbf{Q}\mathbf{A}\), \(\mathbf{A}\mathbf{R}\), and \(\mathbf{Q}\mathbf{A}\mathbf{R}\) have exactly the same singular values as \(\mathbf{A}\), including multiplicities.

Proof. Take a full SVD \(\mathbf{A}=\mathbf{U}\boldsymbol{\Sigma}\mathbf{V}^{\top}\). For left multiplication,

$$ \mathbf{Q}\mathbf{A}=(\mathbf{Q}\mathbf{U})\boldsymbol{\Sigma}\mathbf{V}^{\top}. $$

The new left factor is orthogonal, since

$$ (\mathbf{Q}\mathbf{U})^{\top}(\mathbf{Q}\mathbf{U}) =\mathbf{U}^{\top}\mathbf{Q}^{\top}\mathbf{Q}\mathbf{U} =\mathbf{U}^{\top}\mathbf{U} =\mathbf{I}_m. $$

Thus this is an SVD of \(\mathbf{Q}\mathbf{A}\) with the same middle factor \(\boldsymbol{\Sigma}\). For right multiplication, write

$$ \mathbf{A}\mathbf{R} =\mathbf{U}\boldsymbol{\Sigma}(\mathbf{R}^{\top}\mathbf{V})^{\top}. $$

Here \(\mathbf{R}^{\top}\mathbf{V}\) is orthogonal because \((\mathbf{R}^{\top}\mathbf{V})^{\top}(\mathbf{R}^{\top}\mathbf{V})=\mathbf{V}^{\top}\mathbf{R}\mathbf{R}^{\top}\mathbf{V}=\mathbf{I}_n\). So this is an SVD with the same \(\boldsymbol{\Sigma}\). Applying both transformations gives

$$ \mathbf{Q}\mathbf{A}\mathbf{R} =(\mathbf{Q}\mathbf{U})\boldsymbol{\Sigma}(\mathbf{R}^{\top}\mathbf{V})^{\top}. $$

Both outer factors are orthogonal, and the middle factor has not changed. In all three cases the singular values—the entries of that middle factor—are therefore unchanged. \(\square\)

This proof gives more than equality of the singular values: it tells us how the singular vectors change. The left vectors are multiplied by \(\mathbf{Q}\), and the right vectors are multiplied by \(\mathbf{R}^{\top}\) when the matrix is multiplied on the right by \(\mathbf{R}\).

Corollary: If \(\mathbf{A}=\mathbf{U}\boldsymbol{\Sigma}\mathbf{V}^{\top}\), then \(\mathbf{Q}\mathbf{A}\mathbf{R}\) has the SVD \((\mathbf{Q}\mathbf{U})\boldsymbol{\Sigma}(\mathbf{R}^{\top}\mathbf{V})^{\top}\).

Proof. The displayed product equals \(\mathbf{Q}\mathbf{U}\boldsymbol{\Sigma}\mathbf{V}^{\top}\mathbf{R}=\mathbf{Q}\mathbf{A}\mathbf{R}\), by the definition of transpose and matrix multiplication. The preservation theorem’s orthogonality calculations show that \(\mathbf{Q}\mathbf{U}\) and \(\mathbf{R}^{\top}\mathbf{V}\) are orthogonal. The middle matrix is still diagonal in the rectangular sense with nonnegative, nonincreasing entries. These are precisely the requirements for an SVD. \(\square\)

Left Multiplication: Changing Output Coordinates

Worked Example: Permuting the Rows

Let \(\mathbf{A}=\begin{bmatrix}3&0\\0&1\\0&0\end{bmatrix}\), and let \(\mathbf{Q}\) exchange the first and third coordinates. Find an SVD of \(\mathbf{Q}\mathbf{A}\) and its singular values.

The matrix \(\mathbf{Q}\) and its orthogonality check are

$$ \mathbf{Q}=\begin{bmatrix}0&0&1\\0&1&0\\1&0&0\end{bmatrix}, \qquad \mathbf{Q}^{\top}\mathbf{Q} =\begin{bmatrix}1&0&0\\0&1&0\\0&0&1\end{bmatrix} =\mathbf{I}_3. $$

Multiplying on the left exchanges rows 1 and 3:

$$ \mathbf{Q}\mathbf{A} =\begin{bmatrix}0&0\\0&1\\3&0\end{bmatrix}. $$

An SVD of the original matrix is \(\mathbf{A}=\mathbf{I}_3\boldsymbol{\Sigma}\mathbf{I}_2^{\top}\), where \(\boldsymbol{\Sigma}=\begin{bmatrix}3&0\\0&1\\0&0\end{bmatrix}\). The corollary gives \(\mathbf{Q}\mathbf{A}=\mathbf{Q}\boldsymbol{\Sigma}\mathbf{I}_2^{\top}\). Indeed, the product \(\mathbf{Q}\boldsymbol{\Sigma}\) is exactly \(\begin{bmatrix}0&0\\0&1\\3&0\end{bmatrix}\), so the factorization checks by multiplication. Since \(\mathbf{Q}\) and \(\mathbf{I}_2\) are orthogonal, this is an SVD and the singular values are \(3\) and \(1\).

Check: Directly, \((\mathbf{Q}\mathbf{A})^{\top}(\mathbf{Q}\mathbf{A})=\begin{bmatrix}9&0\\0&1\end{bmatrix}\), consistent with singular values \(3\) and \(1\).

Right Multiplication: Changing Input Coordinates

Worked Example: Permuting the Columns

Let \(\mathbf{A}=\begin{bmatrix}3&0&0\\0&1&0\end{bmatrix}\), and let \(\mathbf{R}\) exchange the first and third coordinates in \(\mathbb{R}^3\). Find an SVD of \(\mathbf{A}\mathbf{R}\).

Use

$$ \mathbf{R}=\begin{bmatrix}0&0&1\\0&1&0\\1&0&0\end{bmatrix}, \qquad \mathbf{R}^{\top}\mathbf{R}=\mathbf{I}_3. $$

Right multiplication exchanges columns 1 and 3, giving

$$ \mathbf{A}\mathbf{R} =\begin{bmatrix}0&0&3\\0&1&0\end{bmatrix}. $$

For \(\mathbf{A}\), take \(\mathbf{U}=\mathbf{I}_2\), \(\boldsymbol{\Sigma}=\begin{bmatrix}3&0&0\\0&1&0\end{bmatrix}\), and \(\mathbf{V}=\mathbf{I}_3\). The transformed SVD has left factor \(\mathbf{I}_2\) and right factor \(\mathbf{R}^{\top}\mathbf{I}_3=\mathbf{R}\), since this coordinate-swap matrix is symmetric. Its product is

$$ \mathbf{I}_2\boldsymbol{\Sigma}\mathbf{R}^{\top} =\begin{bmatrix}3&0&0\\0&1&0\end{bmatrix} \begin{bmatrix}0&0&1\\0&1&0\\1&0&0\end{bmatrix} =\begin{bmatrix}0&0&3\\0&1&0\end{bmatrix}. $$

This verifies the factorization directly. Both outer factors are orthogonal, so the singular values remain \(3\) and \(1\).

Check: \((\mathbf{A}\mathbf{R})(\mathbf{A}\mathbf{R})^{\top}=\begin{bmatrix}9&0\\0&1\end{bmatrix}\), which agrees with those singular values.

Simplifying an SVD by Undoing Orthogonal Factors

The theorem is especially useful when a matrix looks complicated because its input and output coordinates have been rotated. If we can write \(\mathbf{A}=\mathbf{Q}\mathbf{D}\mathbf{R}\), where \(\mathbf{Q}\) and \(\mathbf{R}\) are orthogonal and \(\mathbf{D}\) has a simple SVD, then \(\mathbf{A}\) has the same singular values as \(\mathbf{D}\). Equivalently, multiplying by \(\mathbf{Q}^{\top}\) on the left and \(\mathbf{R}^{\top}\) on the right recovers \(\mathbf{D}\), since \(\mathbf{Q}^{\top}\mathbf{Q}=\mathbf{I}\) and \(\mathbf{R}\mathbf{R}^{\top}=\mathbf{I}\).

Worked Example: Reduce to a Diagonal Matrix

Find an SVD of \(\mathbf{A}=\begin{bmatrix}2&1\\1&2\end{bmatrix}\) by expressing it as orthogonal factors around a diagonal matrix.

Set

$$ \mathbf{Q}=\frac{1}{\sqrt{2}}\begin{bmatrix}1&-1\\1&1\end{bmatrix}, \quad \mathbf{D}=\begin{bmatrix}3&0\\0&1\end{bmatrix}, \quad \mathbf{R}=\frac{1}{\sqrt{2}}\begin{bmatrix}1&1\\-1&1\end{bmatrix}. $$

Each of \(\mathbf{Q}\) and \(\mathbf{R}\) is orthogonal: its columns have squared length \((1^2+1^2)/2=1\), and their dot product is \(0\). To check the factorization, first multiply \(\mathbf{D}\mathbf{R}\), then multiply by \(\mathbf{Q}\):

$$ \mathbf{D}\mathbf{R} =\frac{1}{\sqrt{2}}\begin{bmatrix}3&3\\-1&1\end{bmatrix}, \qquad \mathbf{Q}\mathbf{D}\mathbf{R} =\frac12\begin{bmatrix}4&2\\2&4\end{bmatrix} =\begin{bmatrix}2&1\\1&2\end{bmatrix} =\mathbf{A}. $$

Thus \(\mathbf{A}=\mathbf{Q}\mathbf{D}\mathbf{R}\). Since \(\mathbf{D}\) is diagonal with positive entries \(3\) and \(1\), it has an SVD with left and right factors \(\mathbf{I}_2\). The transformed SVD is therefore \(\mathbf{A}=\mathbf{Q}\mathbf{D}\mathbf{R}\), with \(\mathbf{U}=\mathbf{Q}\) and \(\mathbf{V}=\mathbf{R}^{\top}\), because \(\mathbf{V}^{\top}=\mathbf{R}\). The singular values are \(3\) and \(1\).

We can also verify the simplification directly. Since \(\mathbf{Q}^{\top}=\frac{1}{\sqrt{2}}\begin{bmatrix}1&1\\-1&1\end{bmatrix}\) and \(\mathbf{R}^{\top}=\frac{1}{\sqrt{2}}\begin{bmatrix}1&-1\\1&1\end{bmatrix}\),

$$ \mathbf{A}\mathbf{R}^{\top} =\frac{1}{\sqrt{2}}\begin{bmatrix}3&-1\\3&1\end{bmatrix}, \qquad \mathbf{Q}^{\top}\mathbf{A}\mathbf{R}^{\top} =\frac12\begin{bmatrix}6&0\\0&2\end{bmatrix} =\mathbf{D}. $$

Check: Multiplying the proposed SVD factors back gives \(\mathbf{Q}\mathbf{D}\mathbf{V}^{\top}=\mathbf{Q}\mathbf{D}\mathbf{R}=\mathbf{A}\), as computed above. Also, \(\mathbf{A}^{\top}\mathbf{A}=\begin{bmatrix}5&4\\4&5\end{bmatrix}\), whose eigenvalues are \(9\) and \(1\), consistent with singular values \(3\) and \(1\).

Common Pitfalls

Orthogonal is essential. It is incorrect to conclude that any invertible matrix preserves singular values. For example, \(\mathbf{I}_2\) has singular values \(1,1\), while \(2\mathbf{I}_2\) has singular values \(2,2\). The factor \(2\mathbf{I}_2\) is invertible but not orthogonal, because \((2\mathbf{I}_2)^{\top}(2\mathbf{I}_2)=4\mathbf{I}_2\ne\mathbf{I}_2\). The preservation theorem requires orthogonality, not merely invertibility.

On the right, the transformed right factor uses a transpose. If \(\mathbf{A}=\mathbf{U}\boldsymbol{\Sigma}\mathbf{V}^{\top}\), then \(\mathbf{A}\mathbf{R}=\mathbf{U}\boldsymbol{\Sigma}(\mathbf{R}^{\top}\mathbf{V})^{\top}\). A common wrong step is to use \(\mathbf{R}\mathbf{V}\) as the new right factor. For a concrete check, take \(\mathbf{A}=\mathbf{I}_2\) and \(\mathbf{R}=\begin{bmatrix}0&-1\\1&0\end{bmatrix}\). The correct right factor is \(\mathbf{R}^{\top}\), giving \(\mathbf{I}_2\mathbf{I}_2(\mathbf{R}^{\top})^{\top}=\mathbf{R}\). Using \(\mathbf{R}\) instead gives \(\mathbf{R}^{\top}\), which is not \(\mathbf{R}\). The singular values happen to remain \(1,1\), but the proposed factorization is wrong.

The practical method is to identify the orthogonal factors, check their dimensions and verify \(\mathbf{Q}^{\top}\mathbf{Q}=\mathbf{I}\) and \(\mathbf{R}^{\top}\mathbf{R}=\mathbf{I}\). Then simplify the middle matrix, retain its singular values, and transform the singular-vector factors with the stated formulas. This avoids repeating a full SVD calculation when the matrix is only a rotated or otherwise orthogonally re-expressed version of a simpler one.

Check Your Understanding

For each question, state the relevant dimensions and verify any proposed factorization by multiplication.

  1. If \(\mathbf{A}\in\mathbb{R}^{4\times 2}\) and \(\mathbf{Q}\in\mathbb{R}^{4\times 4}\) is orthogonal, what can be concluded about the singular values of \(\mathbf{Q}\mathbf{A}\)?
  2. Given \(\mathbf{A}=\mathbf{U}\boldsymbol{\Sigma}\mathbf{V}^{\top}\) and orthogonal \(\mathbf{R}\), write the transformed SVD of \(\mathbf{A}\mathbf{R}\). Which factor changes?
  3. Suppose \(\mathbf{A}=\mathbf{Q}\mathbf{D}\mathbf{R}\) with square orthogonal \(\mathbf{Q}\) and \(\mathbf{R}\). Which products recover \(\mathbf{D}\) from \(\mathbf{A}\)?
  4. Why does multiplying a matrix by an invertible matrix not, in general, preserve its singular values? Give a specific counterexample.
  5. For the matrix in the diagonal-reduction example, verify \(\mathbf{A}^{\top}\mathbf{A}=\begin{bmatrix}5&4\\4&5\end{bmatrix}\) and check that its eigenvalues agree with the stated singular values.

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