Tensor[RicciScalar] - calculate the Ricci scalar for a metric
Calling Sequences
RicciScalar(g, R)
Parameters
g - a metric tensor on the tangent bundle of a manifold
R - (optional) the curvature tensor of the metric g, calculated from the Christoffel symbol of g
|
Description
|
|
•
|
The Ricci scalar for a metric g is the total contraction of the inverse of g with the Ricci tensor of g.
|
•
|
This command is part of the DifferentialGeometry:-Tensor package, and so can be used in the form RicciScalar(...) only after executing the command with(DifferentialGeometry) and with(Tensor) in that order. It can always be used in the long form DifferentialGeometry:-Tensor:-RicciScalar.
|
|
|
Examples
|
|
>
|
|
Example 1.
First create a 3 dimensional manifold M and define a metric on M.
>
|
|
| (2.1) |
M >
|
|
| (2.2) |
M >
|
|
Calculate the curvature tensor.
M >
|
|
| (2.3) |
Calculate the Ricci scalar.
M >
|
|
| (2.4) |
Example 2.
We re-work the previous example in an orthonormal frame.
M >
|
|
| (2.5) |
M >
|
|
M >
|
|
| (2.6) |
M1 >
|
|
| (2.7) |
Calculate the Ricci scalar directly.
M1 >
|
|
| (2.8) |
|
|
Download Help Document
Was this information helpful?