A747 of 56
0 XP
  1. Hook
  2. Problems

A7 · Problem set 10

Problem set 10: the SVD, the pseudoinverse and PCA

These problems use lessons 44 to 46: singular values and low-rank approximation, the pseudoinverse with minimum-norm and regularized solutions, and principal component analysis. Singular values are never negative, and eigenvalues of a covariance matrix are variances: two quick checks on every answer.

Check

Take A=[100−3].

(a)

What is its largest singular value?

(b)

What is its condition number?

Check

Take A=[3042].

(a)

What is σ1σ2?

(b)

What is σ12+σ22?

Check

A matrix has singular values 10, 3 and 2, and is replaced by its rank-1 approximation.

(a)

What fraction of the sum of squared entries does it keep?

(b)

What is the largest singular value of the error?

Check

Find the shortest solution of 1x+2y+3z=9.

(a)

What is x?

(b)

How long is it?

Check

Solve x[12]≈[27] by least squares.

(a)

What is x?

(b)

How long is the residual?

Check

Solve [2000]𝐱=(3,6) with the pseudoinverse.

(a)

What is x1?

(b)

How long is the residual?

Check

A matrix's smallest singular value is 0.01, and 𝐛 carries noise 0.001 along its 𝐮.

(a)

How much does that noise move the pseudoinverse solution?

(b)

With Tikhonov regularization at λ = 0.001, how much?

Check

Tikhonov regularization with λ = 0.0001.

(a)

What factor scales the contribution of σ = 1?

(b)

At which σ is the factor exactly one half?

Check

3 mA divides among 1, 3 and 6 kΩ in parallel, dissipating the least power.

(a)

How much flows in the 1 kΩ resistor?

Write units the way you normally would: 1.5 mA, 1500 µA and 0.0015 A are the same answer.

(b)

What is the total power?

Check

A covariance matrix has eigenvalues 6, 3 and 0.5.

(a)

What fraction of the variance does the first component explain?

(b)

And the first two together?

Check

Two readings each have variance 2 and covariance 1.

(a)

What is the variance along the second principal component?

(b)

What fraction does the first explain?

Check

Two sensors share a signal of standard deviation 1 and add independent noise of standard deviation 0.5 each.

(a)

What is the variance along the first principal component?

(b)

What is the noise variance in the average of the two sensors?

Have paper and a calculator ready. Work each problem out by hand, then enter the answer. Your first try on each one counts toward your score.

Practice

Keep practicing

15 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.