08.10.2016 Views

Foundations of Data Science

2dLYwbK

2dLYwbK

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Exercise 3.12 If σ 1 , σ 2 , . . . , σ r are the singular values <strong>of</strong> A and v 1 , v 2 , . . . , v r are the<br />

corresponding right-singular vectors, show that<br />

∑<br />

1. A T A = r σi 2 T<br />

v i v i<br />

i=1<br />

2. v 1 , v 2 , . . . v r are eigenvectors <strong>of</strong> A T A.<br />

3. Assuming that the eigenvectors <strong>of</strong> A T A are unique up to multiplicative constants,<br />

conclude that the singular vectors <strong>of</strong> A (which by definition must be unit length) are<br />

unique up to sign.<br />

Exercise 3.13 Let ∑ σ i u i vi T be the singular value decomposition <strong>of</strong> a rank r matrix A.<br />

i<br />

∑<br />

Let A k = k σ i u i vi<br />

T be a rank k approximation to A for some k < r. Express the following<br />

i=1<br />

quantities in terms <strong>of</strong> the singular values {σ i , 1 ≤ i ≤ r}.<br />

1. ||A k || 2 F<br />

2. ||A k || 2 2<br />

3. ||A − A k || 2 F<br />

4. ||A − A k || 2 2<br />

Exercise 3.14 If A is a symmetric matrix with distinct singular values, show that the<br />

left and right singular vectors are the same and that A = V DV T .<br />

Exercise 3.15 Let A be a matrix. How would you compute<br />

v 1 = arg max<br />

|v|=1<br />

|Av|?<br />

How would you use or modify your algorithm for finding v 1<br />

singular vectors <strong>of</strong> A.<br />

to compute the first few<br />

Exercise 3.16 Use the power method to compute the singular value decomposition <strong>of</strong> the<br />

matrix<br />

( ) 1 2<br />

A =<br />

3 4<br />

Exercise 3.17 Write a program to implement the power method for computing the first<br />

singular vector <strong>of</strong> a matrix. Apply your program to the matrix<br />

⎛<br />

⎞<br />

1 2 3 · · · 9 10<br />

2 3 4 · · · 10 0<br />

A =<br />

⎜<br />

. . .<br />

.<br />

.<br />

⎟<br />

⎝ 9 10 0 · · · 0 0 ⎠<br />

10 0 0 · · · 0 0<br />

66

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!