Finding determinant (using row reduction) I'm trying to calculate the following
$\det \begin{pmatrix} x-1 & -1 & -1 & -1 & -1\\ -1 & x-1 & -1 & -1 & -1 \\ -1 & -1 & x-1 & -1 & -1 \\ -1 & -1 &-1 & x-1 & -1 \\ -1 & -1 & -1 & -1 & x-1 \end{pmatrix}$
and I'm sure there must be a way to get this as an upper/lower triangular matrix. However whichever way I try looking at it, I can't see how to make it into one, if you minus the bottom row from each of the other rows you're still left with the bottom row and the same goes for columns. Is there some clever trick to note here? I've also briefly entertained the idea of proving a general form (since I'm sure one exists for a matrix of this form) but it seems a bit overkill...
Many thanks!

By Gaussian elimination, using the the first entry of the fifth row as the first pivot, we get that
$$
 \begin{vmatrix} -1+x & -1 & -1 & -1 & -1 \\ -1 & -1+x & -1 & -1 & -1 \\ -1 & -1 & -1+x & -1 & -1 \\ -1 & -1 & -1 & -1+x & -1 \\ -1 & -1 & -1 & -1 & -1+x \end{vmatrix} 
= \begin{vmatrix} -1 & -1 & -1 & -1 & -1+x \\ -1+x & -1 & -1 & -1 & -1 \\ -1 & -1+x & -1 & -1 & -1 \\ -1 & -1 & -1+x & -1 & -1 \\ -1 & -1 & -1 & -1+x & -1 \end{vmatrix} 
= \begin{vmatrix} -1 & -1 & -1 & -1 & -1+x \\ 0 & -x & -x & -x & x^2-2x \\ 0 & x & 0 & 0 & -x \\ 0 & 0 & x & 0 & -x \\ 0 & 0 & 0 & x & -x \end{vmatrix} 
= \begin{vmatrix} -1 & -1 & -1 & -1 & -1+x \\ 0 & -x & -x & -x & x^2-2x \\ 0 & 0 & -x & -x & x^2-3x \\ 0 & 0 & x & 0 & -x \\ 0 & 0 & 0 & x & -x \end{vmatrix} = -\begin{vmatrix} -1 & -1 & -1 & -1 & -1+x \\ 0 & -x & -x & -x & x^2-2x \\ 0 & 0 & -x & -x & x^2-3x \\ 0 & 0 & 0 & -x & x^2-4x \\ 0 & 0 & 0 & x & -x \end{vmatrix} 
= \begin{vmatrix} -1 & -1 & -1 & -1 & -1+x \\ 0 & -x & -x & -x & x^2-2x \\ 0 & 0 & -x & -x & x^2-3x \\ 0 & 0 & 0 & -x & x^2-4x \\ 0 & 0 & 0 & 0 & x^2-5x \end{vmatrix} 
= (-1)(-x)^3(x^2-5x) = x^4(x-5).
$$
