Finding orthogonal bases
Gram-Schmidt converts any basis into an orthonormal one, and recording the steps as it runs produces the QR factorization.
10 exercises
Activity 6.4.2
Suppose that is a three-dimensional subspace of with basis: We can see that this basis is not orthogonal by noting that . Our goal is to create an orthogonal basis , , and for .
To begin, we declare that , and we call the line defined by .
Find the vector that is the orthogonal projection of onto , the line defined by .
Form the vector and verify that it is orthogonal to .
Expl…
Activity 6.4.4
Suppose that is the matrix whose columns are These vectors form a basis for , the subspace of that we encountered in this activity. Since these vectors are the columns of , we have .
When we implemented Gram-Schmidt, we first found an orthogonal basis , , and using Use these expressions to write , , and as linear combinations of , , and .
We next normalized the orthogonal basis…
Exercise 1
Suppose that a subspace of has a basis formed by
Find an orthogonal basis for .
Find an orthonormal basis for .
Find the matrix that projects vectors orthogonally onto .
Find the orthogonal projection of onto .
Exercise 2
Find the factorization of .
Exercise 3
Consider the basis of given by the vectors
Apply the Gram-Schmit orthogonalization algorithm to find an orthonormal basis , , for .
If is the whose columns are , , and , find the factorization of .
Suppose that we want to solve the equation , which we can rewrite as .
If we set , the equation becomes . Explain how to solve the equation in a computationally efficient manner.
Ex…
Exercise 4
Consider the vectors and the subspace of that they span.
Find an orthonormal basis for .
Find the matrix that projects vectors orthogonally onto .
Find , the orthogonal projection of onto .
Express as a linear combination of , , and .
Exercise 5
Consider the set of vectors
What happens when we apply the Gram-Schmit orthogonalization algorithm?
Why does the algorithm fail to produce an orthogonal basis for ?
Exercise 6
Suppose that is a matrix with linearly independent columns and having the factorization . Determine whether the following statements are true or false and explain your thinking.
It follows that .
The matrix is invertible.
The product projects vectors orthogonally onto .
The columns of are an orthogonal basis for .
The orthogonal complement .
Exercise 7
Suppose we have the factorization , where is a matrix.
What is the shape of the product ? Explain the significance of this product.
What is the shape of the product ? Explain the significance of this product.
What is the shape of the matrix ?
If is a diagonal matrix, what can you say about the columns of ?
Exercise 8
Suppose we have the factorization where the columns of are and the columns of are .
How can the matrix product be expressed in terms of dot products?
How can the matrix product be expressed in terms of dot products?
Explain why .
Explain why the dot products .
Adapted from Understanding Linear Algebra © 2023 David Austin. Licensed under CC BY 4.0. Source: Understanding Linear Algebra. Imported at revision 3e6dced.