 Lapse - Maple Help

Physics[ThreePlusOne][Lapse] - The Lapse in the 3+1 decomposition of Einstein's equations (ADM formalism)

Physics[ThreePlusOne][Shift] - The Shift in the 3+1 decomposition of Einstein's equations (ADM formalism)

Physics[ThreePlusOne][UnitNormalVector] - The UnitNormalVector in the 3+1 decomposition of Einstein's equations (ADM formalism)

Physics[ThreePlusOne][TimeVector] - The TimeVector in the 3+1 decomposition of Einstein's equations (ADM formalism) Calling Sequence Lapse Shift[$\mathrm{\nu }$] UnitNormalVector[$\mathrm{\mu }$] TimeVector[$\mathrm{\mu }$] Shift[keyword] UnitNormalVector[keyword] TimeVector[keyword] Parameters

 $\mathrm{\mu }$ - the index, as a name representing integer numbers between 0 and the spacetime dimension, it can also be one of these numbers keyword - optional, it can be definition, determinant, line_element, matrix, nonzero, if passed together with mu, its covariant or contravariant character is taken into account Description

 • The Lapse, Shift, UnitNormalVector and TimeVector are related quantities that, essentially, represent the 4-coordinate degrees of freedom that exist in the representation of a gravitational field (the Lapse and Shift), and identify a particular choice of 3D spacelike hypersurface in the decomposition of spacetime into 3 + 1, its space and time parts (UnitNormalVector and TimeVector). This decomposition is relevant in the context of numerical relativity, and in a Hamiltonian description of gravity.
 • Regarding the Lapse, Shift, you can set their values using Setup and its lapseandshift keyword; there are three possible values: standard, arbitrary, or a list of algebraic expressions representing them. The value chosen determines the values of the components of all the ThreePlusOne tensors (e.g. ExtrinsicCurvature) and so of tensorial expressions involving them (e.g. the ADMEquations). Those components are always computed first in terms of the Lapse and Shift and the space part ${g}_{i,j}$ of the 4D metric, then in a second step, if lapseandshift = standard, the Lapse and the Shift are replaced by their expressions in terms of the ${g}_{0,\mathrm{\mu }}$ part of the 4D metric, according to ${\mathbf{\alpha }}^{2}={\left(-{g}_{}^{0,0}\right)}^{-1}$ and ${\mathbf{\beta }}_{j}={g}_{0,j}$, or if lapseandshift was set passing a list to Setup then in terms of the values indicated in that list (these values are not used to set the ${g}_{0,\mathrm{\mu }}$ part of the 4D metric). When lapseandshift = arbitrary, the second step is not performed and the Lapse and Shift evaluate to themselves, representing an arbitrary value for them. In the three cases, standard, arbitrary, or a list of algebraic expressions, the components of the ThreePlusOne tensors are computed in terms of a metric with line element ${\mathrm{ds}}^{2}=-{\mathbit{\alpha }}^{2}{\mathrm{dt}}^{2}+{\mathbit{\gamma }}_{i,j}\left({\mathrm{dx}}^{i}+{\mathbit{\beta }}_{\phantom{}\phantom{i}}^{\phantom{}i}\mathrm{dt}\right)\left({\mathrm{dx}}^{j}+{\mathbit{\beta }}_{\phantom{}\phantom{j}}^{\phantom{}j}\mathrm{dt}\right)$, where $\mathbf{\alpha }$ and ${\mathbf{\beta }}_{}^{i}$ have the Lapse and Shift values mentioned, and ${\mathbf{\gamma }}_{i,j}={g}_{i,j}$ is the ThreePlusOne:-gamma3_ metric of the 3D hypersurface. This design permits working with any 4D metric set and, without changing its value, experimenting with different values of the Lapse and Shift (different values of ${g}_{0,\mathrm{\mu }}$) for the 3+1 decomposition of Einstein's equations. See also LapseAndShiftConditions.
 • The presentation in the rest of this page assumes the signature (+ + + -), automatically set when ThreePlusOne is loaded and the denominations and definitions are the standard ones of the ADM formalism (ref ). The 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 (i, j) of the 4D gamma3_${}_{\mathrm{\mu },\mathrm{\nu }}$ are related to the space components (i, j) of the 4D spacetime metric ${g}_{\mathrm{\mu },\mathrm{\nu }}$ by

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

 where, as is the case of all the tensors of ThreePlusOne, the 3D metric is displayed in black instead of blue.
 • From a computational point of view, the Lapse is a scalar, and the Shift is a purely spatial 4D vector, that is, its contravariant timelike component is equal to 0. The UnitNormalVector is a timelike vector (all its covariant space components are zero), perpendicular to the hypersurface determined by the Lapse and Shift, and the TimeVector is neither spacelike nor timelike, but in the adapted coordinates used its contravariant space components are zero. All of them can be defined in terms of a global time function $\mathrm{Τ}\left({x}^{i},t\right)=\mathrm{constant}$. In a generic system of references, where a 3+1 split formulates spacetime as a 3D spacelike hypersurface parameterized by $\mathrm{Τ}$ that evolves in time, the Lapse, assumed to be positive, is the lapse of proper time between two 3D neighboring hypersurfaces, measured by observers moving along the direction normal to the hypersurfaces (normal, or Eulerian observers). In the adapted coordinates used in the implementation in Physics, $\mathrm{Τ}\left({x}^{i},t\right)=t$. The Lapse is thus defined as

$\mathbf{\alpha }={\left(-{{▿}}_{{\mathrm{\mu }}}\left({\mathrm{Τ}}\right){·}{{▿}}_{}^{{\mathrm{\mu }}}\left({\mathrm{Τ}}\right)\right)}^{-\frac{{1}}{{2}}}$

 where ${▿}$ is the 4D covariant derivative operator D_. The UnitNormalVector is a timelike unit vector, normal to the 3D hypersurface, i.e. it is the 4-velocity of a normal observer whose worldline is normal to the 3D hypersurface. The UnitNormalVector is defined in terms of $\mathrm{Τ}\left({x}^{i},t\right)$ as

${\mathbit{n}}_{\mathrm{\mu }}=-\mathbf{\alpha }{{▿}}_{{\mathrm{\mu }}}\left({\mathrm{Τ}}\right)$

 from where $\mathrm{n__μ}{\mathbit{n}}_{}^{{\mathrm{\mu }}}=-1$. The 3D metric gamma3_, that contains information on the space part of the 4D metric g_ and that projects into this 3D spacelike hypersurface determined by $\mathrm{Τ}\left({x}^{i},t\right)=\mathrm{constant}$, is also expressed in terms of g_ and the UnitNormalVector as

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

 The TimeVector is tangent to the time lines (lines of constant spatial coordinates), so it can also be expressed in terms of the global function $\mathrm{Τ}\left({x}^{i},t\right)$ identifying the 3D hypersurface as

${\mathbit{t}}_{}^{{\mathrm{\mu }}}{{▿}}_{{\mathrm{\mu }}}\left({\mathrm{Τ}}\right)=1$

 from where ${\mathbit{t}}_{}^{{\mathrm{\mu }}}{\mathbit{n}}_{{\mathrm{\mu }}}={-}\mathbf{\alpha }$. The Shift can be defined as the projection of the TimeVector onto the 3D hypersurface, i.e.

${\mathbf{\beta }}_{{\mathrm{\mu }}}={\mathbf{\gamma }}_{{\mathrm{\mu }},{\mathrm{\nu }}}{\mathbit{t}}_{}^{{\mathrm{\nu }}}$

 from where it follows the relationship between these three vectors

${\mathbit{t}}_{{\mathrm{\mu }}}=\mathbf{\alpha }{\mathbit{n}}_{{\mathrm{\mu }}}+{\mathbf{\beta }}_{{\mathrm{\mu }}}$

 • From a physical point of view, choosing $\mathrm{Τ}\left({x}^{i},t\right)=t$ as the time coordinate, the Lapse and Shift arise naturally when defining simultaneity in the general theory of relativity as the possibility of synchronizing clocks located at different points in space (ref , sec. (84)). 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 , sec. (84) and (97)). If, in addition, ${g}_{0,0}=1$, the reference system is synchronous. In this referential the time lines (the TimeVector is tangent to them) are geodesics in the 4D spacetime and normal to the hypersurface $t=\mathrm{constant}$ (because from ${g}_{0,j}=0$ follows that ${\mathbf{\beta }}_{}^{{\mathrm{\mu }}}=0$ and so  ${\mathbit{t}}_{}^{{\mathrm{\mu }}}$ and  ${\mathbit{n}}_{}^{{\mathrm{\mu }}}$ are parallel), 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 now ${\mathbf{\beta }}_{}^{{\mathrm{\mu }}}\ne 0$ and so the new time lines $t=\mathrm{constant}$ (and hence ${\mathbit{t}}_{}^{{\mathrm{\mu }}}$) are no longer orthogonal to the 3D hypersurface whose geometry is described by $\mathrm{γ__i,j}$. In this decomposition of the infinitesimal interval, the 4-coordinate degrees of freedom are represented by the freedom in choosing the Lapse and the Shift (corresponding to different choices of the system of references; conversely, one can depart from this general form of the infinitesimal interval and construct a transformation to a synchronous reference system, where ${g}_{0,0}=1$ and ${g}_{0,j}=0$, by solving a related Hamilton-Jacobi equation see  sec.(97)). In this system of references (so-called adapted coordinates system of references), the Lapse and Shift are expressed in terms of the contravariant spatial components of the 4D spacetime metric g_ as

${{g}}_{}^{{0}{,}{0}}=-\frac{{1}}{{\mathbf{\alpha }}^{{2}}},{{g}}_{}^{{0}{,}{i}}=\frac{{\mathbf{\beta }}_{}^{i}}{{\mathbf{\alpha }}^{2}},{\mathbf{\gamma }}_{}^{{i},{j}}={{g}}_{}^{{i}{,}{j}}+\frac{{\mathbf{\beta }}_{}^{{i}}{\mathbf{\beta }}_{}^{{j}}}{{\mathbf{\alpha }}^{2}}$

 • Besides being indexed with a spacetime or a space index, the Shift, TimeVector and UnitNormalVector accept 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 the spatial components of g_.
 – matrix: (synonym: Matrix, array, Array, or no indices whatsoever, as in Shift[]) returns an Array that when indexed with numerical values from 1 to the dimension of spacetime it returns the value of each of the components of Shift[mu]. If this keyword is passed together with indices, that can be covariant or contravariant, for example Shift[~mu, matrix], the resulting array 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.
 • You can change the value of the 3D metric gamma3_ by changing the value of the 4D metric g_, using Setup or g_. Regarding the geometry in this 3D hypersurface, 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 %Lapse, %Shift, %TimeVector and %UnitNormalVector command are the inert forms of the corresponding active commands, that is represent the same object but entering them does not result in performing any computation. To perform the related computations, e.g. as if %Lapse were Lapse, 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. 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 to (+ + + -)

 > $\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{_______________________________________________________}$ (2)

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)$ (3)

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.)

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]$ (4)

The definition of gamma3_ and of the UnitNormalVector and the TimeVector

 > $\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)
 > $\mathrm{TimeVector}\left[\mathrm{definition}\right]$
 ${\mathbit{t}}_{{\mathrm{\mu }}}{=}\mathbf{\alpha }{}{\mathbit{n}}_{{\mathrm{\mu }}}{+}{\mathbf{\beta }}_{{\mathrm{\mu }}}$ (8)
 > $\mathrm{ExtrinsicCurvature}\left[\mathrm{definition}\right]$
 ${\mathbf{Κ}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{=}{-}\frac{{{ℒ}}_{\mathbit{n}}{}\left({\mathbf{\gamma }}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}\right)}{{2}}$ (9)

To set the scenario as a Schwarzschild spacetime in spherical coordinates; you can enter Setup(metric = Schwarzschild) or simpler: take advantage of abbreviations and directly using the spacetime metric g_ command

 > $\mathrm{g_}\left[\mathrm{sc}\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 Schwarzschild metric in coordinates}{}{}{}\left[r{,}\mathrm{\theta }{,}\mathrm{\phi }{,}t\right]$