Processing math: 100%
Ask Your Question
0

Can we symbolically derive geodesic equation for a given metric using its Christoffel symbols?

asked 0 years ago

AKGSage gravatar image

As the title says, I have defined a manifold and its metric and the coordinates. I have also gotten the Christoffel symbols using christoffel_symbols(). But I cannot seem to find a way to derive the geodesic equations for this system. I'm not sure how to define the affine parameter and I cannot make the derivative operator work on symbolic functions of the coordinates and the Christoffel symbol components.

Is there a way to do this for any given well defined metric? Any help would be great. Cheers!

Preview: (hide)

Comments

2

it would help if you write the code you have in a concrete small case.

FrédéricC gravatar imageFrédéricC ( 0 years ago )
2

The page https://sagemanifolds.obspm.fr/exampl... has some examples on geodesics.

tolga gravatar imagetolga ( 0 years ago )

1 Answer

Sort by » oldest newest most voted
2

answered 0 years ago

eric_g gravatar image

You can use the method system of class IntegratedGeodesic. For instance, the following code displays the geodesic equation for the round metric of the 2-sphere in polar coordinates (θ,ϕ):

sage: M = manifolds.Sphere(2)
sage: p = M.point((pi/2, pi))
sage: v0 = M.vector(p, (1, 1))
sage: lbda = var('lbda', latex_name=r'\lambda')
sage: C = M.integrated_geodesic(M.metric(), (lbda, 0, 1), v0)
sage: C.system()[0]
[Dphi^2*cos(theta)*sin(theta), -2*Dphi*Dtheta*cos(theta)/sin(theta)]

The two items in the output list are the values of ¨θ and ¨ϕ, with Dtheta standing for ˙θ and Dphi standing for ˙ϕ and the dot denotes the derivative with respect to the geodesic parameter λ.

Preview: (hide)
link

Comments

Yes Prof.Eric !! That works, thanks a lot for explaining the technicalities that are very challenging for a beginner to find.

AKGSage gravatar imageAKGSage ( 0 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 0 years ago

Seen: 362 times

Last updated: Dec 06 '24