Example 1.
We find the homotheties for the metric , defined on a 4-dimensional manifold.
We can check this result by calculating the Lie derivative of the metric with respect to these vector fields (see LieDerivative). We see that the vector field H[1] is a homothety with
We can use the LieAlgebraData command in the LieAlgebras package to calculate the structure equations for the Lie algebra of homothety vectors.
This output shows, for example, that the Lie bracket of the 1st and 7th vector fields in is the 1st vector field.
Example 2.
We look for homotheties of the metric , with the form specified by the vector .
Example 3.
We calculate the general homothety vector depending upon 6 arbitrary constants.
Example 4.
We calculate the homotheties for a metric which depends upon a parameter There is a true homothety vector only when .