# Math Help - Sign of sine in 3d rotation

1. ## Sign of sine in 3d rotation

(x,y,z) and (X,Y,Z) are two unit vectors. Both are perpendicular to a unit vector (u,v,w) and -1 < Y < 1.

Is there any simple method to determine the sign of $sin(\theta)$ (theta is angle for rotating X,Y,Z about u,v,w into x,y,z). When I solve the equations for rotating (X,Y,Z) about (u,v,w), i always get possible null-division, so I need two conditional expressions. Couldn't there be a simpler method like the sign of a projection or something like that?

2. ## Re: Sign of sine in 3d rotation

The scalar product of (x,y,z) and (X,Y,Z) gets you the cosine of the angle between them doesn't it ? From that you can deduce the sine.
Or am I misreading the question ?