Physics[LieDerivative] - Compute the Lie derivative of a tensorial expression
Calling Sequence
LieDerivative[v, ...](T)
LieDerivative(T, v, ...)
Parameters
T
-
an algebraic expression, or a relation, or a list, set, Matrix or Array of them
v
a contravariant vector as a tensor or tensor function, passed with or without one free spacetime contravariant index (prefixed by ~), with respect to which the derivative is being taken
...
optional, more contravariant vectors as v to perform higher order differentiation
optional, the last argument can be the non-covariant operator d_ to be used instead of the covariant D_
Description
The LieDerivative[v] command computes the Lie derivative of a tensorial expression T - say with one contravariant and one covariant spacetime indices as in T⁢ba - according to the standard definition
ℒv⁡T⁢ba=vc⁢▿c⁡T⁢ba−T⁢bc⁢▿c⁡va+Tca⁢▿b⁡vc
where Einstein's summation convention is used, a,b and c represent spacetime indices, v is a contravariant vector field, a tensor with one index, and ▿ is the covariant derivative operator D_. When the expression T has no free indices, the Lie derivative is equal to only the first term of the right-hand-side, and when T has more than one contravariant or covariant tensor indices, there is a term like the second one and another like the third one respectively for each contravariant and covariant free indices in T.
From this definition it is clear that the LieDerivative is a tensor with regards to the free indices of the derivand, but not with regards to the free index of the indexing vector field (vc in the above), whose index appears in the definition contracted with the differentiation operator D_ (or d_). In other words, the index c of vc enters the Lie derivative as a dummy. If this dummy is found in the indices of the derivand, it is automatically replaced by another spacetime dummy index.
The vector vc indexing in LieDerivative[v[~c]](T) is expected to be defined as a tensor using Define, and ~c (entered suffixed by ~) to be a spacetime contravariant index. Because this index is a dummy index, you can also pass v without indexation, possibly as a function too, as in LieDerivative[v](T) (case of a constant v) or LieDerivative[v(x)](T).
The indexation of LieDerivative can also consists of a sequence of spacetime vectors like v, in which case a higher order LieDerivative is computed (orderly differentiating from left to right).
The differentiating vector, or a sequence of them, can also be passed after the first argument, as in other Maple differentiation commands.
When the spacetime is Galilean, so all the Christoffel symbols are zero, the operator d_ is used instead of the covariant D_. Also, when the spacetime is non-Galilean, due to the symmetry of the Christoffel symbols under permutation of their 2nd and 3rd indices, all the terms involving Christoffel symbols cancel so that a mathematically equivalent result can be obtained replacing D_ by d_. To obtain a result directly expressed using d_, pass d_ as the last argument.
Examples
In the examples that follow, as well as in the context of tensor computations with the Physics package, Einstein's summation convention for repeated indices is used.
with⁡Physics:
Setup⁡mathematicalnotation=true
mathematicalnotation=true
Set a system of coordinates - say X
Setup⁡coordinates=X
⁢Systems of spacetime coordinates are:⁢X=x1,x2,x3,x4
_______________________________________________________
coordinatesystems=X
Define some tensors for experimentation
Define⁡v,ξ,T
Defined objects with tensor properties
T,v,ξ,γμ,σμ,∂μ,gμ,ν,εα,β,μ,ν,Xμ
Compute the Lie derivative of a scalar f⁡X: it is the same as the directional derivative in the direction of vμ
LieDerivativev~mu⁡X⁡f⁡X
v⁢μ⁢μ⁡X⁢∂μ⁡f⁡X
Because the spacetime at this point in the worksheet is flat, the output above involves d_, not the covariant D_. Set the spacetime to any nongalilean value, for instance (see g_):
g_sc
⁢_______________________________________________________
⁢Systems of spacetime coordinates are:⁢X=r,θ,φ,t
⁢Default differentiation variables for d_, D_ and dAlembertian are:⁢X=r,θ,φ,t
Setting lowercaselatin_is letters to represent space indices
⁢The Schwarzschild metric in coordinates ⁢r,θ,φ,t
Parameters: m
Signature: - - - +
gμ,ν=r2⁢m−r0000−r20000−r2⁢sin⁡θ20000r−2⁢mr
Use the declare facility of PDEtools to avoid redundant display of functionality and have derivatives displayed with compact indexed notation
PDEtools:-declare⁡v,ξ,T⁡X
v⁡r,θ,φ,t⁢will now be displayed as⁢v
ξ⁡r,θ,φ,t⁢will now be displayed as⁢ξ
T⁡r,θ,φ,t⁢will now be displayed as⁢T
The Lie derivatives of the covariant and contravariant vectors ξα and ξα differ in the sign of the second term, but not just in that: note the different ways in which the index μ is contracted
LieDerivativev~mu⁡X⁡ξα⁡X
v⁢μ⁢μ⁢▿μ⁡ξα+ξμ⁢▿α⁡v⁢μ⁢μ
LieDerivativev~mu⁡X⁡ξ~alpha⁡X
v⁢μ⁢μ⁢▿μ⁡ξ⁢α⁢α−ξ⁢μ⁢μ⁢▿μ⁡v⁢α⁢α
The index μ in vμ enters the Lie derivative as a dummy. If this dummy is found in the indices of the derivand, it is automatically replaced by another spacetime index. For example: pass V and ξ with the same index α
LieDerivativev~alpha⁡X⁡ξ~alpha⁡X
You can also pass v without indices, with or without functionality depending on whether v is constant, in which case only the part involving the Christoffel symbols remains after computing the covariant derivative:
LieDerivativev⁡X⁡ξ~alpha⁡X
LieDerivativev⁡ξ~alpha⁡X
v⁢μ⁢μ⁢▿μ⁡ξ⁢α⁢α−ξ⁢μ⁢μ⁢Γ⁢αμ,ν⁢αμ,ν⁢v⁢ν⁢ν
When the derivand is a contravariant vector field, the Lie derivative is equal to the the LieBracket between the indexing vector field v in the above) and the derivand ξα. For that reason, you can also pass the first argument to LieBracket with or without the index
LieBracket⁡v~mu⁡X,ξ~alpha⁡X
So in LieBracket the free index of the first vector field is also a dummy and the index of the second one is the free index of the result.
The Lie derivative of a T⁢⁢βα contains three terms: first there is the term equivalent to a directional derivative, then another with a minus sign related to the contravariant index, then another one related to the covariant index
LieDerivativev~mu⁡X⁡T~alpha,β⁡X
v⁢μ⁢μ⁢▿μ⁡T⁢αβ⁢αβ−T⁢μβ⁢μβ⁢▿μ⁡v⁢α⁢α+T⁢αμ⁢αμ⁢▿β⁡v⁢μ⁢μ
The Lie derivative is essentially the change in form of the derivand under transformations generated by the indexing vector field (v in the examples above). In turn the Killing vectors generate transformations that leave the form of the spacetime metric g_ invariant. So equating to zero the Lie Derivative of the metric (currently Schwarzschild) results in a system of partial differential equations defining the Killing vectors
LieDerivativeξ~mu⁡X⁡g_α,β=0
gμ,β⁢▿α⁡ξ⁢μ⁢μ+gα,μ⁢▿β⁡ξ⁢μ⁢μ=0
Simplify⁡
▿β⁡ξα+▿α⁡ξβ=0
The array of Killing equations behind this tensorial expression can be obtained with TensorArray, KillingVectors or the Library command TensorComponents:
TensorArray⁡
2⁢ξ1r⁢2⁢m−r⁢r−2⁢m⁢ξ12⁢m−r⁢r=0ξ1θ⁢r−2⁢ξ2+ξ2r⁢rr=0ξ1φ⁢r−2⁢ξ3+ξ3r⁢rr=0ξ.1⁢2⁢m−r⁢r+2⁢m⁢ξ4+ξ4r⁢2⁢m−r⁢r2⁢m−r⁢r=0ξ1θ⁢r−2⁢ξ2+ξ2r⁢rr=02⁢ξ2θ−2⁢2⁢m−r⁢ξ1=0ξ2φ−2⁢cot⁡θ⁢ξ3+ξ3θ=0ξ.2+ξ4θ=0ξ1φ⁢r−2⁢ξ3+ξ3r⁢rr=0ξ2φ−2⁢cot⁡θ⁢ξ3+ξ3θ=02⁢ξ3φ−2⁢2⁢m−r⁢sin⁡θ2⁢ξ1+sin⁡2⁢θ⁢ξ2=0ξ.3+ξ4φ=0ξ.1⁢2⁢m−r⁢r+2⁢m⁢ξ4+ξ4r⁢2⁢m−r⁢r2⁢m−r⁢r=0ξ.2+ξ4θ=0ξ.3+ξ4φ=02⁢ξ.4⁢r3+2⁢2⁢m−r⁢m⁢ξ1r3=0
These equations can be solved using pdsolve
pdsolve⁡
ξ1=0,ξ2=c__2⁢sin⁡φ+c__3⁢cos⁡φ⁢r2,ξ3=r2⁢sin⁡2⁢θ⁢c__2⁢cos⁡φ−c__3⁢sin⁡φ−c__4⁢−1+cos⁡2⁢θ2,ξ4=r−2⁢m⁢c__1r
Alternatively, the same equations components of the tensorial expression (15) can be obtained directly with KillingVectors that in addition performs a reduction to involutive form (canonical form) for the DE system, and can as well compute and solve the equations all in one go
KillingVectors⁡ξ
ξ⁢μ⁢μ=0,0,0,1,ξ⁢μ⁢μ=0,sin⁡φ,cos⁡φ⁢cot⁡θ,0,ξ⁢μ⁢μ=0,cos⁡φ,−sin⁡φ⁢cot⁡θ,0,ξ⁢μ⁢μ=0,0,1,0
Yet another manner of obtaining the same result is using Physics:-Library:-TensorComponents - that computes similar to TensorArray - but returns a list of equations instead, where the ordering is ascending with respect to value of the free indices -
Library:-TensorComponents⁡
2⁢ξ1r−2⁢Γ⁢α1,1⁢α1,1⁢ξα=0,ξ1θ−2⁢Γ⁢α1,2⁢α1,2⁢ξα+ξ2r=0,ξ1φ−2⁢Γ⁢α1,3⁢α1,3⁢ξα+ξ3r=0,ξ.1−2⁢Γ⁢α1,4⁢α1,4⁢ξα+ξ4r=0,ξ1θ−2⁢Γ⁢α1,2⁢α1,2⁢ξα+ξ2r=0,2⁢ξ2θ−2⁢Γ⁢α2,2⁢α2,2⁢ξα=0,ξ2φ−2⁢Γ⁢α2,3⁢α2,3⁢ξα+ξ3θ=0,ξ.2−2⁢Γ⁢α2,4⁢α2,4⁢ξα+ξ4θ=0,ξ1φ−2⁢Γ⁢α1,3⁢α1,3⁢ξα+ξ3r=0,ξ2φ−2⁢Γ⁢α2,3⁢α2,3⁢ξα+ξ3θ=0,2⁢ξ3φ−2⁢Γ⁢α3,3⁢α3,3⁢ξα=0,ξ.3−2⁢Γ⁢α3,4⁢α3,4⁢ξα+ξ4φ=0,ξ.1−2⁢Γ⁢α1,4⁢α1,4⁢ξα+ξ4r=0,ξ.2−2⁢Γ⁢α2,4⁢α2,4⁢ξα+ξ4θ=0,ξ.3−2⁢Γ⁢α3,4⁢α3,4⁢ξα+ξ4φ=0,2⁢ξ.4−2⁢Γ⁢α4,4⁢α4,4⁢ξα=0
Expanding the sum over the repeated indices,
SumOverRepeatedIndices⁡
2⁢ξ1r−2⁢m⁢ξ1r⁢2⁢m−r=0,ξ1θ−2⁢ξ2r+ξ2r=0,ξ1φ−2⁢ξ3r+ξ3r=0,ξ.1+2⁢m⁢ξ4r⁢2⁢m−r+ξ4r=0,ξ1θ−2⁢ξ2r+ξ2r=0,2⁢ξ2θ−2⁢2⁢m−r⁢ξ1=0,ξ2φ−2⁢cot⁡θ⁢ξ3+ξ3θ=0,ξ.2+ξ4θ=0,ξ1φ−2⁢ξ3r+ξ3r=0,ξ2φ−2⁢cot⁡θ⁢ξ3+ξ3θ=0,2⁢ξ3φ−2⁢2⁢m−r⁢sin⁡θ2⁢ξ1+sin⁡2⁢θ⁢ξ2=0,ξ.3+ξ4φ=0,ξ.1+2⁢m⁢ξ4r⁢2⁢m−r+ξ4r=0,ξ.2+ξ4θ=0,ξ.3+ξ4φ=0,2⁢ξ.4+2⁢2⁢m−r⁢m⁢ξ1r3=0
See Also
Christoffel, Coordinates, d_, D_, Define, g_, KillingVectors, Library[TensorComponents], LieBracket, PDEtools[declare], pdsolve, Physics, Physics conventions, Physics examples, Physics Updates, Tensors - a complete guide, Mini-Course Computer Algebra for Physicists, Setup, Simplify, SumOverRepeatedIndices, TensorArray
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.
Weinberg, S. Gravitation and Cosmology: Principles and Applications of The General Theory of Relativity, John Wiley & Sons, Inc, 1972.
Compatibility
The Physics[LieDerivative] command was introduced in Maple 17.
For more information on Maple 17 changes, see Updates in Maple 17.
Download Help Document