Physics[Redefine] - Redefines the spacetime metric and list of coordinates according to a change in the signature, from any of the four possible signatures (- - - +), (+ - - -), (+ + + -) and (- + + +) to any of the other ones
Redefine(what, fromsignature = ..., tosignature = ...)
any of coordinates, metric, all (meaning both); setcoordinates, setmetric, setall, to respectively see how the redefinition changes what, or in addition automatically set (via Setup) the redefined value.
fromsignature = ...
optional, to be taken as the starting signature; if not given, it is the signature set at the moment
tosignature = ...
optional, to be taken as the desired signature; if not given, it is the signature set at the moment
The Redefine command redefines the spacetime metric g_ and list of coordinates according to a change in the signature, from any of the four possible signatures (- - - +), (+ - - -), (+ + + -) and (- + + +) to any of the other ones.
When any of fromsignature or tosignature are not given, the corresponding value is the value of the signature set at the moment. To query about this value, enter Setup(signature), or to change it enter Setup(signature = ...) where the right-hand side is any of `- - - +`, `+ - - -`, `+ + + -` or `- + + +`. You can enter the signature leaving or not spaces between the +/- signs, and enclosing them with `` or " ".
The typical scenario for the use of fromsignature is when you change the signature using Setup and notice that the coordinates and metric g_ have not changed accordingly. In this case entering Redefine(all, fromsignature = previous_signature) shows how would the list of coordinates a metric look if they were redefined from the previous signature to the one you set (i.e., the current one). If the result is as desired, you can use the output to call Setup and set things accordingly, or simpler: instead of all, pass setall, as in Redefine(setall, fromsignature = previous_signature), and that will in addition set things up by automatically calling Setup.
The typical scenario for the use of tosignature is when you are working with a signature and - say to follow a textbook - you want to change to a different signature, and want that not just the signature but also the ordering of the list of coordinates and/or the spacetime metric change accordingly. Here Redefine(all, tosignature = desired_signature) and Redefine(setall, tosignature = desired_signature) will respectively show or also set the new ordering of the list of coordinates and the metric according to the change to the desired_signature.
To restrict these redefinitions to either the coordinates or the metric, instead of all and setall use coordinates and setcoordinates, or metric and setmetric.
⁢Default differentiation variables for d_, D_ and dAlembertian are:⁢X=x,y,z,t
⁢Systems of spacetime coordinates are:⁢X=x,y,z,t
Consider the generic form of a spacetime metric, for the purpose of illustrating its redefinition (reordering of lines and columns) when changing the signature, it doesn't need to depend on the coordinates
G ≔ Matrix⁡4,symbol=g,shape=symmetric
Set the metric with this value, and in the same call query the value of the signature: it is (- - - +):
metric=1,1=g1,1,1,2=g1,2,1,3=g1,3,1,4=g1,4,2,2=g2,2,2,3=g2,3,2,4=g2,4,3,3=g3,3,3,4=g3,4,4,4=g4,4,signature=- - - +
Track the line element
Change now the signature by reversing the position of the time-like component, from 4 to 1
Warning, a representation for the Dirac matrices is only implemented for an Euclidean or Minkowski spacetime; removing the previous 'standard' representaton
signature=+ - - -
Neither the metric nor the coordinates change: t is still in position 4 and the component (1, 1) of the metric is still g1,1:
This design gives you freedom to set things as necessary. However, after changing the signature we may also want to redefine the coordinates - place t in position 1 - and possibly also the metric reordering its lines and rows accordingly. For this purpose you can use Redefine, to which you need to indicate the previous signature (or in a different situation the new signature, to explore the effect of a change before doing it) and an indication of whether you want to redefine the metric, the coordinates or all
These redefinitions however were not set, the keywords coordinates, metric, or all only trigger the change, t is still in position 4 and the component (1,1) of the metric is still g1,1
You can now either use the output of this routine to redefine things using the Setup command, or do all in one go using any of the keywords setcoordinates, setmetric, or setall, for example
Now t in position 1 and the component (1,1) of the metric equal to g4,4
⁢Systems of spacetime coordinates are:⁢X=t,x,y,z
Note that, despite the reordering of lines and columns in the metric, because we also reordered the variables, the line element has not changed:
Redefine is particularly useful when working with metrics from the database of solutions to Einstein's equations, all of which reset the signature to (- + + +) when loaded. For example:
⁢Systems of spacetime coordinates are:⁢X=t,x,y,φ
⁢Default differentiation variables for d_, D_ and dAlembertian are:⁢X=t,x,y,φ
The McLenaghan, Tariq (1975) metric in coordinates Tupper (1976)
Comments: k paramⅇtrⅈzⅇs thⅇ most gⅇnⅇral ⅇlⅇctromagnⅇtⅈc ⅈnvarⅈant wⅈth rⅇspⅇct to thⅇ last 3 Kⅈllⅈng vⅇctors
Resetting the signature of spacetime from + - - - to - + + + in order to match the signature in the database of metrics
Note above the message about resetting the signature; query about:
signature=- + + +
How would this metric [12, 21, 1] and coordinates t,x,y,φ would look with the original signature (- - - +) ?
By replacing all by setall in the command above not only the list of coordinates and metric matrix form are returned but they are also set in one go.
Coordinates, g_, normal, Physics, Physics conventions, Physics examples, Physics Updates, Tensors - a complete guide, Mini-Course Computer Algebra for Physicists, Setup
 Landau, L.D., and Lifshitz, E.M. The Classical Theory of Fields, Course of Theoretical Physics Volume 2, fourth revised English edition. Elsevier, 1975.
The Physics[Redefine] command was introduced in Maple 2017.
For more information on Maple 2017 changes, see Updates in Maple 2017.
Download Help Document
What kind of issue would you like to report? (Optional)