In my linear algebra lecture notes, I am studying an example which concerns the calculation of the determinant of a $4 \times 4$ matrix, by first reducing the matrix to upper triangular form. (See page 40 of the PDF document at this link.
I do not yet understand the 'clever' observation which is referred to in the last sentence of the example.
Why is it true that the determinant of the original matrix is equal to the determinant of this smaller $2 \times 2$ matrix?
This is because at the last but one step, the matrix is block-triangular so its determinant is the product of the determinants of the diagonal blocks: $$\begin{vmatrix}1&2&1&1\\ 0&1&1&2\\ 0&0&4&5\\ 0&0&3&1\end{vmatrix} =\begin{vmatrix}1&2\\ 0&1\end{vmatrix} \cdot\begin{vmatrix} 4&5\\ 3&1\end{vmatrix}=\begin{vmatrix} 4&5\\ 3&1\end{vmatrix}$$