indexed differential operator with respect to the spacetime variables - Maple Programming Help

Physics[d_] - indexed differential operator with respect to the spacetime variables

 Calling Sequence d_[mu](A) d_[mu](A, [X]) d_(A) d_(A, [X]) convert(expression, d_)

Parameters

 mu - a name representing an integer number between 0 and the spacetime dimension, can also be the number itself A - any mathematical expression or relation between expressions [X] - a list of differentiation variables to which the index mu refers

Description

 • The d_[mu] command is a computational representation for the differential operator $\mathrm{∂__mu}$ , defined by

${\partial }_{\mathrm{\mu }}=\frac{\partial }{\partial {x}_{}^{\mathrm{\mu }}}$

 where ${x}^{\mathrm{\mu }}$ represents the contravariant spacetime vector of a coordinate system.
 • d_ can also be used without an index, as in d_(A) displayed as $\partial \left(A\right)$, in which case it represents the total differential, and the output comes automatically expanded as ${\partial }_{\mathrm{\mu }}\left(A\right)\partial \left({x}^{\mathrm{\mu }}\right)$ (assuming sum rule for repeated indices); unless A is already a coordinate of any system of coordinates defined using Setup or Coordinates, in which case d_(A) returns unevaluated, echoing the input, representing the differential of the coordinate A.
 • In a galilean system (Euclidean or Minkowski), both ${x}^{\mathrm{\mu }}$ and the differential of the coordinates $\partial {x}_{}^{\mathrm{\mu }}$ are vectors (tensors with 1 index), and so $\partial {A}_{}^{\mathrm{\nu }}=\left({\partial }_{\mathrm{\mu }}{A}_{}^{\mathrm{\nu }}\right)\partial {x}_{}^{\mathrm{\mu }}$ and ${\partial }_{}^{\mathrm{\mu }}$ are also vectors, the latter representing

${\partial }_{}^{\mathrm{\mu }}=\frac{\partial }{\partial {x}_{\mathrm{\mu }}}$

 where ${x}_{\mathrm{\mu }}={g}_{\mathrm{\mu },\mathrm{\nu }}{x}_{}^{\mathrm{\nu }}$ is the covariant spacetime vector. However, unlike the galilean case, in a curvilinear system of coordinates, ${x}^{\mathrm{\mu }}$ is not a vector, and so neither the total differential of a vector $\partial {A}_{}^{\mathrm{\nu }}$ nor ${\partial }_{}^{\mathrm{\mu }}$ are tensors (for a generalization of $\mathrm{∂__mu}$ to curvilinear coordinates see D_) and the formula above for ${\partial }_{}^{\mathrm{\mu }}$ loses its meaning; instead, the convention used in the Physics package (it becomes the one above only in the galilean case) is

$\partial {}_{}^{\mathrm{\mu }}=g{}_{}^{\mathrm{\mu },\mathrm{\nu }}{\partial }_{\mathrm{\nu }}$

 Likewise, from ${x}_{\mathrm{\nu }}={g}_{\mathrm{\alpha },\mathrm{\nu }}{x}_{}^{\mathrm{\alpha }}$, in a galilean spacetime ${\partial }_{\mathrm{\mu }}\left({x}_{\mathrm{\nu }}\right)={g}_{\mathrm{\mu },\mathrm{\nu }}$ while this is not correct in a nongalilean spacetime, where the metric depends on the coordinates, and the correct formula is ${\partial }_{\mathrm{\mu }}\left({x}_{\mathrm{\nu }}\right)={\partial }_{\mathrm{\mu }}\left({g}_{\mathrm{\alpha },\mathrm{\nu }}\right){x}_{}^{\mathrm{\alpha }}+{g}_{\mathrm{\mu },\mathrm{\nu }}$
 • Computations performed with the Physics package commands take into account Einstein'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.
 • When only one argument is given to d_, as in d_[mu](A) or d_(A), the differentiation variables are the current default values, typically $\mathrm{x1},\mathrm{x2},\mathrm{x3},\mathrm{x4}$ ($\mathrm{x0}$ is automatically assigned to $\mathrm{x4}$), represented by $X$ (see Coordinates). The default for the differentiation variables is set with the Setup command. When two arguments are given to d_, the second argument is expected to be a list with the differentiation variables to which the index in ${\mathrm{d_}}_{\mathrm{\mu }}$ refers or the total differential is to be taken, and so this list should have as many symbols as the dimension of spacetime, which by default is 4 but can be set to any value by the Setup command.
 • In the particular case where d_ is not indexed and is called with one argument, and this argument is a coordinate of any coordinate system defined using Setup or Coordinates, d_ returns unevaluated, echoing the input. This permits using d_ to represent the differential of coordinates that are not the default differentiation coordinates, useful when working with transformations of coordinates (see TransformCoordinates).
 • Some automatic checking and simplifications are carried out each time an operation such as d_[mu](A) is executed. The checking is concerned with possible syntax errors. Regarding the automatic simplifications performed by d_, a summary of them is as follows:
 - If $A$ does not depend on the differentiation variables, then 0 is returned.
 - If $A$ is a sum, product, power, or known function, then the differentiation is expanded accordingly.
 - If $A=\mathrm{xn}$, and $\mathrm{xn}$ belongs to the differentiation variables, then ${\mathrm{d_}}_{\mathrm{\mu }}\left(A\right)$ returns ${\mathrm{g_}}_{\mathrm{\mu },n}$.
 - If $A={\mathrm{d_}}_{\mathrm{\mu }}\left(B\right)$, then $\mathrm{dAlembertian}\left(B\right)$ (the d'Alembertian) is returned.
 - If $A$ is an unknown function (the rule for its derivative is unknown), a Dirac delta function, or a derivative, then the result is returned unevaluated as ${\mathrm{d_}}_{\mathrm{\mu }}\left(A\right)$.
 • Sometimes it is convenient to rewrite tensorial expressions involving the covariant derivative D_ or the Christoffel symbols in terms of d_ or its application to the metric g_. For this purpose you can use convert(expression, d_) - see the Examples section.
 • To perform the differentiation, the d_ command makes us of the diff command of the Physics package, which in turn uses the standard Maple diff command, so that any user-defined differentiation rule, such as for a function foo, of the form diff/foo, is automatically taken into account by d_.
 • The %d_ command is the inert form of d_; that is, it represents the same mathematical operation while displaying the operation unevaluated. To evaluate the operation, use the value command.

Examples

 > $\mathrm{with}\left(\mathrm{Physics}\right):$
 > $\mathrm{Setup}\left(\mathrm{mathematicalnotation}=\mathrm{true}\right)$
 $\left[{\mathrm{mathematicalnotation}}{=}{\mathrm{true}}\right]$ (1)

Define some functions as spacetime tensor functions and use the enhanced display scheme of the differential equation packages.

 > $\mathrm{Define}\left(A,B\right)$
 $\mathrm{Defined objects with tensor properties}$
 $\left\{{A}{,}{B}{,}{{\mathrm{\gamma }}}_{{\mathrm{\mu }}}{,}{{\mathrm{\sigma }}}_{{\mathrm{\mu }}}{,}{{\partial }}_{{\mathrm{\mu }}}{,}{{g}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{,}{{\mathrm{\epsilon }}}_{{\mathrm{\alpha }}{,}{\mathrm{\beta }}{,}{\mathrm{\mu }}{,}{\mathrm{\nu }}}\right\}$ (2)
 > $\mathrm{Coordinates}\left(X\right)$
 ${}\mathrm{Default differentiation variables for d_, D_ and dAlembertian are:}{}\left\{X=\left(\mathrm{x1}{,}\mathrm{x2}{,}\mathrm{x3}{,}\mathrm{x4}\right)\right\}$
 ${}\mathrm{Systems of spacetime coordinates are:}{}\left\{X=\left(\mathrm{x1}{,}\mathrm{x2}{,}\mathrm{x3}{,}\mathrm{x4}\right)\right\}$
 $\left\{{X}\right\}$ (3)
 > $\mathrm{PDEtools}\left[\mathrm{declare}\right]\left(\left(f,A,h\right)\left(X\right)\right)$
 ${f}{}\left({X}\right){}{\mathrm{will now be displayed as}}{}{f}$
 ${A}{}\left({X}\right){}{\mathrm{will now be displayed as}}{}{A}$
 ${h}{}\left({X}\right){}{\mathrm{will now be displayed as}}{}{h}$ (4)

The following example illustrates the automatic manipulations performed by d_.

 > $\mathrm{ee}≔f\left(X\right)A\left[\mathrm{\mu }\right]\left(X\right)\mathrm{cos}\left(h\left(X\right)\right)+B\left[\mathrm{\mu },\mathrm{\nu }\right]A\left[\mathrm{\nu }\right]\left(X\right)\mathrm{Dirac}\left(\left[X\right]\right)$
 ${f}{}\left({X}\right){}{{A}}_{{\mathrm{μ}}}{}\left({X}\right){}{\mathrm{cos}}{}\left({h}{}\left({X}\right)\right){+}{\mathrm{Dirac}}{}\left(\left[{X}\right]\right){}{{A}}_{{\mathrm{ν}}}{}\left({X}\right){}{{B}}_{{\mathrm{μ}}{,}{\mathrm{~nu}}}$ (5)
 > $\mathrm{d_}\left[\mathrm{\rho }\right]\left(\mathrm{ee}\right)$
 ${{\mathrm{d_}}}_{{\mathrm{ρ}}}{}\left({f}{}\left({X}\right){,}\left[{X}\right]\right){}{{A}}_{{\mathrm{μ}}}{}\left({X}\right){}{\mathrm{cos}}{}\left({h}{}\left({X}\right)\right){+}{f}{}\left({X}\right){}{{\mathrm{d_}}}_{{\mathrm{ρ}}}{}\left({{A}}_{{\mathrm{μ}}}{}\left({X}\right){,}\left[{X}\right]\right){}{\mathrm{cos}}{}\left({h}{}\left({X}\right)\right){-}{f}{}\left({X}\right){}{{A}}_{{\mathrm{μ}}}{}\left({X}\right){}{{\mathrm{d_}}}_{{\mathrm{ρ}}}{}\left({h}{}\left({X}\right){,}\left[{X}\right]\right){}{\mathrm{sin}}{}\left({h}{}\left({X}\right)\right){+}{{B}}_{{\mathrm{μ}}{,}{\mathrm{~nu}}}{}\left({{\mathrm{d_}}}_{{\mathrm{ρ}}}{}\left({\mathrm{Dirac}}{}\left(\left[{X}\right]\right){,}\left[{X}\right]\right){}{{A}}_{{\mathrm{ν}}}{}\left({X}\right){+}{\mathrm{Dirac}}{}\left(\left[{X}\right]\right){}{{\mathrm{d_}}}_{{\mathrm{ρ}}}{}\left({{A}}_{{\mathrm{ν}}}{}\left({X}\right){,}\left[{X}\right]\right)\right)$ (6)

So d_ distributes over products and sums, makes use of all the differentiation rules known to the Maple system, and returns unevaluated when its argument is an unknown function or a Dirac delta function. The composition of d_ leads to the d'Alembertian.

 > $\mathrm{d_}\left[\mathrm{\rho }\right]\left(\right)$
 ${\mathrm{dAlembertian}}{}\left({f}{}\left({X}\right){,}\left[{X}\right]\right){}{{A}}_{{\mathrm{μ}}}{}\left({X}\right){}{\mathrm{cos}}{}\left({h}{}\left({X}\right)\right){+}{2}{}{\mathrm{cos}}{}\left({h}{}\left({X}\right)\right){}{{\mathrm{d_}}}_{{\mathrm{ρ}}}{}\left({{A}}_{{\mathrm{μ}}}{}\left({X}\right){,}\left[{X}\right]\right){}{{\mathrm{d_}}}_{{\mathrm{~rho}}}{}\left({f}{}\left({X}\right){,}\left[{X}\right]\right){-}{2}{}{{A}}_{{\mathrm{μ}}}{}\left({X}\right){}{\mathrm{sin}}{}\left({h}{}\left({X}\right)\right){}{{\mathrm{d_}}}_{{\mathrm{ρ}}}{}\left({f}{}\left({X}\right){,}\left[{X}\right]\right){}{{\mathrm{d_}}}_{{\mathrm{~rho}}}{}\left({h}{}\left({X}\right){,}\left[{X}\right]\right){+}{f}{}\left({X}\right){}{\mathrm{dAlembertian}}{}\left({{A}}_{{\mathrm{μ}}}{}\left({X}\right){,}\left[{X}\right]\right){}{\mathrm{cos}}{}\left({h}{}\left({X}\right)\right){-}{2}{}{f}{}\left({X}\right){}{\mathrm{sin}}{}\left({h}{}\left({X}\right)\right){}{{\mathrm{d_}}}_{{\mathrm{ρ}}}{}\left({{A}}_{{\mathrm{μ}}}{}\left({X}\right){,}\left[{X}\right]\right){}{{\mathrm{d_}}}_{{\mathrm{~rho}}}{}\left({h}{}\left({X}\right){,}\left[{X}\right]\right){-}{f}{}\left({X}\right){}{{A}}_{{\mathrm{μ}}}{}\left({X}\right){}{\mathrm{dAlembertian}}{}\left({h}{}\left({X}\right){,}\left[{X}\right]\right){}{\mathrm{sin}}{}\left({h}{}\left({X}\right)\right){-}{f}{}\left({X}\right){}{{A}}_{{\mathrm{μ}}}{}\left({X}\right){}{\mathrm{cos}}{}\left({h}{}\left({X}\right)\right){}{{\mathrm{d_}}}_{{\mathrm{ρ}}}{}\left({h}{}\left({X}\right){,}\left[{X}\right]\right){}{{\mathrm{d_}}}_{{\mathrm{~rho}}}{}\left({h}{}\left({X}\right){,}\left[{X}\right]\right){+}{{B}}_{{\mathrm{μ}}{,}{\mathrm{~nu}}}{}\left({\mathrm{dAlembertian}}{}\left({\mathrm{Dirac}}{}\left(\left[{X}\right]\right){,}\left[{X}\right]\right){}{{A}}_{{\mathrm{ν}}}{}\left({X}\right){+}{2}{}{{\mathrm{d_}}}_{{\mathrm{ρ}}}{}\left({\mathrm{Dirac}}{}\left(\left[{X}\right]\right){,}\left[{X}\right]\right){}{{\mathrm{d_}}}_{{\mathrm{~rho}}}{}\left({{A}}_{{\mathrm{ν}}}{}\left({X}\right){,}\left[{X}\right]\right){+}{\mathrm{Dirac}}{}\left(\left[{X}\right]\right){}{\mathrm{dAlembertian}}{}\left({{A}}_{{\mathrm{ν}}}{}\left({X}\right){,}\left[{X}\right]\right)\right)$ (7)

The structure of indices of an expression such as the above can be checked by using the Check command.

 > $\mathrm{Check}\left(\right)$
 $\mathrm{The repeated and free indices in the given expression check ok.}$ (8)
 > $\mathrm{Check}\left(,\mathrm{all}\right)$
 $\mathrm{The repeated indices per term are:}\left[\left\{\mathrm{...}\right\}{,}\left\{\mathrm{...}\right\}{,}\mathrm{...}\right]\mathrm{, the free indices are:}\left\{\mathrm{...}\right\}$
 $\left[{\varnothing }{,}\left\{{\mathrm{\rho }}\right\}{,}\left\{{\mathrm{\rho }}\right\}{,}{\varnothing }{,}\left\{{\mathrm{\rho }}\right\}{,}{\varnothing }{,}\left\{{\mathrm{\rho }}\right\}{,}\left\{{\mathrm{\nu }}{,}{\mathrm{\rho }}\right\}\right]{,}\left\{{\mathrm{\mu }}\right\}$ (9)

Note that this check is actually performed in background each time a Physics command is called.

d_ can also be used to represent differentials; it automatically expands when the argument is not already a coordinate

 > $\mathrm{d_}\left(A\left(X\right)\right)$
 ${{\mathrm{d_}}}_{{\mathrm{μ}}}{}\left({A}{}\left({X}\right){,}\left[{X}\right]\right){}{\mathrm{d_}}{}\left({\left({X}\right)}_{{\mathrm{~mu}}}\right)$ (10)
 > $\mathrm{d_}\left(\mathrm{x1}\right)$
 ${\mathbf{ⅆ}}{}\left({\mathrm{x1}}\right)$ (11)

When working with transformations of coordinates it is useful to define more than one system of coordinates; let Y be such another one

 > $\mathrm{Coordinates}\left(Y\right)$
 ${}\mathrm{Systems of spacetime coordinates are:}{}\left\{X=\left(\mathrm{x1}{,}\mathrm{x2}{,}\mathrm{x3}{,}\mathrm{x4}\right){,}Y=\left(\mathrm{y1}{,}\mathrm{y2}{,}\mathrm{y3}{,}\mathrm{y4}\right)\right\}$
 $\left\{{X}{,}{Y}\right\}$ (12)

At this point, you can represent the differential of any of the coordinate systems defined, even when it is not the default differentiation variables system

 > $\mathrm{Setup}\left(\mathrm{diff}\right)$
 ${}\mathrm{Default differentiation variables for d_, D_ and dAlembertian are:}{}\left\{X=\left(\mathrm{x1}{,}\mathrm{x2}{,}\mathrm{x3}{,}\mathrm{x4}\right)\right\}$
 $\mathrm{_______________________________________________________}$
 $\left[{\mathrm{differentiationvariables}}{=}\left[{X}\right]\right]$ (13)
 > $X\left[1\right]$
 ${\mathrm{x1}}$ (14)
 > $\mathrm{d_}\left(X\left[1\right]\right)$
 ${\mathbf{ⅆ}}{}\left({\mathrm{x1}}\right)$ (15)
 > $Y\left[1\right]$
 ${\mathrm{y1}}$ (16)
 > $\mathrm{d_}\left(Y\left[1\right]\right)$
 ${\mathbf{ⅆ}}{}\left({\mathrm{y1}}\right)$ (17)

d_ is used to represent differentials when entering the spacetime metric by passing the corresponding line element - see Setup, and in the output of TransformCoordinates when used with the option output = line_element.

The d_ operator is also available when working in nongalilean spacetimes, e.g. when the Christoffel symbols are not all of them zero. Set the metric to be the Schwarzschild metric in spherical coordinates; use a shortcut for the related Schwarzschild keyword (see g_)

 > $\mathrm{g_}\left[\mathrm{sc}\right]$
 ${}\mathrm{_______________________________________________________}$
 ${}\mathrm{Systems of spacetime coordinates are:}{}\left\{X=\left(r{,}\mathrm{\theta }{,}\mathrm{\phi }{,}t\right){,}Y=\left(\mathrm{y1}{,}\mathrm{y2}{,}\mathrm{y3}{,}\mathrm{y4}\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 Schwarzschild metric in coordinates}{}\left[r{,}\mathrm{\theta }{,}\mathrm{\phi }{,}t\right]$
 $\mathrm{Parameters:}\left[m\right]$
 ${}\mathrm{_______________________________________________________}$
 ${{\mathrm{g_}}}_{{\mathrm{μ}}{,}{\mathrm{ν}}}{=}\left(\left[\begin{array}{cccc}\frac{r}{-r+2{}m}& 0& 0& 0\\ 0& -{r}^{2}& 0& 0\\ 0& 0& -{r}^{2}{}{\mathrm{sin}{}\left(\mathrm{θ}\right)}^{2}& 0\\ 0& 0& 0& \frac{r-2{}m}{r}\end{array}\right]\right)$ (18)

Define an arbitrary tensor function $A$ and rewrite its covariant derivative using d_ and Christoffel symbols, then in terms of derivatives of the metric g_

 > $\mathrm{Define}\left(A\right)$
 $\mathrm{Defined as tensors}$
 $\left\{{{A}}_{{\mathrm{\mu }}}{,}{{B}}_{{\mathrm{\mu }}\phantom{{\mathrm{\nu }}}}^{\phantom{{\mathrm{\mu }}}{\mathrm{\nu }}}{,}{{▿}}_{{\mathrm{\mu }}}{,}{{\mathrm{\gamma }}}_{{\mathrm{\mu }}}{,}{{\mathrm{\sigma }}}_{{\mathrm{\mu }}}{,}{{R}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{,}{{R}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}{,}{\mathrm{\alpha }}{,}{\mathrm{\beta }}}{,}{{C}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}{,}{\mathrm{\alpha }}{,}{\mathrm{\beta }}}{,}{{\partial }}_{{\mathrm{\mu }}}{,}{{g}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{,}{{\mathrm{\Gamma }}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}{,}{\mathrm{\alpha }}}{,}{{G}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{,}{{\mathrm{\epsilon }}}_{{\mathrm{\alpha }}{,}{\mathrm{\beta }}{,}{\mathrm{\mu }}{,}{\mathrm{\nu }}}{,}{{X}}_{{\mathrm{\mu }}}{,}{{Y}}_{{\mathrm{\mu }}}\right\}$ (19)
 > $\mathrm{D_}\left[\mathrm{\mu }\right]\left(A\left[\mathrm{~nu}\right]\left(X\right)\right)$
 ${{▿}}_{{\mathrm{\mu }}}{}\left({{A}}_{\phantom{{}}\phantom{{\mathrm{\nu }}}}^{\phantom{{}}{\mathrm{\nu }}}{}\left({X}\right)\right)$ (20)
 > $\mathrm{convert}\left(,\mathrm{d_}\right)$
 ${{\partial }}_{{\mathrm{\mu }}}{}\left({{A}}_{\phantom{{}}\phantom{{\mathrm{\nu }}}}^{\phantom{{}}{\mathrm{\nu }}}{}\left({X}\right)\right){+}{{\mathrm{\Gamma }}}_{\phantom{{}}\phantom{{\mathrm{\nu }}}{\mathrm{\alpha }}{,}{\mathrm{\mu }}}^{\phantom{{}}{\mathrm{\nu }}\phantom{{\mathrm{\alpha }}{,}{\mathrm{\mu }}}}{}{{A}}_{\phantom{{}}\phantom{{\mathrm{\alpha }}}}^{\phantom{{}}{\mathrm{\alpha }}}{}\left({X}\right)$ (21)
 > $\mathrm{convert}\left(,\mathrm{g_}\right)$
 ${{\partial }}_{{\mathrm{\mu }}}{}\left({{A}}_{\phantom{{}}\phantom{{\mathrm{\nu }}}}^{\phantom{{}}{\mathrm{\nu }}}{}\left({X}\right)\right){+}\frac{{{g}}_{\phantom{{}}\phantom{{\mathrm{\beta }}}\phantom{{,}}\phantom{{\mathrm{\nu }}}}^{\phantom{{}}{\mathrm{\beta }}{,}{\mathrm{\nu }}}{}\left({{\partial }}_{{\mathrm{\mu }}}{}\left({{g}}_{{\mathrm{\alpha }}{,}{\mathrm{\beta }}}\right){+}{{\partial }}_{{\mathrm{\alpha }}}{}\left({{g}}_{{\mathrm{\beta }}{,}{\mathrm{\mu }}}\right){-}{{\partial }}_{{\mathrm{\beta }}}{}\left({{g}}_{{\mathrm{\alpha }}{,}{\mathrm{\mu }}}\right)\right){}{{A}}_{\phantom{{}}\phantom{{\mathrm{\alpha }}}}^{\phantom{{}}{\mathrm{\alpha }}}{}\left({X}\right)}{{2}}$ (22)

From the definition of the covariant ${X}_{\mathrm{\nu }}$

 > $X\left[\mathrm{\nu }\right]=\mathrm{g_}\left[\mathrm{\alpha },\mathrm{\nu }\right]X\left[\mathrm{~alpha}\right]$
 ${{X}}_{{\mathrm{\nu }}}{=}{{g}}_{{\mathrm{\alpha }}{,}{\mathrm{\nu }}}{}{{X}}_{\phantom{{}}\phantom{{\mathrm{\alpha }}}}^{\phantom{{}}{\mathrm{\alpha }}}$ (23)

taking the differential of both sides, and using the inert %d_ for the left-hand-side

 > $\mathrm{%d_}\left[\mathrm{\mu }\right]\left(\mathrm{lhs}\left(\right)\right)=\mathrm{d_}\left[\mathrm{\mu }\right]\left(\mathrm{rhs}\left(\right)\right)$
 ${{\mathrm{%d_}}}_{{\mathrm{μ}}}{}\left({\left({X}\right)}_{{\mathrm{ν}}}\right){=}{{\mathrm{d_}}}_{{\mathrm{μ}}}{}\left({{\mathrm{g_}}}_{{\mathrm{α}}{,}{\mathrm{ν}}}{,}\left[{X}\right]\right){}{{\mathrm{SpaceTimeVector}}}_{{\mathrm{~alpha}}}{}\left({X}\right){+}{{\mathrm{g_}}}_{{\mathrm{μ}}{,}{\mathrm{ν}}}$ (24)

Recalling, the current metric is nongalilean (Schwarzschild). In a galilean spacetime, the first term on the right-hand-side is zero, then ${\partial }_{\mathrm{\mu }}\left({X}_{\mathrm{\nu }}\right)={g}_{\mathrm{\mu },\mathrm{\nu }}$.

For various calculations it is important how the derivatives of the contravariant tensor ${g}_{}^{\mathrm{\mu },\mathrm{\nu }}$ are related to those of the covariant ${g}_{\mathrm{\mu },\mathrm{\nu }}$. This relationship can be derived as follows

 > $\mathrm{g_}\left[\mathrm{\alpha },\mathrm{\nu }\right]\mathrm{g_}\left[\mathrm{~nu},\mathrm{~beta}\right]$
 ${{g}}_{{\mathrm{\alpha }}{,}{\mathrm{\nu }}}{}{{g}}_{\phantom{{}}\phantom{{\mathrm{\beta }}}\phantom{{,}}\phantom{{\mathrm{\nu }}}}^{\phantom{{}}{\mathrm{\beta }}{,}{\mathrm{\nu }}}$ (25)
 > $=\mathrm{Simplify}\left(\right)$
 ${{g}}_{{\mathrm{\alpha }}{,}{\mathrm{\nu }}}{}{{g}}_{\phantom{{}}\phantom{{\mathrm{\beta }}}\phantom{{,}}\phantom{{\mathrm{\nu }}}}^{\phantom{{}}{\mathrm{\beta }}{,}{\mathrm{\nu }}}{=}{{\mathrm{g_}}}_{{\mathrm{\alpha }}\phantom{{\mathrm{\beta }}}}^{\phantom{{\mathrm{\alpha }}}{\mathrm{\beta }}}$ (26)

Differentiating now both sides

 > $\mathrm{d_}\left[\mathrm{\mu }\right]\left(\right)$
 ${{\partial }}_{{\mathrm{\mu }}}{}\left({{g}}_{{\mathrm{\alpha }}{,}{\mathrm{\nu }}}\right){}{{g}}_{\phantom{{}}\phantom{{\mathrm{\beta }}}\phantom{{,}}\phantom{{\mathrm{\nu }}}}^{\phantom{{}}{\mathrm{\beta }}{,}{\mathrm{\nu }}}{+}{{g}}_{{\mathrm{\alpha }}{,}{\mathrm{\nu }}}{}{{\partial }}_{{\mathrm{\mu }}}{}\left({{g}}_{\phantom{{}}\phantom{{\mathrm{\beta }}}\phantom{{,}}\phantom{{\mathrm{\nu }}}}^{\phantom{{}}{\mathrm{\beta }}{,}{\mathrm{\nu }}}\right){=}{0}$ (27)

Isolating ${\partial }_{\mathrm{\mu }}\left({g}_{}^{\mathrm{\beta },\mathrm{\rho }}\right)$

 > $\mathrm{g_}\left[\mathrm{~alpha},\mathrm{~rho}\right]·$
 ${{\partial }}_{{\mathrm{\mu }}}{}\left({{g}}_{{\mathrm{\alpha }}{,}{\mathrm{\nu }}}\right){}{{g}}_{\phantom{{}}\phantom{{\mathrm{\alpha }}}\phantom{{,}}\phantom{{\mathrm{\rho }}}}^{\phantom{{}}{\mathrm{\alpha }}{,}{\mathrm{\rho }}}{}{{g}}_{\phantom{{}}\phantom{{\mathrm{\beta }}}\phantom{{,}}\phantom{{\mathrm{\nu }}}}^{\phantom{{}}{\mathrm{\beta }}{,}{\mathrm{\nu }}}{+}{{\partial }}_{{\mathrm{\mu }}}{}\left({{g}}_{\phantom{{}}\phantom{{\mathrm{\beta }}}\phantom{{,}}\phantom{{\mathrm{\rho }}}}^{\phantom{{}}{\mathrm{\beta }}{,}{\mathrm{\rho }}}\right){=}{0}$ (28)
 > $\mathrm{isolate}\left(,\mathrm{d_}\left[\mathrm{\mu }\right]\left(\mathrm{g_}\left[\mathrm{~beta},\mathrm{~rho}\right]\right)\right)$
 ${{\partial }}_{{\mathrm{\mu }}}{}\left({{g}}_{\phantom{{}}\phantom{{\mathrm{\beta }}}\phantom{{,}}\phantom{{\mathrm{\rho }}}}^{\phantom{{}}{\mathrm{\beta }}{,}{\mathrm{\rho }}}\right){=}{-}{{\partial }}_{{\mathrm{\mu }}}{}\left({{g}}_{{\mathrm{\alpha }}{,}{\mathrm{\nu }}}\right){}{{g}}_{\phantom{{}}\phantom{{\mathrm{\alpha }}}\phantom{{,}}\phantom{{\mathrm{\rho }}}}^{\phantom{{}}{\mathrm{\alpha }}{,}{\mathrm{\rho }}}{}{{g}}_{\phantom{{}}\phantom{{\mathrm{\beta }}}\phantom{{,}}\phantom{{\mathrm{\nu }}}}^{\phantom{{}}{\mathrm{\beta }}{,}{\mathrm{\nu }}}$ (29)
 >