## Orthogonal diagonalization proof

Let A be an nXn real matrix, all of whose eigenvalues are real. Prove that there exist an orthogonal matrix Q and an upper triangular matrix T such that Q^tAQ=T(Q^t is Q-transpose).