[Math] Orthonormal basis for subspace spanned by $x_1=(1,1,1), x_2=(1,0,1), x_3=(3,2,3)$

linear algebra

How do you find an orthonormal basis for the subspace of $V_3$ spanned by the given vectors:

$$x_1=(1,1,1), x_2=(1,0,1), x_3=(3,2,3)$$

Best Answer

As the third vector is linearly dependent forget it, and use Gram-Schmidt only on $x_1$ and $x_2$.

If you don't want to calculate that much, you can use the fact that the span of your subspace is the same as that of $$\begin{pmatrix} 0 \\ 1 \\ 0\\ \end{pmatrix} \qquad \begin{pmatrix} 1 \\ 0 \\ 1\\ \end{pmatrix}$$ Those vectors are already orthogonal (with the standard scalar product). Just normalise them and you will be fine.

Related Question