$det\begin{pmatrix} -\lambda & 1 & 1 & 1\\1 & -\lambda & 1 & 1\\1 & 1 & -\lambda & 1\\1 & 1 & 1 & -\lambda\\\end{pmatrix} = det\begin{pmatrix}-\lambda+3 & 1 & 1 & 1\\-\lambda + 3 & -\lambda & 1 & 1\\-\lambda+3 & 1 & -\lambda & 1\\-\lambda+3 & 1 & 1 & -\lambda\\\end{pmatrix}$
I fail to see how this transformation is justified. In the solution to my practice exercises, there is no explanation to this step. Can someone enlighten me?
You just have to add the columns #2, #3 and #4 to the first.
Elementary row- and/or column-operations on your matrix do not change the value of its determinant.