← Back to all lessons
Class 12Geometry10:21Published 24 Nov 2024

Vector Dot Product (Exercise 10.3)

Worked solutions to the dot product questions from Exercise 10.3, covering angles between vectors, projections, unit vectors, and applications to a triangle.

This lesson works through the main questions of Class 12 Exercise 10.3 on the scalar (dot) product of vectors. It shows how to find the angle between two vectors, compute the projection of one vector onto another, check whether vectors are unit vectors and perpendicular, and use the dot product to find the magnitude of a vector and an angle of a triangle. Each step is shown in full so the method is easy to follow.

What you'll learn

  • How to find the angle between two vectors using the dot product
  • How to compute the projection of one vector onto another
  • How to check that a vector is a unit vector and that two vectors are perpendicular
  • How to use the dot product to find a vector's magnitude and an angle of a triangle

Lesson chapters

0:00Angle between two vectors from given magnitudes
0:50Angle between two vectors given by components
2:16Projection of one vector onto another
3:59Unit vectors that are perpendicular
5:20Magnitude of a vector and expanding dot products
8:34Angle of a triangle from its vertices

Lesson notes

This lesson works through the dot product questions of Exercise 10.3: finding angles between vectors, projections, unit and perpendicular vectors, the magnitude of a vector, and an angle inside a triangle.

Angle between two vectors from their magnitudes

Given a=3|\vec a| = \sqrt{3}, b=2|\vec b| = 2, and ab=6\vec a \cdot \vec b = \sqrt{6}, the angle uses

cosθ=abab=632=22=12.\cos\theta = \frac{\vec a \cdot \vec b}{|\vec a|\,|\vec b|} = \frac{\sqrt{6}}{\sqrt{3}\cdot 2} = \frac{\sqrt{2}}{2} = \frac{1}{\sqrt{2}}.

Since cosπ4=12\cos\tfrac{\pi}{4} = \tfrac{1}{\sqrt 2}, we get θ=π4\theta = \dfrac{\pi}{4}.

Angle between two vectors given by components

Let a=i^2j^+3k^\vec a = \hat i - 2\hat j + 3\hat k and b=3i^2j^+k^\vec b = 3\hat i - 2\hat j + \hat k. The dot product multiplies matching components and adds:

ab=(1)(3)+(2)(2)+(3)(1)=3+4+3=10.\vec a \cdot \vec b = (1)(3) + (-2)(-2) + (3)(1) = 3 + 4 + 3 = 10.

The magnitudes are

a=12+(2)2+32=14,b=32+(2)2+12=14.|\vec a| = \sqrt{1^2 + (-2)^2 + 3^2} = \sqrt{14}, \qquad |\vec b| = \sqrt{3^2 + (-2)^2 + 1^2} = \sqrt{14}.

Therefore

cosθ=101414=1014=57,θ=cos157.\cos\theta = \frac{10}{\sqrt{14}\,\sqrt{14}} = \frac{10}{14} = \frac{5}{7}, \qquad \theta = \cos^{-1}\frac{5}{7}.

Projection of one vector onto another

The projection of a\vec a on b\vec b is abb\dfrac{\vec a \cdot \vec b}{|\vec b|}.

Projection of i^j^\hat i - \hat j on i^+j^\hat i + \hat j

(i^j^)(i^+j^)i^+j^=(1)(1)+(1)(1)12+12=02=0.\frac{(\hat i - \hat j)\cdot(\hat i + \hat j)}{|\hat i + \hat j|} = \frac{(1)(1) + (-1)(1)}{\sqrt{1^2 + 1^2}} = \frac{0}{\sqrt 2} = 0.

The projection is 00, so these vectors are perpendicular.

Projection of i^+3j^+7k^\hat i + 3\hat j + 7\hat k on 7i^j^+8k^7\hat i - \hat j + 8\hat k

With a=i^+3j^+7k^\vec a = \hat i + 3\hat j + 7\hat k and b=7i^j^+8k^\vec b = 7\hat i - \hat j + 8\hat k,

ab=(1)(7)+(3)(1)+(7)(8)=73+56=60,\vec a \cdot \vec b = (1)(7) + (3)(-1) + (7)(8) = 7 - 3 + 56 = 60,

b=72+(1)2+82=114,|\vec b| = \sqrt{7^2 + (-1)^2 + 8^2} = \sqrt{114},

so the projection is 60114\dfrac{60}{\sqrt{114}}.

Unit vectors that are perpendicular

Let a=17(2i^+3j^+6k^)\vec a = \tfrac{1}{7}\big(2\hat i + 3\hat j + 6\hat k\big) and b=17(3i^6j^+2k^)\vec b = \tfrac{1}{7}\big(3\hat i - 6\hat j + 2\hat k\big).

Magnitudes

a=1722+32+62=1749=1,|\vec a| = \tfrac{1}{7}\sqrt{2^2 + 3^2 + 6^2} = \tfrac{1}{7}\sqrt{49} = 1,

b=1732+(6)2+22=1749=1,|\vec b| = \tfrac{1}{7}\sqrt{3^2 + (-6)^2 + 2^2} = \tfrac{1}{7}\sqrt{49} = 1,

so both are unit vectors.

Perpendicularity

ab=149[(2)(3)+(3)(6)+(6)(2)]=149[618+12]=0.\vec a \cdot \vec b = \tfrac{1}{49}\big[(2)(3) + (3)(-6) + (6)(2)\big] = \tfrac{1}{49}\big[6 - 18 + 12\big] = 0.

Since the dot product is 00, a\vec a is perpendicular to b\vec b.

Magnitude of a vector and expanding dot products

A difference of squares

Expanding (a+b)(ab)(\vec a + \vec b)\cdot(\vec a - \vec b) gives

aabb=a2b2,\vec a \cdot \vec a - \vec b \cdot \vec b = |\vec a|^2 - |\vec b|^2,

using aa=a2\vec a \cdot \vec a = |\vec a|^2 and bb=b2\vec b \cdot \vec b = |\vec b|^2.

Expanding a product of combinations

For (3a5b)(2a+7b)(3\vec a - 5\vec b)\cdot(2\vec a + 7\vec b), expand term by term:

6aa+21ab10ba35bb.6\,\vec a\cdot\vec a + 21\,\vec a\cdot\vec b - 10\,\vec b\cdot\vec a - 35\,\vec b\cdot\vec b.

Since ab=ba\vec a\cdot\vec b = \vec b\cdot\vec a, the middle terms combine:

6a2+11(ab)35b2.6\,|\vec a|^2 + 11\,(\vec a\cdot\vec b) - 35\,|\vec b|^2.

Magnitude from a unit vector condition

For a unit vector a^\hat a, given (xa^)(x+a^)=12(\vec x - \hat a)\cdot(\vec x + \hat a) = 12,

x2a^2=12.|\vec x|^2 - |\hat a|^2 = 12.

Since a^=1|\hat a| = 1, we get x2=12+1=13|\vec x|^2 = 12 + 1 = 13, so x=13|\vec x| = \sqrt{13}.

Angle of a triangle from its vertices

For a triangle with vertices A(1,2,3)A(1,2,3), B(1,0,0)B(-1,0,0), C(0,1,2)C(0,1,2), the angle at BB is the angle between BA\vec{BA} and BC\vec{BC}. Using PQ=QP\vec{PQ} = Q - P on the components,

BA=(2,2,3),BC=(1,1,2).\vec{BA} = (2,\,2,\,3), \qquad \vec{BC} = (1,\,1,\,2).

Then

BABC=(2)(1)+(2)(1)+(3)(2)=2+2+6=10,\vec{BA}\cdot\vec{BC} = (2)(1) + (2)(1) + (3)(2) = 2 + 2 + 6 = 10,

BA=4+4+9=17,BC=1+1+4=6,|\vec{BA}| = \sqrt{4 + 4 + 9} = \sqrt{17}, \qquad |\vec{BC}| = \sqrt{1 + 1 + 4} = \sqrt{6},

so

cosθ=10176=10102,θ=cos110102.\cos\theta = \frac{10}{\sqrt{17}\,\sqrt{6}} = \frac{10}{\sqrt{102}}, \qquad \theta = \cos^{-1}\frac{10}{\sqrt{102}}.

Key takeaways

  • The angle between vectors comes from cosθ=abab\cos\theta = \dfrac{\vec a \cdot \vec b}{|\vec a|\,|\vec b|}.
  • The projection of a\vec a on b\vec b is abb\dfrac{\vec a \cdot \vec b}{|\vec b|}, and it is 00 exactly when the vectors are perpendicular.
  • A vector is a unit vector when its magnitude is 11, and aa=a2\vec a \cdot \vec a = |\vec a|^2 lets you expand dot products like ordinary algebra.