Loading [MathJax]/jax/output/HTML-CSS/jax.js

First time here? Check out the FAQ!

Ask Your Question
0

Metric of EuclideanSpace(3) in spherical frame

asked 4 years ago

curios_mind gravatar image

I may have some conceptual misunderstandings, but here is the code

E=EuclideanSpace(3)
c_spher.<r,th,ph>=E.spherical_coordinates()
f_spher=E.spherical_frame()

E.set_default_chart(c_spher)
E.set_default_frame(f_spher)

g=E.metric()
show(g[:])

I was expecting the diagonal elements of the metric to be [1,r^2,r^4*sin(th)^2], but I get [1,1,1]

What I am doing wrong?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
0

answered 4 years ago

eric_g gravatar image

updated 4 years ago

If you type

E.spherical_frame?

you get Return the orthonormal vector frame associated with spherical coordinates. So f_spher = E.spherical_frame() is an orthonormal frame; it is therefore correct to get diag(1,1,1) for the metric components in that frame. What you want is the coordinate frame (/r,/θ,/ϕ). You get the latter via c_spher.frame(). Hence the metric components you are expecting are returned by

g[c_spher.frame(),:]

The link between the two vector frames is displayed by

for v in f_spher:
    show(v.display(c_spher.frame()))

er=r eθ=1rθ eϕ=1rsin(θ)ϕ

PS: you might take a look at this tutorial notebook, and more generaly to the tutorial about vector calculus in Euclidean spaces.

Preview: (hide)
link

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: 4 years ago

Seen: 644 times

Last updated: Jul 06 '20