Angle Between Vectors0%

Vectors · Topic 10 of 11

Angle Between Vectors

Video lesson · from 45:412 worked examples

One lesson video covers all of Vectors, so it opens at 45:41 for this topic — not from the beginning.

Theory

From the dot product formula ab=abcosθ\vec{a} \cdot \vec{b} = |\vec{a}| |\vec{b}| \cos \theta, we can rearrange this to find the angle between two vectors:

cosθ=abab\cos \theta = \frac{\vec{a} \cdot \vec{b}}{|\vec{a}| |\vec{b}|}

Remember to calculate ab\vec{a} \cdot \vec{b} using a1b1+a2b2+a3b3a_1b_1 + a_2b_2 + a_3b_3.

⚠️ Common Examiner Traps

  • Rearranged, not memorised separately: cosθ=abab\cos\theta = \frac{\vec{a}\cdot\vec{b}}{|\vec{a}||\vec{b}|} is just the geometric form rearranged.
  • Both vectors point away from the vertex: to find the angle at BB in a triangle, use BA\vec{BA} and BC\vec{BC} — not AB\vec{AB}.
  • A negative cosine gives an obtuse angle: that is a valid answer, not an error. Do not discard the sign.
  • Do not round too early: keep the scalar product and magnitudes exact until the final inverse cosine.

Worked examples

Example 1

Calculate angle θ\theta between vectors p=3i+4j2k\vec{p} = 3\mathbf{i} + 4\mathbf{j} - 2\mathbf{k} and q=4i+j+3k\vec{q} = 4\mathbf{i} + \mathbf{j} + 3\mathbf{k}.

Calculate dot product pq\vec{p} \cdot \vec{q}:

pq=(3)(4)+(4)(1)+(2)(3)=12+46=10\vec{p} \cdot \vec{q} = (3)(4) + (4)(1) + (-2)(3) = 12 + 4 - 6 = 10

Calculate magnitude p|\vec{p}|:

p=32+42+(2)2=9+16+4=29|\vec{p}| = \sqrt{3^2 + 4^2 + (-2)^2} = \sqrt{9 + 16 + 4} = \sqrt{29}

Calculate magnitude q|\vec{q}|:

q=42+12+32=16+1+9=26|\vec{q}| = \sqrt{4^2 + 1^2 + 3^2} = \sqrt{16 + 1 + 9} = \sqrt{26}

Substitute into formula:

cosθ=102926cosθ=10754θ=cos1(10754)68.6\begin{aligned} \cos \theta &= \frac{10}{\sqrt{29}\sqrt{26}} \\ \cos \theta &= \frac{10}{\sqrt{754}} \\ \theta &= \cos^{-1}\left(\frac{10}{\sqrt{754}}\right) \approx 68.6^\circ \end{aligned}

Example 2

K is the point (1,7,2)(1, -7, 2), L (3,3,4)(-3, 3, 4) and M (2,5,1)(2, 5, 1). Find KLM\angle KLM.

For angle at L, the vectors must point away from L: LK\vec{LK} and LM\vec{LM}.

LK=kl=(172)(334)=(4102)\vec{LK} = \vec{k} - \vec{l} = \begin{pmatrix} 1 \\ -7 \\ 2 \end{pmatrix} - \begin{pmatrix} -3 \\ 3 \\ 4 \end{pmatrix} = \begin{pmatrix} 4 \\ -10 \\ -2 \end{pmatrix}
LM=ml=(251)(334)=(523)\vec{LM} = \vec{m} - \vec{l} = \begin{pmatrix} 2 \\ 5 \\ 1 \end{pmatrix} - \begin{pmatrix} -3 \\ 3 \\ 4 \end{pmatrix} = \begin{pmatrix} 5 \\ 2 \\ -3 \end{pmatrix}
LKLM=(4)(5)+(10)(2)+(2)(3)=2020+6=6\vec{LK} \cdot \vec{LM} = (4)(5) + (-10)(2) + (-2)(-3) = 20 - 20 + 6 = 6
LK=42+(10)2+(2)2=16+100+4=120|\vec{LK}| = \sqrt{4^2 + (-10)^2 + (-2)^2} = \sqrt{16 + 100 + 4} = \sqrt{120}
LM=52+22+(3)2=25+4+9=38|\vec{LM}| = \sqrt{5^2 + 2^2 + (-3)^2} = \sqrt{25 + 4 + 9} = \sqrt{38}
cos(KLM)=612038θ=cos1(64560)84.9\begin{aligned} \cos(\angle KLM) &= \frac{6}{\sqrt{120}\sqrt{38}} \\ \theta &= \cos^{-1}\left(\frac{6}{\sqrt{4560}}\right) \approx 84.9^\circ \end{aligned}