Given the matrix $B∈ M_3(Z_7)$
$$ \begin{bmatrix} 2 & 1 & 0 \\ 1 & 3 & 1 \\ 4 & 0 & 2 \\ \end{bmatrix} $$
Is the rank of this matrix $2$? I calculated the determinant of the matrix
$$ \begin{bmatrix} 2 & 1 \\ 1 & 3 \\ \end{bmatrix} $$
and it is equal to $5$ so since the determinant of this $2 x 2$ sub-matrix is non-zero it means that the rank is $2$, right?
You are right if $\Delta=0$ and indeed, $\Delta=0.$