• Support PF! Buy your school textbooks, materials and every day products Here!

Finding Vector Angle using cosine law

  • #1
49
1

Homework Statement


Vectors A and B have equal magnitudes of 4.93. If the sum of A and B is the vector 6.79j, determine the angle between A and B

Homework Equations


c^2 = a^2 + b^2 -2abcos(theta)

The Attempt at a Solution


I just rearranged the formula above so that I could solve for the angle. I keep getting the same answer (87.0 or 87.1 degrees) but its still wrong. Is it the fact that the sum is 6.79j with j meaning something? I know its a unit vector that indicates direction but I wasn't too sure. Please help!![/B]
 

Answers and Replies

  • #2
kuruman
Science Advisor
Homework Helper
Insights Author
Gold Member
8,708
2,119
Draw a picture of the two vectors and their sum. Remember that the angle between the two vectors is obtained by putting the vectors tail to tail, not tip to tail as you would to draw the sum.
 
  • #3
49
1
Draw a picture of the two vectors and their sum. Remember that the angle between the two vectors is obtained by putting the vectors tail to tail, not tip to tail as you would to draw the sum.
Yes I have done that, I also tried subrtacted from 180 which i probably should have mentioned earlier and get 93.0 when rounded to 3 sig figs and its still not right
 
  • #4
kuruman
Science Advisor
Homework Helper
Insights Author
Gold Member
8,708
2,119
The answer should be less that 90o. The sum is the base of an isosceles triangle of equal sides 4.93. If it were a right isosceles triangle, the base would be ##4.93\sqrt{2}=6.95.## It is given as 6.79, so the angle you want is (slightly) less than 90o. I agree with your first answer of 87o. How do you know it is not the right answer?

On (belated) edit:
The angle should be (slightly) greater than 90o. I got confused about the same point that I cautioned OP not to be confused about. :oops::oops:
 
Last edited:
  • #5
49
1
The answer should be less that 90o. The sum is the base of an isosceles triangle of equal sides 4.93. If it were a right isosceles triangle, the base would be ##4.93\sqrt{2}=6.95.## It is given as 6.79, so the angle you want is (slightly) less than 90o. I agree with your first answer of 87o. How do you know it is not the right answer?
It's an online assignment where I enter my answer and it will either tell me if its right or wrong. I need 3 significant digits so my answers were 87.0 and 87.1 which were both marked wrong
 
  • #6
kuruman
Science Advisor
Homework Helper
Insights Author
Gold Member
8,708
2,119
Check the input numbers again. If they agree, talk to your instructor. Sometimes there are are errors in the algorithms that generate the online answers. Better yet, send your solution in detail to your instructor before the assignment is due and ask why it was marked wrong.
 
  • #7
49
1
Check the input numbers again. If they agree, talk to your instructor. Sometimes there are are errors in the algorithms that generate the online answers. Better yet, send your solution in detail to your instructor before the assignment is due and ask why it was marked wrong.
okay thanks so much, I appreciate your help!!
 
  • #8
SammyS
Staff Emeritus
Science Advisor
Homework Helper
Gold Member
11,248
967

Homework Statement


Vectors A and B have equal magnitudes of 4.93. If the sum of A and B is the vector 6.79j, determine the angle between A and B

Homework Equations


c^2 = a^2 + b^2 -2abcos(theta)

The Attempt at a Solution


I just rearranged the formula above so that I could solve for the angle. I keep getting the same answer (87.0 or 87.1 degrees) but its still wrong. Is it the fact that the sum is 6.79j with j meaning something? I know its a unit vector that indicates direction but I wasn't too sure. Please help!![/B]
I get a somewhat different answer.

In the law of cosines as you have written it, θ (theta) is not the angle between (the directions of) vectors A and B. The θ in the standard math form you used is the supplement of the angle between vectors A and B.

If ∅ is the angle between the vectors, then use:
##c^2 = a^2 + b^2 +2ab \cos(\phi)##​
 
  • #9
robphy
Science Advisor
Homework Helper
Insights Author
Gold Member
5,489
719
Note:
[itex]\vec C=(\vec A+\vec B) [/itex]
Compute the dot-product
[itex]\vec C\cdot \vec C=(\vec A+\vec B)\cdot (\vec A+\vec B) [/itex]
and expand it out. What is [itex]\vec A\cdot\vec B[/itex]? (Can you solve for [itex]\vec A\cdot\vec B[/itex]? [Polarization identity.])
 
  • #10
kuruman
Science Advisor
Homework Helper
Insights Author
Gold Member
8,708
2,119
What is generally referred to as the angle between two vectors is the angle formed when they are tail to tail.
Sorry, isn't that what I said in post #2?
Remember that the angle between the two vectors is obtained by putting the vectors tail to tail, not tip to tail as you would to draw the sum.
 
  • #11
SammyS
Staff Emeritus
Science Advisor
Homework Helper
Gold Member
11,248
967
Sorry, isn't that what I said in post #2?
Sorry about that.

Yes that is what you said.

I have withdrawn that post.

However, the angle of 87° is the supplement of the correct angle.
 
  • #12
kuruman
Science Advisor
Homework Helper
Insights Author
Gold Member
8,708
2,119
However, the angle of 87° is the supplement of the correct angle.
It would be that. I edited post #4 to echo my agreement.
 
  • #13
robphy
Science Advisor
Homework Helper
Insights Author
Gold Member
5,489
719
Note that, from the polarization identity [expand [itex](\vec A+\vec B)\cdot(\vec A+\vec B) [/itex] and solve for [itex] \cos\theta[/itex] ]
we have
[itex]\cos\theta=\frac{1}{2AB}\left( (\vec A+\vec B)\cdot(\vec A+\vec B)-\vec A\cdot\vec A -\vec B\cdot\vec B \right) [/itex]
And the OP was given [itex] (\vec A+\vec B)\cdot(\vec A+\vec B) =6.79^2[/itex] and [itex] \vec A\cdot\vec A = \vec B\cdot\vec B = 4.93^2[/itex].
Note that the term in parenthesis is negative since [itex] 6.79^2 - 2(4.93)^2 = -2.5057 [/itex].
Thus [itex]\cos\theta<0 [/itex], so [itex] 90^\circ <|\theta|<180^\circ [/itex].

http://m.wolframalpha.com/input/?i=arccos(.5*((6.79^2-2*(4.93)^2)/(4.93)^2))+in+degrees
yields 92.95 degrees.
 
  • #14
SammyS
Staff Emeritus
Science Advisor
Homework Helper
Gold Member
11,248
967
Yes I have done that, I also tried subrtacted from 180 which i probably should have mentioned earlier and get 93.0 when rounded to 3 sig figs and its still not right
Somehow, I missed this post. As @robphy has posted above, the answer to 4 digits is: 92.95°, which agrees with your answer to 3 sig. figs.

Using a TI-94 calculator and not rounding any intermediate steps I get 92.954747591° (Actually used a simpler method to get θ/2 using adjacent/hypotenuse for cos(θ/2) . )
 

Related Threads for: Finding Vector Angle using cosine law

  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
1
Views
4K
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
7
Views
4K
  • Last Post
Replies
3
Views
3K
Replies
2
Views
1K
  • Last Post
Replies
3
Views
5K
Replies
3
Views
2K
Top