We claim that this is an orthonormal list of vectors in the space of continuous complex-valued functions with domain , equipped with the inner product:
Note that this is an inner product, which we could verify with the 5 properties of an inner product. Notice that it's interesting that this list is infinite, while being orthonormal. Notice then that:
Each pair of vectors are orthogonal to each other
The norm of any vector in the list is 1.
Recall that:
We prove both of these.
Proof
We first show that any . Notice that then and for some . Notice if then so we expect :
Notice that so then so then:
by plugging in. If instead then so then:
as we expected.
☐
Graham-Schmidt Process
Suppose is an orthonormal basis for inner product space . Let . Thus:
for all . What if we wanted to know that all the 's are? Normally we'd row reduce, but when you deal with an orthonormal basis, you can calculate these directly! We'll make a formula for them.
Take the inner product of both sides of the original equation with one (it doesn't matter), then:
So in any inner product space have some orthonormal basis (ONB) , any vector can be written uniquely as:
The goal is to start with a basis for , namely , and find a basis that's orthonormal, such that (we want to build the vectors up one at a time).
Gram Schmidt Algorithm
Given . We want , so we need to be a scalar multiple of , while being unit length. Hence:
(note since is in a basis list for ).
Then suppose we already have already with are orthonormal and . We want:
Where . Then the next vector we want is:
Note
You can just normalize all of your vectors at the very end, rather than during the process. You can just get non-normal length 's, then normalize all once at the very end.
Notice that since if it was equal then which contradicts it composing a basis of the other vectors. Clearly then is unit length.
Further, is orthogonal to .
Lastly, since we knew the previous span of is true, and we get spanned from the equation to show the new list spans the list.
You continue this process up till the list terminates. Then you have your orthonormal basis .
Consequences of Gram Schmidt
Notice that all that we require is that is our basis, or namely . Hence:
Every finite dimensional product space has an orthonormal has an orthonormal basis.
Suppose , and there is a basis for via such that is UT. Then there exists an orthonormal basis for which is UT.
Every operator where is a complex inner product space has an UT matrix representation with respect to an orthonormal basis (combining the two above)
An Example
Take and . We know these aren't colinear vectors, so clearly they span . So is a valid basis.
To use Gram Schmidt, scale to a unit size to . Then take and subtract the projection of it onto . Namely: