Important: The tensor package has been deprecated. Use the superseding packages DifferentialGeometry and Physics instead.
Generate the Killing equation expressions for an arbitrary vector in the geometry of Euclidean 3-space using polar coordinates: First, compute the Christoffel symbols of the second kind:
Next, define the arbitrary vector field:
Now compute the Killing equation expressions:
Now try it for an arbitrary symmetric 0, 2-tensor: