19.3. APPROXIMATIONS IN HILBERT SPACE 529

Then let ck ≡(ck

1, · · · ,ckn)T

. Then

∣∣∣ck− cl∣∣∣2 ≡

n

∑j=1

∣∣∣ckj− cl

j

∣∣∣2 =( n

∑j=1

(ck

j− clj

)u j,

n

∑j=1

(ck

j− clj

)u j

)= ||yk− yl ||2

which shows{

ck}

is a Cauchy sequence in Fn and so it converges to c ∈ Fn. Thus

y = limk→∞

yk = limk→∞

n

∑j=1

ckju j =

n

∑j=1

c ju j ∈M.

This completes the proof.

Theorem 19.3.2 Let M be the span of {u1, · · · ,un} in a Hilbert space, H and let y ∈ H.Then Py is given by

Py =n

∑k=1

(y,uk)uk (19.3.17)

and the distance is given by √|y|2−

n

∑k=1|(y,uk)|2. (19.3.18)

Proof: (y−

n

∑k=1

(y,uk)uk,up

)= (y,up)−

n

∑k=1

(y,uk)(uk,up)

= (y,up)− (y,up) = 0

It follows that (y−

n

∑k=1

(y,uk)uk,u

)= 0

for all u ∈M and so by Corollary 19.1.13 this verifies 19.3.17.The square of the distance, d is given by

d2 =

(y−

n

∑k=1

(y,uk)uk,y−n

∑k=1

(y,uk)uk

)

= |y|2−2n

∑k=1|(y,uk)|2 +

n

∑k=1|(y,uk)|2

and this shows 19.3.18.What if the subspace is the span of vectors which are not orthonormal? There is a

very interesting formula for the distance between a point of a Hilbert space and a finitedimensional subspace spanned by an arbitrary basis.

19.3. APPROXIMATIONS IN HILBERT SPACE 529Then let e§ = (ch,-- ck)" Then2 n 2 nlc—e'| = y | = mG ~ ch) uj, (4 — ch) ujj=l j=l j=l= |lye—yill?which shows {ek} is a Cauchy sequence in FF” and so it converges to ec € F”. Thusn ny= lim yx = fim Deewus = hein EM.This completes the proof.Theorem 19.3.2 Let M be the span of {u,,--- un} in a Hilbert space, H and let y € H.Then Py is given byPy=Y (y, uk) uk (19.3.17)and the distance is given byyor ~¥ |0,ux))- (19.3.18)k=1Proof:Ms(~nbom) at = (y, Up) — d ( y, Uk) (Uz, Up)k=1= (y, up) — 07.) =It follows that(>- y bom) ac =0k=1for all wu € M and so by Corollary 19.1.13 this verifies 19.3.17.The square of the distance, d is given byn= (>- 2m) Uk, Y — Y (vue) 7k=1 k=1n= pP-2¥ low) +¥ lowek=1 k=1and this shows 19.3.18.What if the subspace is the span of vectors which are not orthonormal? There is avery interesting formula for the distance between a point of a Hilbert space and a finitedimensional subspace spanned by an arbitrary basis.