We can do this by subtracting row 1 from row 3. This gives us the matrix:
$$
A=\left[\begin{array}{llll}
1 & 2 & 0 & 1 \\
0 & 1 & 1 & 0 \\
0 & 0 & 0 & 0
\end{array}\right]
$$
This is in row echelon form, so the rank of $A$ is 2, since the last row is all zeros and
Show more…