4.1-exam2-1998-strang¶
Exam 2, 1998 (strang) · Section 4.1: Orthogonality of Vectors and Subspaces Source: exam2_1.pdf, pp. 20, 23-24
Problem¶
2 (a) (15) Start with the same subspace \(S\). Find a basis (not necessarily orthonormal) for its orthogonal complement \(S^{\perp}\) (the space of all vectors perpendicular to \(S\)).
(b) (10) Find the closest vector \(q\) in \(S^{\perp}\) to the same vector \(b\).
Solution
2a. The orthogonal complement of \(S\) is the nullspace of \(A\): \[ A = \begin{bmatrix} 1 & 1 & 1 & 1 \\ 3 & 1 & 1 & 3 \end{bmatrix} \to U = \begin{bmatrix} 1 & 1 & 1 & 1 \\ 0 & -2 & -2 & 0 \end{bmatrix}. \] The special solutions give a basis for \(S^{\perp}\) (you may find another basis): \[ \begin{bmatrix} 0 \\ -1 \\ 1 \\ 0 \end{bmatrix} \quad \text{and} \quad \begin{bmatrix} -1 \\ 0 \\ 0 \\ 1 \end{bmatrix}. \] 2b. Since \(b\) is split into perpendicular pieces \(p + q\), we know immediately that \[ q = b - p = \begin{bmatrix} 1 \\ 0 \\ 0 \\ 0 \end{bmatrix} - \begin{bmatrix} \frac{1}{2} \\ 0 \\ 0 \\ \frac{1}{2} \end{bmatrix} = \begin{bmatrix} \frac{1}{2} \\ 0 \\ 0 \\ -\frac{1}{2} \end{bmatrix}. \]Keywords: orthogonal complement, nullspace, special solutions, closest vector