Finding polar angle between two points using cross product

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 10K views
twoflower
Messages
363
Reaction score
0
Hi all,

could you please tell me how to count polar angle of a point with respect to another one using cross product?

I know that polar angle of a point [itex]p_0[/itex] with respect to point [itex]p_1[/itex] is the angle of vector [itex]p_1 - p_0[/itex].

For example, polar angle of (3,3) with respect to (2,4) is the angle of (1,-1) which is 315 degrees or [itex]\frac{7 \pi}{4}[/itex] radians.

How to count it using cross product?

Thank you.
 
Physics news on Phys.org
The crossproduct may be alternately defined as the magnitude of the product of the distances between the two points and the origin and the sine of the angle between the two points.

(in formula, [tex]p_0 \times p_1 = |p_o||p_1|sin(\theta)[/tex])
 
vsage said:
The crossproduct may be alternately defined as the magnitude of the product of the distances between the two points and the origin and the sine of the angle between the two points.
(in formula, [tex]p_0 \times p_1 = |p_o||p_1|sin(\theta)[/tex])

Thank you. So, if one of those vector will be that mine [itex]p_1 - p_0[/itex] and the second one in the formula will be (1,0), will be ok to compute the angle from it? (using arcsin function).

Now I tried it on two examples and it works well, I just have to take care of negative angles I get from it.