[Math] Calculating an orthonormal basis of $\{(x,y,z) \mid 2x + y -z = 0\}$

linear algebraorthonormal

We have the real euclidean vector space $\mathbb{R}^3$ with the standard inner product and the standard basis $B = (e_1, e_2, e_3)$.

$W \subset \mathbb{R}^3$ is the subspace which is defined by:
$$W = \{(x,y,z) \in \mathbb{R}^3 \mid 2x+y-z=0 \}$$

a.) Calculate an orthonormal basis of $W$.

I'm not sure how to solve this question. Do I have to use the Gram-Schmidt method?

How do I write out the matrix? Is this the matrix?
$$
\begin{pmatrix}
2&1&-1
\end{pmatrix}
$$

And then with the Gram-Schmidt algorithm:
$$
w_1
= \frac{v_1}{\| v_1\|}
= \frac{1}{\sqrt{5}}\begin{pmatrix} 2\\1\\-1\end{pmatrix}
$$

Is my idea correct? If not, can you tell me where I went wrong?

Thank you!

Best Answer

Hint

$W=\{(x,y,z)\in\mathbb{R}^3: 2x+y-z=0\}=\{(x,y,z)\in\mathbb{R}^3: z=2x+y\}=\{(x,y,z)\in\mathbb{R}^3: (x,y,z)=(x,y,2x+y)\}=\{(x,y,z)\in\mathbb{R}^3: (x,y,z)=(x,0,2x)+(0,y,y)\}=\{(x,y,z)\in\mathbb{R}^3: (x,y,z)=x(1,0,2)+y(0,1,1)\}=\langle(1,0,2),(0,1,1)\rangle$

Related Question