Professional Documents
Culture Documents
Notes:
for any
Ex 5: (Projection onto a subspace)
w1 0, 3, 1, w 2 2, 0, 0, v 1, 1, 3
Find the projection of the vector v onto the subspace W.
W span({w1 , w 2 })
Sol:
w1 , w 2 : an orthogonal basis for W
w1 w 2 3 1
u1 , u 2 , (0, , ), 1,0,0 :
w1 w 2 10 10
an orthonormal basis for W
projW v v , u1 u1 v , u2 u2
6 3 1 9 3
(0, , ) 1,0,0 (1, , )
10 10 10 5 5
Thm: (Orthogonal projection and distance)
Let U be a subspace of an inner product space V, and x .
Then for all ,