Finding Vector Angle using cosine law

In summary, two vectors A and B with equal magnitudes of 4.93 have a sum of 6.79j. To determine the angle between A and B, the law of cosines can be used, but the angle obtained is the supplement of the actual angle between the vectors. The correct angle can be found by using the dot product and expanding it out. Additionally, when finding the angle between two vectors, they should be placed tail to tail, not tip to tail as when drawing the sum.
  • #1
alexi_b
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]
 
Physics news on Phys.org
  • #2
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
kuruman said:
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
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
kuruman said:
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
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
kuruman said:
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
alexi_b said:

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
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
SammyS said:
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?
kuruman said:
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
kuruman said:
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
SammyS said:
However, the angle of 87° is the supplement of the correct angle.
It would be that. I edited post #4 to echo my agreement.
 
  • Like
Likes SammyS
  • #13
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
alexi_b said:
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) . )
 

FAQ: Finding Vector Angle using cosine law

1. What is the cosine law?

The cosine law, also known as the law of cosines, is a mathematical formula used to find the length of a side or the measure of an angle in a triangle. It can be used when the lengths of all three sides of a triangle are known, or when two sides and the included angle are known.

2. How is the cosine law used to find the vector angle?

The cosine law can be used to find the vector angle by using the formula cosθ = (a² + b² - c²) / 2ab, where a and b are the lengths of the two vectors and c is the distance between their endpoints.

3. Why is it important to find the vector angle?

Finding the vector angle is important in many fields of science and engineering, such as physics, mechanics, and computer graphics. It allows us to determine the direction and magnitude of a vector, which is crucial in solving problems involving forces, velocities, and displacements.

4. Can the cosine law be used for any type of triangle?

Yes, the cosine law can be used for any type of triangle, including acute, right, and obtuse triangles. However, it is most commonly used for solving problems in oblique triangles (triangles with no right angles).

5. Are there any limitations to using the cosine law to find vector angles?

While the cosine law is a useful tool for finding vector angles, it does have some limitations. It can only be used when the lengths of all three sides of a triangle are known, or when two sides and the included angle are known. Additionally, it is only applicable to two-dimensional vectors and cannot be used for three-dimensional vectors.

Back
Top