Finding a Basis for the Kernel Space of a Matrix - Solving the RREF Method

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
theRukus
Messages
49
Reaction score
0

Homework Statement


Find a basis for the kernel space of the following matrix:
-1 -2 -1 2 2
-2 -4 -4 10 2
1 2 2 -5 2
-1 -2 0 -1 0

row reduce to

1 2 0 1 0
0 0 1 -3 0
0 0 0 0 1
0 0 0 0 0


Somehow read the solution as

{ [-2 1 0 0 0]T, [-1 0 3 1 0]T }

.. I don't understand how to read the basis from the RREF. Could someone shed some light for me? Thanks so much!
 
Physics news on Phys.org
The basis for the null space is orthogonal to each vector in the rowspace and so to each vector in the rowspace of the rref form
 
In more "simple-minded" terms, you can think of your row reduced matrix as referring to
[tex]\begin{bmatrix}1 & 2 & 0 & 1 & 0 \\ 0 & 0 & 1 & -3 & 0 \\ 0 & 0 & 0 & 0 & 1 \\ 0 & 0 & 0 & 0 & 0 & 0\end{bmatrix}\begin{bmatrix}x_1 \\ x_2 \\ x_3 \\ x_4 \\ x_5 \\ x_6\end{bmatrix}= \begin{bmatrix}0 \\ 0 \\ 0 \\ 0\end{bmatrix}[/tex]

or simply the equations [itex]x_2+ 2x_2+ 0x_3+ x_4+ 0x_5= 0[/itex], [itex]0x_1+ 0x_2+ x_3- 3x_4+ 0x_5= 0[/itex], [itex]0x_1+ 0x_2+ 0x_3+ 0x_4+ x_5= 0[/itex], [itex]0x_1+ 0x_2+ 0x_3+ 0x_4+ 0x_5= 0[/itex].

If you interpret each of those equations as a "dot product" you can see how the vectors in the kernel must be "orthogonal" to the rows of the reduced matrix. Of course, you can also see, from the third equation that [itex]x_5[/itex] must be 0, from the second that [itex]x_3- 3x_4= 0[/itex] so that [itex]x_3= 3x_4[/itex], and from the first equation that [itex]x_1+ 2x_2+ x_4= 0[/itex] so that [itex]x_1= -2x_2- x_4[/itex]. That is, we can write
[tex]\begin{bmatrix}x_1 \\ x_2 \\ x_3 \\ x_4 \\ x_5\end{bmatrix}= \begin{bmatrix}-2x_2- x_4 \\ x_2 \\ 3x_4 \\ x_4 \\ 0\end{bmatrix}[/tex]
[tex]= \begin{bmatrix}-2x_2 \\ x_2 \\ 0 \\ 0 \\ 0\end{bmatrix}+ \begin{bmatrix}-x_4 \\ 0 \\ 3x_4 \\ x_4 \\ 0\end{bmatrix}[/tex]
[tex]= x_2\begin{bmatrix}- 2 \\ 1 \\ 0 \\ 0 \\ 0 \end{bmatrix}+ x_4\begin{bmatrix}-1 \\ 0 \\ 3 \\ 1 \\ 0 \end{bmatrix}[/tex]
 
Thanks heaps hallsofivy, that cleared things up for me. Wish me luck on my exam!