tensor
Christoffel2
compute the Christoffel symbols of the second kind
Calling Sequence
Parameters
Description
Examples
Christoffel2(ginv, Cf1)
ginv
-
rank two tensor_type of character [1,1] representing the contravariant metric tensor; specifically, ginvcomptsi,j≔gij The components of ginv should be indexed using Maple's `symmetric` indexing function.
Cf1
rank three tensor_type of character [-1,-1,-1] representing the Christoffel symbols of the first kind; specifically, Cf1compts[i,j,k]:={⁢i⁢j,k⁢} The components of Cf1 should be indexed using the `index/cf1` indexing function.
Important: The tensor package has been deprecated. Use the superseding commands DifferentialGeometry[Tensor][Christoffel] and Physics[Christoffel] instead.
The resultant tensor_type, Cf2 say, of this routine is the Christoffel symbols of the second kind, indexed as shown below:
Cf2comptsi,j,k≔ij⁢k⁢in conventional notation
The ginv parameter can be obtained by using the tensor package function tensor[invert] and the Cf1 parameter can be obtained by using the tensor package function tensor[Christoffel1]. Otherwise, be sure to use the appropriate indexing functions for the components of these quantities (as mentioned above).
Indexing Function: Because the Christoffel symbols of the second kind are symmetric in the last two (that is, lower) indices, the array of computed symbols uses the `index/cf2` indexing function. This function indexes an array of rank 3 so that it is symmetric in the second and third indices. Use of this indexing function decreases the number of symbols that must be assigned and stored to the number of independent symbols.
Simplification: This routine uses the `tensor/Christoffel2/simp` routine to carry out the simplification of each independent Christoffel symbol of the second kind. By default, it is initialized to the `tensor/simp` function. It is recommended that the `tensor/Christoffel2/simp` routine be customized to suit the particular needs of the problem at hand.
This function is part of the tensor package, and so can be used in the form Christoffel2(..) only after performing the command with(tensor) or with(tensor, Christoffel2). The function can always be accessed in the long form tensor[Christoffel2](..).
Define the coordinate variables and the covariant metric tensor components for the Schwarzchild metric:
with⁡tensor:
coord≔t,r,θ,φ:
g_compts≔array⁡symmetric,sparse,1..4,1..4:
g_compts1,1≔1−2⁢mr:g_compts2,2≔−1g_compts1,1:
g_compts3,3≔−r2:g_compts4,4≔−r2⁢sin⁡th2:
g≔create⁡−1,−1,eval⁡g_compts
g≔table⁡compts=1−2⁢mr0000−11−2⁢mr0000−r20000−r2⁢sin⁡th2,index_char=−1,−1
Now determine the contravariant components of the metric tensor, the first partials of the covariant metric tensor components, and the Christoffel symbols of the first kind:
ginv≔invert⁡g,detg:
D1g≔d1metric⁡g,coord:
Cf1≔Christoffel1⁡D1g:
Because this metric involves trigonometric functions, alter the `tensor/Christoffel2/simp` routine to apply Maple's simplify function using the "trig" option to the quantities it computes:
`tensor/Christoffel2/simp`:= proc(x) simplify(x, trig) end proc:
Finally, we use the Christoffel2 routine to obtain the Christoffel symbols of the second kind:
Cf2≔Christoffel2⁡ginv,Cf1
Cf2≔table⁡compts=array⁡cf2,1..4,1..4,1..4,1,1,1=0,1,1,2=−mr⁢−r+2⁢m,1,1,3=0,1,1,4=0,1,2,1=−mr⁢−r+2⁢m,1,2,2=0,1,2,3=0,1,2,4=0,1,3,1=0,1,3,2=0,1,3,3=0,1,3,4=0,1,4,1=0,1,4,2=0,1,4,3=0,1,4,4=0,2,1,1=−2⁢m2+m⁢rr3,2,1,2=0,2,1,3=0,2,1,4=0,2,2,1=0,2,2,2=mr⁢−r+2⁢m,2,2,3=0,2,2,4=0,2,3,1=0,2,3,2=0,2,3,3=−r+2⁢m,2,3,4=0,2,4,1=0,2,4,2=0,2,4,3=0,2,4,4=−r+2⁢m⁢sin⁡th2,3,1,1=0,3,1,2=0,3,1,3=0,3,1,4=0,3,2,1=0,3,2,2=0,3,2,3=1r,3,2,4=0,3,3,1=0,3,3,2=1r,3,3,3=0,3,3,4=0,3,4,1=0,3,4,2=0,3,4,3=0,3,4,4=0,4,1,1=0,4,1,2=0,4,1,3=0,4,1,4=0,4,2,1=0,4,2,2=0,4,2,3=0,4,2,4=1r,4,3,1=0,4,3,2=0,4,3,3=0,4,3,4=0,4,4,1=0,4,4,2=1r,4,4,3=0,4,4,4=0,index_char=1,−1,−1
The user may also view the result with the tensor package function displayGR.
See Also
DifferentialGeometry[Tensor][Christoffel]
Physics[Christoffel]
Physics[D_]
Physics[d_]
Physics[Einstein]
Physics[g_]
Physics[LeviCivita]
Physics[Ricci]
Physics[Riemann]
Physics[Weyl]
tensor(deprecated)
tensor(deprecated)/display_allGR
tensor(deprecated)[Christoffel1]
tensor(deprecated)[displayGR]
tensor(deprecated)[indexing]
tensor(deprecated)[invert]
tensor(deprecated)[simp]
tensor(deprecated)[tensorsGR]
Download Help Document