There is no commentSelect some text and then click Comment, or simply add a comment to this page from below to start a discussion.
Find an orthonormal basis of a subspace
Problem
Let
Find an orthonormal basis of and the projection matrix onto .
Thought
We may find a basis by the process in How to solve a system of linear equations?, but the given basis is likely to be not orthogonal. To find an orthonormal basis, we may find a nonzero vector in the subspace first, and then add the condition to our equations. For example, it is not hard to find one vector in , say, for example, . Now, we are looking for a vector such that and . Equivalently, is a vector in the kernel of
which can be easily found.
Once we have an orthogonal basis, one may normalize the lengths to make it orthonormal. Moreover, let be the matrix whose columns are composed of the vectors in the orthonormal basis, then is the projection matrix. Since the columns of are orthonormal, , and the projection matrix is simply .
Sample answer
Pick a nonzero vector , for example, . Then we are looking for a vector such that and . Equivalently, is in the kernel of
whose reduced echelon form is
Thus, can be chosen as . By replacing with for each , we have
Thus, is an orthornormal basis of .
For the projection matrix, we may let
Then
Note
By choosing a different , you might get a different . However, the projection matrix remains the same. Give a try and think about why.
In general, every subspace has an orthonormal basis, which can be found by the Gram–Schmidth process.
This note can be found at Course website > Learning resources.