Tutorials › Linear Algebra › Right Singular Vectors And Their Images

Singular Value Decomposition · Tutorial 778 of 1000

Right Singular Vectors And Their Images

Learn how a unit eigenvector of A transpose A determines an input direction whose image under A has length equal to its singular value.

Advanced 10 min read

What You'll Learn

  • Identify a right singular vector as a unit eigenvector of A transpose A.
  • Derive the relation between its image under A and a positive singular value.
  • Verify the image length directly from the eigenvector equation.
  • Interpret singular values as stretch factors along selected domain directions.
  • Distinguish positive singular directions from directions mapped to zero.
  • Check the relation in rectangular as well as square matrix examples.

Right Singular Vectors Describe Input Directions

A matrix takes vectors in a domain to vectors in a codomain. Some unit input directions are especially informative: their images have a simple, predictable length, and their direction can be identified by normalizing the image. These inputs are the right singular vectors. The word “right” refers to their role as vectors in the domain of the matrix, not to a claim that their images point in the same direction as the inputs.

Throughout, let \(\mathbf{A}\in\mathbb{R}^{m\times n}\). Its domain is \(\mathbb{R}^n\), and its outputs lie in \(\mathbb{R}^m\). The matrix \(\mathbf{A}^{\top}\mathbf{A}\) is an \(n\times n\) matrix, so its eigenvectors are domain vectors. As established in the earlier material on singular values, its eigenvalues are nonnegative. If \(\lambda\) is such an eigenvalue, its associated singular value is \(\sigma=\sqrt{\lambda}\), using the nonnegative square root.

Definition: A right singular vector of \(\mathbf{A}\) is a unit eigenvector \(\mathbf{v}\in\mathbb{R}^n\) of \(\mathbf{A}^{\top}\mathbf{A}\). If \(\mathbf{A}^{\top}\mathbf{A}\mathbf{v}=\lambda\mathbf{v}\), the singular value associated with \(\mathbf{v}\) is \(\sigma=\sqrt{\lambda}\). Thus \(\mathbf{v}\) satisfies \(\mathbf{A}^{\top}\mathbf{A}\mathbf{v}=\sigma^2\mathbf{v}\).

The eigenvector equation takes place in \(\mathbb{R}^n\), the domain. But \(\mathbf{A}\mathbf{v}\) lies in \(\mathbb{R}^m\), the codomain. To relate the equation to the image, take the dot product with \(\mathbf{v}\): the result measures the squared length of \(\mathbf{A}\mathbf{v}\). When \(\sigma>0\), this length lets us normalize the image and obtain a unit vector \(\mathbf{u}\) in the codomain.

From the Eigenvector Equation to the Image

Theorem: Let \(\mathbf{A}\in\mathbb{R}^{m\times n}\), and let \(\mathbf{v}\in\mathbb{R}^n\) be a unit vector satisfying \(\mathbf{A}^{\top}\mathbf{A}\mathbf{v}=\sigma^2\mathbf{v}\), where \(\sigma>0\). Define \(\mathbf{u}=\frac{1}{\sigma}\mathbf{A}\mathbf{v}\). Then \(\mathbf{u}\) is a unit vector in \(\mathbb{R}^m\), and \(\mathbf{A}\mathbf{v}=\sigma\mathbf{u}\).

Proof. First compute the squared norm of the image. Because \(\mathbf{v}\) is a unit vector and satisfies the given eigenvector equation,

$$ \|\mathbf{A}\mathbf{v}\|^2 =(\mathbf{A}\mathbf{v})^{\top}(\mathbf{A}\mathbf{v}) =\mathbf{v}^{\top}\mathbf{A}^{\top}\mathbf{A}\mathbf{v} =\mathbf{v}^{\top}(\sigma^2\mathbf{v}) =\sigma^2\mathbf{v}^{\top}\mathbf{v} =\sigma^2. $$

Since \(\sigma>0\), the definition \(\mathbf{u}=\frac{1}{\sigma}\mathbf{A}\mathbf{v}\) is valid. Its squared norm is \(\|\mathbf{u}\|^2=\frac{1}{\sigma^2}\|\mathbf{A}\mathbf{v}\|^2=\frac{\sigma^2}{\sigma^2}=1\), so \(\mathbf{u}\) is a unit vector in \(\mathbb{R}^m\). Finally, multiplying its definition by \(\sigma\) gives \(\sigma\mathbf{u}=\mathbf{A}\mathbf{v}\), as required. \(\square\)

This result gives the image relation in the form

$$ \mathbf{A}\mathbf{v}=\sigma\mathbf{u}. $$

The domain vector \(\mathbf{v}\) is unit length. Its image has length \(\sigma\), since \(\|\mathbf{A}\mathbf{v}\|=\sigma\), and \(\mathbf{u}\) records the unit direction of that image. The positivity condition matters: when \(\sigma=0\), division by \(\sigma\) is not defined, and the image is instead the zero vector.

Worked Images in Small Matrices

Worked Example: A Rectangular Matrix with Two Positive Singular Values

Let \(\mathbf{A}=\begin{bmatrix}3&0\\0&2\\0&0\end{bmatrix}\). Find unit eigenvectors of \(\mathbf{A}^{\top}\mathbf{A}\), their singular values, and the corresponding images under \(\mathbf{A}\).

First form the product:

$$ \mathbf{A}^{\top}\mathbf{A} = \begin{bmatrix}3&0&0\\0&2&0\end{bmatrix} \begin{bmatrix}3&0\\0&2\\0&0\end{bmatrix} = \begin{bmatrix}9&0\\0&4\end{bmatrix}. $$

The unit coordinate vectors \(\mathbf{v}_1=\begin{bmatrix}1\\0\end{bmatrix}\) and \(\mathbf{v}_2=\begin{bmatrix}0\\1\end{bmatrix}\) satisfy \(\mathbf{A}^{\top}\mathbf{A}\mathbf{v}_1=9\mathbf{v}_1\) and \(\mathbf{A}^{\top}\mathbf{A}\mathbf{v}_2=4\mathbf{v}_2\). Their singular values are therefore \(\sigma_1=3\) and \(\sigma_2=2\). Apply \(\mathbf{A}\) to each domain vector:

$$ \mathbf{A}\mathbf{v}_1= \begin{bmatrix}3\\0\\0\end{bmatrix} =3\begin{bmatrix}1\\0\\0\end{bmatrix}, \qquad \mathbf{A}\mathbf{v}_2= \begin{bmatrix}0\\2\\0\end{bmatrix} =2\begin{bmatrix}0\\1\\0\end{bmatrix}. $$

The vectors multiplying 3 and 2 are unit vectors in \(\mathbb{R}^3\). Thus each image has the length predicted by its singular value. Check: \(\mathbf{A}^{\top}\mathbf{A}\mathbf{v}_1=\begin{bmatrix}9\\0\end{bmatrix}=3^2\mathbf{v}_1\), and \(\mathbf{A}^{\top}\mathbf{A}\mathbf{v}_2=\begin{bmatrix}0\\4\end{bmatrix}=2^2\mathbf{v}_2\); multiplying by \(\mathbf{A}\) gives exactly the two displayed images.

Worked Example: Two Input Directions with the Same Stretch

Let \(\mathbf{A}=\begin{bmatrix}1&1\\1&-1\end{bmatrix}\). Find the image relation for the two coordinate directions.

Here \(\mathbf{A}^{\top}=\mathbf{A}\), so direct multiplication gives

$$ \mathbf{A}^{\top}\mathbf{A} = \begin{bmatrix}1&1\\1&-1\end{bmatrix} \begin{bmatrix}1&1\\1&-1\end{bmatrix} = \begin{bmatrix}2&0\\0&2\end{bmatrix} =2\mathbf{I}_2. $$

Both \(\mathbf{v}_1=\begin{bmatrix}1\\0\end{bmatrix}\) and \(\mathbf{v}_2=\begin{bmatrix}0\\1\end{bmatrix}\) are unit eigenvectors with eigenvalue \(2\), so each has singular value \(\sqrt{2}\). The images are

$$ \mathbf{A}\mathbf{v}_1=\begin{bmatrix}1\\1\end{bmatrix} =\sqrt{2}\begin{bmatrix}1/\sqrt{2}\\1/\sqrt{2}\end{bmatrix}, \qquad \mathbf{A}\mathbf{v}_2=\begin{bmatrix}1\\-1\end{bmatrix} =\sqrt{2}\begin{bmatrix}1/\sqrt{2}\\-1/\sqrt{2}\end{bmatrix}. $$

The displayed vectors after \(\sqrt{2}\) are unit vectors: each has squared norm \(\frac12+\frac12=1\). So both input directions are stretched by the same factor, even though their images point in different directions. Check: multiplying the first image by \(\mathbf{A}^{\top}\) gives \(\begin{bmatrix}2\\0\end{bmatrix}=2\mathbf{v}_1\), and multiplying the second gives \(\begin{bmatrix}0\\2\end{bmatrix}=2\mathbf{v}_2\). These are the required eigenvector equations.

What a Zero Singular Value Means

Theorem: For \(\mathbf{A}\in\mathbb{R}^{m\times n}\) and \(\mathbf{v}\in\mathbb{R}^n\), \(\mathbf{A}^{\top}\mathbf{A}\mathbf{v}=\mathbf{0}\) if and only if \(\mathbf{A}\mathbf{v}=\mathbf{0}\).

Proof. Suppose first that \(\mathbf{A}^{\top}\mathbf{A}\mathbf{v}=\mathbf{0}\). Then \(\|\mathbf{A}\mathbf{v}\|^2=\mathbf{v}^{\top}\mathbf{A}^{\top}\mathbf{A}\mathbf{v}=\mathbf{v}^{\top}\mathbf{0}=0\). A vector in \(\mathbb{R}^m\) has squared norm equal to the sum of the squares of its entries, so squared norm zero forces every entry to be zero. Hence \(\mathbf{A}\mathbf{v}=\mathbf{0}\). Conversely, if \(\mathbf{A}\mathbf{v}=\mathbf{0}\), then \(\mathbf{A}^{\top}\mathbf{A}\mathbf{v}=\mathbf{A}^{\top}\mathbf{0}=\mathbf{0}\). Both implications hold, proving the equivalence. \(\square\)

In particular, if \(\mathbf{v}\) is a right singular vector with singular value zero, then its eigenvector equation is \(\mathbf{A}^{\top}\mathbf{A}\mathbf{v}=0\mathbf{v}=\mathbf{0}\), and the theorem gives \(\mathbf{A}\mathbf{v}=\mathbf{0}\). Such a domain direction is not stretched to a nonzero output; it is sent to zero.

Worked Example: Positive and Zero Singular Directions

Consider the rectangular matrix \(\mathbf{A}=\begin{bmatrix}1&1&0\\0&0&2\end{bmatrix}\). Compute its Gram matrix and check one right singular vector for each of its two positive singular values and its zero singular value.

Multiplication gives

$$ \mathbf{A}^{\top}\mathbf{A} = \begin{bmatrix}1&0\\1&0\\0&2\end{bmatrix} \begin{bmatrix}1&1&0\\0&0&2\end{bmatrix} = \begin{bmatrix}1&1&0\\1&1&0\\0&0&4\end{bmatrix}. $$

First take \(\mathbf{v}_1=\begin{bmatrix}0\\0\\1\end{bmatrix}\), which is unit length. The product \(\mathbf{A}^{\top}\mathbf{A}\mathbf{v}_1=\begin{bmatrix}0\\0\\4\end{bmatrix}=4\mathbf{v}_1\), so \(\sigma_1=2\). Its image is \(\mathbf{A}\mathbf{v}_1=\begin{bmatrix}0\\2\end{bmatrix}=2\begin{bmatrix}0\\1\end{bmatrix}\), where the vector after 2 is unit length.

Next take \(\mathbf{v}_2=\frac{1}{\sqrt{2}}\begin{bmatrix}1\\1\\0\end{bmatrix}\), also unit length. Direct multiplication gives \(\mathbf{A}^{\top}\mathbf{A}\mathbf{v}_2=\frac{1}{\sqrt{2}}\begin{bmatrix}2\\2\\0\end{bmatrix}=2\mathbf{v}_2\), so its singular value is \(\sqrt{2}\). Its image is \(\mathbf{A}\mathbf{v}_2=\begin{bmatrix}\sqrt{2}\\0\end{bmatrix}=\sqrt{2}\begin{bmatrix}1\\0\end{bmatrix}\).

Finally, let \(\mathbf{v}_3=\frac{1}{\sqrt{2}}\begin{bmatrix}1\\-1\\0\end{bmatrix}\). The Gram-matrix product is \(\mathbf{A}^{\top}\mathbf{A}\mathbf{v}_3=\frac{1}{\sqrt{2}}\begin{bmatrix}0\\0\\0\end{bmatrix}=\mathbf{0}\), so the eigenvalue and singular value are both zero. Consistently, \(\mathbf{A}\mathbf{v}_3=\frac{1}{\sqrt{2}}\begin{bmatrix}1-1\\0\end{bmatrix}=\mathbf{0}\). Check: the three input vectors each have norm 1, their Gram-matrix products are respectively \(4\mathbf{v}_1\), \(2\mathbf{v}_2\), and \(\mathbf{0}\), and their images have norms \(2\), \(\sqrt{2}\), and \(0\).

Reading the Relation as a Domain Statement

The defining eigenvector equation is a statement about a direction before it is acted on by \(\mathbf{A}\). For a unit right singular vector \(\mathbf{v}_i\) with positive singular value \(\sigma_i\), the image relation says that an input exactly in that direction produces the output \(\sigma_i\mathbf{u}_i\), where \(\mathbf{u}_i\) is the unit direction of the image. More generally, for any real scalar \(c\), linearity gives \(\mathbf{A}(c\mathbf{v}_i)=c\sigma_i\mathbf{u}_i\). If \(c\) is negative, the image points in the opposite direction from \(\mathbf{u}_i\); its length is \(|c|\sigma_i\).

This is why right singular vectors are useful when thinking about how a matrix acts on its domain. They identify particular unit inputs for which the amount of stretching is known exactly. The singular value gives that amount, while the normalized image records where the output points. If the singular value is zero, the corresponding input direction is erased by the matrix. These statements concern individual directions; they do not say that an arbitrary input vector is stretched by one singular value.

Common pitfall: replacing \(\sigma\) with \(\sigma^2\) in the image relation. The eigenvector equation contains \(\sigma^2\), but it is an equation for \(\mathbf{A}^{\top}\mathbf{A}\mathbf{v}\), not for \(\mathbf{A}\mathbf{v}\). For example, with \(\mathbf{A}=\begin{bmatrix}3&0\\0&2\\0&0\end{bmatrix}\) and \(\mathbf{v}_1=\begin{bmatrix}1\\0\end{bmatrix}\), one has \(\mathbf{A}^{\top}\mathbf{A}\mathbf{v}_1=\begin{bmatrix}9\\0\end{bmatrix}=3^2\mathbf{v}_1\), but \(\mathbf{A}\mathbf{v}_1=\begin{bmatrix}3\\0\\0\end{bmatrix}\), not \(9\mathbf{v}_1\). In this rectangular example the mistaken expression even has the wrong dimension: \(\mathbf{A}\mathbf{v}_1\in\mathbb{R}^3\), while \(\mathbf{v}_1\in\mathbb{R}^2\). The correction is to normalize the image: \(\mathbf{u}_1=\frac{1}{3}\mathbf{A}\mathbf{v}_1=\begin{bmatrix}1\\0\\0\end{bmatrix}\), giving \(\mathbf{A}\mathbf{v}_1=3\mathbf{u}_1\).

Check Your Understanding

Use the eigenvector equation and the image relation to answer each question. Check calculations by multiplying the matrices and vectors explicitly.

  1. If \(\mathbf{A}^{\top}\mathbf{A}\mathbf{v}=25\mathbf{v}\) and \(\|\mathbf{v}\|=1\), what is the associated singular value, and what is the length of \(\mathbf{A}\mathbf{v}\)?
  2. For \(\mathbf{A}=\begin{bmatrix}2&0\\0&1\\0&0\end{bmatrix}\), find the image of \(\begin{bmatrix}1\\0\end{bmatrix}\) and express it as a singular value times a unit vector.
  3. Explain why the definition \(\mathbf{u}=\frac{1}{\sigma}\mathbf{A}\mathbf{v}\) cannot be used when \(\sigma=0\).
  4. Verify that \(\begin{bmatrix}1\\-1\end{bmatrix}\) is mapped to zero by \(\mathbf{A}=\begin{bmatrix}1&1\\0&0\end{bmatrix}\), and check that it is an eigenvector of \(\mathbf{A}^{\top}\mathbf{A}\) with eigenvalue zero.
  5. For a scalar \(c\), state the image of \(c\mathbf{v}\) when \(\mathbf{A}\mathbf{v}=\sigma\mathbf{u}\), and give its length when \(\mathbf{u}\) is unit.

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