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: 123
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!
 
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary Pythagorus'
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