Consider the matrix $M=$
\begin{bmatrix} 1&1&1&1&1&1&1\\ 1&-1&1&1&1&0&0\\ 1&1&-1&1&1&0&0\\ 1&1&1&-1&1&0&0\\ 1&1&1&1&-1&0&0\\ 1&0&0&0&0&-3&1\\ 1&0&0&0&0&1&-3\\ \end{bmatrix}
Show that $M$ has determinant $0$ and its rank is $6$.
In order to show that determinant of the matrix is $0$ we need to expand $M$ along the last row by Laplace Expansion which is cumbersome.
Are there any other methods to show that $M$ has determinant zero.
I have shown the second part that rank(M)=6 because we have the sub-matrix \begin{bmatrix} -1&1&1&1&0&0\\ 1&-1&1&1&0&0\\ 1&1&-1&1&0&0\\ 1&1&1&-1&0&0\\ 0&0&0&0&-3&1\\ 0&0&0&0&1&-3\\ \end{bmatrix}
which is block diagonal matrix and each of its block has non-zero determinant.
However how to show the first part? Is there any elegant way to show this as the matrix has a definite pattern?
Please help.
There is no need to do any tedious row/column operations. All you need is some simple inspection.
As $M$ is a $7\times7$ matrix of rank $\ge6$, if $\det M=0$, the null space of $M$ must be one-dimensional.
As you have shown, the last six columns of $M$ are linearly independent. Therefore, if $x=(a,b,c,d,e,f,g)^T\ne0$ lies in the null space of $M$, then $a$ must be nonzero. Also, by symmetry of coefficients in the last two rows/columns of $M$, if $M(a,b,c,d,e,f,g)^T=0$, then $M(a,b,c,d,e,g,f)^T$ must be zero too. It follows that if the null space of $M$ is indeed one-dimensional, we must have $f=g$.
So, by looking at the last two rows of the equation $M(a,b,c,d,e,f,f)^T=0$, we may assume that $f=1$ and $a=2$. The equation $M(2,b,c,d,e,1,1)^T=0$ then reduces to $$ \begin{bmatrix} 1&1&1&1\\ -1&1&1&1\\ 1&-1&1&1\\ 1&1&-1&1\\ 1&1&1&-1\\ \end{bmatrix} \begin{bmatrix}b\\ c\\ d\\ e\end{bmatrix} =\begin{bmatrix}-4\\ -2\\ -2\\ -2\end{bmatrix}, $$ which is clearly solvable by $b=c=d=e=-1$. Hence $M(2,-1,-1,-1,-1,1,1)^T=0$ and in turn $\det M=0$.