MathCastle
Linear AlgebraMediumOrthogonality & Least Squares

Orthogonality & Least Squares · Medium problem

The vectors v1=(1,2,1)\mathbf v_1 = (1,2,1) and v2=(2,−1,3)\mathbf v_2 = (2,-1,3) are not orthogonal. Apply Gram–Schmidt to replace v2\mathbf v_2 with w=v2−proj⁡v1v2\mathbf w = \mathbf v_2 - \operatorname{proj}_{\mathbf v_1}\mathbf v_2, then write b=(8,1,11)\mathbf b = (8,1,11) as b=c1v1+c2w\mathbf b = c_1\mathbf v_1 + c_2\mathbf w (now an orthogonal pair). Find c2c_2.