MathCastle
Linear AlgebraHardOrthogonality & Least Squares

Orthogonality & Least Squares · Hard problem

Apply Gram–Schmidt to u=(−2,3,−1)\mathbf u = (-2, 3, -1), v=(−1,−2,−1)\mathbf v = (-1, -2, -1) (in that order, without normalizing). Find the second vector w2=v−proj⁡uv\mathbf w_2 = \mathbf v - \operatorname{proj}_{\mathbf u}\mathbf v.