[Math] A real upper-triangular matrix commutes with its transpose then the matrix is diagonal.

abstract-algebradiagonalizationlinear algebramatrices

Let $A$ be a real, upper-triangular, $n\times n$ matrix
that commutes with its transpose. How can I show that $A$ is diagonal?

I want to show that $A-A^t =0$ but I can't. Please help me.

Best Answer

Hint: One approach applies the following observation: if $A$ is block upper-triangular with $$ A = \pmatrix{B & C\\0 & D} $$ Then $$ A^TA = \pmatrix{B^TB & B^TC\\C^TB & C^TC + D^TD}\\ AA^T = \pmatrix{BB^T + CC^T & CD^T\\D^TC & DD^T} $$ By taking the trace of each side, show that $$ C^TC + D^TD = DD^T \implies C = 0 $$