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
Physics[SumOverRepeatedIndices] - perform summation over the repeated indices of a tensorial expression
Calling Sequence
SumOverRepeatedIndices(expression, alpha, beta, ...)
Parameters
expression
-
any algebraic tensorial expression having spacetime repeated indices implying summation
alpha, beta, ...
optional, the repeated indices to be summed, if not given, all the spacetime repeated indices of expression are summed
simplifier = ...
optional - indicates the simplifier to be used instead; default is none
Description
The SumOverRepeatedIndices performs the summation over the repeated indices of expression implied when using the Einstein summation convention. The summation takes into account the covariant and contravariant character of each contracted index.
The summation is performed from 1 to the dimension of spacetime, and you only indicated the indices over which the summation is to be performed, not their range. The summation indices are indicated in sequence after expression. If no indices are indicated then summation is performed over all the repeated indices of expression.
To check and determine the free and repeated indices of an expression use Check.
By default, the summation is performed without simplifying the result; to have the result simplified before returning, indicate the simplifier on the right-hand-side of the optional argument simplifier = ...
Compatibility
The Physics[SumOverRepeatedIndices] command was introduced in Maple 16.
For more information on Maple 16 changes, see Updates in Maple 16.
Examples
Consider the complete contraction of indices between the Riemann tensor and its dual with the Schwarzschild metric in spherical coordinates
For that purpose, set first the metric and the coordinates -you can use Setup for that, or because the Schwarzschild metric is known to the system you can directly pass the keyword or an abbreviation of it to the metric g_ to do all in one step
Enter the dual of the Riemann tensor
Multiply both
Check the indices
Perform the summation over these 6 indices
So (4) is zero; this term enters the computation of the 1st of the Riemann scalars,
and
and actually for both scalars only the first term in these formulas is different from zero:
See Also
Check, Coordinates, Define, g_, Physics, Physics conventions, Physics examples, Riemann, Setup
References
Landau, L.D., and Lifshitz, E.M. The Classical Theory of Fields, Course of Theoretical Physics Volume 2, fourth revised English edition. Elsevier, 1975.
Download Help Document