The group of all transformations that preserve some bilinear form, notable examples:
We can almost reach the Lie algebra of any isometry group in a single go. For every in the Lie algebra we must have:
because has to be in the isometry group by definition as shown at Section "Lie algebra of a matrix Lie group".
so we reach:
With this relation, we can easily determine the Lie algebra of common isometries: