We consider the
quadratic form
-
The corresponding symmetric matrix is
-
We want to find an
orthonormal basis
of
such that, with respect to the new basis, the form is described by a diagonal matrix. For this, we have to determine the eigenvalues
(principal values)
of the matrix. The
characteristic polynomial
of the matrix is

hence, the eigenvalues are
-
The corresponding principal axes can be determined in the following way.
For
,
the kernel of the matrix
-
equals
, a normalized generator is
-
For
,
the kernel of the matrix
-
equals
, a normalized generator is
-
For
,
the kernel of the matrix
-
equalsh
, a normalized generator is
-
We denote these eigenvectors by
, they form an orthonormal basis. In the new coordinates
, given by the new orthonormal basis, the quadratic form is written as
-
This is clear already just by looking at the eigenvalues; for this, the computation of the eigenvectors not necessary.
Between the two bases, we have the relation
-

Due to
fact,
we have the relation
-

between the coordinates
(the dual bases of the standard basis; these coordinates were denote
in the beginning)
and the coordinates
of the new orthogonal basis.