Let $\ T $ be upper triangular matrix over $\ \mathbb C $ and I want to prove that if $\ T^*T = TT^* $ then $\ T $ must be a diagonal matrix.
My attempt:
if I set $\ a_{i,j} = [T]_{i,j} $ and $\ b_{i,j} = [T^*]_{i,j} $ then
$$\ [TT^*]_{i,j} = \sum_{j=1}^n a_{i,j} \cdot b_{j,i} = \sum_{j=1}^n a_{i,j} \cdot \overline{a_{i,j}} = \sum_{i=1}^n b_{i,j}\cdot a_{i,j} = [T^*T]_{i,j} $$
but for every $\ i > j , a_{i,j} = 0$ and for every $\ i < j , b_{i,j} = 0 $ then $\ 1 \le i \le j $ and $\ 1 \le j \le i $ then for every $\ i \not = j $ , equation can be true if both sides are. $\ 0 $ ?
I know this question probably not very complicated but I'm really getting confused when trying to work with sums of elements.
This is the same question here but I'm not sure I understand the solution.