MHB Left or Right Angles ( + or - ) of adjoining vectors

  • Thread starter Thread starter BrentK
  • Start date Start date
  • Tags Tags
    Angles Vectors
AI Thread Summary
To determine if the angle between two adjoining vectors is positive or negative, the leading vector can be represented as the difference in coordinates. By rotating this vector 90 degrees anticlockwise, the inner product with the adjoining vector can be calculated. A positive inner product indicates a left angle, while a negative one indicates a right angle. The conditions for these angles are defined by specific inequalities involving the coordinates of the vectors. The discussion highlights the challenges faced in understanding these calculations, emphasizing the importance of community support in learning.
BrentK
Messages
20
Reaction score
0
Hi there,
I have another one for you (Blush)

How can I efficiently determine if the angle between 2 vectors is positive or negative...
Take a look at this example drawing:

View attachment 8685

Known are the xy coordinates of 2 adjoining vectors, (I also have calcullated the 360 deg angle relative to the x-axis if that is a help ... shown with grey arrows on the drawing)
In the drawing the leading vector (Red) as adjoined to either a vector giving a positive or (left) angle, or a vector in the negative direction (right) angle.

I need to be able to calculate if the adjoining vector is a positive or negative angle in relation to the leading vector... sounds simple right? and proabably is, but I just don't seem to be able to get it right with all different vector direction possibilities

The formula should calculate all possibilites of two adjoining vectors, so e.g. could also be heading in the opposite direction where x1y1 is less than x0y0... hope you understand what i mean :)

Look forward to any help yo may be able to provide.
Many thanks, This forum has been a great help to me!
 

Attachments

  • Unbenannt.JPG
    Unbenannt.JPG
    9.9 KB · Views: 125
Mathematics news on Phys.org
Start with the red vector, which is $\begin{bmatrix}x_1-x_0 \\ y_1-y_0\end{bmatrix}$. If you rotate it "to the left" (in other words, anticlockwise) by $90^\circ$ then it becomes $\begin{bmatrix}y_0-y_1 \\x_1-x_0\end{bmatrix}$. You want to know whether the inner product of that vector with the blue vector $\begin{bmatrix}x_2-x_1 \\ y_2-y_1\end{bmatrix}$ is positive. So the condition you need is $$x_0(y_1-y_2) + x_1(y_2-y_0) + x_2(y_0-y_1) > 0 \quad \text{for "left",}$$ $$x_0(y_1-y_2) + x_1(y_2-y_0) + x_2(y_0-y_1) < 0 \quad \text{for "right".}$$
 
Thanks again Oplag!
That worked fine...
Now I have found a new challenge... If you are willing,I'd appreciate you take a look at my new post.

I really appreciate your help. I'm not that great at Maths...I'm trying hard and learning, but this task is very hard for me! Without you and the help of others on this forum, I'd be totaly lost!
 
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...
Thread 'Imaginary Pythagoras'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top