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

Click For Summary
To find the vector between two points in spherical coordinates, the conversion to Cartesian coordinates is essential. The points (10, 3π/4, π/6) and (5, π/4, π) were converted, leading to Cartesian coordinates A=(-3.53, 3.53, 8.66) and B=(0, 0, -5). The vector AB was calculated as (3.53, -3.53, -13.66), but discrepancies arose in the z-coordinate calculations, with one participant obtaining 13.6 instead of the book's 10.61. The confusion stemmed from different conventions in the order of spherical coordinates, highlighting the need for clarity in the coordinate system used. Understanding these conventions is crucial for accurate calculations.
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 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
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
6
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K