Skip to content

4.4-final-2001

Final Exam, 2001 · Section 4.4: Orthonormal Bases and Gram-Schmidt Source: finalexam_1.pdf, p. 53

Problem

1 (36 pts.) Let

\[ a = \begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix}, \quad b = \begin{bmatrix} 1 \\ 2 \\ 0 \end{bmatrix}, \quad c = \begin{bmatrix} 1 \\ 1 \\ 2 \end{bmatrix} \quad \text{and} \quad d = \begin{bmatrix} -7 \\ 2 \\ 2 \end{bmatrix}. \]

(a) Give \(d\) as a linear combination of \(a\), \(b\) and \(c\).

(b) By using Gram-Schmidt, orthogonalize \(a\), \(b\) and \(c\) to get orthonormal vectors \(q_1\), \(q_2\) and \(q_3\).

(c) Give the change of basis matrix from the basis \(a\), \(b\), \(c\) to the basis \(q_1\), \(q_2\), \(q_3\).

Solution (a) Solve \(d = \alpha a + \beta b + \gamma c\): the third components give \(2\gamma = 2\), so \(\gamma = 1\). The second and first components give \(\alpha + 2\beta = 1\) and \(\alpha + \beta = -8\), so \(\beta = 9\) and \(\alpha = -17\): \[ d = -17a + 9b + c. \] (b) \(q_1 = a/|a| = \frac{1}{\sqrt{2}}\begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix}\). Then \[ b - (b \cdot q_1)q_1 = \begin{bmatrix} 1 \\ 2 \\ 0 \end{bmatrix} - \frac{3}{\sqrt{2}} \cdot \frac{1}{\sqrt{2}}\begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix} = \begin{bmatrix} -1/2 \\ 1/2 \\ 0 \end{bmatrix}, \] so \(q_2 = \frac{1}{\sqrt{2}}\begin{bmatrix} -1 \\ 1 \\ 0 \end{bmatrix}\). Finally, \(c \cdot q_1 = \sqrt{2}\) and \(c \cdot q_2 = 0\), so \[ c - (c \cdot q_1)q_1 = \begin{bmatrix} 1 \\ 1 \\ 2 \end{bmatrix} - \begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \\ 2 \end{bmatrix}, \qquad q_3 = \begin{bmatrix} 0 \\ 0 \\ 1 \end{bmatrix}. \] (c) The change of basis matrix has columns \([a]_Q, [b]_Q, [c]_Q\). Since \(q_1, q_2, q_3\) are orthonormal, \([v]_Q = (v \cdot q_1, v \cdot q_2, v \cdot q_3)\): \[ [a]_Q = \begin{bmatrix} \sqrt{2} \\ 0 \\ 0 \end{bmatrix}, \quad [b]_Q = \begin{bmatrix} 3/\sqrt{2} \\ 1/\sqrt{2} \\ 0 \end{bmatrix}, \quad [c]_Q = \begin{bmatrix} \sqrt{2} \\ 0 \\ 2 \end{bmatrix}, \] so the change of basis matrix (from the \(a, b, c\) basis to the \(q_1, q_2, q_3\) basis) is \[ P = \begin{bmatrix} \sqrt{2} & 3/\sqrt{2} & \sqrt{2} \\ 0 & 1/\sqrt{2} & 0 \\ 0 & 0 & 2 \end{bmatrix}. \]

Keywords: Gram-Schmidt, orthonormal vectors, change of basis, linear combination