Skip to content

4.2-exam2-2005-strang

Quiz 2, 2005 (strang) · Section 4.2: Projections onto Lines and Subspaces Source: exam2_1.pdf, pp. 121, 125

Problem

3 (17 pts.) Find the projection \(p\) of the vector \(b = (1, 2, 6)\) onto the plane \(x + y + z = 0\) in \(\mathbb{R}^3\). (You may want to find a basis for this 2-dimensional subspace, even an orthogonal basis.)

Solution The vectors \((-1, 1, 0)^T\) and \((-1, 0, 1)^T\) form a basis for the subspace \(x + y + z = 0\). Let \(A\) be the matrix whose columns are the two vectors found above. Thus the projection matrix \(P\) onto the subspace \(x + y + z = 0\) is \[ P = A(A^T A)^{-1} A^T = \frac{1}{3} \begin{bmatrix} 2 & -1 & -1 \\ -1 & 2 & -1 \\ -1 & -1 & 2 \end{bmatrix}. \] The projection of \(b = (1, 2, 6)^T\) onto the plane \(x + y + z = 0\) is thus simply \[ p = P b = \begin{bmatrix} -2 \\ -1 \\ 3 \end{bmatrix}. \]

Keywords: projection, plane, subspace, basis