Let
be a
field,
a
finite-dimensional
-vector space,
and let
denote a
bilinear form
on
. Let
and
be two
bases
of
, and let
and
be the
Gram matrices
of
with respect to these bases. Suppose that we have the relations
-

between the basis elements, which we encode in the
transformation matrix
.
Then, we have the relation
-

among the Gram matrices.