Question: what is the difference between triangular and diagonal matrix?
Answer: In other words, a square matrix is lower triangular if all its entries above the main diagonal are zero. ... Diagonal matrices are both upper and lower triangular since they have zeroes above and below the main diagonal. · The inverse of a lower triangular matrix is also lower triangular.