I am given matrices:
\begin{pmatrix}1&2\\ 0&1\end{pmatrix}\begin{pmatrix}1&0\\ \:1&0\end{pmatrix}\begin{pmatrix}1&0\\ a\:&-2\end{pmatrix}
and asked to determine the value of $a$ such that the above matrices are linearly independent. I know how to work with vectors: put them together into a matrix and use row reduction, if no free columns then the vectors are linearly independent. But how to do this with matrices? Thank you.