InverseMetric - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Tensor[InverseMetric] - find the inverse of a metric tensor

Calling Sequences

     InverseMetric(g)

Parameters

   g    - a metric tensor

 

Description

Examples

Description

• 

A metric tensor  is a symmetric, non-degenerate, rank 2 covariant tensor. The inverse of a metric tensor is a symmetric, non-degenerate, rank 2 contravariant tensor . The components of  are given by the inverse of the matrix defined by the components of .

• 

InverseMetric(g) calculates the inverse of the metric tensor g.

• 

This command is part of the DifferentialGeometry:-Tensor package, and so can be used in the form InverseMetric(...) only after executing the command with(DifferentialGeometry) and with(Tensor) in that order.  It can always be used in the long form DifferentialGeometry:-Tensor:-InverseMetric.

Examples

 

Example 1.

First create a manifold  and define a metric tensor  on the tangent space of .

(2.1)
M > 

(2.2)

 

Calculate the inverse of .

M > 

(2.3)

 

Check the result -- the contraction of  with  should be the type (1, 1) tensor whose components are the identity matrix.

M > 

(2.4)

 

Example 2.

First create a rank 3 vector bundle  and define a metric on the fibers.

M > 

(2.5)
E > 

(2.6)

 

Calculate the inverse of .

E > 

(2.7)

See Also

DifferentialGeometry

Tensor

ContractIndices

RaiseLowerIndices

Physics[g_]

 


Download Help Document