8.3. INNER PRODUCT AND NORMED LINEAR SPACES 189

Definition 8.3.12 Suppose {v1, · · · ,vk} is a set of vectors in an inner product space H. Itis an orthonormal set if

(vi,v j) = δ i j =

{1 if i = j0 if i ̸= j

Every orthonormal set of vectors is automatically linearly independent.

Proposition 8.3.13 Suppose {v1, · · · ,vk} is an orthonormal set of vectors. Then it is lin-early independent.

Proof: Suppose ∑ki=1 civi = 0. Then taking inner products with v j,

0 = (0,v j) = ∑i

ci (vi,v j) = ∑i

ciδ i j = c j.

Since j is arbitrary, this shows the set is linearly independent as claimed.It turns out that if X is any subspace of H, then there exists an orthonormal basis for X .

The process by which this is done is called the Gram Schmidt process.

Lemma 8.3.14 Let X be a subspace of dimension n which is contained in an inner prod-uct space H. Let a basis for X be {x1, · · · ,xn} . Then there exists an orthonormal ba-sis for X , {u1, · · · ,un} which has the property that for each k ≤ n, span(x1, · · · ,xk) =span(u1, · · · ,uk) .

Proof: Let {x1, · · · ,xn} be a basis for X . Let u1 ≡ x1/ |x1| . Thus for k = 1, span(u1) =span(x1) and {u1} is an orthonormal set. Now suppose for some k < n, u1, · · · , uk havebeen chosen such that (u j,ul) = δ jl and span(x1, · · · ,xk) = span(u1, · · · ,uk). Then define

uk+1 ≡xk+1−∑

kj=1 (xk+1,u j)u j∣∣∣xk+1−∑kj=1 (xk+1,u j)u j

∣∣∣ , (8.3.20)

where the denominator is not equal to zero because the x j 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 8.3.20 for xk+1 and itfollows

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

If l ≤ k, then denoting by C the scalar∣∣∣xk+1−∑

kj=1 (xk+1,u j)u j

∣∣∣−1,

(uk+1,ul) = C

((xk+1,ul)−

k

∑j=1

(xk+1,u j)(u j,ul)

)

= C

((xk+1,ul)−

k

∑j=1

(xk+1,u j)δ l j

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

8.3. INNER PRODUCT AND NORMED LINEAR SPACES 189Definition 8.3.12 Suppose {v1,--- , vg} is a set of vectors in an inner product space H. Itis an orthonormal set if_s _f lifisi(ww) =85=f Offi xjEvery orthonormal set of vectors is automatically linearly independent.Proposition 8.3.13 Suppose {v1,--- ,Vv,} is an orthonormal set of vectors. Then it is lin-early independent.Proof: Suppose mien civ; = 0. Then taking inner products with v,,= Lai Vi,V = hei dij = cj.Since j is arbitrary, this shows the set is linearly independent as claimed.It turns out that if X is any subspace of H, then there exists an orthonormal basis for X.The process by which this is done is called the Gram Schmidt process.Lemma 8.3.14 Let X be a subspace of dimension n which is contained in an inner prod-uct space H. Let a basis for X be {x,--+,Xn}. Then there exists an orthonormal ba-sis for X, {u,+++ Un} which has the property that for each k <n, span(x1,-++ ,X,) =span (U1,--- , Ux).Proof: Let {x,,--- ,x,} be a basis for X. Let uy =x; /|x;|. Thus for k = 1, span (u;) =span (x;) and {u;} is an orthonormal set. Now suppose for some k <n, uy, ---, ug havebeen chosen such that (uj,uy) = 6 jy and span(x1,--- ,x,) =span(uy,--- ,uz). Then definekXe — Diy (Xe41, Uj) Uytie = OH tye (Xk41,Uj) U; . (8.3.20)Xi — Lj (Kerr Uy) Uywhere the denominator is not equal to zero because the x; form a basis and soX41 ¢ span (X1,--+ ,X,) = span(uy,--- , Ux)Thus by induction,U4 € span(uy,-+- , Uy, Xe41) = span (X1,°++ , Xx, X41).Also, xg+1 € span (uy,--- ,Uz,Ug;1) which is seen easily by solving 8.3.20 for x, 1 and itfollowsspan (X1,-°- Xk Xk+1) = span (uy, - “ Uz, Ug +1) :-1If 1 <k, then denoting by C the scalar a — Yin (Xe41 vj) u,| ,k(Ug1,W) = € (ian) d ( Xx41,U;) a)ko (aca) d ( Xx41,U; 13)= C((xee1,t4) — (Xey1,t1)) <0.