Let F be a field, and n a positive integer. Using the Leibniz formula for the determinant, prove that the determinant of an upper triangular matrix $U ∈ F^{n×n}$ or a lower triangular matrix $L ∈ F^{n×n}$ is equal to the product of its diagonal entries.
So I'm sort of confused as to what to do? I was going to create an arbitrary matrix and then show by cofactor expansion what the determinant was equal to and then start again with an arbitrary matrix and then create a triangle in bottom left or upper right of the matrix. Then take a product of the diagonal but I'm unsure how to create this triangle? Any thoughts as to how to prove this?