Calculating an angle between 2 vectors given their value and the value of their sum

$\begingroup$

Given the value of 2 vectors A and B, and the value of the resultant vector C, how would I go about calculating the angle between A and B?

Thanks a lot

$\endgroup$ 1

2 Answers

$\begingroup$

By value, I assume you mean magnitude and direction. Thus, you should be able to calculate the angle between them: $\theta_a = cos^{-1}(\frac{\vec{A}_x}{\vec{A}})$ and $\theta_b = cos^{-1}(\frac{\vec{B}_x}{\vec{B}})$. Now perform subtraction on $\theta_a$ and $\theta_b$, and find its absolute value.

$\endgroup$ $\begingroup$

As $A,B,C$ are the sides of a triangle, you can just apply e.g. the law of cosines

$$C^2=A^2+B^2-2AB\cos(\gamma)$$ and solve for $\gamma$. Then the angle between them is obviously the supplement angle $\phi = \pi-\gamma$.

adding vectors

$\endgroup$

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like