Difference between Two Vectors, Spherical Coordinates

Click For Summary

Homework Help Overview

The discussion revolves around expressing the difference between two arbitrary vectors in spherical coordinates, specifically focusing on the expression |\vec{x}-\vec{x'}|. The original poster is exploring how to mathematically describe the angle between the two vectors and is attempting to simplify the expression using different coordinate systems.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • The original poster initially uses the law of cosines to express the vector difference but struggles with identifying the angle between the vectors. They later attempt to express the difference in Cartesian coordinates before converting to spherical coordinates.
  • Some participants suggest orienting the coordinate system to simplify the expression, specifically by aligning one vector along the z-axis.
  • Another participant mentions using a trigonometric identity to further simplify the expression.

Discussion Status

The discussion is active, with participants providing suggestions for simplifying the expression and exploring different coordinate orientations. There is no explicit consensus, but several productive directions have been proposed.

Contextual Notes

The original poster notes a constraint related to a rigid body rotating around a specific axis, which impacts their ability to simplify the expression further.

Higgy
Messages
43
Reaction score
0

Homework Statement


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

[tex]|\vec{x}-\vec{x'}|[/tex]

in spherical coordinates ([itex]\rho,\theta,\phi[/itex]).

Homework Equations



Law of Cosines:

[tex]c^{2}=a^{2}+b^{2}-2ab\cos\gamma[/tex]

where [itex]\gamma[/itex] is the angle between a and b.

The Attempt at a Solution



Using the law of cosines, we can write

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

but I can't figure out what the angle between the vectors [itex]\gamma[/itex] 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:

[tex]|\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}}[/tex]

which gives me the [itex]\gamma[/itex] 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 [itex]\vec{x'}[/itex] points in the z-direction and hence [itex]\theta'=0[/itex] and you get a much simpler expression:

[tex]|\vec{x}-\vec{x'}|=\rho^{2}+(\rho ')^{2}-2\rho\rho ' cos \theta[/tex]
 
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 [itex]\vec{x'}[/itex] points in the z-direction and hence [itex]\theta'=0[/itex] and you get a much simpler expression:

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

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 [itex]\omega[/itex] - so I am restricted to making the z-axis parallel to [itex]\vec{\omega}[/itex]. 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 [itex]\cos (\phi -\phi ')=\cos \phi \cos \phi '+\sin \phi \sin\phi '[/itex]
 
Right! Working it out right now. Thanks.
 

Similar threads

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