41. Orthogonal Basis
,1 Gram-schmidt Process, Orthonormal Basis
1
Dated: 19-06-2025
Example
Let \(\mathbb W = \text{Span}(\{x_1, x_2\})\) where
Find the orthogonal basis
1 \(\{v_1, v_2\}\) for \(\mathbb W\).
Solution
Let \(\vec v_1 = \vec x_1\) and \(P\) be projection
1 of \(\vec x_2\) on \(\vec x_1\). The component which is orthogonal
1 to to \(\vec x_1\) is \(\vec v_2 = \vec x_2 - P\)
Gram Schmidt Process
Example
The following vectors
2 \(\{\vec x_1, \vec x_2, \vec x_3\}\) are linearly independent
.3
Construct an orthogonal basis
1 for \(W\) by Gram-Schmidt Process
.
Solution
To construct orthogonal basis
1 we have to perform the following steps.
Step 1
Let \(v_1 = x_1\)
Step 2
Let \(v_2 = x_2 - \frac{x_2 \cdot v_1}{v_1 \cdot v_1} v_1\)
Step 3
Thus \(\{v_1, v_2, v_3\}\) is an orthogonal basis
1 for \(\mathbb W\).
Theorem
Give a basis
\(\{x_1, x_2, \ldots, x_p\}\) for subspace
4 \(\mathbb W\) for \(\mathbb R^n\).
Then \(\{v_1, \ldots, v_p\}\) is the orthogonal basis
1 for \(\mathbb W\).
\(\text{Span}(\{v_1, \ldots, v_p\}) = \text{Span}(\{x_1, \ldots, x_k\}) \quad 1 \le k \le p\)
Theorem
If \(A\) is an \(m \times n\) matrix
5 with linearly independent
3 columns then \(A = QR\)
Where \(Q_{m \times n}\) has columns which form an orthogonal basis
1 for \(\text{Col } A\) and \(R_{n \times n}\) is an upper triangular invertible matrix
67 with positive entries on its diagonal
.
Example
Find \(QR\) factorization of
Solution
First find the orthonormal basis
1 by applying Gram Schmidt process on the columns of \(A\).
References
Read more about notations and symbols.
-
Read more about orthogonal and orthonormal basis. ↩↩↩↩↩↩↩↩↩↩↩
-
Read more about linear dependency. ↩↩
-
Read more about vector spaces. ↩
-
Read more about upper triangular matrix. ↩
-
Read more about invertible matrices. ↩