Finding the angle between 2 vectors

  • Thread starter Thread starter PinkFlamingo
  • Start date Start date
  • Tags Tags
    Angle Vectors
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 12K views
PinkFlamingo
Messages
19
Reaction score
0
Could someone refresh my memory how to find the angle between 2 vectors in 3d, say:

a= 4i + j + 2k
b= -i +2j + k

Thanks!
 
Physics news on Phys.org
So how would I find the angle for the two I posted?
 
He just told you. Solve for theta and plug and chug.

[tex]\theta = \arccos{\left( \frac{\vec{a} \cdot \vec{b}}{|\vec{a}||\vec{b}|\right)}[/tex]

[tex]\vec{a}\cdot\vec{b} = a_1b_1 + a_2b_2 + a_3b_3[/tex]
and
[tex]|\vec{a}| = \sqrt{{a_1}^2 + {a_2}^2 + {a_3}^2}[/tex]

if [itex]\vec{a} = <a_1,a_2,a_3>[/itex] and likewise for b.

cookiemonster
 
Last edited:
Nice thinking Cookieman...