4.4-exam2-2007¶
Quiz 2, 2007 · Section 4.4: Orthonormal Bases and Gram-Schmidt Source: exam2_1.pdf, p. 145
Problem¶
3 (25 points) Consider the basis
\[
a_1 = (1, 0, 1, 0)^T, \qquad a_2 = (1, 1, 1, 1)^T, \qquad a_3 = (0, 0, 2, 0)^T, \qquad a_4 = (0, 0, 0, 2)^T
\]
of \(\mathbb{R}^4\). Transform this basis into an orthogonal basis using the Gram-Schmidt process. In other words, find the orthogonal basis \(b_1, b_2, b_3, b_4\) of \(\mathbb{R}^4\) such that
\[
b_1 = a_1, \qquad b_2 = a_2 - (\text{some coefficient}) b_1, \qquad b_3 = a_3 - (\text{some linear combination of } b_1, b_2), \qquad b_4 = a_4 - (\text{some linear combination of } b_1, b_2, b_3).
\]
Solution
\[ b_1 = a_1 = (1, 0, 1, 0). \] \[ b_2 = a_2 - \frac{b_1^T a_2}{b_1^T b_1} b_1 = (1, 1, 1, 1) - \frac{2}{2}(1, 0, 1, 0) = (0, 1, 0, 1). \] \[ b_3 = a_3 - \frac{b_1^T a_3}{b_1^T b_1} b_1 - \frac{b_2^T a_3}{b_2^T b_2} b_2 = (0, 0, 2, 0) - \frac{2}{2}(1, 0, 1, 0) - 0 = (-1, 0, 1, 0). \] \[ b_4 = a_4 - \frac{b_1^T a_4}{b_1^T b_1} b_1 - \frac{b_2^T a_4}{b_2^T b_2} b_2 - \frac{b_3^T a_4}{b_3^T b_3} b_3 = (0, 0, 0, 2) - 0 - \frac{2}{2}(0, 1, 0, 1) - 0 = (0, -1, 0, 1). \] It was important to use \(b_2\) and not \(a_2\) to compute \(b_3\), and similarly to use \(b_2, b_3\) and not \(a_2, a_3\) to compute \(b_4\).Keywords: Gram-Schmidt, orthogonal basis, inner products