Let $w = \mbox{span} \{(1,1,-2,0)^T,(1,0,2,1)^T\}$
Find an orthonormal basis for $w$ using dot product
Let $w = \mbox{span} \{(1,1,-2,0)^T,(1,0,2,1)^T\}$
Find an orthonormal basis for $w$ using dot product
Just use Gram-Schmidt on $w$ which gives $v_1 = \frac{1}{\sqrt{6}}(1,1,-2,0)$ and $v_2 = \frac{1}{3\sqrt{2}}(3,1,2,2).$