Translation in Spherical Coordinates

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 7K views
karanmohan
Messages
9
Reaction score
0
Hello, this one is doing my head in. I'm trying to plot and play with wavefunctions by moving the originm, but i need to do it in spherical coordinates.

Suppose i have a function G(r',theta',phi'), centered at the origin of the system r',theta',phi'. I also have a similar G(r'',theta'',phi''). I need to plot these on the same spherical coordinate system (r,theta,phi). The origin of (r',theta',phi') is located at x=x0 of (r,theta,phi). How do i convert G(r',theta',phi') to G(r,theta,phi)?

This problem is easy in cartesian, i just change x to x-x0. However, the functions I'm dealing with have square roots and therefore a simple conversion is not possible.

Thanks in advance for the help!
 
Physics news on Phys.org
Use the formula for shift of origin in spherical coordinates. ( It won't be very difficult as you have x0 on the X axis - phi wouldn't change).