Low-rank error and explained variance

Problem

A centered data matrix has singular values 55, 22, and 11. Find the Frobenius error of its best rank-11 approximation and the fraction of total squared variation retained by the first principal component.

Reveal answer or reference solution

The best rank-11 error is

22+12=5.\sqrt{2^2 + 1^2} = \sqrt{5}.

The retained fraction is

5252+22+12=2530=56.\frac{5^2}{5^2 + 2^2 + 1^2} = \frac{25}{30} = \frac{5}{6}.
Local history

Loading attempts saved in this browser…

    Appears in