Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
Tensor[EinsteinTensor] - calculate the Einstein tensor for a metric
Calling Sequences
EinsteinTensor(g, R)
Parameters
g - a metric tensor
R - (optional) the curvature tensor of the metric g
Description
Let Ric(g) and S(g) be the Ricci tensor and Ricci scalar for the metric g. Then the covariant form of the Einstein tensor is Ein(g) = Ric(g) - 1/2*g*S(g). The contravariant form is obtained by raising both indices of the covariant Einstein tensor with the metric g.
The program EinsteinTensor(g, R) returns the contravariant form of the Einstein tensor. This tensor is symmetric and its covariant divergence vanishes.
This command is part of the DifferentialGeometry:-Tensor package, and so can be used in the form EinsteinTensor(...) only after executing the command with(DifferentialGeometry) and with(Tensor) in that order. It can always be used in the long form DifferentialGeometry:-Tensor:-EinsteinTensor.
Examples
Example 1.
Create a 4 dimensional manifold M, define a metric g1, and calculate the Einstein tensor E1.
Calculate the Christoffel symbols for the metric g1.
Calculate the Einstein tensor for the metric g1.
Check that the covariant divergence of the Einstein tensor E1 vanishes.
See Also
Physics[Einstein], DifferentialGeometry, Tensor, Christoffel, Physics[Christoffel], ContractIndices, CovariantDerivative, Physics[D_], CurvatureTensor, Physics[Riemann], SectionalCurvature, RicciScalar, RicciTensor, Physics[Ricci]
Download Help Document