We now come to a fundamentally important algorithm, which is called the Gram-Schmidt orthogonalization procedure. This algorithm makes it possible to construct, for each list of linearly independent vectors (resp. basis), a corresponding orthonormal list (resp. orthonormal basis).
Theorem 9.5.1
If is a list of linearly independent vectors in , then there exists an orthonormal list such that
Proof
The proof is constructive, that is, we will actually construct vectors having the desired properties. Since is linearly independent, for each . Set . Then is a vector of norm 1 and satisfies Equation (9.5.1) for . Next, set
This is, in fact, the normalized version of the orthogonal decomposition Equation(9.3.1)~. I.e.,
where . Note that and .
Now, suppose that have been constructed such that is an orthonormal list and . Then define
Since is linearly independent, we know that . Hence, we also know that . It follows that the norm in the definition of is not zero, and so is well-defined (i.e., we are not dividing by zero). Note that a vector divided by its norm has norm 1 so that . Furthermore,
for each . Hence, is orthonormal.
From the definition of , we see that so that . Since both lists and are linearly independent, they must span subspaces of the same dimension and therefore are the same subspace. Hence Equation (9.5.1) holds.
Example
Take and in . The list is linearly independent (as you should verify!). To illustrate the Gram-Schmidt procedure, we begin by setting
Next, set
The inner product ,
so
Calculating the norm of , we obtain .
Hence, normalizing this vector, we obtain
The list is therefore orthonormal and has the same span as .
Corollary 9.5.3.
Every finite-dimensional inner product space has an orthonormal basis.
Proof
Let be any basis for . This list is linearly independent and spans . Apply the Gram-Schmidt procedure to this list to obtain an orthonormal list , which still spans by construction. By Proposition9.4.2~, this list is linearly independent and hence a basis of .
Corollary 9.5.4.
Every orthonormal list of vectors in can be extended to an orthonormal basis of .
Proof
Let be an orthonormal list of vectors in . By Proposition9.4.2~, this list is linearly independent and hence can be extended to a basis of by the Basis Extension Theorem. Now apply the Gram-Schmidt procedure to obtain a new orthonormal basis . The first vectors do not change since they already are orthonormal. The list still spans and is linearly independent by Proposition9.4.2~ and therefore forms a basis.
Recall Theorem7.5.3~: given an operator on a complex vector space , there exists a basis for such that the matrix of with respect to is upper triangular. We would like to extend this result to require the additional property of orthonormality.
Corollary 9.5.5
Let be an inner product space over and . If is upper-triangular with respect to some basis, then is upper-triangular with respect to some orthonormal basis.
Proof
Let be a basis of with respect to which is upper-triangular. Apply the Gram-Schmidt procedure to obtain an orthonormal basis , and note that
We proved before that is upper-triangular with respect to a basis if and only if is invariant under for each . Since these spans are unchanged by the Gram-Schmidt procedure, is still upper triangular for the corresponding orthonormal basis.
Contributors
Both hardbound and softbound versions of this textbook are available online at WorldScientific.com.