4.2-exam2-2014-strang¶
Exam II, 2014 (strang) · Section 4.2: Projections onto Lines and Subspaces Source: exam2_2.pdf, pp. 84, 89
Problem¶
1. (24 points total)
(a) (6 points) What matrix \(P\) projects every vector in \(R^3\) onto the line that passes through origin and \(a = (3, 4, 5)\)?
(b) (6 points) What is the nullspace of that matrix \(P\)?
(c) (6 points) What is the row space of \(P^2\)?
(d) (6 points) What is the determinant of \(P\)?
Solution
(a) The projection of the vector \((1, 0, 0)\) onto the line through \(a = (3, 4, 5)\) is \((9/50, 12/50, 15/50)\). Similarly, the projections of the vectors \((0, 1, 0)\) and \((0, 0, 1)\) are \((12/50, 16/50, 20/50)\) and \((15/50, 20/50, 25/50)\) correspondingly. These are the columns of the projection matrix: \[ P = \begin{bmatrix} 9/50 & 12/50 & 15/50 \\ 12/50 & 16/50 & 20/50 \\ 15/50 & 20/50 & 25/50 \end{bmatrix} = \begin{bmatrix} 9/50 & 6/25 & 3/10 \\ 6/25 & 8/25 & 2/5 \\ 3/10 & 2/5 & 1/2 \end{bmatrix}. \] (b) The nullspace of \(P\) is 2-dimensional. It can be generated by the following two vectors orthogonal to \(a = (3, 4, 5)\): \((-5/3, 0, 1)\) and \((-4/3, 1, 0)\). (c) The row space of \(P^2\) is the same as the row space of \(P\), since \(P^2 = P\). The row space of \(P\) is generated by \(a = (3, 4, 5)\). (d) The projection is onto a 1-dimensional space, therefore the rank of the matrix \(P\) must be equal to 1. Therefore the determinant of \(P\) is 0.Keywords: projection matrix, nullspace, row space, rank, determinant