Difference between Two Vectors, Spherical Coordinates

Click For Summary
The discussion focuses on expressing the difference between two vectors, \vec{x} and \vec{x'}, in spherical coordinates. The initial approach used the law of cosines to derive the expression but struggled with determining the angle \gamma between the vectors. A new method involved converting the difference into Cartesian coordinates before transforming to spherical coordinates, resulting in a more complex expression. The user found that orienting the coordinate system with \vec{x'} along the z-axis simplifies the expression significantly. The context of the problem involves a rigid body rotating around an axis, which necessitates a more general expression for the vectors involved.
Higgy
Messages
43
Reaction score
0

Homework Statement


I'm doing a problem that involves expressing, for two arbitrary vectors \vec{x} and \vec{x'},

|\vec{x}-\vec{x'}|

in spherical coordinates (\rho,\theta,\phi).

Homework Equations



Law of Cosines:

c^{2}=a^{2}+b^{2}-2ab\cos\gamma

where \gamma is the angle between a and b.

The Attempt at a Solution



Using the law of cosines, we can write

|\vec{x}-\vec{x'}|=(\rho^{2}+\rho'^{2}-2\rho\rho'\cos\gamma)^{\frac{1}{2}}

but I can't figure out what the angle between the vectors \gamma would be. I imagine a plane formed by the two vectors, and the angle being between the two vectors in that plane. How I describe this mathematically, though, is confusing. Can anyone push me in the right direction?

EDIT:
Alright, I took a new approach. I decided to express the difference in Cartesian coordinates, and then convert to spherical coordinates. In doing so, I get:

|\vec{x}-\vec{x'}|=(\rho^{2}+\rho'^{2}-2\rho\rho'[\sin\theta\sin\theta'(\cos\phi\cos\phi'+\sin\phi\sin\phi')+\cos\theta\cos\theta'])^{\frac{1}{2}}

which gives me the \gamma I was looking for. It would be nice if there were an easy way to simply that, though...
 
Last edited:
Physics news on Phys.org
Usually, you are free to orient your coordinate system as you choose, and so a good choice is often to orient it such that \vec{x'} points in the z-direction and hence \theta'=0 and you get a much simpler expression:

|\vec{x}-\vec{x'}|=\rho^{2}+(\rho ')^{2}-2\rho\rho ' cos \theta
 
gabbagabbahey said:
Usually, you are free to orient your coordinate system as you choose, and so a good choice is often to orient it such that \vec{x'} points in the z-direction and hence \theta'=0 and you get a much simpler expression:

|\vec{x}-\vec{x'}|=\rho^{2}+(\rho ')^{2}-2\rho\rho ' cos \theta

That's useful a point.

In the larger problem that this is for, a rigid body (described by f(x')) is rotating around a particular axis with angular velocity \omega - so I am restricted to making the z-axis parallel to \vec{\omega}. Hence, the most general expression is required.
 
In that case, I think the most you can do to simplify is to use the trig Identity \cos (\phi -\phi ')=\cos \phi \cos \phi '+\sin \phi \sin\phi '
 
Right! Working it out right now. Thanks.
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

Replies
3
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
1K
  • · Replies 7 ·
Replies
7
Views
3K