MathCastle
Linear AlgebraHardOrthogonality & Least Squares

Orthogonality & Least Squares · Hard problem

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