gamma3_ - Maple Help

Physics[ThreePlusOne][gamma3_] - The gamma3_ 3D metric tensor of a hypersurface defined by Tau(x1, x2, x3, t) = constant

 Calling Sequence gamma3_[$\mathrm{\mu },\mathrm{\nu }$] gamma3_[$\mathrm{\mu },\mathrm{\nu }$, matrix] gamma3_[keyword]

Parameters

 $\mathrm{\mu },\mathrm{\nu }$ - the indices, as names representing integer numbers between 0 and the spacetime dimension, they can also be the numbers themselves matrix - optional, returns the matrix form for the given (covariant or contravariant) indices; if passed without indices it returns the covariant metric keyword - optional, it can be definition, determinant, line_element, matrix, nonzero

Description

 • The gamma3_[mu, nu], displayed as ${\mathrm{\gamma }}_{\mathrm{\mu },\mathrm{\nu }}$, is a computational representation for a 4D tensor whose space components are the space 3D metric of a hypersurface defined by some global function $\mathrm{Τ}\left(\mathrm{x1},\mathrm{x2},\mathrm{x3},t\right)=\mathrm{constant}$. It is assumed that the hypersurface is spacelike, i.e. the corresponding 3D metric is definite positive with signature (+ + +). Note: to work with gamma3_[mu, nu], a kind of letter to represent a space index must be set first using Setup, for instance entering Setup(spaceindices = lowercaselatin_is).
 • gamma3_[mu, nu] is a purely spatial tensor that projects 4D tensors into purely spatial tensors, all of whose components are equal to zero when its indices are contravariant and one of them has a timelike value (i.e. contravariant 0). gamma3_[mu, nu] is defined in terms of the spacetime metric g_ and the UnitNormalVector ${n}_{\mathrm{\mu }}$ as

${\mathbf{\gamma }}_{{\mathrm{\mu }},{\mathrm{\nu }}}={\mathbit{n}}_{{\mathrm{\mu }}}{\mathbit{n}}_{{\mathrm{\nu }}}+{{g}}_{{\mathrm{\mu }},{\mathrm{\nu }}}$

 Note that, because the hypersurface is spacelike, the UnitNormalVector is timelike.
 • With one index contravariant and the other covariant, ${\mathbf{\gamma }}_{{\mathrm{\nu }}}^{{\mathrm{\mu }}}$ projects an arbitrary 4D contravariant vector into the 3D hypersurface. To project higher rank tensors into the spatial hypersurface, each free index has to be contracted in this way. Thus, a projector normal to the hypersurface, that you can define to compute with it using Define, is given by

$\mathrm{N__μ,ν}={\mathbit{n}}_{{\mathrm{\mu }}}{\mathbit{n}}_{{\mathrm{\nu }}}={\mathbf{\gamma }}_{{\mathrm{\mu }},{\mathrm{\nu }}}-{{g}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}$

 This projector projects an arbitrary 4D covariant vector into a corresponding timelike vector, i.e. one whose covariant space components are equal to 0.
 • In the 3+1 formulation, it is relevant the values of the Lapse and Shift, that you can set using Setup and its lapseandshift keyword - for that purpose see setting the Lapse and Shift using Setup.
 • The presentation in this page also assumes the signature (+ + + -), automatically set when ThreePlusOne is loaded. This signature is physically equivalent to (- + + +) but (+ + + -) has the computational advantage of having space indices running from 1 to 3 (instead of from 2 to 4) and the value 0 of a spacetime index pointing to position 4 (instead of position 1). With any of these two signatures, the space components of the 4D gamma3_[mu, nu] are related to the space components of the 4D spacetime metric ${g}_{\mathrm{\mu },\mathrm{\nu }}$ by

${\mathbf{\gamma }}_{{i},{j}}={{g}}_{{i}{,}{j}}$

 • When the spacetime indices of gamma3_ assume integer values, it is expected they are between 0 and 3, and the  corresponding value of gamma3_ is returned. The value 0 always points to the position of the timelike component, so with the signatures (- - - +) and (+ + + -) indexing with 0 is the same as indexing with 4, while with the signatures (+ - - -) and (- + + +) it is the same as indexing with 1.
 • An important distinction is made between the 3D spatial metric represented by Physics:-gamma_, related to the infinitesimal distance measured by one observer at a fixed point in space, expressed in terms of the contravariant spatial components of the metric g_ as ${{\mathrm{\gamma }}}_{}^{{i}{,}{j}}{=}{{g}}_{}^{{i}{,}{j}}$ (see [1], sec.(84)), and the 3D spatial metric of a hypersurface defined by a fixed constant value of t, the time, represented by Physics:-ThreePlusOne:-gamma3_, related to the infinitesimal spatial distance on this hypersurface, the distance measured by a normal (Eulerian) observer (whose velocity is perpendicular to the hypersurface), and so can be obtained from the covariant 4D one by restricting it to constant time surfaces, namely ${\mathbf{\gamma }}_{{i},{j}}={{g}}_{{i}{,}{j}}$
 • The definition of Physics:-ThreePlusOne:-gamma3_ arises naturally when defining simultaneity in the general theory of relativity as the possibility of synchronizing clocks located at different points in space (ref [1], sec. (84)). As is well known, for that synchronization to be possible, all the components ${g}_{0,j}$ of the spacetime metric must be equal to zero, and that condition can always be achieved, in any gravitational field, by an appropriate choice of coordinates (ref [1], sec. (84) and (97)). If, in addition, ${g}_{0,0}=1$, the reference system is synchronous. In this referential the time lines are geodesics in the 4D spacetime and normal to the hypersurface $t=\mathrm{constant}$, and the 4D infinitesimal interval is written as.

${{\mathrm{ds}}}^{{2}}{=}{-}{{\mathrm{dt}}}^{{2}}{+}{{g}}_{{i}{,}{j}}{{\mathrm{dx}}}^{{i}}{{\mathrm{dx}}}^{{j}}$

 Under a time rescaling $t\text{'}=G\left(t\right)$ and a general transformation of the space coordinates ${\left(x\text{'}\right)}^{i}={F}^{i}\left({x}^{j},t\right)$, and taking into account ${\mathbf{\gamma }}_{{i},{j}}={{g}}_{{i}{,}{j}}$, this infinitesimal interval changes into

${{\mathrm{ds}}}^{{2}}=\left(-{\mathbf{\alpha }}^{2}+{\mathbf{\beta }}_{{i}}{\mathbf{\beta }}_{}^{{i}}\right){{\mathrm{dt}}}^{{2}}+{2}{\mathbf{\beta }}_{i}{\mathrm{dt}}{{\mathrm{dx}}}_{}^{{i}}+{\mathbf{\gamma }}_{{i}{,}{j}}{{\mathrm{dx}}}_{}^{{i}}{{\mathrm{dx}}}_{}^{{j}}$

 where $\mathbf{\alpha }$ is the Lapse and $\mathrm{β__i}$ is the Shift, and the new time lines $t=\mathrm{constant}$ are no longer orthogonal to the 3D hypersurface whose geometry is described by $\mathrm{γ__i,j}$. Instead, the UnitNormalVector is. In this decomposition of the infinitesimal interval into its time and space parts, the 4-coordinate degrees of freedom are represented by the freedom in choosing the Lapse and the Shift. (Conversely, one can depart from this general form of the infinitesimal interval and construct a synchronous reference system, where ${g}_{0,0}=1$ and ${g}_{0,j}=0$, by solving a related Hamilton-Jacobi equation see [1] sec.(97)).
 • Regarding the geometry in this 3D hypersurface described by $\mathrm{γ__i,j}$, a 3D covariant derivative, related Christoffel symbols, and the Ricci and Riemann tensors are represented respectively by the D3_, Christoffel3, Ricci3 and Riemann3 commands. The definition of these commands is obtained by replacing g_ by gamma3_ in the definitions of the 4D spacetime D_, Christoffel, Ricci and Riemann tensors. All of D3_, Christoffel3, Ricci3 and Riemann3 are also tensors in 3D when replacing spacetime indices by space indices.
 • You can change the value of the 3D metric gamma3_ in different ways by changing the value of the 4D metric g_, using Setup or g_ itself as explained in its help page. For example, among others, the simplest way to set the Schwarzschild metric and related coordinates is to enter g_[sc]
 • Besides being indexed with two indices, gamma3_ accepts the following keywords as an index:
 – definition: when passed alone, gamma3_ returns its 4D definition in terms of the UnitNormalVector and the spacetime metric g_. When passed with space indices, it returns its expression in terms of them spatial components of g_.
 – determinant: when passed alone, gamma3_ returns the determinant of the  all-covariant $\mathrm{γ__i,j}$ . If this keyword is passed together with indices, that can be covariant or contravariant, the resulting determinant takes into account the character of the indices.
 – line_element: (synonym: lineelement) when passed alone, gamma3_ returns the 3D line element for the 4D current metric expressing the differentials of the coordinates using d_.
 – matrix: (synonym: Matrix, array, Array, or no indices whatsoever, as in gamma3_[]) returns a Matrix that when indexed with numerical values from 1 to the dimension of spacetime it returns the value of each of the components of gamma3_. 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 $\mathrm{γ__i,j}$ 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 Matrix obtained with the keyword matrix.
 • In turn, some predefined values for the 4D spacetime metric can be set by indexing the metric with a name or a portion of it - see g_ - and in that way you can indirectly set the values of the 3D gamma3_ metric.
 • The %gamma3_ command is the inert form of gamma3_, so it represents the same tensor but entering it does not result in performing any computation. To perform the related computations as if %gamma3_ were gamma3_, use value.

Examples

 > $\mathrm{with}\left(\mathrm{Physics}\right):$
 > $\mathrm{Setup}\left(\mathrm{mathematicalnotation}=\mathrm{true},\mathrm{coordinates}=\mathrm{cartesian}\right)$
 ${}{}\mathrm{Systems of spacetime coordinates are:}{}{}{}\left\{X=\left(x{,}y{,}z{,}t\right)\right\}$
 $\mathrm{_______________________________________________________}$
 $\left[{\mathrm{coordinatesystems}}{=}\left\{{X}\right\}{,}{\mathrm{mathematicalnotation}}{=}{\mathrm{true}}\right]$ (1)

When Physics is initialized, the default spacetime metric is of Minkowski type. You can see the metric querying Setup, as in Setup(metric), or directly entering the metric as g_[], with no indices

 > $\mathrm{g_}\left[\right]$
 ${{\mathrm{g_}}}_{{\mathrm{μ}}{,}{\mathrm{ν}}}{=}\left(\left[\begin{array}{rrrr}-1& 0& 0& 0\\ 0& -1& 0& 0\\ 0& 0& -1& 0\\ 0& 0& 0& 1\end{array}\right]\right)$ (2)

The default signature is (- - - +) so that the timelike component in position 4, and when indexing 4D tensors the values 0 and 4 represent the same object.

When loading ThreePlusOne, a kind of letter to represent space indices is automatically set and, in order to match the literature related to the ADM formalism and numerical relativity, the signature is also changed into (+ + + -)

 > $\mathrm{with}\left(\mathrm{ThreePlusOne}\right):$
 ${}{}\mathrm{_______________________________________________________}$
 $\mathrm{Setting}{}\mathrm{lowercaselatin_is}{}\mathrm{letters to represent}{}\mathrm{space}{}\mathrm{indices}$
 $\mathrm{Defined as 4D spacetime tensors}{}\left(\mathrm{see ?Physics,ThreePlusOne}\right){,}{\mathbf{\gamma }}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{,}{\mathbit{▿}}_{{\mathrm{\mu }}}{,}{\mathbf{\Gamma }}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}{,}{\mathrm{\alpha }}}{,}{\mathbit{R}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{,}{\mathbit{R}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}{,}{\mathrm{\alpha }}{,}{\mathrm{\beta }}}{,}{\mathbf{\beta }}_{{\mathrm{\mu }}}{,}{\mathbit{n}}_{{\mathrm{\mu }}}{,}{\mathbit{t}}_{{\mathrm{\mu }}}{,}{\mathbf{Κ}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}$
 $\mathrm{Changing the signature of spacetime from}{}\left(\mathrm{- - - +}\right){}\mathrm{to}{}\left(\mathrm{+ + + -}\right){}\mathrm{in order to match the signature customarily used in the ADM formalism}$
 ${}{}\mathrm{_______________________________________________________}$ (3)

so the value 0 of a spacetime index still points to the tensor component in position 4. Note the display of the tensors of ThreePlusOne: it is the same as the analogous 4D spacetime tensors but in black instead of blue. That automatic redefinition of the signature includes a call to the Redefine command to redefine the spacetime metric accordingly:

 > $\mathrm{g_}\left[\right]$
 ${{\mathrm{g_}}}_{{\mathrm{μ}}{,}{\mathrm{ν}}}{=}\left(\left[\begin{array}{rrrr}1& 0& 0& 0\\ 0& 1& 0& 0\\ 0& 0& 1& 0\\ 0& 0& 0& -1\end{array}\right]\right)$ (4)

You can always change the signature as desired using the Setup command and/or redefine the metric accordingly using Redefine. (Note: with the signature (- + + +) the value 0 of an index points to position 1, not position 4.)

The definition of gamma3_ and of UnitNormalVector

 > $\mathrm{gamma3_}\left[\mathrm{definition}\right]$
 ${\mathbf{\gamma }}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{=}{\mathbit{n}}_{{\mathrm{\mu }}}{}{\mathbit{n}}_{{\mathrm{\nu }}}{+}{{g}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}$ (5)
 > $\mathrm{gamma3_}\left[i,j,\mathrm{definition}\right]$
 ${\mathbf{\gamma }}_{{i}{,}{j}}{=}{{g}}_{{i}{,}{j}}$ (6)
 > $\mathrm{UnitNormalVector}\left[\mathrm{definition}\right]$
 ${\mathbit{n}}_{{\mathrm{\mu }}}{=}{-}\mathbf{\alpha }{}{{▿}}_{{\mathrm{\mu }}}{}\left({t}\right)$ (7)

The 4D and 3D line elements with the Minkowski metric

 > $\mathrm{g_}\left[\mathrm{line_element}\right]$
 ${{\mathbf{ⅆ}}{}\left({x}\right)}^{{2}}{+}{{\mathbf{ⅆ}}{}\left({y}\right)}^{{2}}{+}{{\mathbf{ⅆ}}{}\left({z}\right)}^{{2}}{-}{{\mathbf{ⅆ}}{}\left({t}\right)}^{{2}}$ (8)
 > $\mathrm{gamma3_}\left[\mathrm{line_element}\right]$
 ${{\mathbf{ⅆ}}{}\left({x}\right)}^{{2}}{+}{{\mathbf{ⅆ}}{}\left({y}\right)}^{{2}}{+}{{\mathbf{ⅆ}}{}\left({z}\right)}^{{2}}$ (9)

The symmetry property of gamma3_ is automatically taken into account when the indices have symbolic values

 > $\mathrm{gamma3_}\left[\mathrm{\mu },\mathrm{\nu }\right]-\mathrm{gamma3_}\left[\mathrm{\nu },\mathrm{\mu }\right]$
 ${0}$ (10)

You can always query about the letters used to represent spacetime and space indices via

 > $\mathrm{Setup}\left(\mathrm{spacetimeindices},\mathrm{spaceindices}\right)$
 $\left[{\mathrm{spaceindices}}{=}{\mathrm{lowercaselatin_is}}{,}{\mathrm{spacetimeindices}}{=}{\mathrm{greek}}\right]$ (11)

To set the scenario as a curved spacetime set the metric using Setup, for instance indicating the square of the spacetime interval. This can be done directly from g_. Choose for example the keyword Tolman and this also, automatically, implies on setting spherical coordinates as the differentiation variables for d_

 > $\mathrm{g_}\left[\mathrm{Tolman}\right]$
 ${}{}\mathrm{_______________________________________________________}$
 ${}{}\mathrm{Systems of spacetime coordinates are:}{}{}{}\left\{X=\left(r{,}\mathrm{\theta }{,}\mathrm{\phi }{,}t\right)\right\}$
 ${}{}\mathrm{Default differentiation variables for d_, D_ and dAlembertian are:}{}{}{}\left\{X=\left(r{,}\mathrm{\theta }{,}\mathrm{\phi }{,}t\right)\right\}$
 ${}{}\mathrm{The Tolman metric in coordinates}{}{}{}\left[r{,}\mathrm{\theta }{,}\mathrm{\phi }{,}t\right]$
 $\mathrm{Parameters:}{}\left[R{}\left(t{,}r\right){,}E{}\left(r\right)\right]$
 $\mathrm{Signature:}{}\left(\mathrm{+ + + -}\right)$
 ${}{}\mathrm{_______________________________________________________}$
 ${{\mathrm{g_}}}_{{\mathrm{μ}}{,}{\mathrm{ν}}}{=}\left(\left[\begin{array}{cccc}\frac{{\left(\frac{\partial }{\partial r}{}R{}\left(t,r\right)\right)}^{2}}{1+2{}E{}\left(r\right)}& 0& 0& 0\\ 0& {R{}\left(t,r\right)}^{2}& 0& 0\\ 0& 0& {R{}\left(t,r\right)}^{2}{}{\mathrm{sin}{}\left(\mathrm{θ}\right)}^{2}& 0\\ 0& 0& 0& -1\end{array}\right]\right)$ (12)

Use a compact display for these functions to avoid redundant repeated display of their functionality plus having derivatives displayed indexed by the differentiation variables

 > $\mathrm{CompactDisplay}\left(\right)$
 ${E}{}\left({r}\right){}{\mathrm{will now be displayed as}}{}{E}$
 ${R}{}\left({t}{,}{r}\right){}{\mathrm{will now be displayed as}}{}{R}$ (13)

The corresponding 3D line element

 > $\mathrm{gamma3_}\left[\mathrm{line_element}\right]$
 $\frac{{\left({\mathrm{diff}}{}\left({R}{}\left({t}{,}{r}\right){,}{r}\right)\right)}^{{2}}{}{{\mathrm{d_}}{}\left({r}\right)}^{{2}}}{{1}{+}{2}{}{E}{}\left({r}\right)}{+}{{R}{}\left({t}{,}{r}\right)}^{{2}}{}{{\mathrm{d_}}{}\left({\mathrm{θ}}\right)}^{{2}}{+}{{R}{}\left({t}{,}{r}\right)}^{{2}}{}{{\mathrm{sin}}{}\left({\mathrm{θ}}\right)}^{{2}}{}{{\mathrm{d_}}{}\left({\mathrm{φ}}\right)}^{{2}}$ (14)

The matrix form: all of gamma3_[], gamma3_[matrix] and gamma3_[mu, nu, matrix] return the all-covariant matrix

 > $\mathrm{gamma3_}\left[\mathrm{\mu },\mathrm{\nu },\mathrm{matrix}\right]$
 ${{\mathrm{gamma3_}}}_{{\mathrm{μ}}{,}{\mathrm{ν}}}{=}\left(\left[\begin{array}{cccc}\frac{{\left(\frac{\partial }{\partial r}{}R{}\left(t,r\right)\right)}^{2}}{1+2{}E{}\left(r\right)}& 0& 0& 0\\ 0& {R{}\left(t,r\right)}^{2}& 0& 0\\ 0& 0& {R{}\left(t,r\right)}^{2}{}{\mathrm{sin}{}\left(\mathrm{θ}\right)}^{2}& 0\\ 0& 0& 0& 0\end{array}\right]\right)$ (15)

Or, for the matrix components of the all contravariant ${\mathrm{\gamma }}_{}^{\mathrm{&i;},\mathrm{&j;}}$, which as a matrix is equal to the inverse of the all-covariant ${\mathrm{\gamma }}_{\mathrm{\mu },\mathrm{\nu }}$, you can use gamma3_[~mu, ~nu, matrix], with contravariant indices (prefixed by ~), or directly

 > $\mathrm{gamma3_}\left[\mathrm{~}\right]$
 ${{\mathrm{gamma3_}}}_{{\mathrm{~mu}}{,}{\mathrm{~nu}}}{=}\left(\left[\begin{array}{cccc}\frac{1+2{}E{}\left(r\right)}{{\left(\frac{\partial }{\partial r}{}R{}\left(t,r\right)\right)}^{2}}& 0& 0& 0\\ 0& \frac{1}{{R{}\left(t,r\right)}^{2}}& 0& 0\\ 0& 0& \frac{1}{{R{}\left(t,r\right)}^{2}{}{\mathrm{sin}{}\left(\mathrm{θ}\right)}^{2}}& 0\\ 0& 0& 0& 0\end{array}\right]\right)$ (16)
 > $\mathrm{gamma3_}\left[\mathrm{determinant}\right]$
 $\frac{{\left({\mathrm{diff}}{}\left({R}{}\left({t}{,}{r}\right){,}{r}\right)\right)}^{{2}}{}{{R}{}\left({t}{,}{r}\right)}^{{4}}{}{{\mathrm{sin}}{}\left({\mathrm{θ}}\right)}^{{2}}}{{1}{+}{2}{}{E}{}\left({r}\right)}$ (17)

The nonzero components

 > $\mathrm{gamma3_}\left[\mathrm{nonzero}\right]$
 ${{\mathrm{gamma3_}}}_{{\mathrm{μ}}{,}{\mathrm{ν}}}{=}\left\{\left({1}{,}{1}\right){=}\frac{{\left({\mathrm{diff}}{}\left({R}{}\left({t}{,}{r}\right){,}{r}\right)\right)}^{{2}}}{{1}{+}{2}{}{E}{}\left({r}\right)}{,}\left({2}{,}{2}\right){=}{{R}{}\left({t}{,}{r}\right)}^{{2}}{,}\left({3}{,}{3}\right){=}{{R}{}\left({t}{,}{r}\right)}^{{2}}{}{{\mathrm{sin}}{}\left({\mathrm{θ}}\right)}^{{2}}\right\}$ (18)

The nonzero components of the inverse of the metric, that is, the all-contravariant ${\mathrm{\gamma }}_{}^{\mathrm{&i;},\mathrm{&j;}}$

 > $\mathrm{gamma3_}\left[\mathrm{~},\mathrm{nonzero}\right]$
 ${{\mathrm{gamma3_}}}_{{\mathrm{~mu}}{,}{\mathrm{~nu}}}{=}\left\{\left({1}{,}{1}\right){=}\frac{{1}{+}{2}{}{E}{}\left({r}\right)}{{\left({\mathrm{diff}}{}\left({R}{}\left({t}{,}{r}\right){,}{r}\right)\right)}^{{2}}}{,}\left({2}{,}{2}\right){=}\frac{{1}}{{{R}{}\left({t}{,}{r}\right)}^{{2}}}{,}\left({3}{,}{3}\right){=}\frac{{1}}{{{R}{}\left({t}{,}{r}\right)}^{{2}}{}{{\mathrm{sin}}{}\left({\mathrm{θ}}\right)}^{{2}}}\right\}$ (19)

By replacing g_ by gamma3_ in the definitions of Christoffel you obtain the corresponding 3D tensor, i.e., the 3D Christoffel symbols, that allow you to express covariant derivatives in a 3D curved space (not spacetime)

 > $\mathrm{Christoffel}\left[\mathrm{definition}\right]$
 ${{\mathrm{\Gamma }}}_{{\mathrm{\alpha }}{,}{\mathrm{\mu }}{,}{\mathrm{\nu }}}{=}\frac{{{\partial }}_{{\mathrm{\nu }}}{}\left({{g}}_{{\mathrm{\alpha }}{,}{\mathrm{\mu }}}\right)}{{2}}{+}\frac{{{\partial }}_{{\mathrm{\mu }}}{}\left({{g}}_{{\mathrm{\alpha }}{,}{\mathrm{\nu }}}\right)}{{2}}{-}\frac{{{\partial }}_{{\mathrm{\alpha }}}{}\left({{g}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}\right)}{{2}}$ (20)

This actually the definition of Christoffel3

 > $\mathrm{Christoffel3}\left[\mathrm{definition}\right]$
 ${\mathbf{\Gamma }}_{{\mathrm{\alpha }}{,}{\mathrm{\mu }}{,}{\mathrm{\nu }}}{=}\frac{{\mathbf{\gamma }}_{{\mathrm{\alpha }}\phantom{{\mathrm{\beta }}}}^{\phantom{{\mathrm{\alpha }}}{\mathrm{\beta }}}{}{\mathbf{\gamma }}_{{\mathrm{\mu }}\phantom{{\mathrm{\kappa }}}}^{\phantom{{\mathrm{\mu }}}{\mathrm{\kappa }}}{}{\mathbf{\gamma }}_{{\mathrm{\nu }}\phantom{{\mathrm{\lambda }}}}^{\phantom{{\mathrm{\nu }}}{\mathrm{\lambda }}}{}\left({{\partial }}_{{\mathrm{\lambda }}}{}\left({\mathbf{\gamma }}_{{\mathrm{\beta }}{,}{\mathrm{\kappa }}}\right){+}{{\partial }}_{{\mathrm{\kappa }}}{}\left({\mathbf{\gamma }}_{{\mathrm{\beta }}{,}{\mathrm{\lambda }}}\right){-}{{\partial }}_{{\mathrm{\beta }}}{}\left({\mathbf{\gamma }}_{{\mathrm{\kappa }}{,}{\mathrm{\lambda }}}\right)\right)}{{2}}$ (21)

The same relationship / definition, also for Ricci3 and Riemann3, is obtained by indexing these tensors with the keyword definition, or using convert with g_ as second argument

 > $\mathrm{Ricci3}\left[\mathrm{\mu },\mathrm{\nu }\right]$
 ${\mathbit{R}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}$ (22)
 > $=\mathrm{convert}\left(,\mathrm{g_}\right)$
 ${\mathbit{R}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{=}{\mathbf{\gamma }}_{{\mathrm{\mu }}\phantom{{\mathrm{\sigma }}}}^{\phantom{{\mathrm{\mu }}}{\mathrm{\sigma }}}{}{\mathbf{\gamma }}_{{\mathrm{\nu }}\phantom{{\mathrm{\tau }}}}^{\phantom{{\mathrm{\nu }}}{\mathrm{\tau }}}{}\left(\frac{{{\partial }}_{{\mathrm{\alpha }}}{}\left({\mathbf{\gamma }}_{\phantom{{}}\phantom{{\mathrm{\alpha }}}\phantom{{,}}\phantom{{\mathrm{α1}}}}^{\phantom{{}}{\mathrm{\alpha }}{,}{\mathrm{α1}}}\right){}{\mathbf{\gamma }}_{{\mathrm{\sigma }}\phantom{{\mathrm{α2}}}}^{\phantom{{\mathrm{\sigma }}}{\mathrm{α2}}}{}{\mathbf{\gamma }}_{{\mathrm{\tau }}\phantom{{\mathrm{α3}}}}^{\phantom{{\mathrm{\tau }}}{\mathrm{α3}}}{}\left({{\partial }}_{{\mathrm{α3}}}{}\left({\mathbf{\gamma }}_{{\mathrm{α1}}{,}{\mathrm{α2}}}\right){+}{{\partial }}_{{\mathrm{α2}}}{}\left({\mathbf{\gamma }}_{{\mathrm{α1}}{,}{\mathrm{α3}}}\right){-}{{\partial }}_{{\mathrm{α1}}}{}\left({\mathbf{\gamma }}_{{\mathrm{α2}}{,}{\mathrm{α3}}}\right)\right)}{{2}}{+}\frac{{\mathbf{\gamma }}_{\phantom{{}}\phantom{{\mathrm{\alpha }}}\phantom{{,}}\phantom{{\mathrm{α1}}}}^{\phantom{{}}{\mathrm{\alpha }}{,}{\mathrm{α1}}}{}{{\partial }}_{{\mathrm{\alpha }}}{}\left({\mathbf{\gamma }}_{{\mathrm{\sigma }}\phantom{{\mathrm{α2}}}}^{\phantom{{\mathrm{\sigma }}}{\mathrm{α2}}}\right){}{\mathbf{\gamma }}_{{\mathrm{\tau }}\phantom{{\mathrm{α3}}}}^{\phantom{{\mathrm{\tau }}}{\mathrm{α3}}}{}\left({{\partial }}_{{\mathrm{α3}}}{}\left({\mathbf{\gamma }}_{{\mathrm{α1}}{,}{\mathrm{α2}}}\right){+}{{\partial }}_{{\mathrm{α2}}}{}\left({\mathbf{\gamma }}_{{\mathrm{α1}}{,}{\mathrm{α3}}}\right){-}{{\partial }}_{{\mathrm{α1}}}{}\left({\mathbf{\gamma }}_{{\mathrm{α2}}{,}{\mathrm{α3}}}\right)\right)}{{2}}{+}\frac{{\mathbf{\gamma }}_{\phantom{{}}\phantom{{\mathrm{\alpha }}}\phantom{{,}}\phantom{{\mathrm{α1}}}}^{\phantom{{}}{\mathrm{\alpha }}{,}{\mathrm{α1}}}{}{\mathbf{\gamma }}_{{\mathrm{\sigma }}\phantom{{\mathrm{α2}}}}^{\phantom{{\mathrm{\sigma }}}{\mathrm{α2}}}{}{{\partial }}_{{\mathrm{\alpha }}}{}\left({\mathbf{\gamma }}_{{\mathrm{\tau }}\phantom{{\mathrm{α3}}}}^{\phantom{{\mathrm{\tau }}}{\mathrm{α3}}}\right){}\left({{\partial }}_{{\mathrm{α3}}}{}\left({\mathbf{\gamma }}_{{\mathrm{α1}}{,}{\mathrm{α2}}}\right){+}{{\partial }}_{{\mathrm{α2}}}{}\left({\mathbf{\gamma }}_{{\mathrm{α1}}{,}{\mathrm{α3}}}\right){-}{{\partial }}_{{\mathrm{α1}}}{}\left({\mathbf{\gamma }}_{{\mathrm{α2}}{,}{\mathrm{α3}}}\right)\right)}{{2}}{+}\frac{{\mathbf{\gamma }}_{\phantom{{}}\phantom{{\mathrm{\alpha }}}\phantom{{,}}\phantom{{\mathrm{α1}}}}^{\phantom{{}}{\mathrm{\alpha }}{,}{\mathrm{α1}}}{}{\mathbf{\gamma }}_{{\mathrm{\sigma }}\phantom{{\mathrm{α2}}}}^{\phantom{{\mathrm{\sigma }}}{\mathrm{α2}}}{}{\mathbf{\gamma }}_{{\mathrm{\tau }}\phantom{{\mathrm{α3}}}}^{\phantom{{\mathrm{\tau }}}{\mathrm{α3}}}{}\left({{\partial }}_{{\mathrm{\alpha }}}{}\left({{\partial }}_{{\mathrm{α3}}}{}\left({\mathbf{\gamma }}_{{\mathrm{α1}}{,}{\mathrm{α2}}}\right)\right){+}{{\partial }}_{{\mathrm{\alpha }}}{}\left({{\partial }}_{{\mathrm{α2}}}{}\left({\mathbf{\gamma }}_{{\mathrm{α1}}{,}{\mathrm{α3}}}\right)\right){-}{{\partial }}_{{\mathrm{\alpha }}}{}\left({{\partial }}_{{\mathrm{α1}}}{}\left({\mathbf{\gamma }}_{{\mathrm{α2}}{,}{\mathrm{α3}}}\right)\right)\right)}{{2}}{-}\frac{{{\partial }}_{{\mathrm{\tau }}}{}\left({\mathbf{\gamma }}_{\phantom{{}}\phantom{{\mathrm{\alpha }}}\phantom{{,}}\phantom{{\mathrm{\chi }}}}^{\phantom{{}}{\mathrm{\alpha }}{,}{\mathrm{\chi }}}\right){}{\mathbf{\gamma }}_{{\mathrm{\alpha }}\phantom{{\mathrm{\psi }}}}^{\phantom{{\mathrm{\alpha }}}{\mathrm{\psi }}}{}{\mathbf{\gamma }}_{{\mathrm{\sigma }}\phantom{{\mathrm{\omega }}}}^{\phantom{{\mathrm{\sigma }}}{\mathrm{\omega }}}{}\left({{\partial }}_{{\mathrm{\omega }}}{}\left({\mathbf{\gamma }}_{{\mathrm{\chi }}{,}{\mathrm{\psi }}}\right){+}{{\partial }}_{{\mathrm{\psi }}}{}\left({\mathbf{\gamma }}_{{\mathrm{\chi }}{,}{\mathrm{\omega }}}\right){-}{{\partial }}_{{\mathrm{\chi }}}{}\left({\mathbf{\gamma }}_{{\mathrm{\omega }}{,}{\mathrm{\psi }}}\right)\right)}{{2}}{-}\frac{{\mathbf{\gamma }}_{\phantom{{}}\phantom{{\mathrm{\alpha }}}\phantom{{,}}\phantom{{\mathrm{\chi }}}}^{\phantom{{}}{\mathrm{\alpha }}{,}{\mathrm{\chi }}}{}{{\partial }}_{{\mathrm{\tau }}}{}\left({\mathbf{\gamma }}_{{\mathrm{\alpha }}\phantom{{\mathrm{\psi }}}}^{\phantom{{\mathrm{\alpha }}}{\mathrm{\psi }}}\right){}{\mathbf{\gamma }}_{{\mathrm{\sigma }}\phantom{{\mathrm{\omega }}}}^{\phantom{{\mathrm{\sigma }}}{\mathrm{\omega }}}{}\left({{\partial }}_{{\mathrm{\omega }}}{}\left({\mathbf{\gamma }}_{{\mathrm{\chi }}{,}{\mathrm{\psi }}}\right){+}{{\partial }}_{{\mathrm{\psi }}}{}\left({\mathbf{\gamma }}_{{\mathrm{\chi }}{,}{\mathrm{\omega }}}\right){-}{{\partial }}_{{\mathrm{\chi }}}{}\left({\mathbf{\gamma }}_{{\mathrm{\omega }}{,}{\mathrm{\psi }}}\right)\right)}{{2}}{-}\frac{{\mathbf{\gamma }}_{\phantom{{}}\phantom{{\mathrm{\alpha }}}\phantom{{,}}\phantom{{\mathrm{\chi }}}}^{\phantom{{}}{\mathrm{\alpha }}{,}{\mathrm{\chi }}}{}{\mathbf{\gamma }}_{{\mathrm{\alpha }}\phantom{{\mathrm{\psi }}}}^{\phantom{{\mathrm{\alpha }}}{\mathrm{\psi }}}{}{{\partial }}_{{\mathrm{\tau }}}{}\left({\mathbf{\gamma }}_{{\mathrm{\sigma }}\phantom{{\mathrm{\omega }}}}^{\phantom{{\mathrm{\sigma }}}{\mathrm{\omega }}}\right){}\left({{\partial }}_{{\mathrm{\omega }}}{}\left({\mathbf{\gamma }}_{{\mathrm{\chi }}{,}{\mathrm{\psi }}}\right){+}{{\partial }}_{{\mathrm{\psi }}}{}\left({\mathbf{\gamma }}_{{\mathrm{\chi }}{,}{\mathrm{\omega }}}\right){-}{{\partial }}_{{\mathrm{\chi }}}{}\left({\mathbf{\gamma }}_{{\mathrm{\omega }}{,}{\mathrm{\psi }}}\right)\right)}{{2}}{-}\frac{{\mathbf{\gamma }}_{\phantom{{}}\phantom{{\mathrm{\alpha }}}\phantom{{,}}\phantom{{\mathrm{\chi }}}}^{\phantom{{}}{\mathrm{\alpha }}{,}{\mathrm{\chi }}}{}{\mathbf{\gamma }}_{{\mathrm{\alpha }}\phantom{{\mathrm{\psi }}}}^{\phantom{{\mathrm{\alpha }}}{\mathrm{\psi }}}{}{\mathbf{\gamma }}_{{\mathrm{\sigma }}\phantom{{\mathrm{\omega }}}}^{\phantom{{\mathrm{\sigma }}}{\mathrm{\omega }}}{}\left({{\partial }}_{{\mathrm{\omega }}}{}\left({{\partial }}_{{\mathrm{\tau }}}{}\left({\mathbf{\gamma }}_{{\mathrm{\chi }}{,}{\mathrm{\psi }}}\right)\right){+}{{\partial }}_{{\mathrm{\psi }}}{}\left({{\partial }}_{{\mathrm{\tau }}}{}\left({\mathbf{\gamma }}_{{\mathrm{\chi }}{,}{\mathrm{\omega }}}\right)\right){-}{{\partial }}_{{\mathrm{\chi }}}{}\left({{\partial }}_{{\mathrm{\tau }}}{}\left({\mathbf{\gamma }}_{{\mathrm{\omega }}{,}{\mathrm{\psi }}}\right)\right)\right)}{{2}}{+}\frac{{\mathbf{\gamma }}_{\phantom{{}}\phantom{{\mathrm{α7}}}\phantom{{,}}\phantom{{\mathrm{\beta }}}}^{\phantom{{}}{\mathrm{α7}}{,}{\mathrm{\beta }}}{}{\mathbf{\gamma }}_{{\mathrm{\sigma }}\phantom{{\mathrm{α8}}}}^{\phantom{{\mathrm{\sigma }}}{\mathrm{α8}}}{}{\mathbf{\gamma }}_{{\mathrm{\tau }}\phantom{{\mathrm{α9}}}}^{\phantom{{\mathrm{\tau }}}{\mathrm{α9}}}{}\left({{\partial }}_{{\mathrm{α9}}}{}\left({\mathbf{\gamma }}_{{\mathrm{α7}}{,}{\mathrm{α8}}}\right){+}{{\partial }}_{{\mathrm{α8}}}{}\left({\mathbf{\gamma }}_{{\mathrm{α7}}{,}{\mathrm{α9}}}\right){-}{{\partial }}_{{\mathrm{α7}}}{}\left({\mathbf{\gamma }}_{{\mathrm{α8}}{,}{\mathrm{α9}}}\right)\right){}{\mathbf{\gamma }}_{\phantom{{}}\phantom{{\mathrm{\alpha }}}\phantom{{,}}\phantom{{\mathrm{\kappa }}}}^{\phantom{{}}{\mathrm{\alpha }}{,}{\mathrm{\kappa }}}{}{\mathbf{\gamma }}_{{\mathrm{\alpha }}\phantom{{\mathrm{\lambda }}}}^{\phantom{{\mathrm{\alpha }}}{\mathrm{\lambda }}}{}{\mathbf{\gamma }}_{{\mathrm{\beta }}\phantom{{\mathrm{\upsilon }}}}^{\phantom{{\mathrm{\beta }}}{\mathrm{\upsilon }}}{}\left({{\partial }}_{{\mathrm{\upsilon }}}{}\left({\mathbf{\gamma }}_{{\mathrm{\kappa }}{,}{\mathrm{\lambda }}}\right){+}{{\partial }}_{{\mathrm{\lambda }}}{}\left({\mathbf{\gamma }}_{{\mathrm{\kappa }}{,}{\mathrm{\upsilon }}}\right){-}{{\partial }}_{{\mathrm{\kappa }}}{}\left({\mathbf{\gamma }}_{{\mathrm{\lambda }}{,}{\mathrm{\upsilon }}}\right)\right)}{{4}}{-}\frac{{\mathbf{\gamma }}_{\phantom{{}}\phantom{{\mathrm{α4}}}\phantom{{,}}\phantom{{\mathrm{\beta }}}}^{\phantom{{}}{\mathrm{α4}}{,}{\mathrm{\beta }}}{}{\mathbf{\gamma }}_{{\mathrm{\alpha }}\phantom{{\mathrm{α5}}}}^{\phantom{{\mathrm{\alpha }}}{\mathrm{α5}}}{}{\mathbf{\gamma }}_{{\mathrm{\sigma }}\phantom{{\mathrm{α6}}}}^{\phantom{{\mathrm{\sigma }}}{\mathrm{α6}}}{}\left({{\partial }}_{{\mathrm{α6}}}{}\left({\mathbf{\gamma }}_{{\mathrm{α4}}{,}{\mathrm{α5}}}\right){+}{{\partial }}_{{\mathrm{α5}}}{}\left({\mathbf{\gamma }}_{{\mathrm{α4}}{,}{\mathrm{α6}}}\right){-}{{\partial }}_{{\mathrm{α4}}}{}\left({\mathbf{\gamma }}_{{\mathrm{α5}}{,}{\mathrm{α6}}}\right)\right){}{\mathbf{\gamma }}_{\phantom{{}}\phantom{{\mathrm{\alpha }}}\phantom{{,}}\phantom{{\mathrm{\zeta }}}}^{\phantom{{}}{\mathrm{\alpha }}{,}{\mathrm{\zeta }}}{}{\mathbf{\gamma }}_{{\mathrm{\beta }}\phantom{{\mathrm{\iota }}}}^{\phantom{{\mathrm{\beta }}}{\mathrm{\iota }}}{}{\mathbf{\gamma }}_{{\mathrm{\tau }}\phantom{{\mathrm{ο}}}}^{\phantom{{\mathrm{\tau }}}{\mathrm{ο}}}{}\left({{\partial }}_{{\mathrm{ο}}}{}\left({\mathbf{\gamma }}_{{\mathrm{\iota }}{,}{\mathrm{ζ}}}\right){+}{{\partial }}_{{\mathrm{\iota }}}{}\left({\mathbf{\gamma }}_{{\mathrm{ο}}{,}{\mathrm{ζ}}}\right){-}{{\partial }}_{{\mathrm{ζ}}}{}\left({\mathbf{\gamma }}_{{\mathrm{\iota }}{,}{\mathrm{ο}}}\right)\right)}{{4}}\right)$ (23)
 > $\mathrm{Christoffel3}\left[\mathrm{definition}\right]$
 ${\mathbf{\Gamma }}_{{\mathrm{\alpha }}{,}{\mathrm{\mu }}{,}{\mathrm{\nu }}}{=}\frac{{\mathbf{\gamma }}_{{\mathrm{\alpha }}\phantom{{\mathrm{\beta }}}}^{\phantom{{\mathrm{\alpha }}}{\mathrm{\beta }}}{}{\mathbf{\gamma }}_{{\mathrm{\mu }}\phantom{{\mathrm{\kappa }}}}^{\phantom{{\mathrm{\mu }}}{\mathrm{\kappa }}}{}{\mathbf{\gamma }}_{{\mathrm{\nu }}\phantom{{\mathrm{\lambda }}}}^{\phantom{{\mathrm{\nu }}}{\mathrm{\lambda }}}{}\left({{\partial }}_{{\mathrm{\lambda }}}{}\left({\mathbf{\gamma }}_{{\mathrm{\beta }}{,}{\mathrm{\kappa }}}\right){+}{{\partial }}_{{\mathrm{\kappa }}}{}\left({\mathbf{\gamma }}_{{\mathrm{\beta }}{,}{\mathrm{\lambda }}}\right){-}{{\partial }}_{{\mathrm{\beta }}}{}\left({\mathbf{\gamma }}_{{\mathrm{\kappa }}{,}{\mathrm{\lambda }}}\right)\right)}{{2}}$ (24)
 > $\mathrm{Riemann3}\left[\mathrm{~mu},\mathrm{\nu },\mathrm{\alpha },\mathrm{\beta },\mathrm{definition}\right]$
 ${\mathbit{R}}_{\phantom{{}}\phantom{{\mathrm{\mu }}}{\mathrm{\nu }}{,}{\mathrm{\alpha }}{,}{\mathrm{\beta }}}^{\phantom{{}}{\mathrm{\mu }}\phantom{{\mathrm{\nu }}{,}{\mathrm{\alpha }}{,}{\mathrm{\beta }}}}{=}{\mathbf{\gamma }}_{\phantom{{}}\phantom{{\mathrm{\mu }}}\phantom{{,}}\phantom{{\mathrm{\kappa }}}}^{\phantom{{}}{\mathrm{\mu }}{,}{\mathrm{\kappa }}}{}{\mathbf{\gamma }}_{{\mathrm{\nu }}\phantom{{\mathrm{\lambda }}}}^{\phantom{{\mathrm{\nu }}}{\mathrm{\lambda }}}{}{\mathbf{\gamma }}_{{\mathrm{\alpha }}\phantom{{\mathrm{\sigma }}}}^{\phantom{{\mathrm{\alpha }}}{\mathrm{\sigma }}}{}{\mathbf{\gamma }}_{{\mathrm{\beta }}\phantom{{\mathrm{\tau }}}}^{\phantom{{\mathrm{\beta }}}{\mathrm{\tau }}}{}{{R}}_{{\mathrm{\kappa }}{,}{\mathrm{\lambda }}{,}{\mathrm{\sigma }}{,}{\mathrm{\tau }}}{+}{\mathbf{Κ}}_{\phantom{{}}\phantom{{\mathrm{\mu }}}{\mathrm{\beta }}}^{\phantom{{}}{\mathrm{\mu }}\phantom{{\mathrm{\beta }}}}{}{\mathbf{Κ}}_{{\mathrm{\nu }}{,}{\mathrm{\alpha }}}{-}{\mathbf{Κ}}_{\phantom{{}}\phantom{{\mathrm{\mu }}}{\mathrm{\alpha }}}^{\phantom{{}}{\mathrm{\mu }}\phantom{{\mathrm{\alpha }}}}{}{\mathbf{Κ}}_{{\mathrm{\nu }}{,}{\mathrm{\beta }}}$ (25)

The 3D space components of the 4D tensors Christoffel, Ricci and Riemann, that are not tensors in 3D, are not necessarily the same as the 3D space components of Christoffel3, Ricci3 and Riemann3 that are tensors in 3D space. For example, set the scenario as a Schwarzschild spacetime in spherical coordinates; you can do this entering Setup(metric = Schwarzschild) or in the simpler form taking advantage of abbreviations and directly using the spacetime metric g_ command

 > $\mathrm{g_}\left[\mathrm{sc}\right]$
 ${}{}\mathrm{_______________________________________________________}$
 ${}{}\mathrm{The Schwarzschild metric in coordinates}{}{}{}\left[r{,}\mathrm{\theta }{,}\mathrm{\phi }{,}t\right]$
 $\mathrm{Parameters:}{}\left[m\right]$
 $\mathrm{Signature:}{}\left(\mathrm{+ + + -}\right)$
 ${}{}\mathrm{_______________________________________________________}$
 ${{\mathrm{g_}}}_{{\mathrm{μ}}{,}{\mathrm{ν}}}{=}\left(\left[\begin{array}{cccc}-\frac{r}{2{}m-r}& 0& 0& 0\\ 0& {r}^{2}& 0& 0\\ 0& 0& {r}^{2}{}{\mathrm{sin}{}\left(\mathrm{θ}\right)}^{2}& 0\\ 0& 0& 0& \frac{2{}m-r}{r}\end{array}\right]\right)$ (26)

For this spacetime, the components of the Ricci tensor are all equal to 0

 > $\mathrm{Ricci}\left[\right]$
 ${{\mathrm{Ricci}}}_{{\mathrm{μ}}{,}{\mathrm{ν}}}{=}\left(\left[\begin{array}{rrrr}0& 0& 0& 0\\ 0& 0& 0& 0\\ 0& 0& 0& 0\\ 0& 0& 0& 0\end{array}\right]\right)$ (27)

while the diagonal space components of the 4D tensor Ricci3 in a Schwarzschild spacetime are different from zero

 > $\mathrm{Ricci3}\left[\right]$
 ${{\mathrm{Ricci3}}}_{{\mathrm{μ}}{,}{\mathrm{ν}}}{=}\left(\left[\begin{array}{cccc}\frac{2{}m}{{r}^{2}{}\left(2{}m-r\right)}& 0& 0& 0\\ 0& \frac{m}{r}& 0& 0\\ 0& 0& \frac{m{}{\mathrm{sin}{}\left(\mathrm{θ}\right)}^{2}}{r}& 0\\ 0& 0& 0& 0\end{array}\right]\right)$ (28)

To work with only the 3D space components that constitute a 3D tensor, use space indices. To see the matrix form restricted to 3D, for example:

 > $\mathrm{Ricci3}\left[i,j,\mathrm{matrix}\right]$
 ${{\mathrm{Ricci3}}}_{{i}{,}{j}}{=}\left(\left[\begin{array}{ccc}\frac{2{}m}{{r}^{2}{}\left(2{}m-r\right)}& 0& 0\\ 0& \frac{m}{r}& 0\\ 0& 0& \frac{m{}{\mathrm{sin}{}\left(\mathrm{θ}\right)}^{2}}{r}\end{array}\right]\right)$ (29)
 > $\mathrm{Ricci3}\left[\mathrm{~i},j,\mathrm{matrix}\right]$
 ${{\mathrm{Ricci3}}}_{{\mathrm{~i}}{,}{j}}{=}\left(\left[\begin{array}{ccc}-\frac{2{}m}{{r}^{3}}& 0& 0\\ 0& \frac{m}{{r}^{3}}& 0\\ 0& 0& \frac{m}{{r}^{3}}\end{array}\right]\right)$ (30)

As it is the case of all the tensors of the Physics package, to compute with a representation for them without actually performing the operation, use the inert form, that is the same tensor name but preceded by the percentage %. To afterwards perform the operation use value. For example,

 > $\mathrm{%gamma3_}\left[1,1\right]$
 ${{\mathrm{%gamma3_}}}_{{1}{,}{1}}$ (31)
 > $\mathrm{value}\left(\right)$
 ${-}\frac{{r}}{{2}{}{m}{-}{r}}$ (32)
 > 

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.
 [2] Alcubierre, M., Introduction to 3+1 Numerical Relativity, International Series of Monographs on Physics 140, Oxford University Press, 2008.
 [3] Baumgarte, T.W., Shapiro, S.L., Numerical Relativity, Solving Einstein's Equations on a Computer, Cambridge University Press, 2010.
 [4] Gourgoulhon, E., 3+1 Formalism and Bases of Numerical Relativity, Lecture notes, 2007, https://arxiv.org/pdf/gr-qc/0703035v1.pdf.

Compatibility

 • The Physics[ThreePlusOne][gamma3_] command was introduced in Maple 2017.