We extend the basis to an orthonormal basis u 1 , … , u n {\displaystyle {}u_{1},\ldots ,u_{n}} of V {\displaystyle {}V} . The orthogonal complement of U {\displaystyle {}U} is
Due to fact, we have
Therefore, ∑ i = 1 m ⟨ v , u i ⟩ u i {\displaystyle {}\sum _{i=1}^{m}\left\langle v,u_{i}\right\rangle u_{i}} is the projection onto U {\displaystyle {}U} along U ⊥ {\displaystyle {}U^{\perp }} .