Orthogonal Matrices and Gram-Schmidt¶
In this lecture we finish introducing orthogonality. Using an orthonormal basis or a matrix with orthonormal columns makes calculations much easier. The Gram-Schmidt process starts with any basis and produces an orthonormal basis that spans the same space as the original basis.
Orthonormal Vectors¶
The vectors orthonormal
if:
In other words, they all have (normal) length
Orthonormal Matrix¶
If the columns of
Matrices with orthonormal columns are a new class of important matrices to add to those on our list:
- triangular
- diagonal
- permutation
- symmetric
- reduced row echelon
- projection
We'll call them orthonormal matrices
.
A square orthonormal matrix orthogonal matrix
. If
For example, if
The matrix Hadamard matrices
:
An example of a rectangular matrix with orthonormal columns is:
We can extend this to a (square) orthogonal matrix:
These examples are particularly nice because they don't include complicated square roots.
Orthonormal Columns are Good¶
Suppose
If the columns of
Many equations become trivial when using a matrix with orthonormal columns. If our basis is orthonormal, the projection component
Gram-Schmidt¶
With elimination, our goal was make the matrix triangular
. Now our goal is make the matrix orthonormal
.
We start with two independent vectors
Let
If we multiply both sides of this equation by
What if we had started with three independent vectors,
For example, suppose
Normalizing, we get:
The column space of
When we studied elimination, we wrote the process in terms of matrices and found
Suppose
If
Notice that