We consider the square matrix
-

where
-

With this, the pure-quadratic term of the polynomial has the form
-
This equation holds upon inserting any element from
for
, and also as an equation in
. By definition, this matrix
is
symmetric.
Because of
fact,
there exists a
orthonormal basis
of
such that the new Gram matrix
-
(describing the form with respect to the new basis,
denotes the base change matrix)
has diagonal form. Let
be the new variables with respect to the new orthonormal system; that is, the
describe, considered as functions, the linear forms to this new basis, that is, the
dual basis.
In the new variables, there are no mixed quadratic terms any more; the polynomial has now the form
-

with a certain
between
and
,
and
.
The summands
-
can be brought, by completing the square and using new variables
,
to the form
-
Besides the pure-quadratic term, either a constant or a linear polynomial remains. In the second case, we denote this linear form by
.