Skip to main content
ExamExplained
SA · Specialist Mathematics
Specialist Mathematics study scene
§-Syllabus dot point
SASpecialist MathematicsSyllabus dot point

How does the dot product measure the angle between two vectors and detect perpendicularity?

Represent vectors in three dimensions, compute magnitudes and unit vectors, and use the dot product to find angles and test for perpendicularity.

Three-dimensional vectors in component form, magnitude and unit vectors, the dot product in both its component and geometric forms, and using it to find angles, projections and perpendicularity.

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. Vectors in three dimensions
  3. The dot product
  4. Finding the angle between vectors
  5. Perpendicularity and projection
  6. Properties of the dot product

What this dot point is asking

You need to represent vectors in three dimensions, find magnitudes and unit vectors, and use the dot (scalar) product to compute angles and test for perpendicularity.

Vectors in three dimensions

Write a vector in component form using the standard basis i,j,k\mathbf{i}, \mathbf{j}, \mathbf{k}:

a=a1i+a2j+a3k=(a1a2a3).\mathbf{a} = a_1\mathbf{i} + a_2\mathbf{j} + a_3\mathbf{k} = \begin{pmatrix} a_1 \\ a_2 \\ a_3 \end{pmatrix}.

Addition and scalar multiplication act componentwise. The magnitude (length) is
a=a12+a22+a32.|\mathbf{a}| = \sqrt{a_1^2 + a_2^2 + a_3^2}.

A unit vector in the direction of a\mathbf{a} is a^=1aa\hat{\mathbf{a}} = \dfrac{1}{|\mathbf{a}|}\mathbf{a}, which has length 11.

The dot product

The two forms are the key tool: the component form computes a number, and equating it to abcosθ|\mathbf{a}||\mathbf{b}|\cos\theta extracts the angle.

Finding the angle between vectors

Rearranging gives cosθ=abab\cos\theta = \dfrac{\mathbf{a}\cdot\mathbf{b}}{|\mathbf{a}||\mathbf{b}|}.

Perpendicularity and projection

The scalar projection of a\mathbf{a} onto b\mathbf{b} is abb\dfrac{\mathbf{a}\cdot\mathbf{b}}{|\mathbf{b}|}, the signed length of the shadow of a\mathbf{a} along b\mathbf{b}. The vector projection is (abb2)b\left(\dfrac{\mathbf{a}\cdot\mathbf{b}}{|\mathbf{b}|^2}\right)\mathbf{b}. Projections appear when resolving one vector into components parallel and perpendicular to another, for instance splitting a force into a component along an incline and a component perpendicular to it.

Properties of the dot product

The dot product obeys familiar algebraic rules that make it easy to manipulate. It is commutative, ab=ba\mathbf{a}\cdot\mathbf{b} = \mathbf{b}\cdot\mathbf{a}, and distributive over addition, a(b+c)=ab+ac\mathbf{a}\cdot(\mathbf{b}+\mathbf{c}) = \mathbf{a}\cdot\mathbf{b} + \mathbf{a}\cdot\mathbf{c}, so an expression like (p+r)(rp)(\mathbf{p}+\mathbf{r})\cdot(\mathbf{r}-\mathbf{p}) expands exactly like a binomial product. It also satisfies aa=a2\mathbf{a}\cdot\mathbf{a} = |\mathbf{a}|^2, which is the bridge between the algebra of dot products and the geometry of lengths. These properties are what let you prove geometric results - such as the perpendicularity of a rhombus's diagonals - purely by expanding dot products, without coordinates.

Exam-style practice questions

Practice questions written in the style of SACE Board exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

SACE 20223 marksCalculator-assumed. The points are A(1,2,3)A(1, 2, -3), B(5,3,2)B(5, 3, -2) and C(6,7,3)C(6, 7, -3). Find ABAC\vec{AB} \cdot \vec{AC} and hence cos(BAC)\cos(\angle BAC).
Show worked answer →

First the two vectors from AA: AB=(4,1,1)\vec{AB} = (4, 1, 1) and AC=(5,5,0)\vec{AC} = (5, 5, 0).

Dot product: ABAC=(4)(5)+(1)(5)+(1)(0)=25\vec{AB} \cdot \vec{AC} = (4)(5) + (1)(5) + (1)(0) = 25. [1 mark]

Magnitudes: AB=42+12+12=18=32|\vec{AB}| = \sqrt{4^2 + 1^2 + 1^2} = \sqrt{18} = 3\sqrt{2} and AC=52+52=50=52|\vec{AC}| = \sqrt{5^2 + 5^2} = \sqrt{50} = 5\sqrt{2}. [1 mark]

So cos(BAC)=2532×52=2530=56\cos(\angle BAC) = \dfrac{25}{3\sqrt{2}\times 5\sqrt{2}} = \dfrac{25}{30} = \dfrac{5}{6}. [1 mark]

SACE 20212 marksCalculator-free. The rhombus OPQROPQR has OP=p\vec{OP} = \mathbf{p} and OR=r\vec{OR} = \mathbf{r}. Show that OQPR=r2p2\vec{OQ} \cdot \vec{PR} = |\mathbf{r}|^2 - |\mathbf{p}|^2, then prove the diagonals are perpendicular.
Show worked answer →

The diagonals are OQ=p+r\vec{OQ} = \mathbf{p} + \mathbf{r} and PR=rp\vec{PR} = \mathbf{r} - \mathbf{p}.

Expand: OQPR=(p+r)(rp)=prpp+rrrp\vec{OQ} \cdot \vec{PR} = (\mathbf{p} + \mathbf{r}) \cdot (\mathbf{r} - \mathbf{p}) = \mathbf{p}\cdot\mathbf{r} - \mathbf{p}\cdot\mathbf{p} + \mathbf{r}\cdot\mathbf{r} - \mathbf{r}\cdot\mathbf{p}. Since pr=rp\mathbf{p}\cdot\mathbf{r} = \mathbf{r}\cdot\mathbf{p}, the middle terms cancel, leaving r2p2|\mathbf{r}|^2 - |\mathbf{p}|^2. [1 mark]

In a rhombus all sides are equal, so p=r|\mathbf{p}| = |\mathbf{r}|, giving OQPR=0\vec{OQ} \cdot \vec{PR} = 0. A zero dot product of two nonzero vectors means they are perpendicular, so the diagonals are perpendicular. [1 mark]

SACE 20232 marksCalculator-free. Find the value of tt for which u=3i+tjk\mathbf{u} = 3\mathbf{i} + t\mathbf{j} - \mathbf{k} and v=2i+j+4k\mathbf{v} = 2\mathbf{i} + \mathbf{j} + 4\mathbf{k} are perpendicular.
Show worked answer →

Set the dot product to zero:

uv=(3)(2)+(t)(1)+(1)(4)=6+t4=t+2.\mathbf{u}\cdot\mathbf{v} = (3)(2) + (t)(1) + (-1)(4) = 6 + t - 4 = t + 2.

Perpendicular means t+2=0t + 2 = 0, so t=2t = -2.

Marks: one for the dot product expression, one for solving t=2t = -2.

ExamExplained