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 a⃗⋅b⃗=∣a⃗∣∣b⃗∣cos⁡θ\vec{a} \cdot \vec{b} = |\vec{a}| |\vec{b}| \cos \theta, we can rearrange this to find the angle between two vectors:

cos⁡θ=a⃗⋅b⃗∣a⃗∣∣b⃗∣\cos \theta = \frac{\vec{a} \cdot \vec{b}}{|\vec{a}| |\vec{b}|}

Remember to calculate a⃗⋅b⃗\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⁡θ=a⃗⋅b⃗∣a⃗∣∣b⃗∣\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+4j−2k\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 p⃗⋅q⃗\vec{p} \cdot \vec{q}:

p⃗⋅q⃗=(3)(4)+(4)(1)+(−2)(3)=12+4−6=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θ=cos⁡−1(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⃗=k⃗−l⃗=(1−72)−(−334)=(4−10−2)\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⃗=m⃗−l⃗=(251)−(−334)=(52−3)\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}
LK⃗⋅LM⃗=(4)(5)+(−10)(2)+(−2)(−3)=20−20+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θ=cos⁡−1(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}