Solve the problems for your appropriate course track. Problems probe understanding of the definitions and results from the module on floating point arithmetic and linear algebra. Formulate your answers clearly, cogently, and include a concise description of your approach. Each question is meant to be completely answered within ten minutes. Allowed test time is 75 minutes.
Matrix , , has the singular value decomposition (SVD) (, , , ) and the pseudoinverse , . Find the SVDs of:
;
;
;
;
.
Solution.
, since . The SVD is
and the singular values of are the squares of those of .
. This is not an SVD since
Introduce permutation matrix which is orthogonal, and symmetric to obtain
the correct ordering and the SVD
since , the product of two orthogonal matrices, is itself orthogonal.
Calculate
Since
obtain
and the SVD
Calculate
which is an SVD.
Use above and to write
Write pseudo-code to accurately evaluate the sum
in floating point arithmetic when , . ().
Solution. There is possible loss of precision from successive terms of alternating signs, the effect of which can be attenuated by adding two terms at a time to the sum accumulator
; ;
for =1 to
; ;
Use the SVD of to express the Moore-Penrose pseudoinverse as a sum of rank-one matrices.
Solution. The SVD of is and the pseudoinverse is written as
a sum of the rank-1 updates .
Let . Show that the Moore-Penrose pseudoinverse minimizes over all by matrices.
Solution. The squared Frobenius norm of is the sum of its squared column vector 2-norms
and the minimum is attained by the solution of the least squares problems
Let be skew-Hermitian, i.e., . Prove that:
is nonsingular;
is unitary.
Solution. a) For , , and nonsingular implies , readily verified
This also holds for , , and nonsingular implies for any of unit norm. Compute
b) Again, use to gain insight in which case and compute
Similarily, for