[Math] Find a basis for the set of vectors in $\mathbb{R}^4$ in the subspace (hyperplane) $x_1 +x_2 + 2x_3 + x_4 = 0, x_1 + 2x_2-x_3=0$

linear algebravector-spaces

I am studying for a test, and this is one of the practice problems.

Find a basis for the set of vectors in $\mathbb{R}^4$ in the subspace (hyperplane) $x_1 +x_2 + 2x_3 + x_4 = 0, x_1 + 2x_2-x_3=0$

Can I say that the second plane is a linear combination of the first plane, and a basis for the first plane is $\{\begin{bmatrix}
1 & 0 & 0 & 1 \end{bmatrix}, \begin{bmatrix}
0 & 1 & 0 & -1 \end{bmatrix}, \begin{bmatrix}
0 & 0 & 2 & -2 \end{bmatrix}\}$, thus it is the basis for the hyperplane (both planes) in the subspace? If not, how do I find the basis?

Best Answer

I'm assuming you want to find a basis for the subspace $$S=\{(x_1,x_2,x_3,x_4) \in \mathbb{R}^4 \mid x_1+x_2+2x_3+x_4=0\;\mbox{and}\;x_1+2x_2-x_3=0\}.$$ The standard way to do this is to notice that $S$ is the kernel of the matrix $$\begin{bmatrix}1 & 1 & 2 & 1 \\ 1 & 2 & -1 & 0\end{bmatrix}.$$ Row reduce to get $$\begin{bmatrix}1 & 0 & 5 & 2 \\ 0 & 1 & -3 & -1\end{bmatrix}.$$ This tells you that a basis for $S$ is $\{(-5,3,1,0),(-2,1,0,1)\}$.

Related Question