MATH347: Linear algebra for applications

Homework 11

This assignment is a worksheet of exercises intended as preparation for the Final Examination. You should:

  1. Review Lessons 13 to 24

  2. Set aside 60 minutes to solve these exercises. Each exercise is meant to be solved within 3 minutes. If you cannot find a solution within 3 minutes, skip to the next one.

  3. Check your answers in Matlab. Revisit theory for skipped or incorrectly answered exercies.

  4. Turn in a PDF with your brief handwritten answers that specify your motivation, approach, calculations, answer. It is good practice to start all answers by briefly recounting the applicable definitions.

1Matrix factorization

  1. State 𝑷3×3 that permutes rows (1,2,3) of 𝑨3×3 as rows (2,3,1) through the product 𝑷𝑨.

  2. Find the inverse of matrix 𝑷 from Ex. 1.

  3. State 𝑸3×3 that permutes columns (1,2,3) of 𝑨3×3 as columns (3,1,2) through the product 𝑨𝑸.

  4. Find the inverse of marix 𝑸 from Ex. 3.

  5. Find the LU factorization of

    𝑨=[ 1 1 1 1 2 3 1 3 6 ].
  6. Find the LU factorization of

    𝑨=[ 1 1 1 1 2 2 1 2 3 ].
  7. Prove that permutation matrices 𝑷,𝑸 from Ex.1,3 are orthogonal matrices.

  8. Find the QR factorization of

    𝑨=[ 0 5 6 0 0 9 1 2 3 ].
  9. Find the eigendecomposition of 𝑹2×2, the matrix of reflection across the first bisector (the x=y line).

  10. Find the SVD of 𝑹2×2, the rotation by angle θ matrix.

2Linear algebra problems

  1. Find the coordinates of 𝒃=[ 6 15 24 ]T on the 3 basis vectors

    {[ 1 4 7 ],[ 2 5 8 ],[ 3 6 9 ]}.
  2. Solve the least squares problem min𝒙||𝒃-𝑨𝒙|| for

    𝒃=[ 1 2 3 ],𝑨=[ 3 -5 -11 21 0 0 ].
  3. Find the line passing closest to points 𝒟={(-2,3),(-1,1),(0,1),(1,3),(3,7)}.

  4. Find an orthonormal basis for C(𝑨) where

    𝑨=[ 1 -2 1 0 1 1 1 3 ].
  5. With 𝑨 from Ex. 4 solve the least squares problem min𝒙||𝒃-𝑨𝒙|| where

    𝒃=[ -4 -3 3 0 ].
  6. What is the best approximant 𝒄C(𝑨) (𝑨 from Ex. 4) of 𝒃 from Ex. 5?

  7. Find the eigenvalues and eigenvectors of

    𝑨=[ 2 -1 -1 2 ].
  8. For 𝑨 from Ex. 7 find the eigenvalues and eigenvectors of 𝑨2, 𝑨-1, 𝑨+2𝑰.

  9. Is the following matrix diagonalizable?

    𝑨=[ 1 1 0 0 1 1 0 0 1 ].
  10. Find the SVD of

    𝑨=[ 1 2 2 4 ].