Physics[EnergyMomentum] - The EnergyMomentum tensor
Calling Sequence
EnergyMomentum[μ,ν]
EnergyMomentum[keyword]
Parameters
mu, nu
-
the indices, as names representing integer numbers between 0 and the spacetime dimension, they can also be the numbers themselves
keyword
optional, it can be definition, array or matrix, nonzero
Description
The EnergyMomentum[mu, nu], displayed as T__μ,ν, is a computational representation for the EnergyMomentum tensor. The components of this tensor are initially set equal to zero. To define these components in any particular way use the Define command passing to it an equation with EnergyMomentum[mu, nu] on the left-hand side and the desired definition, as a symmetric tensorial expression or a symmetric matrix on the right-hand side.
When the metric is set to represent any curved spacetime, the EnergyMomentum tensor is the source of the gravitational field, entering Einstein's equations
Gμ,ν=8⁢π⁢Τμ,ν
where G__μ,ν is the Einstein tensor, expressed in terms of the Ricci tensor R__μ,ν as
Gμ,ν=Rμ,ν−12⁢gμ,ν⁢R⁢α⁢α⁢
The EnergyMomentum tensor also satisfies ▿μ⁡Τμ,ν=0, where ▿μ is the covariant derivative operator D_, and this 4D divergence is entered as D_[mu](EnergyMomentum[mu,nu]).
When the indices of EnergyMomentum assume integer values they are expected to be between 0 and the spacetime dimension, prefixed by ~ when they are contravariant, and the corresponding value of EnergyMomentum is returned. The values 0 and 4, or for the case any dimension set for the spacetime, represent the same object. When the indices have symbolic values EnergyMomentum returns unevaluated after normalizing its indices taking into account their symmetry property.
Computations performed with the Physics package commands take into account EnergyMomentum's sum rule for repeated indices - see `.` and Simplify. The distinction between covariant and contravariant indices in the input of tensors is done by prefixing contravariant ones with ~, say as in ~mu; in the output, contravariant indices are displayed as superscripts. For contracted indices, you can enter them one covariant and one contravariant. Note however that - provided that the spacetime metric is galilean (Euclidean or Minkowski), or the object is a tensor also in curvilinear coordinates - this distinction in the input is not relevant, and so contracted indices can be entered as both covariant or both contravariant, in which case they will be automatically rewritten as one covariant and one contravariant. Tensors can have spacetime and space indices at the same time. To change the type of letter used to represent spacetime or space indices see Setup.
Besides being indexed with two indices, EnergyMomentum accepts three keywords:
definition: returns the definition of the EnergyMomentum tensor in terms of the Ricci tensor.
matrix: (synonyms: Matrix, array, Array, or no indices whatsoever, as in EnergyMomentum[]) returns a Matrix that when indexed with numerical values from 1 to the dimension of spacetime returns the value of each of the components of EnergyMomentum. If this keyword is passed together with indices, that can be covariant or contravariant, the resulting matrix takes into account the character of the indices.
nonzero: returns a set of equations, with the left-hand-side as a sequence of two positive numbers identifying the element of G__μ,ν and the corresponding value on the right-hand-side. Note that this set is actually the output of the ArrayElems command when passing to it the Array obtained with the keyword array.
Some automatic checking and normalization are carried out each time you enter EnergyMomentum[...]. The checking is concerned with possible syntax errors. The automatic normalization takes into account the symmetry of EnergyMomentum[mu,nu] with respect to interchanging the positions of the indices mu and nu.
The %EnergyMomentum command is the inert form of EnergyMomentum, so it represents the same mathematical operation but without performing it. To perform the operation, use value.
Examples
with⁡Physics:
Setup⁡mathematicalnotation=true
mathematicalnotation=true
EnergyMomentumμ,ν
Τμ,ν
When Physics is loaded, all the components of Τμ,ν are set equal to 0
EnergyMomentumdefinition
Τμ,ν=0000000000000000
In order to set these components in any particular way use the Define command passing to it an equation with EnergyMomentum[mu, nu] on the left-hand side and the desired definition, as a symmetric tensorial expression or a symmetric matrix, on the right-hand side. For example, the general form of Τμ,ν in terms of the energy density W, the flux density Sj and the stress tensor σj,k of a system can be entered as
Setup⁡spaceindices=lowercaselatin_is
spaceindices=lowercaselatin_is
Define⁡Sj,σj,k,symmetric
Defined objects with tensor properties
γμ,σμ,Sj,∂μ,gμ,ν,γi,j,σj,k,εα,β,μ,ν
EnergyMomentumμ,ν=Matrix⁡4,μ,ν↦ifμ=4thenifν=4thenWelseSνendifelifν=4thenSμelseσμ,νendif
Τμ,ν=σ1,1σ1,2σ1,3S1σ2,1σ2,2σ2,3S2σ3,1σ3,2σ3,3S3S1S2S3W
You can now set these to be the components of Τμ,ν
Define⁡
γμ,σμ,Sj,∂μ,gμ,ν,γi,j,σj,k,Τμ,ν,εα,β,μ,ν
After this definition, you can query about the definition, the nonzero components, any particular covariant or contravariant component via
EnergyMomentum1,2
σ1,2
In the definition above, all the components of Τμ,ν are constant. To set part or all of them as depending on the coordinates, for instance in a generic coordinate system and using spherical coordinates,
Setup⁡coordinates=spherical
⁢Systems of spacetime coordinates are:⁢X=r,θ,φ,t
_______________________________________________________
coordinatesystems=X
you can indicate the functionality in the definition. For example, set W to be constant (i.e. no functionality) but the flux density Sj and stress sigmaj,k tensors depending on X
EnergyMomentumμ,ν=Matrix⁡4,μ,ν↦ifμ=4thenifν=4thenWelseSν⁡Xendifelifν=4thenSμ⁡Xelseσμ,ν⁡Xendif
Τμ,ν=σ1,1⁡Xσ1,2⁡Xσ1,3⁡XS1⁡Xσ2,1⁡Xσ2,2⁡Xσ2,3⁡XS2⁡Xσ3,1⁡Xσ3,2⁡Xσ3,3⁡XS3⁡XS1⁡XS2⁡XS3⁡XW
CompactDisplay⁡
S⁡r,θ,φ,t⁢will now be displayed as⁢S
σ⁡r,θ,φ,t⁢will now be displayed as⁢σ
Define now Τμ,ν with these components
γμ,σμ,Sj,∂μ,gμ,ν,γi,j,σj,k,Τμ,ν,εα,β,μ,ν,Xμ
To see the continuity equations for the components of Τμ,ν, use for instance the inert version of the covariant derivative operator D_ and the TensorArray command
%D_μ=D_μ⁡EnergyMomentumμ,ν
▿μ⁡Τμ,ν=0
Vectorcolumn⁡TensorArray⁡
∂1⁡−σ1,1+∂2⁡−σ1,2+∂3⁡−σ1,3+∂4⁡S1=0∂1⁡−σ1,2+∂2⁡−σ2,2+∂3⁡−σ2,3+∂4⁡S2=0∂1⁡−σ1,3+∂2⁡−σ2,3+∂3⁡−σ3,3+∂4⁡S3=0∂1⁡−S1+∂2⁡−S2+∂3⁡−S3+∂4⁡W=0
value⁡
−σ1,1r−σ1,2θ−σ1,3φ+S.1=0−σ1,2r−σ2,2θ−σ2,3φ+S.2=0−σ1,3r−σ2,3θ−σ3,3φ+S.3=0−S1r−S2θ−S3φ=0
In curved spaces, EnergyMomentum enters Einstein's equations as the source of the gravitational field
g_sc
⁢_______________________________________________________
⁢The Schwarzschild metric in coordinates ⁢r,θ,φ,t
Parameters: m
Signature: - - - +
gμ,ν=r2⁢m−r0000−r20000−r2⁢sin⁡θ20000r−2⁢mr
Τμ,ν=Gμ,ν8⁢π,Τμ,ν=σ1,1σ1,2σ1,3S1σ2,1σ2,2σ2,3S2σ3,1σ3,2σ3,3S3S1S2S3W
Take the first of these two equations and compute a tensor array for it
1
Τμ,ν=Gμ,ν8⁢π
TensorArray⁡1
σ1,1=0σ1,2=0σ1,3=0S1=0σ1,2=0σ2,2=0σ2,3=0S2=0σ1,3=0σ2,3=0σ3,3=0S3=0S1=0S2=0S3=0W=0
This is the expected result for the Schwarzschild metric: in vacuum, the components of the Einstein tensor, and with them those of Τμ,ν are all equal to zero.
Consider now the Tolman metric also in spherical coordinates and the resulting equations for the flux and the stress tensors Sj and sigmaj,k
g_tol
⁢The Tolman metric in coordinates ⁢r,θ,φ,t
Parameters: R⁡t,r,E⁡r
gμ,ν=−Rr21+2⁢E⁡r0000−R⁡t,r20000−R⁡t,r2⁢sin⁡θ200001
E⁡r⁢will now be displayed as⁢E
R⁡t,r⁢will now be displayed as⁢R
σ1,1=−Rr2⁢2⁢R⁢R..+R.2−2⁢E8⁢R2⁢1+2⁢E⁢πσ1,2=0σ1,3=0S1=0σ1,2=0σ2,2=−R⁢∂3R∂t2∂r⁢R+R..⁢Rr+R.⁢∂2R∂t∂r−Er8⁢Rr⁢πσ2,3=0S2=0σ1,3=0σ2,3=0σ3,3=−R⁢sin⁡θ2⁢∂3R∂t2∂r⁢R+R..⁢Rr+R.⁢∂2R∂t∂r−Er8⁢Rr⁢πS3=0S1=0S2=0S3=0W=R.2⁢Rr+2⁢R.⁢∂2R∂t∂r⁢R−2⁢Er⁢R−2⁢Rr⁢E8⁢Rr⁢R2⁢π
To use the right-hand sides as definitions for the stress and flux tensors, take for instance the space components of the definition of the EnergyMomentum tensor
Einsteini,j8⁢π
Gi,j8⁢π
Construct a defining equation for sigmaj,k
σj,k=TensorArray⁡
σj,k=−Rr2⁢2⁢R⁢R..+R.2−2⁢E8⁢R2⁢1+2⁢E⁢π000−R⁢∂3R∂t2∂r⁢R+R..⁢Rr+R.⁢∂2R∂t∂r−Er8⁢Rr⁢π000−R⁢sin⁡θ2⁢∂3R∂t2∂r⁢R+R..⁢Rr+R.⁢∂2R∂t∂r−Er8⁢Rr⁢π
▿μ,γμ,σμ,Rμ,ν,Rμ,ν,α,β,Sj,Cμ,ν,α,β,∂μ,gμ,ν,γi,j,σj,k,Γμ,ν,α,Gμ,ν,Τμ,ν,εα,β,μ,ν,Xμ
The definition and contravariant components of sigmaj,k
σdefinition
σ`~`
σ⁢i,j⁢i,j=−2⁢R⁢R..+R.2−2⁢E⁢1+2⁢E8⁢R2⁢π⁢Rr2000−∂3R∂t2∂r⁢R−R..⁢Rr−R.⁢∂2R∂t∂r+Er8⁢R3⁢Rr⁢π000−csc⁡θ2⁢∂3R∂t2∂r⁢R+R..⁢Rr+R.⁢∂2R∂t∂r−Er8⁢R3⁢Rr⁢π
This definition of sigmaj,k is now also part of the definition of the EnergyMomentum. Note however that in the definition (11) we used sigmaj,k⁡X, so to avoid having sigmaj,k⁡r,t⁡X redo that definition using just sigmaj,k:
Define⁡EnergyMomentumμ,ν=Matrix⁡4,μ,ν↦ifμ=4thenifν=4thenWelseSν⁡Xendifelifν=4thenSμ⁡Xelseσμ,νendif
Τμ,ν=Gμ,ν8⁢π,Τμ,ν=−Rr2⁢2⁢R⁢R..+R.2−2⁢E8⁢R2⁢1+2⁢E⁢π00S10−R⁢∂3R∂t2∂r⁢R+R..⁢Rr+R.⁢∂2R∂t∂r−Er8⁢Rr⁢π0S200−R⁢sin⁡θ2⁢∂3R∂t2∂r⁢R+R..⁢Rr+R.⁢∂2R∂t∂r−Er8⁢Rr⁢πS3S1S2S3W
In the same way you can define the components of Sj and remove the dependency in Sj⁡X used in the definition above to have Sj, sigmaj,k, the Einstein and EnergyMomentum tensors all defined consistently with each other.
See Also
ADMEquations, Physics, Physics conventions, Physics examples, Physics Updates, Tensors - a complete guide, Mini-Course Computer Algebra for Physicists, Setup, value
References
[1] Landau, L.D., and Lifshitz, E.M. The Classical Theory of Fields, Course of Theoretical Physics Volume 2, fourth revised English edition. Elsevier, 1975.
Compatibility
The Physics[EnergyMomentum] command was introduced in Maple 2017.
For more information on Maple 2017 changes, see Updates in Maple 2017.
Download Help Document