Need Help Finding the Angle Between Two Vectors

  • Thread starter Thread starter hardygirl989
  • Start date Start date
  • Tags Tags
    Angle Vectors
Click For Summary
SUMMARY

The discussion centers on calculating the angle between two vectors A = 3i + j and B = -1i + 2j using both the cross product and the dot product methods. The correct cross product was determined to be 7, but the initial angle calculation using arcsin resulted in an incorrect answer due to the ambiguity of the arcsin function for angles exceeding 90 degrees. The recommended solution is to use the dot product method, yielding an angle of 98.13 degrees, which resolves the ambiguity issue.

PREREQUISITES
  • Understanding of vector operations, specifically cross product and dot product.
  • Familiarity with trigonometric functions, particularly arcsin and arccos.
  • Knowledge of vector magnitude calculations.
  • Basic algebra for manipulating equations.
NEXT STEPS
  • Learn how to compute the dot product of vectors in detail.
  • Study the properties and applications of the arcsin and arccos functions in trigonometry.
  • Explore vector magnitude calculations and their significance in physics.
  • Investigate alternative methods for finding angles between vectors, such as using geometric interpretations.
USEFUL FOR

Students in physics or mathematics, particularly those tackling vector analysis and trigonometry, as well as educators seeking to clarify vector operations and angle calculations.

hardygirl989
Messages
20
Reaction score
0

Homework Statement


Two vectors are given by A = 3i + j and = -1i + 2j.
A) Find A x B <---This is the cross product not multiplication.
B) Find the angle between A and B.

Homework Equations



|AxB|=|A||B|sin(theta)

The Attempt at a Solution



A) I used the determinant to find the cross product as 3(2)-1(-1)=7 <---This answer is correct

B) I need help with this problem...
I tried |AxB|=|A||B|sin(theta) to get θ= arcsin( |AxB| / ( |A||B| )
|A|=√(Ax^2+Ay^2)=3.16
|B|=√(Bx^2+Ay^2)=2.24
Thus, θ= arcsin(7/((3.16)(2.24)))=81.8 °.

However, it says that it is the wrong answer and I don't know why. Can anyone please help?
Thank you.
 
Physics news on Phys.org
Hi hardygirl989, Welcome to Physics Forums.

hardygirl989 said:

Homework Statement


Two vectors are given by A = 3i + j and = -1i + 2j.
A) Find A x B <---This is the cross product not multiplication.
B) Find the angle between A and B.



Homework Equations



|AxB|=|A||B|sin(theta)


The Attempt at a Solution



A) I used the determinant to find the cross product as 3(2)-1(-1)=7 <---This answer is correct

B) I need help with this problem...
I tried |AxB|=|A||B|sin(theta) to get θ= arcsin( |AxB| / ( |A||B| )
|A|=√(Ax^2+Ay^2)=3.16
|B|=√(Bx^2+Ay^2)=2.24
Thus, θ= arcsin(7/((3.16)(2.24)))=81.8 °.

However, it says that it is the wrong answer and I don't know why. Can anyone please help?
Thank you.

The problem is, there is an ambiguity introduced by the arcsin() function when the angle between the vectors exceeds 90 degrees. If you think about it, the sine of 90°-x is the same as the sine of 90°+x, as both angles "straddle" the y-axis. The arcsin function will only return one of the angles, and that would be the smaller of the two choices (in the first quadrant).

Note that the arccos() function doesn't have the same issue for angles in the 1st and 2nd quadrants. Maybe a dot product approach is in your future :smile:

Alternatively, find the angles associated with both vectors and take the difference.
 
Yes! I got the correct answer! Thank you! I was not even thinking about the ambiguity. :)

Dot product of A and B = |A||B|cos(theta)
so theta = arccos[Dot product of A and B / ( |A||B| ) ]
theta = arccos { [ (3)(-1)+(2)(1) ] / [ (3.16)(2.24) ] } = 98.13 degrees.
 

Similar threads

Replies
1
Views
1K
  • · Replies 26 ·
Replies
26
Views
4K
  • · Replies 9 ·
Replies
9
Views
1K
  • · Replies 15 ·
Replies
15
Views
1K
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 29 ·
Replies
29
Views
4K
Replies
6
Views
2K
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
7K