$$\det\begin{bmatrix}x & x & x & x & x\\a & x & x & x & x\\a & a & x & x & x\\ a &a&a& x& x\\a&a&a&a&x\end{bmatrix} = 0$$
Having this matrix I am trying to find all the values of $x$ that fulfill the above equation. I tried it with the long way of computing the cofactors but that just takes too much time. Is there another more efficient way?
Clearly $x=0$ is one of those values. Now, if $x\ne 0$, then
\begin{align} \det\begin{pmatrix}x & x & x & x & x\\a & x & x & x & x\\a & a & x & x & x\\ a &a&a& x& x\\a&a&a&a&x\end{pmatrix} &=x\det\begin{pmatrix}1 & 1 & 1 & 1 & 1\\a & x & x & x & x\\a & a & x & x & x\\ a &a&a& x& x\\a&a&a&a&x\end{pmatrix} \\ &=x\det\begin{pmatrix}1 & 1 & 1 & 1 & 1\\0 & x-a & x-a & x-a & x-a\\0 & 0 & x-a & x-a & x-a\\ 0 &0&0& x-a& x-a\\0&0&0&0&x-a\end{pmatrix} \\ &=x(x-a)^4 \end{align}