4.4-exam2-2005-strang¶
Quiz 2, 2005 (strang) · Section 4.4: Orthonormal Bases and Gram-Schmidt Source: exam2_1.pdf, pp. 119, 125
Problem¶
1 (17 pts.) If the output vectors from Gram-Schmidt are
\[
q_1 = \begin{bmatrix} \cos \theta \\ \sin \theta \end{bmatrix} \qquad \text{and} \qquad q_2 = \begin{bmatrix} -\sin \theta \\ \cos \theta \end{bmatrix},
\]
describe all possible input vectors \(a_1\) and \(a_2\).
Solution
The vector \(a_1\) can be any non-zero positive multiple of \(q_1\). The vector \(a_2\) can be any multiple of \(q_1\) plus any non-zero positive multiple of \(q_2\): \[ a_1 = c q_1, \qquad a_2 = c_1 q_1 + c_2 q_2, \qquad \text{with } c, c_2 > 0. \] (Gram-Schmidt normalizes the first remainder to unit length, so \(a_1 = \|a_1\| q_1\) with \(\|a_1\| > 0\), and the coefficient of \(q_2\) in \(a_2\) is the positive length of the second remainder.)Keywords: Gram-Schmidt, orthonormal basis, inner products