Possible What is the angle between these two vectors?

AI Thread Summary
The discussion centers on calculating the angle between two vectors, A and B, defined in a Cartesian coordinate system. The user initially attempted to use the arctangent function to find the angles but encountered confusion regarding the calculations and quadrant considerations. It was clarified that vector A, being purely vertical, has a defined angle of 90 degrees with the x-axis, while vector B's angle with the negative x-axis is approximately 30.49 degrees. The correct approach involves recognizing that the angle between the two vectors can be determined by subtracting the angles of A and B. The final solution emphasizes the importance of visualizing the vectors on the coordinate plane to accurately determine the angle between them.
sonastylol
Messages
17
Reaction score
0
[SOLVED] Angle between vectors:

Homework Statement


What is the angle between A and B ? Answer in units of degree.


Homework Equations


From the previous problem:
A = 1.02 units long in positive y direction [0i + 1.02j]
B = [-6.18i + 3.64j]


The Attempt at a Solution



I got the question from the previous part right, finding scalar product of the 2 vectors. So I know the vectors are set up correctly.

I am under the impression that \theta = \thetab - \thetaa

Arctan of (-1.02/0 ) gives an error ( obviously ) so i just did arctan of (-1.02) = 45.567 degrees

Arctan of (3.64 / -6.18 ) gives a degree of -30.497

When doing the answer, I got \theta = 76.064. I tried this as both a negative and a positive and I was wrong.

What am I missing here? Is one angle supposed to change sign? Is my order wrong? Maybe my arctan of (1.02) is wrong?

Thanks
 
Physics news on Phys.org
So you already know there are two ways to calculate scalar product right?

\vec a \cdot \vec b = a_xb_x + a_yb_y + a_zb_z = |\vec a| |\vec b| \cos \theta.

Where \theta is the angle in which you seek.
 
but I already used one method to compute the angle, so let's build on that one please.

According to my math, it would be -30.497deg - (+ 45.567deg) = -76.064 deg

Why is this wrong? I asked if I forgot something with the quadrants or if there was some kind of sign changing error I'm unaware of.

Thanks again for your second opinion
 
sonastylol said:
Arctan of (-1.02/0 ) gives an error ( obviously ) so i just did arctan of (-1.02) = 45.567 degrees

Arctan of (3.64 / -6.18 ) gives a degree of -30.497

When doing the answer, I got \theta = 76.064. I tried this as both a negative and a positive and I was wrong.

What am I missing here? Is one angle supposed to change sign? Is my order wrong? Maybe my arctan of (1.02) is wrong?

Thanks
Well, your instinct about the arctan(1.02) is correct, i.e. that's where you got into trouble.

Think about that arctan. Why does that give you the angle, and for that matter, what angle does it give you? Now look at your first vector - do you really even need to use arctan to determine theta for it? There's a good reason why the formula arctan(v_y/v_x) breaks down for this case.

Is that making it clear enough, or do you need a little more help?
 
Last edited:
yea I started getting a headache.


Ive been stumped on the arctan thing for a while, its been a while and honestly don't even remember what the purpose of inverse tan is... i understand that tan gives you opposite over adjacent, but I really am truly stumped on what I did wrong with this angle.


Using normal Tan won't give me an angle, i know this, so I am left clueless and still need your help.

I basically did the whole problem by myself, just stumped on this part - if you helped me with it you wouldn't necessarily be " doing the problem for me " and that is what we are trying to achieve here at the forums. With an explanation, you would do more help than harm.


Thank you for considering this
 
Okay ... the tangent, as you say, is the ratio of the side opposite an angle (in a rt. triangle) to the side adjacent to it. This helps with vectors, since you can generally draw the x and y components of a vector and complete a right triangle. The tangent of the angle that the vector makes with the x-axis is then the x component (the side opposite) over the y component (the side adjacent).

The arctan function is just the inverse of the tangent. You give it a number and it will give you the angle whose tangent is that number. In other words, if you have the two sides, you can take their ratio, apply the arctan function, and get the angle.

Now for vector B this should all make sense - you can draw the triangle exactly as I described. What about for vector A? Can you draw this triangle? Keep in mind that one side is the x component and the other is the y component (with the vector itself generally being the hypotenuse). That's why you got (-1.02/0) as the ratio of the sides. So ... what does that tell you about the angle?

Keep in mind what angle it is that we're looking for here ...
 
eh still confused even tho I shouldn't be... I am thinking now that since there is no ratio for vector A, and that it has only one component ( straight up on the y-axis ) that maybe Vector A's angle is really 360 deg?

Which would make our answer angle 360 - 30.497 ... or something similar to that?
 
Why don't you try taking a visual or geometric approach to this?

Draw an x-y plane and plot each vector:

A=up 1.02
B=left 6.18 and up 3.64

Clearly A makes a 90 degree angle with the x axis
B makes a 30.49 degree angle with the negative x- axis

Now use your original idea; \theta_f=\theta_B-\theta_A
 
Back
Top