Rotating vectors on a unit sphere

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 5K views
tut_einstein
Messages
31
Reaction score
0
Hi,

I want to rotate vectors through 120 and they are unit vectors so they lie on a unit spheres. So basically the tails of the vectors are at the origin and given one vector with spherical coordinates (1,θ,∅), how do I obtain the coordinates of the unit vectors that make 120 degrees with the given vector?

I tried using the dot product relation. But it doesn't seem to work for all values of theta and phi I pick for the initial one b/c sometimes, I get cosine and sine values that are greater than one.

Is it because I'm missing some kind of subtlety in 3 dimensions?

Thanks!
 
Physics news on Phys.org
Anyone? I would really appreciate some help!
 
You want all the unit vectors (a circle's worth of them) that make a 120-degree angle with the given one? If your given vector is [itex](1,0,0)[/itex], then the unit vectors with a 120-degree angle to that are parameterized by [itex](-1/2,(\sqrt3/2)\cos\theta,(\sqrt3/2)\sin\theta)[/itex] for [itex]0\le\theta<2\pi[/itex].

If you have a different given vector, just multiply everything by any rotation matrix that takes [itex](0,0,1)[/itex] to the vector you were given.
 
I need to rotate about the origin. I'm not sure what the axis is.

Also, tinyboss, I don't quite understand your answer. I know how to do it in 2 dimensions (when theta = pi/2, wheer theta is theta is the polar angle of spherical coordinates - angle made with the z-axis that is).

But when I move off the xy plane I don't know how to find the unit vectors that are 120 degrees apart from the given one.