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

Online Help

All Products    Maple    MapleSim


Tensor[MetricDensity] - use a metric tensor to create a scalar density of a given weight

Calling Sequences

     MetricDensity(g, r)

Parameters

   g       - a metric tensor

   r       - a rational number

   option  - (optional) the keyword argument detmetric

 

Description

Examples

Description

• 

If  is a metric with components , then  defines a scalar density of weight

• 

The program MetricDensity(g, r) returns the scalar density .

• 

By default, it is assumed that the metric  has positive determinant. To calculate the proper metric density with respect to a metric with negative determinant, include the keyword argument detmetric = -1.

• 

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

Examples

 

Example 1.

First create a manifold  and define a metric tensor .

M > 

(2.1)

 

Use  to make a tensor density of weight 1.

M > 

(2.2)

 

Display the density type of rho1.

M > 

(2.3)

 

Example 2.

For indefinite metrics, the optional argument detmetric = -1 can be used to ensure that the metric density is real.

(2.4)
M > 

(2.5)
M > 

(2.6)

 

 

Example 3.

First create a rank 3 vector bundle  over a two-dimensional manifold  and define a metric tensor  on the fibers of .

M > 

(2.7)
E > 

(2.8)

 

Use  to make a tensor density of weight -1.

E > 

(2.9)

 

Display the density type of rho3.

E > 

(2.10)

See Also

DifferentialGeometry

Tensor

DGinfo

RaiseLowerIndices

Physics[g_]

 


Download Help Document