If You Find Any Errors, Please Let Your Instructor Know ASAP
If You Find Any Errors, Please Let Your Instructor Know ASAP
(If you find any errors, please let your instructor know ASAP)
Problem 1. Let U ∈ Rm×m and V ∈ Rn×n be orthogonal matrices. Show that for any A ∈ Rm×n ,
||U AV ||F = ||A||F and ||U AV ||2 = ||A||2 . Is it true that that we also always have ||U AV ||1 =
||A||1 ? Why or why not?
and
||A||2 ≤ ||U T ||2 ||B||2 ||V T ||2 = ||B||2 ,
we know ||B||2 = ||A||2 .
||U AV ||1 = ||A||1 is not always true. For example, when m = n = 2, let A = V = I,
"√ √ #
2 − 2
U= √2 √2 .
2 2
2 2
√
Let x = (1, 0)T , then ||U ||1 ≥ ||U x||1 = 2 > 1 = ||A||1 .
Problem 2. Let A ∈ Rm×n
Solution. (a) Denote A = [A1 A2 · · · An ]. Then cj = ||Aj ||1 . For any x = [x1 x2 · · · xn ]T ,
n n n
X
X X
||Ax||1 =
xj A j ≤
|xj |||Aj ||1 ≤ |xj | max ||Aj ||1 = ||x||1 max cj .
1≤j≤n 1≤j≤n
j=1 1 j=1 j=1
(b) If A = 0, the assertion is clearly true. Now consider A 6= 0. Assume rk = max ri . Let
1≤i≤m
T
x̃ = sgn(ak1 ), sgn(ak2 ), · · · , sgn(akn ) . Since A 6= 0, we have ||x̃||∞ = 1, and
n n
X X
||Ax̃||∞ ≥ akj sgn(akj ) = |akj | = rk = max ri .
1≤i≤m
j=1 j=1
What is the equation of the line that best fits those three points, in the sense of least squares?
(b) Suppose you have a routine that returns the SVD of any matrix A; that is, it returns U , Σ and
V . Can you use it to compute the solution? If yes, explain how.
(c) Suppose you have a routine that returns the solution to any least-squares problem; that is, it
takes as input an arbitrary pair A, b and returns an x minimizing ||b − Ax||2 . Can you use it
to compute the solution? If yes, explain how.
" # " #
A b
Solution. (a) Let à = √ , b̃ = , then
λI 0
b − Ax 2
" #
2
||b̃ − Ãx|| =
√ = ||b − Ax||2 + λ||x||2 ,
− λx
2
so the original problem is equivalent to minimizing ||b̃ − Ãx|| . Thus the solution is given
by ÃT Ãx = ÃT b̃. Since ÃT Ã = (AT A + λI) is positive definite, it is invertible (or see (b),
where we get its inverse by SVD). Thus there is a unique solution x∗ = (AT A + λI)−1 ÃT b̃ =
(AT A + λI)−1 AT b.