Tutorials › Linear Algebra › Eckart-Young Optimality in the Operator Norm

Pseudoinverse and Low-Rank Approximation · Tutorial 820 of 1000

Eckart-Young Optimality in the Operator Norm

Learn why the truncated SVD achieves the smallest possible operator-norm error among matrices of rank at most k.

Advanced 11 min read

What You'll Learn

  • Define the operator norm and the truncated singular value decomposition.
  • Prove the operator-norm error of a truncated SVD is the next singular value.
  • Establish a matching lower bound for every rank-at-most-k matrix.
  • Use the null space of a restricted map on the leading right singular vectors.
  • Recognize when best low-rank approximations need not be unique.
  • Avoid confusing operator-norm error with Frobenius-norm error.

The Operator-Norm Approximation Problem

A low-rank approximation replaces a matrix by one whose columns and rows carry fewer independent directions. The truncated singular value decomposition (SVD) supplies a natural candidate: keep the terms associated with the largest singular values and discard the rest. To establish that this candidate is optimal in operator norm, it is not enough to calculate its error. We must also show that no matrix of the permitted rank can have a smaller error.

Throughout, let \(\mathbf{A}\in\mathbb{R}^{m\times n}\), and write \(q=\min(m,n)\). Its singular values are ordered \(\sigma_1\geq\cdots\geq\sigma_q\geq0\). We use the standard SVD form \(\mathbf{A}=\sum_{i=1}^{q}\sigma_i\mathbf{u}_i\mathbf{v}_i^{\top}\), where the \(\mathbf{u}_i\) are orthonormal left singular vectors and the \(\mathbf{v}_i\) are orthonormal right singular vectors. The right singular vectors can be extended to an orthonormal basis of \(\mathbb{R}^n\); directions beyond the \(q\) displayed terms contribute zero to \(\mathbf{A}\).

Definition: The operator norm of a matrix \(\mathbf{M}\in\mathbb{R}^{m\times n}\) is \(\|\mathbf{M}\|_2=\max_{\|\mathbf{x}\|=1}\|\mathbf{M}\mathbf{x}\|\). It measures the largest amount by which \(\mathbf{M}\) can stretch a unit vector. For an integer \(k\geq0\), define the truncated SVD by \(\mathbf{A}_k=\sum_{i=1}^{\min(k,q)}\sigma_i\mathbf{u}_i\mathbf{v}_i^{\top}\), with an empty sum interpreted as the zero matrix. We set \(\sigma_j=0\) for \(j>q\).

The rank of a matrix is the dimension of its column space. Since \(\mathbf{A}_k\) is a sum of at most \(k\) rank-one matrices, its rank is at most \(k\). The optimization question is whether this candidate minimizes \(\|\mathbf{A}-\mathbf{B}\|_2\) over all \(\mathbf{B}\) with rank at most \(k\). The answer is yes, and the minimum error is \(\sigma_{k+1}\).

Why the Truncated SVD Has Error \(\sigma_{k+1}\)

First consider the error made by the truncated SVD itself. Subtracting the retained terms leaves precisely the discarded SVD terms:

$$ \mathbf{A}-\mathbf{A}_k =\sum_{i=k+1}^{q}\sigma_i\mathbf{u}_i\mathbf{v}_i^{\top}. $$

For any unit vector \(\mathbf{x}\), express its coordinates in an orthonormal basis of right singular vectors. If \(x_i=\mathbf{v}_i^{\top}\mathbf{x}\), orthonormality of the left singular vectors gives \(\|(\mathbf{A}-\mathbf{A}_k)\mathbf{x}\|^2=\sum_{i=k+1}^{q}\sigma_i^2x_i^2\). Each \(\sigma_i\) in this sum is at most \(\sigma_{k+1}\). Consequently, the squared norm is at most \(\sigma_{k+1}^2\sum_{i=k+1}^{q}x_i^2\leq\sigma_{k+1}^2\|\mathbf{x}\|^2\). If \(k<q\) and \(\sigma_{k+1}>0\), taking \(\mathbf{x}=\mathbf{v}_{k+1}\) attains this bound. If \(\sigma_{k+1}=0\), every term in the residual is zero. Thus \(\|\mathbf{A}-\mathbf{A}_k\|_2=\sigma_{k+1}\).

Theorem (Eckart–Young optimality in the operator norm): Let \(\mathbf{A}\in\mathbb{R}^{m\times n}\) have singular values \(\sigma_1\geq\cdots\geq\sigma_q\geq0\), where \(q=\min(m,n)\), and set \(\sigma_j=0\) for \(j>q\). For every integer \(k\geq0\), the minimum of \(\|\mathbf{A}-\mathbf{B}\|_2\) over all \(\mathbf{B}\in\mathbb{R}^{m\times n}\) with \(\operatorname{rank}\mathbf{B}\leq k\) is \(\sigma_{k+1}\). The truncated SVD \(\mathbf{A}_k\) attains this minimum.

Proof. The case \(k\geq q\) is immediate: \(\operatorname{rank}\mathbf{A}\leq q\leq k\), so choosing \(\mathbf{B}=\mathbf{A}\) gives error zero, and \(\sigma_{k+1}=0\). Now suppose \(0\leq k<q\), and let \(\mathbf{B}\) be any matrix of rank at most \(k\). Let \(L=\operatorname{span}\{\mathbf{v}_1,\ldots,\mathbf{v}_{k+1}\}\), which has dimension \(k+1\) because these right singular vectors are orthonormal. Restrict the linear map defined by \(\mathbf{B}\) to \(L\). Its image has dimension at most \(\operatorname{rank}\mathbf{B}\leq k\). By the Rank-Nullity Theorem, the restriction has a nonzero vector in its kernel; choose such an \(\mathbf{x}\in L\) with \(\|\mathbf{x}\|=1\), so \(\mathbf{B}\mathbf{x}=\mathbf{0}\). Write \(\mathbf{x}=\sum_{i=1}^{k+1}c_i\mathbf{v}_i\). Orthonormality gives \(\sum_{i=1}^{k+1}c_i^2=1\), and the SVD gives \(\mathbf{A}\mathbf{x}=\sum_{i=1}^{k+1}c_i\sigma_i\mathbf{u}_i\). The left singular vectors are orthonormal, so \(\|\mathbf{A}\mathbf{x}\|^2=\sum_{i=1}^{k+1}c_i^2\sigma_i^2\geq\sigma_{k+1}^2\sum_{i=1}^{k+1}c_i^2=\sigma_{k+1}^2\). Since \(\mathbf{B}\mathbf{x}=\mathbf{0}\), we have \(\|(\mathbf{A}-\mathbf{B})\mathbf{x}\|=\|\mathbf{A}\mathbf{x}\|\geq\sigma_{k+1}\). The definition of operator norm therefore gives \(\|\mathbf{A}-\mathbf{B}\|_2\geq\sigma_{k+1}\). This lower bound holds for every permitted \(\mathbf{B}\), while the truncated SVD has rank at most \(k\) and error exactly \(\sigma_{k+1}\), as shown above. Hence it attains the minimum. \(\square\)

The central step in the lower bound is to find a unit vector that \(\mathbf{B}\) sends to zero while keeping it inside the span of the first \(k+1\) right singular vectors. A rank-at-most-\(k\) map cannot be one-to-one on this \((k+1)\)-dimensional space: its image has dimension at most \(k\), so Rank-Nullity guarantees a nonzero kernel. On the other hand, every unit vector in that span is stretched by \(\mathbf{A}\) by at least \(\sigma_{k+1}\). That tension forces the error of every rank-at-most-\(k\) competitor to be at least \(\sigma_{k+1}\).

Worked Operator-Norm Calculations

Worked Example: A Diagonal Matrix with Three Singular Values

Let \(\mathbf{A}=\begin{bmatrix}5&0&0\\0&3&0\\0&0&1\end{bmatrix}\) and \(k=1\). Its singular values are \(5,3,1\), with standard basis vectors as the corresponding left and right singular vectors. The truncated SVD is therefore

$$ \mathbf{A}_1=\begin{bmatrix}5&0&0\\0&0&0\\0&0&0\end{bmatrix}, \qquad \mathbf{A}-\mathbf{A}_1=\begin{bmatrix}0&0&0\\0&3&0\\0&0&1\end{bmatrix}. $$

The approximation has rank one. To compute the error from the definition, take any unit vector \(\mathbf{x}=(x_1,x_2,x_3)^{\top}\). Then \(\|(\mathbf{A}-\mathbf{A}_1)\mathbf{x}\|^2=9x_2^2+x_3^2\leq9(x_1^2+x_2^2+x_3^2)=9\). Equality holds for \(\mathbf{x}=\mathbf{e}_2\), so \(\|\mathbf{A}-\mathbf{A}_1\|_2=3=\sigma_2\). The theorem says that no matrix of rank at most one can do better.

Worked Example: A Rectangular Matrix

Consider \(\mathbf{A}=\begin{bmatrix}0&4&0\\0&0&2\end{bmatrix}\) and \(k=1\). Its two nonzero right singular vectors are \(\mathbf{v}_1=\mathbf{e}_2\) and \(\mathbf{v}_2=\mathbf{e}_3\); the corresponding left singular vectors are \(\mathbf{u}_1=\mathbf{e}_1\) and \(\mathbf{u}_2=\mathbf{e}_2\) in \(\mathbb{R}^2\). The singular values are \(4\) and \(2\), so the leading SVD term and its residual are

$$ \mathbf{A}_1=\begin{bmatrix}0&4&0\\0&0&0\end{bmatrix}, \qquad \mathbf{A}-\mathbf{A}_1=\begin{bmatrix}0&0&0\\0&0&2\end{bmatrix}. $$

For \(\mathbf{x}=(x_1,x_2,x_3)^{\top}\), the residual sends \(\mathbf{x}\) to \((0,2x_3)^{\top}\). If \(\|\mathbf{x}\|=1\), then \(\|(\mathbf{A}-\mathbf{A}_1)\mathbf{x}\|=2|x_3|\leq2\), with equality at \(\mathbf{x}=\mathbf{e}_3\). Thus the error is \(2=\sigma_2\), and \(\mathbf{A}_1\) has rank one. The theorem certifies that every rank-at-most-one \(2\times3\) matrix has error at least \(2\).

Worked Example: Tied Singular Values and Nonuniqueness

Let \(\mathbf{A}=\begin{bmatrix}4&0&0\\0&2&0\\0&0&2\end{bmatrix}\) and \(k=2\). Here \(\sigma_1=4\) and \(\sigma_2=\sigma_3=2\). Keeping the first two singular directions gives

$$ \mathbf{B}_1=\begin{bmatrix}4&0&0\\0&2&0\\0&0&0\end{bmatrix}, \qquad \mathbf{A}-\mathbf{B}_1=\begin{bmatrix}0&0&0\\0&0&0\\0&0&2\end{bmatrix}. $$

The matrix \(\mathbf{B}_1\) has rank two, and its error norm is \(2\): the residual sends \((x_1,x_2,x_3)^{\top}\) to \((0,0,2x_3)^{\top}\), whose norm is at most \(2\) for a unit vector and equals \(2\) at \(\mathbf{e}_3\). But we can instead retain the first and third singular directions:

$$ \mathbf{B}_2=\begin{bmatrix}4&0&0\\0&0&0\\0&0&2\end{bmatrix}, \qquad \mathbf{A}-\mathbf{B}_2=\begin{bmatrix}0&0&0\\0&2&0\\0&0&0\end{bmatrix}. $$

This matrix also has rank two. Its residual sends \((x_1,x_2,x_3)^{\top}\) to \((0,2x_2,0)^{\top}\), so its operator norm is \(2\), attained at \(\mathbf{e}_2\). Both approximations attain \(\sigma_3=2\), as the theorem predicts, but they are different. Therefore, the theorem guarantees an optimal truncated SVD; it does not guarantee that the optimal approximation is unique.

Common Pitfall: Using the Wrong Matrix Norm

For the first example, a tempting calculation is to combine the two nonzero residual entries using the square root of the sum of their squares and claim an error of \(\sqrt{3^2+1^2}=\sqrt{10}\). That calculation does not give the operator norm; it gives the Frobenius norm of the residual. The operator norm asks for the largest stretch of a single unit vector. For this diagonal residual, the output on a unit vector is \((0,3x_2,x_3)^{\top}\), and its squared norm is \(9x_2^2+x_3^2\leq9\). The largest stretch is therefore \(3\), not \(\sqrt{10}\). The distinction matters because optimality is a statement about a particular norm, and the operator-norm proof uses a unit vector in the kernel of the restricted competitor.

A second error is to argue only that the truncated SVD has the stated error, then conclude it is optimal. That calculation proves attainability, not minimality. Optimality requires a lower bound applying to every rank-at-most-\(k\) matrix. The null-space argument supplies exactly that missing step.

Check Your Understanding

For each question, distinguish the candidate’s error from the lower bound that applies to all competitors.

  1. If the singular values of \(\mathbf{A}\) are \(7,4,1\), what is the minimum operator-norm error among rank-at-most-one approximations?
  2. Why must the restriction of a rank-at-most-\(k\) matrix to the span of \(k+1\) right singular vectors have a nonzero kernel?
  3. For \(\mathbf{A}=\operatorname{diag}(6,2)\) and \(k=0\), compute the truncated approximation and its operator-norm error.
  4. When \(\sigma_k=\sigma_{k+1}\), does the optimality theorem necessarily give a unique best approximation? Explain using the tied-singular-value example.
  5. For a residual matrix \(\operatorname{diag}(0,3,1)\), compare its operator norm with its Frobenius norm and explain what each measures.

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