MathCastle
Linear AlgebraHardOrthogonality & Least Squares

Orthogonality & Least Squares · Hard problem

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