The spectral theorem gives a real orthonormal eigenbasis for a real symmetric matrix . Distinct eigenspaces are orthogonal; within a repeated eigenspace, choose an orthonormal basis, for example by Gram-Schmidt orthogonalization. Put these eigenvectors in the columns of . Then and
For a change of variables , choose . Since , the quadratic form becomes ; the are precisely the eigenvalues of .
In the numerical case, the off-diagonal entries are half the cross-term coefficients, so
A direct eigenvector calculation gives the unit eigenvectors , , , with eigenvalues two, three and minus six. They are pairwise orthogonal. Therefore the required orthogonal diagonalization is
and the transformed quadratic form is .

Articles by others on the same topic (0)

There are currently no matching articles.