New Reply

Angle between 2 vectors using 1) Dot product and 2) cross product gives diff. answer?

 
Share Thread Thread Tools
Sep8-11, 08:30 PM   #1
 

Angle between 2 vectors using 1) Dot product and 2) cross product gives diff. answer?


1. The problem statement, all variables and given/known data

Using these 2 vectors:

[itex] \vec u = (3,-4,0)[/itex]

[itex] \vec v = (1,1,1)[/itex]

I must verify that theta is the same with these 2 equations:

Dot product
[itex] \vec u \bullet \vec v = ||\vec u|| ||\vec v|| cos( \theta)[/itex]

Cross product
[itex] ||\vec u \wedge \vec v|| = ||\vec u|| ||\vec v|| sin( \theta)[/itex]



2. Relevant equations

They were given in 1)


3. The attempt at a solution

I did all the calculations, I get the following answers:

[itex] ||\vec u || = 5[/itex]

[itex] ||\vec v || = \sqrt{3}[/itex]

[itex] \vec u \bullet \vec v = -1[/itex]

[itex] ||\vec u \wedge \vec v|| =\sqrt{74}[/itex]


I then solve the 2 equations given above using arcsin and arccos to find the values of theta, but I get 96.6 using the dot product, and 83.3 using the cross product. The weird thing is that 180-83.3 = 96.6...

I must be missing something obvious, but I can't understand why I get the wrong answer :(
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> King Richard III found in 'untidy lozenge-shaped grave'
>> Google Drive sports new view and scan enhancements
>> Researcher admits mistakes in stem cell study
Sep8-11, 08:48 PM   #2
 
Recognitions:
Homework Helper Homework Help
2 vectors define a plane

note that within that plane you can consider the smaller (<=90) or larger (>=90) angle between the 2 vectors , but they will always sum to 180degrees
Sep8-11, 09:01 PM   #3
 
Quote by lanedance View Post
2 vectors define a plane

note that within that plane you can consider the smaller (<=90) or larger (>=90) angle between the 2 vectors , but they will always sum to 180degrees
Basically the other angle is the one between the vector and the grey line?? If so, then it can't be considered the angle between the 2 vectors. It would be right if one of the vectors was pointing into the opposite direction.

How can you tell which value is the "right" one when trying to determinate the angle between the 2 vectors using the cross product? I'm trying to visualize the vectors in my head, and I know there is only one "right" answer.

http://i.imgur.com/uM2ni.jpg
Sep8-11, 09:13 PM   #4
 
Recognitions:
Gold Membership Gold Member
Homework Helper Homework Help
Science Advisor Science Advisor
Retired Staff Staff Emeritus

Angle between 2 vectors using 1) Dot product and 2) cross product gives diff. answer?


Hint: Arcsin will always give you a result between -90 degrees and 90 degrees, yet the angle between two vectors ranges from 0 to 180 degrees.
Sep8-11, 09:16 PM   #5
 
Quote by vela View Post
Hint: Arcsin will always give you a result between -90 degrees and 90 degrees, yet the angle between two vectors ranges from 0 to 180 degrees.
Yes, but that doesn't tell me which answer is right. Arcsin could return 30 degress, and it could be the right answer, but the right answer could also be 150. How are you supposed to tell which one is right?
Sep8-11, 09:21 PM   #6
 
Recognitions:
Homework Helper Homework Help
note that the cross product expression is a magnitude
[tex]
|u \times v| = |u||v|sin(\theta) \geq 0
[/tex]

the dot product allows negative values which will occur when the angel is greater than 90 degrees

so in short, use the dot product
Sep8-11, 09:22 PM   #7
 
Recognitions:
Gold Membership Gold Member
Homework Helper Homework Help
Science Advisor Science Advisor
Retired Staff Staff Emeritus
You can't conclusively determine the angle from the arcsin alone, just as you can't tell me what x equals with certainty if all I told you is sin x = 0.5.
Sep8-11, 10:10 PM   #8
 
Recognitions:
Homework Helper Homework Help
To add onto vela's comments

Consider a plot of sin(t) with t from -pi to pi

In the region -pi to 0 , sin(t) is negative. As you are dealing with magnitudes [itex] \frac{ |u \times v|}{ |u||v|}[/itex] will never be negative, so the arcsin will only return a value in the range 0 to pi

now on a plot of 0 to pi, the graph of sin(t) is symmetric about pi/2.

So say you know sin(t) = 0.5. This could be either t=30 or t=150. The calculator will always return a number in the range (-90 to 90) so in this case 30deg.
Sep9-11, 10:19 PM   #9
 
Ok I get it, thanks guys :D
New Reply
Thread Tools


Similar Threads for: Angle between 2 vectors using 1) Dot product and 2) cross product gives diff. answer?
Thread Forum Replies
Using cross product to find angle between two vectors Calculus & Beyond Homework 5
Find theta from the cross product and dot product of two vectors Calculus & Beyond Homework 11
Vectors dot product and cross product help Advanced Physics Homework 3
Dot product and cross product of vectors Introductory Physics Homework 5
The cross product and dot product of vectors Introductory Physics Homework 9