More on orthogonal vectors
Constructing orthonormal basis using Gram-Schmidt
Recall that If is a finite dimensional inner product space, it has an orthonormal set as a basis.
Example 1.
Let be the set of all polynomials with real coefficients and degree . Define
The standard basis of is . Applying the Gram-Schmidt Orthogonalization Process, we get
Thus, is an orthonormal basis for .
The Orthogonal Decomposition Theorem
Theorem 2.
If is a finite dimensional inner product space and is a subspace of , then
Proof #1
Note that itself is an inner product space. So, has an orthonormal basis . For any , defineNotice that is orthogonal to each . Hence, is orthogonal to , i.e., . We can now write
So, . We have already shown that , so this decomposition is unique. Thus, . ❏
Proof #2
Assume for simplicity. Let .Theorem 3(Claim 1).
We can find such that for all .
Proof 1 of Claim 1
Let be a basis of . Let be written as . Then,Note that only the ‘s are variable in the above expression, and they are determined by . So, is a non-negative second degree function in . Calculus tells us that such functions must attain a minimum for some tuple . Take . ❏
Proof 2 of Claim 1
Define a metric . This makes a metric space. Let . Let be an orthonormal basis of . Let . Define an isomorphism by . Note that the isomorphism preserves norms, i.e, , so . Now consider a closed ball of radius centered at in . From subspace topology, we know that is closed in . Since is a subspace of , it follows from the Heine Borel theorem that is compact. Observe that . Since is continuous (choose ), must also be compact. Define by . is continuous on its domain. From the extreme value theorem, must attain a minimum value on . This must be the global minimum of , since outside . ❏Theorem 4(Claim 2).
for all .
Proof of Claim 2
From Claim 1, we know that for all . So,Let . . Thus,
On letting , we get for all . Now, consider .
Therefore, for all . ❏
Now, we can express like so:
❏
Orthogonal projections
We have seen that every can be written uniquely as , where and . The orthogonal projection from to is the map defined by . Note that is a linear map. Note that if , and if .
If is an orthonormal bass for , then
Note that . If happened to be , then . So, .