MathCastle
Linear AlgebraHardOrthogonality & Least Squares

Orthogonality & Least Squares · Hard problem

Apply Gram–Schmidt to u=(−2,−1,0)\mathbf u = (-2, -1, 0), v=(2,3,1)\mathbf v = (2, 3, 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.