Skip to content

4.2-final-2002

Final Exam, 2002 · Section 4.2: Projections onto Lines and Subspaces Source: finalexam_1.pdf, pp. 84, 92

Problem

3 The following matrix is a projection matrix:

\[ P = \frac{1}{21} \begin{bmatrix} 1 & 2 & -4 \\ 2 & 4 & -8 \\ -4 & -8 & 16 \end{bmatrix}. \]

(a) What subspace does \(P\) project onto?

(b) What is the distance from that subspace to \(b = (1, 1, 1)\)?

(c) What are the three eigenvalues of \(P\)? Is \(P\) diagonalizable?

Solution (a) \(P\) projects onto its own column space, which is the line spanned by \((1, 2, -4)\): \(P = uu^T/u^Tu\) with \(u = (1, 2, -4)\) and \(u^Tu = 21\). (b) The vector from \(b\) to the subspace is \[ e = b - Pb = \begin{bmatrix} 1 \\ 1 \\ 1 \end{bmatrix} - \frac{1}{21} \begin{bmatrix} -1 \\ -2 \\ 4 \end{bmatrix} = \frac{1}{21} \begin{bmatrix} 22 \\ 23 \\ 17 \end{bmatrix}, \] and the distance is \[ \|e\| = \frac{1}{21}\sqrt{22^2 + 23^2 + 17^2} = \frac{\sqrt{1302}}{21}. \] (c) Since \(P\) projects onto a line, its eigenvalues are \(0, 0, 1\). Since \(P\) is symmetric, it has a full set of orthogonal eigenvectors, so it is diagonalizable.

Keywords: projection matrix, distance, eigenvalues, column space