Lecture 30 - Practice with Gram-Schmidt

As an example, consider V=P2(R) equipped with:

f,g=02f(x)g(x)dx

Here f2=02f2(x)dx. Let v1=1,v2=x,v3=x2 are our standard basis. Our goal is to find an orthonormal basis for P2(R).

Actually, the process is pretty much exact to Chapter 6 - Inner Product Spaces#An Example, so check that out if you want a better example. It's very similar to this one.

6.C: Orthogonal Complements

Note

This section is just good to know for the final. We'll cover it again in Linear III.

Consider the plane:

Each plane has a unique n associated with it, and vice versa. In linear algebra, we want to abstract this idea even further:

orthogonal complement, U

If U is a subset (maybe not a subspace) of V, then the orthogonal complement of U, denoted U, is the set of all vectors in V that are orthogonal to every vector in U:

U={vV:v,u=0uU}

So U is all the vectors that are orthogonal to the plane, or are on the n line:

Some properties include:

We'll show that it's a subspace (property 1) below:

Proof

Clearly 0U.

Let's show that U is closed under addition. Let v1,v2U be arbitrary. So then v1,u=0 and v2,0 for all uU. Let uU be arbitrary. Notice that:

v1+v2,u=v1,u+v2,u=0+0=0

Thus since u was arbitrary, then it's clear that v1+v2 is perpendicular to all u, so then v1+v2U, showing closure under addition.

Closure under scalar multiplication is similar.

For the proof of property 5 above:

Proof
Suppose UW. Let vW. Thus then v,w=0 for all wW, implying that v,u=0 for every uU since UW. Hence, vU, so then WU.

Some Facts

Lemma

Suppose U is a finite-dimensional subspace of V. Then:

V=UU

as well as:

(U)=U

Proof
To prove the direct sum, clearly UU={0} since the zero vector is in both now (U is a subspace specifically). Therefore, the sum is direct. We now need to show that V=U+U.

Clearly UUV by U being a subspace. Consider the other direction. If vV, then let e1,...,ek be an orthonormal basis for U. Then:

v=v,e1e1++v,ekekU+(v(v,e1e1++v,ekek))U


The nice thing here is that the vector on the left-hand side is the "closest" approximation for v in vectors in terms of V.