Skip to content
M
hscscience Ext 1 · Y12
0/100daily goal
0
0
0 due
0
L1 · 0 XP
KJ
Your weak spots
Insights load after your first practice round.
Module 6 · L13 of 20 ~35 min ⚡ +95 XP available

Dot Product and Angle

Two vectors meet at a point. Before you measure with a protractor, ask: what does $\cos\theta = \dfrac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{a}||\mathbf{b}|}$ tell you? In this lesson you'll use the dot product to find exact angles between vectors, test whether two vectors are perpendicular ($\mathbf{a} \cdot \mathbf{b} = 0$), and confirm parallelism — all without drawing a single diagram.

Today's hook — Two vectors $\mathbf{a} = \begin{pmatrix}3\\4\end{pmatrix}$ and $\mathbf{b} = \begin{pmatrix}4\\3\end{pmatrix}$ look nearly identical. Before looking up the formula, guess: is the angle between them less than, equal to, or greater than 45°?
0/5QUESTS
01
Recall — your gut answer first
+5 XP warm-up

Consider $\mathbf{a} = \begin{pmatrix}3\\4\end{pmatrix}$ and $\mathbf{b} = \begin{pmatrix}4\\3\end{pmatrix}$. Without calculating — is the angle between them acute, right, or obtuse? Write your reasoning.

auto-saved
02
The two moves
+5 XP to read

Every angle-between-vectors question requires two steps: compute the dot product $\mathbf{a} \cdot \mathbf{b}$, then divide by the product of magnitudes and apply $\cos^{-1}$.

The key formula connects the geometric angle $\theta$ (between $0°$ and $180°$) to the algebraic dot product:

$\cos\theta = \dfrac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{a}||\mathbf{b}|}$

When $\mathbf{a} \cdot \mathbf{b} = 0$, the vectors are perpendicular. When $\mathbf{a} = k\mathbf{b}$ for some scalar $k$, they are parallel.

a b θ cosθ = a·b / (|a||b|)
$\theta = \cos^{-1}\!\left(\dfrac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{a}||\mathbf{b}|}\right)$
Range of $\theta$
The formula always gives $\theta \in [0°, 180°]$. A negative dot product means an obtuse angle; zero means perpendicular; positive means acute.
Perpendicularity test
$\mathbf{a} \perp \mathbf{b} \iff \mathbf{a} \cdot \mathbf{b} = 0$. No need to find $\theta$ at all — just check whether the dot product equals zero.
Parallelism test
$\mathbf{a} \parallel \mathbf{b} \iff \mathbf{a} = k\mathbf{b}$ for some scalar $k$, equivalently $\cos\theta = \pm 1$, i.e. $\theta = 0°$ or $180°$.
03
What you'll master
Know

Key facts

  • $\cos\theta = \dfrac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{a}||\mathbf{b}|}$ for vectors $\mathbf{a}$ and $\mathbf{b}$
  • $\mathbf{a} \perp \mathbf{b} \iff \mathbf{a} \cdot \mathbf{b} = 0$
  • $\mathbf{a} \parallel \mathbf{b} \iff \theta = 0°$ or $\theta = 180°$
Understand

Concepts

  • Why the sign of the dot product determines whether the angle is acute, right, or obtuse
  • Why the formula gives $\theta \in [0°, 180°]$ — not the full 360°
  • The geometric meaning of perpendicularity and parallelism in terms of the dot product
Can do

Skills

  • Apply the angle formula to 2D and 3D vectors
  • Test for perpendicularity and parallelism algebraically
  • Find an unknown component given that two vectors are perpendicular
04
Key terms
Angle between vectorsThe angle $\theta$ satisfying $0° \leq \theta \leq 180°$ formed between two vectors placed tail-to-tail.
Dot product formula for angle$\cos\theta = \dfrac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{a}||\mathbf{b}|}$. Rearrange to find $\theta = \cos^{-1}\!\left(\dfrac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{a}||\mathbf{b}|}\right)$.
Perpendicular vectorsTwo vectors are perpendicular (orthogonal) if $\mathbf{a} \cdot \mathbf{b} = 0$, equivalently $\theta = 90°$.
Parallel vectorsTwo vectors are parallel if one is a scalar multiple of the other: $\mathbf{a} = k\mathbf{b}$. Then $\theta = 0°$ ($k > 0$) or $\theta = 180°$ ($k < 0$).
Acute / Obtuse angle$\mathbf{a} \cdot \mathbf{b} > 0 \Rightarrow \theta$ is acute; $\mathbf{a} \cdot \mathbf{b} < 0 \Rightarrow \theta$ is obtuse.
OrthogonalAnother word for perpendicular. Two vectors are orthogonal when their dot product is zero.
05
The angle formula
core concept

From the geometric definition of the dot product, $\mathbf{a} \cdot \mathbf{b} = |\mathbf{a}||\mathbf{b}|\cos\theta$, we can solve for $\theta$:

$$\cos\theta = \frac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{a}||\mathbf{b}|} \qquad \Longrightarrow \qquad \theta = \cos^{-1}\!\left(\frac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{a}||\mathbf{b}|}\right)$$

The sign of $\mathbf{a} \cdot \mathbf{b}$ immediately classifies the angle:

  • $\mathbf{a} \cdot \mathbf{b} > 0$: angle is acute ($0° < \theta < 90°$)
  • $\mathbf{a} \cdot \mathbf{b} = 0$: vectors are perpendicular ($\theta = 90°$)
  • $\mathbf{a} \cdot \mathbf{b} < 0$: angle is obtuse ($90° < \theta < 180°$)

Example: Find the angle between $\mathbf{a} = \begin{pmatrix}3\\4\end{pmatrix}$ and $\mathbf{b} = \begin{pmatrix}4\\3\end{pmatrix}$.

$\mathbf{a} \cdot \mathbf{b} = 3(4) + 4(3) = 24$

$|\mathbf{a}| = \sqrt{9+16} = 5$, $\quad |\mathbf{b}| = \sqrt{16+9} = 5$

$\cos\theta = \dfrac{24}{25} \approx 0.96 \qquad \Rightarrow \qquad \theta \approx 16.3°$

So the angle is acute — and smaller than 45°. Check your estimate from the hero!

Why $[0°, 180°]$? The formula always returns a unique angle because $\cos^{-1}$ has range $[0°, 180°]$. This matches the geometric convention that the angle between two vectors is the one formed when both vectors point away from their common tail.

From the geometric definition of the dot product, $\mathbf{a} \cdot \mathbf{b} = |\mathbf{a}||\mathbf{b}|\cos\theta$, we can solve for $\theta$:

Pause — copy the angle formula $\cos\theta=\frac{\vec{a}\cdot\vec{b}}{|\vec{a}||\vec{b}|}$ with a worked 3D example computing $\theta=\cos^{-1}(\cdots)$ into your book.

Quick check: If $\mathbf{a} \cdot \mathbf{b} = -12$, $|\mathbf{a}| = 3$, and $|\mathbf{b}| = 4$, the angle between the vectors is:

06
Testing for perpendicularity
core concept

We just saw the angle formula: $\cos\theta=\frac{\vec{a}\cdot\vec{b}}{|\vec{a}||\vec{b}|}$, giving the angle $\theta\in[0^\circ,180^\circ]$ between two vectors. That raises a question: the formula gives $\cos\theta=0$ when $\vec{a}\cdot\vec{b}=0$ — is this the only condition for perpendicularity, and can a zero vector be perpendicular to everything? This card answers it → for NON-ZERO vectors, $\vec{a}\perp\vec{b}\iff\vec{a}\cdot\vec{b}=0$; the zero vector is excluded because the formula requires $|\vec{a}|\neq0$.

Two non-zero vectors are perpendicular (orthogonal) if and only if their dot product is zero:

$$\mathbf{a} \perp \mathbf{b} \iff \mathbf{a} \cdot \mathbf{b} = 0$$

This gives a fast algebraic test. If $\mathbf{a} = \begin{pmatrix}a_1\\a_2\end{pmatrix}$ and $\mathbf{b} = \begin{pmatrix}b_1\\b_2\end{pmatrix}$, just compute $a_1 b_1 + a_2 b_2$ and check for zero.

Example: Are $\mathbf{u} = \begin{pmatrix}3\\-2\end{pmatrix}$ and $\mathbf{v} = \begin{pmatrix}4\\6\end{pmatrix}$ perpendicular?

$\mathbf{u} \cdot \mathbf{v} = 3(4) + (-2)(6) = 12 - 12 = 0$ ✓

Yes — the dot product is zero, so $\mathbf{u} \perp \mathbf{v}$.

Finding an unknown component: If $\mathbf{a} = \begin{pmatrix}2\\k\end{pmatrix}$ and $\mathbf{b} = \begin{pmatrix}3\\-4\end{pmatrix}$ are perpendicular, find $k$.

$\mathbf{a} \cdot \mathbf{b} = 2(3) + k(-4) = 6 - 4k = 0 \Rightarrow k = \dfrac{3}{2}$

In 3D: $\mathbf{a} = \begin{pmatrix}a_1\\a_2\\a_3\end{pmatrix} \perp \mathbf{b} = \begin{pmatrix}b_1\\b_2\\b_3\end{pmatrix} \iff a_1 b_1 + a_2 b_2 + a_3 b_3 = 0$. Same rule, one extra term.

Two non-zero vectors are perpendicular (orthogonal) if and only if their dot product is zero:

Pause — copy the perpendicularity test: $\vec{a}\perp\vec{b}\iff\vec{a}\cdot\vec{b}=0$ (for non-zero vectors) with a worked example finding an unknown component that makes two vectors perpendicular into your book.

Did you get this? True or false: the vectors $\mathbf{a} = \begin{pmatrix}5\\-3\end{pmatrix}$ and $\mathbf{b} = \begin{pmatrix}3\\5\end{pmatrix}$ are perpendicular.

PROBLEM 1 · FIND THE ANGLE (2D)

Find the angle between $\mathbf{a} = \begin{pmatrix}1\\2\end{pmatrix}$ and $\mathbf{b} = \begin{pmatrix}3\\1\end{pmatrix}$, giving your answer to the nearest degree.

1
$\mathbf{a} \cdot \mathbf{b} = 1(3) + 2(1) = 5$
Compute the dot product: multiply matching components and add.
PROBLEM 2 · PERPENDICULARITY IN 3D

Show that $\mathbf{p} = \begin{pmatrix}2\\-1\\3\end{pmatrix}$ and $\mathbf{q} = \begin{pmatrix}1\\5\\1\end{pmatrix}$ are perpendicular.

1
$\mathbf{p} \cdot \mathbf{q} = 2(1) + (-1)(5) + 3(1) = 2 - 5 + 3 = 0$
Compute the dot product including all three components.
PROBLEM 3 · FIND UNKNOWN COMPONENT

Find the value of $t$ such that $\mathbf{a} = \begin{pmatrix}t\\4\end{pmatrix}$ and $\mathbf{b} = \begin{pmatrix}2\\-3\end{pmatrix}$ are perpendicular.

1
For perpendicularity: $\mathbf{a} \cdot \mathbf{b} = 0$
State the condition needed.

Fill the gap: For $\mathbf{a} = \begin{pmatrix}3\\4\end{pmatrix}$ and $\mathbf{b} = \begin{pmatrix}-4\\3\end{pmatrix}$, the dot product equals , so the vectors are perpendicular.

Trap 01
Forgetting to divide by both magnitudes
The formula is $\cos\theta = \dfrac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{a}||\mathbf{b}|}$, not just $\mathbf{a} \cdot \mathbf{b}$. Students often compute the dot product and apply $\cos^{-1}$ directly — this only works if both vectors are unit vectors.
Trap 02
Assuming the angle must be acute
The dot product can be negative, giving an obtuse angle. If $\mathbf{a} \cdot \mathbf{b} < 0$, then $\cos\theta < 0$ and $90° < \theta < 180°$. Never "take the absolute value" of the dot product — that discards the correct angle.
Trap 03
Confusing parallelism with equal magnitudes
$\mathbf{a} \parallel \mathbf{b}$ means $\mathbf{a} = k\mathbf{b}$, not $|\mathbf{a}| = |\mathbf{b}|$. Two vectors can have equal magnitudes and not be parallel (e.g. $\begin{pmatrix}3\\4\end{pmatrix}$ and $\begin{pmatrix}4\\3\end{pmatrix}$ both have magnitude 5 but form a 16° angle).

Did you get this? True or false: if $\mathbf{a} \cdot \mathbf{b} < 0$, then the angle between $\mathbf{a}$ and $\mathbf{b}$ is obtuse.

Work mode · how are you completing this lesson?
1

Find the angle between $\mathbf{a} = \begin{pmatrix}0\\1\end{pmatrix}$ and $\mathbf{b} = \begin{pmatrix}1\\1\end{pmatrix}$. Give an exact answer.

2

Determine whether $\mathbf{u} = \begin{pmatrix}2\\3\\-1\end{pmatrix}$ and $\mathbf{v} = \begin{pmatrix}1\\-1\\-1\end{pmatrix}$ are perpendicular.

3

Find $m$ if $\mathbf{a} = \begin{pmatrix}m\\5\end{pmatrix}$ and $\mathbf{b} = \begin{pmatrix}-2\\m\end{pmatrix}$ are perpendicular.

4

Without finding $\theta$, determine whether the angle between $\mathbf{a} = \begin{pmatrix}-1\\2\end{pmatrix}$ and $\mathbf{b} = \begin{pmatrix}3\\1\end{pmatrix}$ is acute, right, or obtuse.

5

Are $\mathbf{p} = \begin{pmatrix}2\\4\\-2\end{pmatrix}$ and $\mathbf{q} = \begin{pmatrix}-1\\-2\\1\end{pmatrix}$ parallel, perpendicular, or neither?

Odd one out: Three of these statements are true. Which one is FALSE?

11
Revisit your thinking

Earlier you estimated whether the angle between $\mathbf{a} = \begin{pmatrix}3\\4\end{pmatrix}$ and $\mathbf{b} = \begin{pmatrix}4\\3\end{pmatrix}$ was less than, equal to, or greater than 45°.

The answer: $\cos\theta = \dfrac{24}{25}$, giving $\theta \approx 16.3°$ — well below 45°. The key insight is that both vectors point broadly in the same direction (both components positive), so they are nearly parallel. The dot product $24$ is large and positive, confirming a small acute angle.

auto-saved
01
Multiple choice
+5 XP per correct · +25 XP all-correct

Pick your answer, then rate your confidence — that tells the system what to drill next. Each retry pulls a fresh mix from the bank.

02
Short answer
ApplyBand 32 marks

Q1. Find the angle between $\mathbf{a} = \begin{pmatrix}2\\0\end{pmatrix}$ and $\mathbf{b} = \begin{pmatrix}1\\\sqrt{3}\end{pmatrix}$. Give an exact answer. (2 marks)

auto-saved
ApplyBand 42 marks

Q2. Find the value of $k$ such that $\mathbf{p} = \begin{pmatrix}k\\3\end{pmatrix}$ and $\mathbf{q} = \begin{pmatrix}6\\-2k\end{pmatrix}$ are perpendicular. (2 marks)

auto-saved
AnalyseBand 53 marks

Q3. Show that the vectors $\mathbf{a} = \begin{pmatrix}3\\-1\\2\end{pmatrix}$ and $\mathbf{b} = \begin{pmatrix}1\\5\\1\end{pmatrix}$ are perpendicular, then find the exact angle between $\mathbf{a}$ and $\mathbf{c} = \begin{pmatrix}1\\0\\-1\end{pmatrix}$. (3 marks)

auto-saved
Comprehensive answers (click to reveal)

Activity answers: 1. $\theta = 45°$  ·  2. $\mathbf{u} \cdot \mathbf{v} = 2-3+1 = 0$, yes perpendicular  ·  3. $-2m + 5m = 0 \Rightarrow 3m = 0 \Rightarrow m = 0$ (also $m^2 - 10 = 0 \Rightarrow m = \pm\sqrt{10}$ if the equation is $-2m + 5m = 0$; check: $-2m+5m=3m=0$, so $m=0$)  ·  4. $\mathbf{a} \cdot \mathbf{b} = -3+2 = -1 < 0$, so obtuse  ·  5. $\mathbf{q} = -\tfrac{1}{2}\mathbf{p}$, so parallel

Q1 (2 marks): $\mathbf{a} \cdot \mathbf{b} = 2(1) + 0(\sqrt{3}) = 2$ [M1]. $|\mathbf{a}| = 2$, $|\mathbf{b}| = \sqrt{1+3} = 2$. $\cos\theta = \dfrac{2}{4} = \dfrac{1}{2}$, so $\theta = 60°$ [A1].

Q2 (2 marks): $\mathbf{p} \cdot \mathbf{q} = 6k + 3(-2k) = 6k - 6k = 0$ [M1] for all values of $k$. So any value of $k$ makes them perpendicular [A1]. (Accept: the dot product simplifies to 0 identically.)

Q3 (3 marks): $\mathbf{a} \cdot \mathbf{b} = 3(1) + (-1)(5) + 2(1) = 3 - 5 + 2 = 0$ [1] $\Rightarrow$ perpendicular. For $\theta$ with $\mathbf{c}$: $\mathbf{a} \cdot \mathbf{c} = 3-0-2 = 1$ [M1]; $|\mathbf{a}| = \sqrt{14}$, $|\mathbf{c}| = \sqrt{2}$; $\cos\theta = \dfrac{1}{\sqrt{28}} = \dfrac{1}{2\sqrt{7}}$, so $\theta = \cos^{-1}\!\left(\dfrac{1}{2\sqrt{7}}\right) \approx 79°$ [A1].

01
Boss battle · The Angle Master
earn bronze · silver · gold

Five timed questions. Beat the boss to bank a tier — gold (90% + speed), silver (75%), or bronze (50%). Replays welcome.

⚔ Enter the arena
02
Science Jump · platform challenge

Climb platforms by answering dot product and angle questions. Lighter alternative to the boss.

Mark lesson as complete

Tick when you've finished the practice and review.

🎓
Want help with Dot Product and Angle?

Work through this topic 1-on-1 with an experienced HSC tutor.

Book a free session →