Basis for subspace

linear algebravector-spaces

Consider $V= \left \{ u= \begin{bmatrix}
x_1\\
x_2\\
x_3
\end{bmatrix} : x_1-x_2+2x_3=0\right \}\subset K^3$
.

What is the basis of $V \subset K^3$

The format of the subspace is proving itself difficult to me. I know the span of the vectors in the basis is equal to the subset and that the vectors in the basis are linearly independent. I furthermore know the dimension is equal to the ammount og vectors in the basis of the subspace. Normally I would reduce to reduced echeleon form and be done. What approach would work here? I cant seem to make a matrix for the subspace.

Best Answer

We have \begin{align*} \left \{ \begin{bmatrix} x_1 \\ x_2 \\ x_3 \end{bmatrix} : x_1-x_2+2x_3=0\right \} &= \left \{ \begin{bmatrix} x_1 \\ x_2 \\ x_3 \end{bmatrix} : x_1=x_2-2x_3\right \} \\&= \left \{ \begin{bmatrix} x_2 - 2 x_3 \\ x_2 \\ x_3 \end{bmatrix} : x_2, x_3 \in K\right \} \\&= \left \{ x_2 \begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix} + x_3 \begin{bmatrix} -2 \\ 0 \\ 1 \end{bmatrix} : x_2, x_3 \in K\right \} \\&= \operatorname{span} \left \{ \begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix} , \begin{bmatrix} -2 \\ 0 \\ 1 \end{bmatrix} \right \} \end{align*} and the two vectors are linearly independent.