View Full Version : A very beginner's question

hayden

01-27-2013, 09:34 AM

We use dot product for finding the angle between two vector b1 and b2. Cross product also gives sin angle for the vectors as well as the axis of rotation. Why don't the cross product is used to determine the angle between vectors?

hlewin

01-27-2013, 10:21 AM

9. You must be confusing something: The cross product is a vector, not a number. The resulting vector is perpendicular to the both operands.

Alfonse Reinheart

01-27-2013, 02:32 PM

Why don't the cross product is used to determine the angle between vectors?

Because the cross-product is more expensive to compute. There are more reasons to compute the angle between two vectors than to just rotate around an axis.

hayden

01-27-2013, 08:21 PM

Actually I wanted know that cross and dot gives cos and sin angle. If I need to know the angle, Is it ok to use the cross for computation of angle rather than dot product?

tonyo_au

01-27-2013, 09:34 PM

What ever turns you on - Alfonse was just saying that if you don't otherwise need to compute the cross product that the cross product will take longer to execute than a dot product.

hayden

01-28-2013, 09:23 AM

thanks for clarification.

Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.