Linear Independence
In[59]:=
a=Transpose[{{1,0,3,0},{0,1,-6,1},{0,2,1,-1}}];
MatrixForm[a]
Out[59]=
1 0 0 0 1 2 3 -6 1 0 1 -1
In[60]:=
NullSpace[a]
Out[60]=
{}
There is no solution (other than the trivial one (0,0,0) ) so the vectors are linearly independent.
To see if the vectors (1,-9), (4,5), and (2,-6) are linearly independent in R2:
In[61]:=
m=Transpose[{{1,-9},{4,5},{2,-6}}];
In[62]:=
MatrixForm[m]
Out[62]=
1 4 2 -9 5 -6
In[63]:=
NullSpace[m]
Out[63]=
{{-34, -12, 41}}
They are not! In fact, -34(1,-9)-12(4,5)+41(2,-6)=(0,0). If you had linear algebra, you knew already that the THREE vectors could not be linearly independent in TWO dimensional space.