11.2. THE GRAM SCHMIDT PROCESS 275

It turns out that the validity of this identity is equivalent to the existence of an innerproduct which determines the norm as described above. These sorts of considerations aretopics for more advanced courses on functional analysis.

Definition 11.1.10 A basis for an inner product space, {u1, · · · , un} is an orthonormalbasis if

(uk, uj) = δkj ≡

{1 if k = j

0 if k ̸= j.

Note that if a list of vectors satisfies the above condition for being an orthonormal set,then the list of vectors is automatically linearly independent. To see this, suppose

n∑j=1

cjuj = 0

Then taking the inner product of both sides with uk,

0 =

n∑j=1

cj (uj , uk) =

n∑j=1

cjδjk = ck.

11.2 The Gram Schmidt Process

Lemma 11.2.1 Let X be an inner product space and let {x1, · · · , xn} be linearly indepen-dent. Then there exists an orthonormal basis for X, {u1, · · · , un} which has the propertythat for each k ≤ n, span(x1, · · · , xk) = span (u1, · · · , uk) .

Proof: Let u1 ≡ x1/ |x1| . Thus for k = 1, span (u1) = span (x1) and {u1} is anorthonormal set. Now suppose for some k < n, u1, · · · , uk have been chosen such that(uj , ul) = δjl and span (x1, · · · , xk) = span (u1, · · · , uk). Then define

uk+1 ≡xk+1 −

∑kj=1 (xk+1, uj)uj∣∣∣xk+1 −

∑kj=1 (xk+1, uj)uj

∣∣∣ , (11.1)

where the denominator is not equal to zero because the xj form a basis and so

xk+1 /∈ span (x1, · · · , xk) = span (u1, · · · , uk)

Thus by induction,

uk+1 ∈ span (u1, · · · , uk, xk+1) = span (x1, · · · , xk, xk+1) .

Also, xk+1 ∈ span (u1, · · · , uk, uk+1) which is seen easily by solving 11.1 for xk+1 and itfollows

span (x1, · · · , xk, xk+1) = span (u1, · · · , uk, uk+1) .

If l ≤ k,

(uk+1, ul) = C

(xk+1, ul)−k∑

j=1

(xk+1, uj) (uj , ul)

= C

(xk+1, ul)−k∑

j=1

(xk+1, uj) δlj

= C ((xk+1, ul)− (xk+1, ul)) = 0.

11.2. THE GRAM SCHMIDT PROCESS 275It turns out that the validity of this identity is equivalent to the existence of an innerproduct which determines the norm as described above. These sorts of considerations aretopics for more advanced courses on functional analysis.Definition 11.1.10 A basis for an inner product space, {u1,-+- ,Un} is an orthonormalbasis iflifk=j(uk, Uj) = On = .Oifk AgNote that if a list of vectors satisfies the above condition for being an orthonormal set,then the list of vectors is automatically linearly independent. To see this, supposeSou, = 0j=lThen taking the inner product of both sides with uz,n0=Soe( Uj, Uk) = Leiane,j=l11.2 The Gram Schmidt ProcessLemma 11.2.1 Let X be an inner product space and let {x1,-+- , an} be linearly indepen-dent. Then there exists an orthonormal basis for X, {ui1,:++ ,Un} which has the propertythat for each k <n, span(a1,-+- ,t,) = span (uy,-+- , Up).Proof: Let wu; = 21/|r1|. Thus for k = 1, span(ui) = span(a,) and {uy} is anorthonormal set. Now suppose for some k < n, ui, ---, uz have been chosen such that(u;, ur) = Oj, and span (x,--- ,a,) =span(ui,---: ,u,). Then definekUp — Dojay (TeH1, Uj) UyUne = Jt ve (11.1)kTer — Dijay Wap, Uy) Uywhere the denominator is not equal to zero because the «; form a basis and soTr+1 ¢ span (x1, a a) = span (u1, ut , Uk)Thus by induction,Uk+1 © Span (ui,-°- Uk, Tk41) = span (x1, ut Uk, k41) «Also, p41 € span (u1,-+: ,Uk,Ug+1) which is seen easily by solving 11.1 for 7,41 and itfollowsspan (a1, ue Uk, CR+1) = span (ui, a , Uk; Uk+1) :Ifl<k,k(unsist) = Cf (eegi,tn) — S> (wega, uy) (uj, wr)j=lk= C (@p41, Ut) -S°( (Geis Uy ) bi;j=l= C((rep1,W) — (R41, U1)) = 9.