Interchange rows:
Substract multiples of the first equation from the rest:
Interchange the second and third equations:
Substract multiples of the second equation from the rest:
Replace the fourth equation by a combination of the fourth and third:
The determinant of a triangular matrix is the product of the elements on the main diagonal: