Physics[Geodesics] - computes and solves the geodesic equations for the spacetime metric
Calling Sequence
Geodesics(tau, options = ...)
Parameters
tau
-
optional - a name to represent the affine parameter that parametrizes the geodesic equations; if not given, the symbol τ is used
integrabilityconditions = ...
optional - can be true (default) or false, to reduce, or not reduce, the resulting ODE output system to a canonical form (see RIF)
output = ...
optional - the right-hand-side can be equations (default) or solutions, to return the geodesic equations or also attempt solving them
parameters = ...
optional - the right-hand-side can be a set or a list of names or functions, that parameterize the spacetime metric; the system of geodesic equations (or solutions) will be split according to the different cases of these parameters
tensornotation = ...
optional - can be true or false (default), to return the geodesic equations as an algebraic equation in tensor notation instead of as a set or list of equations for the components
Description
Geodesics computes and attempts to solve the geodesic equations for the spacetime metric g_. These equations are parametrized by an affine parameter τ typically representing the proper time for a timelike curve, or distance for a spacelike curve. These geodesic equations computed are
ⅆ2ⅆτ2Xμ⁡τ+Γα,νμ⁢ⅆⅆτXν⁡τ⁢ⅆⅆτXα⁡τ=0
where Xμ is the SpaceTimeVector and Γ⁢⁢⁢α,νμ are the Christoffel symbols. As it is the case of the other commands in Physics, Geodesics operates in tensorial notation. To perform the same computation using differential forms notation see DifferentialGeometry[Tensor][GeodesicEquations].
When a name - say tau is provided as first argument, it will be used to represent the parameter for the geodesic equations; otherwise, the symbol τ itself is used.
By default, Geodesics computes only the equations, without attempting solving them. To request compute and solve the equations in one step, pass the option output = solutions. When Geodesics or dsolve fail in finding a solution for the equations, you can still look for particular solutions of different forms that may be of interest using the symmetry commands of PDEtools like FunctionFieldSolutions and PolynomialSolutions, or InvariantSolutions used together with its various options for particularizing solutions.
The ODE system returned by default by Geodesics is returned as a list of equations and automatically simplified to a canonical form (reduced involutive form - RIF and DifferentialAlgebra) using differential algebra techniques. The order of the equations in the list corresponds to a total degree, obtained with an orderly ranking (see details in casesplit). Simplifying the ODE system this way is a frequently desired but in some cases expensive mathematical computation. To avoid it, pass the optional argument integrabilityconditions = false, in which case Geodesics will return faster, a set of equations, not a list, and with no differential simplification.
When computing just the geodesic equations, it also possible to request them in tensor notation, as an algebraic equation, instead of as a set or list of equations for the tensorial components. Although this kind of output always looks just like the definition for the geodesic equations shown above, the algebraic equation returned actually contains the computable objects like the SpaceTimeVector and Christoffel symbols, and can be manipulated in different ways, including getting from it all the equations for its components.
When the metric g_ depends on parameters, either symbols or functions of spacetime variables, the equations computed with Geodesics are expected to be valid for arbitrary values of these parameters. It is sometimes of interest, however, to investigate the different kinds of solutions that may exist for different particular values of these parameters. To perform such an investigation, use the optional argument parameters = ... where the right-hand-side is a set or a list with the parameters. The system of geodesic equations will then be split into cases with respect to these parameters using differential algebra techniques. As frequently happens when splitting into cases, the resulting lists of equations may involve inequations as well. Note: passing parameters automatically forces simplifying the ODE system to a canonical (reduced involutive RIF) form regardless of the value of the keyword integrabilityconditions.
Examples
with⁡Physics:
Setup⁡mathematicalnotation=true
mathematicalnotation=true
Set a system of Coordinates
Setup⁡coordinates=X
⁢Systems of spacetime coordinates are:⁢X=x1,x2,x3,x4
_______________________________________________________
coordinatesystems=X
The spacetime metric at this point is the one that loads with Physics, i.e. a Minkowski type metric
g_
gμ,ν=−10000−10000−100001
The geodesics equations for this metric, first as an algebraic equation in tensor notation, then as a list of equations for the tensorial components
Geodesics⁡tensornotation
ⅆ2ⅆτ2X⁢μ⁢μ⁡τ=0
Geodesics⁡
ⅆ2ⅆτ2x4⁡τ=0,ⅆ2ⅆτ2x3⁡τ=0,ⅆ2ⅆτ2x2⁡τ=0,ⅆ2ⅆτ2x1⁡τ=0
The straight-lines solution computed directly
Geodesics⁡output=solutions
x1⁡τ=c__1⁢τ+c__2,x2⁡τ=c__3⁢τ+c__4,x3⁡τ=c__5⁢τ+c__6,x4⁡τ=c__7⁢τ+c__8
Consider now a non-galilean spacetime, for instance set the Schwarzschild metric as the current metric (see g_):
g_sc
⁢_______________________________________________________
⁢Systems of spacetime coordinates are:⁢X=r,θ,φ,t
⁢Default differentiation variables for d_, D_ and dAlembertian are:⁢X=r,θ,φ,t
Setting lowercaselatin_is letters to represent space indices
⁢The Schwarzschild metric in coordinates ⁢r,θ,φ,t
Parameters: m
Signature: - - - +
gμ,ν=r2⁢m−r0000−r20000−r2⁢sin⁡θ20000r−2⁢mr
Compute the geodesic equations again.
ⅆ2ⅆτ2X⁢μ⁢μ⁡τ+Γ⁢μα,ν⁢μα,ν⁢ⅆⅆτX⁢ν⁢ν⁡τ⁢ⅆⅆτX⁢α⁢α⁡τ=0
ⅆ2ⅆτ2θ⁡τ=sin⁡θ⁡τ⁢cos⁡θ⁡τ⁢ⅆⅆτφ⁡τ2⁢r⁡τ−2⁢ⅆⅆτr⁡τ⁢ⅆⅆτθ⁡τr⁡τ,ⅆ2ⅆτ2φ⁡τ=−2⁢ⅆⅆτφ⁡τ⁢r⁡τ⁢cot⁡θ⁡τ⁢ⅆⅆτθ⁡τ+ⅆⅆτr⁡τr⁡τ,ⅆ2ⅆτ2r⁡τ=4⁢m−r⁡τ22⁢cos⁡θ⁡τ−1⁢cos⁡θ⁡τ+1⁢r⁡τ3⁢ⅆⅆτφ⁡τ2−4⁢m−r⁡τ22⁢r⁡τ3⁢ⅆⅆτθ⁡τ2+4⁢m−r⁡τ22⁢m⁢ⅆⅆτt⁡τ2−m⁢ⅆⅆτr⁡τ2⁢r⁡τ22⁢m−r⁡τ⁢r⁡τ3,ⅆ2ⅆτ2t⁡τ=−2⁢m⁢ⅆⅆτr⁡τ⁢ⅆⅆτt⁡τr⁡τ⁢−2⁢m+r⁡τ
This system of ODEs, as is, it is out of reach of the DE solvers of the system mainly due to the presence of non-rational objects like sin and cos having for arguments one of the unknowns of the system, θ⁡τ. On the other hand, we know the geodesics for the Schwarzschild metric describe the motion of particles of infinitesimal mass in the gravitational field of a central fixed large mass. So to investigate the solvability of these equations one can assume θ⁡τ is constant an due to the rotational symmetry choose a value for it that simplifies the equations, for example, θ⁡τ=π⁢12.
Gθ=π2≔eval⁡,θ⁡τ=π2
Gθ=π⁢12≔0=0,ⅆ2ⅆτ2φ⁡τ=−2⁢ⅆⅆτr⁡τ⁢ⅆⅆτφ⁡τr⁡τ,ⅆ2ⅆτ2r⁡τ=−4⁢m−r⁡τ22⁢r⁡τ3⁢ⅆⅆτφ⁡τ2+4⁢m−r⁡τ22⁢m⁢ⅆⅆτt⁡τ2−m⁢ⅆⅆτr⁡τ2⁢r⁡τ22⁢m−r⁡τ⁢r⁡τ3,ⅆ2ⅆτ2t⁡τ=−2⁢m⁢ⅆⅆτr⁡τ⁢ⅆⅆτt⁡τr⁡τ⁢−2⁢m+r⁡τ
And this system is already solvable with dsolve; the first two of six solutions are:
dsolve⁡Gθ=π21..2
r⁡τ=6⁢m,φ⁡τ=c__2⁢τ+c__3,t⁡τ=−6⁢6⁢m⁢φ⁡τ+c__1,t⁡τ=6⁢6⁢m⁢φ⁡τ+c__1,r⁡τ=c__4,φ⁡τ=c__2⁢τ+c__3,t⁡τ=∫m⁢r⁡τ⁢ⅆⅆτφ⁡τ⁢r⁡τmⅆτ+c__1,t⁡τ=∫−m⁢r⁡τ⁢ⅆⅆτφ⁡τ⁢r⁡τmⅆτ+c__1
See Also
casesplit, Coordinates, DifferentialAlgebra, DifferentialGeometry[Tensor]Geodesics], FunctionFieldSolutions, g_, InvariantSolutions, Library, pdsolve, Physics, Physics conventions, Physics examples, Physics Updates, Tensors - a complete guide, Mini-Course Computer Algebra for Physicists, PolynomialSolutions, Setup
References
Landau, L.D., and Lifshitz, E.M. The Classical Theory of Fields, Course of Theoretical Physics Volume 2, fourth revised English edition. Elsevier, 1975.
Compatibility
The Physics[Geodesics] command was introduced in Maple 17.
For more information on Maple 17 changes, see Updates in Maple 17.
Download Help Document