Ask Your Question
0

Displaying The Christoffel Symbols in Terms of a Function "F"

asked 2022-12-24 06:42:40 +0100

Jack Zuffante gravatar image

When dealing with a metric-tensor that has a function "f" of the coordinates in it's terms, is it possible to express the christoffel symbols in terms of, say, df/dx, df/dy, etc, rather than displaying the entire output?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-12-24 07:13:26 +0100

tolga gravatar image

Try this:

Man = Manifold(4, 'Man', r'\mathcal{M}')
M = var('M')

BL.<t,r,th,ph> = Man.chart(r't r:(0,+oo) th:(0,pi):\theta ph:(0,2*pi):\phi')
g = Man.lorentzian_metric('g')

function('f')(r)
g[0,0] = f(r)
g[1,1] = -1/f(r)
g[2,2] = -r^2
g[3,3] = -(r*sin(th))^2

# Christoffel symbols
nab = g.connection()
show(nab.display())
edit flag offensive delete link more

Comments

One can also use Chart Functions

f = BL.function(function('f')(t,r,th,ph))

and replace f(r) by f(t,r,th,ph)

achrzesz gravatar imageachrzesz ( 2022-12-24 11:51:10 +0100 )edit

Do either of these methods allow an arbitrary (unspecified) function?

Jack Zuffante gravatar imageJack Zuffante ( 2022-12-25 05:32:27 +0100 )edit

Never mind, answered my own question. Thank you!

Jack Zuffante gravatar imageJack Zuffante ( 2022-12-25 05:35:09 +0100 )edit

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: 2022-12-24 06:42:40 +0100

Seen: 226 times

Last updated: Dec 24 '22