Let $S = \{(1, −1, 0, 2),(2, 1, −3, 1),(3, 0, −3, 3),(0, 1, 1, 1)\} ⊂ \mathbb R^4 .$ Use the Gram-Schmidt procedure to find an orthonormal basis for $\operatorname{span}(S)$ (using the dot product).
This is what I have tried:
Let:
$V_1 = (1,-1,0,2 ), \ V_2 = (2,1,-3,1 ),\ V_3 = (3,0,-3,3 ),\ V_4 = (0,1,1,1 )$
$$U_1 ={V_1 \over \|V_1\|}= {(1,-1,0,2)\over \sqrt 6}= \left({1 \over \sqrt6},-{1 \over \sqrt 6},0,{2 \over \sqrt6}\right)$$
I trying to get $U_2$ but I'm getting a really weird answer. Could anybody show me how to do it?
You started well. Now, let$$a_2=v_2-\langle v_2,u_1\rangle u_1=\left(\frac32,\frac32,-3,0\right)$$and$$u_2=\frac{a_2}{\|a_2\|}=\frac1{\sqrt6}\left(1,1,-2,0\right).$$And so on…