How to find the vector between two points given in spherical coordinates?

Click For Summary

Homework Help Overview

The discussion revolves around finding the vector between two points given in spherical coordinates, specifically from (10, 3π/4, π/6) to (5, π/4, π). Participants are exploring the conversion from spherical to Cartesian coordinates and the discrepancies in their calculations.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants are attempting to convert spherical coordinates to Cartesian coordinates using the formulas for x, y, and z. There are questions about the order of the spherical coordinates and how it affects the calculations.

Discussion Status

Some participants have provided calculations for the z-coordinate and noted differences from the expected answers. There is an ongoing exploration of the conventions used in spherical coordinates, with some suggesting that the order of the coordinates may be a source of confusion. Multiple interpretations of the problem are being considered.

Contextual Notes

Participants mention the potential for different conventions in spherical coordinates, which may affect the calculations. There is also a note about the visibility of posts, indicating that some replies were not seen until after posting, which may impact the flow of the discussion.

azizlwl
Messages
1,066
Reaction score
10

Homework Statement


Find the vector directed from (10,3π/4,π/6) to (5, π/4,π), where the endpoints are given in spherical
coordinates. Ans -9.660ax, - 3ay. + 10.61az

Homework Equations


az=rCosΦ

The Attempt at a Solution


az=10Cos(π/6) +5Cos(π) =13.6

My answer differs. Where did i go wrong?
 
Physics news on Phys.org
Nice answer, but: how did you get it ? Please show the detailed steps you take.
 
BvU said:
Nice answer, but: how did you get it ? Please show the detailed steps you take.

I'm not sure which answer you refer to. The answer is given in the book. I did only for z-axis in Cartesians coordinates. The answer from the book foe z-axis is 10.61 but my calculation, az=10Cos(π/6) +5Cos(π) =13.6
 
I'm not sure which answer you refer to
the only answer I see is the az. What did you do to get it ? (It looks to me you are adding z-coordinates)
 
Spherical coordinates
A= (10,3π/4,π/6)
B= (5, π/4,π),

X=rSinΦCosθ
Y=rSinΦSinθ
Z=rCosΦ
Cartesian coordinates
A=(-3.53, 3.53, 8.66)
B=(0 ,0, -5)

AB= B-A=(3.53, -3.53, -13.66)
 
Ah, I see. Not only the z coordinate answer differs ! :wink:

You assume you are given ##(r, \phi, \theta)##. The "usual" order may well be ##(r, \theta, \phi)##. Eureka !
 
Turns out here is a set of two pictures that might explain why you and the book perceived differently !
 
  • Like
Likes   Reactions: azizlwl
BvU said:
Ah, I see. Not only the z coordinate answer differs ! :wink:

You assume you are given ##(r, \phi, \theta)##. The "usual" order may well be ##(r, \theta, \phi)##. Eureka !
Thank you. Get the answer and know where's the error.
 
azizlwl said:

Homework Statement


Find the vector directed from (10,3π/4,π/6) to (5, π/4,π), where the endpoints are given in spherical
coordinates. Ans -9.660ax, - 3ay. + 10.61az

Homework Equations


az=rCosΦ

The Attempt at a Solution


az=10Cos(π/6) +5Cos(π) =13.6

My answer differs. Where did i go wrong?

Be careful: there are two common versions of spherical coordinates: see, eg., https://en.wikipedia.org/wiki/Spherical_coordinate_system . Which convention does your problem use?

Note added in edit: again, many of the replies did not appear on my screen until after I posted the current message. Posts # 6,7,8 were unavailable to me until after I hit the "enter" key. That keeps happening. Does anyone know why?
 
Last edited:

Similar threads

  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K