tensor(deprecated)/Christoffel2 - Help

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : tensor(deprecated)/Christoffel2

tensor[Christoffel2] - compute the Christoffel symbols of the second kind

Calling Sequence

Christoffel2(ginv, Cf1)




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.



rank three tensor_type of character [-1,-1,-1] representing the Christoffel symbols of the first kind; specifically, Cf1compts[i,j,k]:={ij,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,kijkin 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](..).


Important: The tensor package has been deprecated. Use the superseding commands DifferentialGeometry[Tensor][Christoffel] and Physics[Christoffel] instead.

Define the coordinate variables and the covariant metric tensor components for the Schwarzchild metric:









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:




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:




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

Was this information helpful?

Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam