I have a basic query on the linear independence of vectors. Consider the following matrix $$\begin{bmatrix}0 & 1 & 2 \\1 & 2 & 1 \\2 & 7 & 8 \end{bmatrix}$$
I am told that this matrix has $2$ linearly independent rows - $row$ $1$ and $row$ $2$. $Row$ $3$ is a linear combination of $rows$ $1$ and$ 2$. Specifically, $row$ $3$ = $3$ $(row 1)$ + $2$ $(row 2)$. So the rank of the matrix is $2$.
What I can't understand is how can $rows$ $1$ and $2$ be independent? By the above formula for $row$ $3$, $row$ $1$ can be expressed in terms of row 3 and $row$ $2$. Similarly, $row$ $2 $can be expressed in terms of $row$ $3$ and $row$ $1$.
So, $row$ $1$ and$ row$ $2$ are linearly dependent. Can you please explain where I am wrong?
Thanks, Debashish
$3\cdot \mbox{row}_1 + 2\cdot \mbox{row}_2-1\cdot \mbox{row}_3=0$ says that the three rows are linearly dependent.
Now you can also check that in your case:
$\mbox{row}_1$ and $\mbox{row}_2$ are linearly independent;
$\mbox{row}_2$ and $\mbox{row}_3$ are linearly independent;
$\mbox{row}_1$ and $\mbox{row}_3$ are linearly independent.
The reason is that two rows are linearly dipendent iff the corresponding components are proportional (with the same constant).