Problem:Show that if a matrix is both triangular and unitary, then it is diagonal.

-------------------------------------

My attempt at a solution:

Since is unitary, so, .

The product of a lower-triangular matrix and a upper-triangular matrix is not the identity.

-------------------------------------

I would appreciate it if someone could point me in the direction of a more elegant way of doing this.

Thank you.