Skip to content
M
hscscience Ext 2 · Y12
0/100daily goal
0
0
0 due
0
L1 · 0 XP
KJ
Your weak spots
Insights load after your first practice round.
Module 14 · L03 of 12 ~40 min ⚡ +90 XP available

Scalar (Dot) Product in 3D

The dot product is the single most useful operation in 3D vector geometry. With one number — $\mathbf{u} \cdot \mathbf{v}$ — you can test perpendicularity, find the angle between two vectors, project one vector onto another, and compute work in physics. This lesson builds the algebraic formula and the geometric formula side-by-side, then shows you how to switch between them fluently.

Today's hook — Take $\mathbf{u} = (1, 2, 2)$ and $\mathbf{v} = (2, -1, 0)$. Before reading on, predict: is the angle between them acute, right, or obtuse? Then compute $\mathbf{u} \cdot \mathbf{v}$. The sign of the dot product alone answers the question — no cosine needed.
0/5QUESTS
01
Recall — your gut answer first
+5 XP warm-up

From Module 14 L01–L02 you know that the magnitude of a 3D vector $\mathbf{a} = (a_1, a_2, a_3)$ is $|\mathbf{a}| = \sqrt{a_1^2 + a_2^2 + a_3^2}$. Before checking — for $\mathbf{u} = (1, 2, 2)$ and $\mathbf{v} = (2, -1, 0)$, compute $|\mathbf{u}|$, $|\mathbf{v}|$, and then guess what $u_1 v_1 + u_2 v_2 + u_3 v_3$ tells you.

auto-saved
02
The two faces of the dot product
+5 XP to read

The dot product wears two costumes: an algebraic one for computation from components, and a geometric one for angles and projection. Equating the two unlocks every Module 14 dot-product problem.

The component–geometry bridge: (1) compute $\mathbf{u} \cdot \mathbf{v}$ from coordinates, (2) compute $|\mathbf{u}|$ and $|\mathbf{v}|$, (3) solve $\cos\theta = \dfrac{\mathbf{u} \cdot \mathbf{v}}{|\mathbf{u}||\mathbf{v}|}$ for the angle.

Algebraic: $\mathbf{u} \cdot \mathbf{v} = u_1 v_1 + u_2 v_2 + u_3 v_3$  ·  Geometric: $\mathbf{u} \cdot \mathbf{v} = |\mathbf{u}||\mathbf{v}|\cos\theta$

Compute u⋅v Magnitudes |u|, |v| Angle cosθ Sign tells: acute > 0, right = 0, obtuse < 0
$\mathbf{u} \cdot \mathbf{v} = u_1 v_1 + u_2 v_2 + u_3 v_3 = |\mathbf{u}||\mathbf{v}|\cos\theta$
Dot product is a SCALAR
Despite "product" in the name, $\mathbf{u} \cdot \mathbf{v}$ is a single number — not a vector. The result has no direction, only magnitude and sign.
Zero means perpendicular
For non-zero $\mathbf{u}$ and $\mathbf{v}$, $\mathbf{u} \cdot \mathbf{v} = 0$ iff $\theta = 90°$. This is the fastest perpendicularity test in 3D.
Sign reveals the angle
$\mathbf{u} \cdot \mathbf{v} > 0 \Rightarrow$ acute angle. $= 0 \Rightarrow$ right angle. $< 0 \Rightarrow$ obtuse angle. You don't need to compute $\cos\theta$ to classify.
03
What you'll master
Know

Key facts

  • Algebraic formula: $\mathbf{u} \cdot \mathbf{v} = u_1 v_1 + u_2 v_2 + u_3 v_3$
  • Geometric formula: $\mathbf{u} \cdot \mathbf{v} = |\mathbf{u}||\mathbf{v}|\cos\theta$
  • $\mathbf{u} \cdot \mathbf{u} = |\mathbf{u}|^2$
  • Perpendicularity test: $\mathbf{u} \perp \mathbf{v} \iff \mathbf{u} \cdot \mathbf{v} = 0$ (for non-zero vectors)
Understand

Concepts

  • Why the algebraic and geometric formulas describe the same quantity
  • Why the dot product is commutative ($\mathbf{u} \cdot \mathbf{v} = \mathbf{v} \cdot \mathbf{u}$) and distributive over addition
  • Why the sign of $\mathbf{u} \cdot \mathbf{v}$ classifies the angle without further work
Can do

Skills

  • Compute the dot product of two 3D vectors from components
  • Find the angle between two vectors using the cosine formula
  • Test whether two vectors are perpendicular
04
Key terms
Scalar (dot) productThe scalar $\mathbf{u} \cdot \mathbf{v} = u_1 v_1 + u_2 v_2 + u_3 v_3$. Result is a real number, not a vector.
Angle between vectors ($\theta$)The angle $\theta \in [0, \pi]$ between $\mathbf{u}$ and $\mathbf{v}$ when placed tail-to-tail. Given by $\cos\theta = (\mathbf{u} \cdot \mathbf{v}) / (|\mathbf{u}||\mathbf{v}|)$.
Commutative property$\mathbf{u} \cdot \mathbf{v} = \mathbf{v} \cdot \mathbf{u}$. Order of dot product does not matter.
Distributive property$\mathbf{u} \cdot (\mathbf{v} + \mathbf{w}) = \mathbf{u} \cdot \mathbf{v} + \mathbf{u} \cdot \mathbf{w}$. Dot product distributes over vector addition.
Perpendicularity conditionFor non-zero vectors, $\mathbf{u} \perp \mathbf{v} \iff \mathbf{u} \cdot \mathbf{v} = 0$. The single equation captures the right-angle condition.
Magnitude from dot product$\mathbf{u} \cdot \mathbf{u} = u_1^2 + u_2^2 + u_3^2 = |\mathbf{u}|^2$. So $|\mathbf{u}| = \sqrt{\mathbf{u} \cdot \mathbf{u}}$.
MEX-V1NESA outcome (Further Work with Vectors): uses the scalar product in three dimensions to determine the magnitude of a vector, the angle between two vectors and to test perpendicularity.
05
The dot product — algebra and geometry
core concept

Given two 3D vectors $\mathbf{u} = (u_1, u_2, u_3)$ and $\mathbf{v} = (v_1, v_2, v_3)$, the scalar (dot) product is defined by either equivalent formula:

$$\mathbf{u} \cdot \mathbf{v} \;=\; u_1 v_1 + u_2 v_2 + u_3 v_3 \;=\; |\mathbf{u}||\mathbf{v}|\cos\theta$$

The algebraic form is for computing; the geometric form is for interpreting. Three immediate consequences:

  1. Self-product gives squared magnitude: $\mathbf{u} \cdot \mathbf{u} = u_1^2 + u_2^2 + u_3^2 = |\mathbf{u}|^2$.
  2. Angle formula: $\cos\theta = \dfrac{\mathbf{u} \cdot \mathbf{v}}{|\mathbf{u}||\mathbf{v}|}$ — rearranged from the geometric form.
  3. Perpendicularity test: non-zero $\mathbf{u}, \mathbf{v}$ are perpendicular iff $\mathbf{u} \cdot \mathbf{v} = 0$ (because $\cos 90° = 0$).

Properties (for any vectors $\mathbf{u}, \mathbf{v}, \mathbf{w}$ and scalar $k$):

  • Commutative: $\mathbf{u} \cdot \mathbf{v} = \mathbf{v} \cdot \mathbf{u}$
  • Distributive: $\mathbf{u} \cdot (\mathbf{v} + \mathbf{w}) = \mathbf{u} \cdot \mathbf{v} + \mathbf{u} \cdot \mathbf{w}$
  • Scalar multiple: $(k\mathbf{u}) \cdot \mathbf{v} = k(\mathbf{u} \cdot \mathbf{v}) = \mathbf{u} \cdot (k\mathbf{v})$
  • Positive definiteness: $\mathbf{u} \cdot \mathbf{u} \geq 0$, with equality iff $\mathbf{u} = \mathbf{0}$
Connecting to the hook. For $\mathbf{u} = (1, 2, 2)$ and $\mathbf{v} = (2, -1, 0)$: $\mathbf{u} \cdot \mathbf{v} = (1)(2) + (2)(-1) + (2)(0) = 2 - 2 + 0 = 0$. So $\mathbf{u} \perp \mathbf{v}$ — no further computation needed.

Definition: $\mathbf{u} \cdot \mathbf{v} = u_1 v_1 + u_2 v_2 + u_3 v_3 = |\mathbf{u}||\mathbf{v}|\cos\theta$ · Result is a scalar (number), not a vector · $\mathbf{u} \cdot \mathbf{u} = |\mathbf{u}|^2$ · Properties: commutative, distributive, $(k\mathbf{u}) \cdot \mathbf{v} = k(\mathbf{u} \cdot \mathbf{v})$

Pause — copy the dot product definition $\mathbf{u}\cdot\mathbf{v} = \sum u_i v_i = |\mathbf{u}||\mathbf{v}|\cos\theta$, the scalar-result reminder, and the properties (commutative, distributive) into your book.

Quick check: Let $\mathbf{u} = (3, -1, 2)$ and $\mathbf{v} = (1, 4, -1)$. What is $\mathbf{u} \cdot \mathbf{v}$?

06
Finding the angle between vectors
core concept

We just saw the dot product: $\mathbf{u}\cdot\mathbf{v} = u_1 v_1+u_2 v_2+u_3 v_3 = |\mathbf{u}||\mathbf{v}|\cos\theta$, a scalar with $\mathbf{u}\cdot\mathbf{u} = |\mathbf{u}|^2$. That raises a question: how do we use this to find the actual angle between two vectors? This card answers it → $\cos\theta = (\mathbf{u}\cdot\mathbf{v})/(|\mathbf{u}||\mathbf{v}|)$ with $\theta \in [0°,180°]$; the sign of the dot product classifies the angle as acute, right, or obtuse.

Combining the two formulas gives a direct expression for the angle:

$$\cos\theta \;=\; \dfrac{\mathbf{u} \cdot \mathbf{v}}{|\mathbf{u}|\,|\mathbf{v}|} \qquad \theta \in [0°, 180°]$$

The procedure is always three steps:

  1. Compute $\mathbf{u} \cdot \mathbf{v}$ using components.
  2. Compute $|\mathbf{u}|$ and $|\mathbf{v}|$ using $\sqrt{u_1^2 + u_2^2 + u_3^2}$.
  3. Substitute and take $\cos^{-1}$ to find $\theta$.

Classification by sign — read it off the dot product alone:

  • $\mathbf{u} \cdot \mathbf{v} > 0$: $\cos\theta > 0$, so $\theta \in [0°, 90°)$ — acute.
  • $\mathbf{u} \cdot \mathbf{v} = 0$: $\cos\theta = 0$, so $\theta = 90°$ — right angle.
  • $\mathbf{u} \cdot \mathbf{v} < 0$: $\cos\theta < 0$, so $\theta \in (90°, 180°]$ — obtuse.
Common mistake. Don't forget the magnitudes in the denominator. A common error is to compute $\cos\theta = \mathbf{u} \cdot \mathbf{v}$ directly. That only works when $\mathbf{u}$ and $\mathbf{v}$ are unit vectors.

Angle formula: $\cos\theta = \dfrac{\mathbf{u} \cdot \mathbf{v}}{|\mathbf{u}||\mathbf{v}|}$ · $\theta \in [0°, 180°]$ — always take the non-negative angle · Sign of dot product classifies: positive = acute, zero = right, negative = obtuse · Use unit vectors to skip the denominator: if $|\hat{\mathbf{u}}| = |\hat{\mathbf{v}}| = 1$ then $\cos\theta = \hat{\mathbf{u}} \cdot \hat{\mathbf{v}}$

Pause — copy the angle formula $\cos\theta = (\mathbf{u}\cdot\mathbf{v})/(|\mathbf{u}||\mathbf{v}|)$, the range $\theta \in [0°,180°]$, the sign classification (positive → acute, zero → right, negative → obtuse), and the unit-vector shortcut into your book.

Did you get this? True or false: if $\mathbf{u} \cdot \mathbf{v} = -5$ and both vectors are non-zero, then the angle between $\mathbf{u}$ and $\mathbf{v}$ is obtuse.

PROBLEM 1 · COMPUTING THE DOT PRODUCT

For $\mathbf{u} = (2, -3, 4)$ and $\mathbf{v} = (-1, 5, 2)$, compute $\mathbf{u} \cdot \mathbf{v}$ and state whether the angle between them is acute, right, or obtuse.

1
Apply the algebraic formula: $\mathbf{u} \cdot \mathbf{v} = u_1 v_1 + u_2 v_2 + u_3 v_3 = (2)(-1) + (-3)(5) + (4)(2)$.
Write the formula first, then substitute components in order. This avoids sign slips when one or more components are negative.
PROBLEM 2 · ANGLE BETWEEN TWO VECTORS

Find the angle (to the nearest degree) between $\mathbf{a} = (1, 2, 2)$ and $\mathbf{b} = (3, 0, 4)$.

1
Dot product: $\mathbf{a} \cdot \mathbf{b} = (1)(3) + (2)(0) + (2)(4) = 3 + 0 + 8 = 11$.
Always compute the numerator before the magnitudes — if it is zero, you have a right angle and can stop.
PROBLEM 3 · PERPENDICULARITY AND AN UNKNOWN

Find the value of $k$ for which $\mathbf{u} = (2, k, -1)$ and $\mathbf{v} = (3, -2, 4)$ are perpendicular.

1
Perpendicularity condition: $\mathbf{u} \perp \mathbf{v} \iff \mathbf{u} \cdot \mathbf{v} = 0$ (both vectors are non-zero).
Translate "perpendicular" straight into the algebraic condition $\mathbf{u} \cdot \mathbf{v} = 0$. This converts a geometric requirement into a single equation in $k$.

Fill the gap: The angle between two non-zero vectors satisfies $\cos\theta = $ $ / (|\mathbf{u}|\,|\mathbf{v}|)$, and the vectors are perpendicular exactly when $\mathbf{u} \cdot \mathbf{v} = $ .

Trap 01
Treating the dot product as a vector
$\mathbf{u} \cdot \mathbf{v}$ is a scalar — a single number. Writing it as a vector triple $(u_1 v_1, u_2 v_2, u_3 v_3)$ is wrong; that componentwise product is not the dot product. The dot product is the SUM of those components.
Trap 02
Forgetting the magnitudes when finding angles
$\cos\theta = \mathbf{u} \cdot \mathbf{v} / (|\mathbf{u}||\mathbf{v}|)$, NOT $\cos\theta = \mathbf{u} \cdot \mathbf{v}$. The shortcut only works for unit vectors. Always divide by the product of magnitudes.
Trap 03
Confusing parallel with perpendicular
$\mathbf{u} \cdot \mathbf{v} = 0$ means perpendicular ($\theta = 90°$). Parallel vectors have $\mathbf{u} \cdot \mathbf{v} = \pm|\mathbf{u}||\mathbf{v}|$ (the maximum or minimum value). Don't confuse "dot product is zero" with "vectors are zero" or with "vectors are parallel".

Did you get this? True or false: the dot product $\mathbf{u} \cdot \mathbf{v}$ of two 3D vectors produces another 3D vector.

Work mode · how are you completing this lesson?
1

Compute $\mathbf{u} \cdot \mathbf{v}$ for $\mathbf{u} = (4, -2, 1)$ and $\mathbf{v} = (3, 5, -2)$. State whether the angle is acute, right, or obtuse.

2

Find the angle (to the nearest degree) between $\mathbf{a} = (2, 1, -2)$ and $\mathbf{b} = (1, 2, 2)$.

3

For what value(s) of $\lambda$ are $\mathbf{p} = (\lambda, 2, -3)$ and $\mathbf{q} = (4, -1, \lambda)$ perpendicular?

4

If $\mathbf{u} \cdot \mathbf{v} = 6$, $|\mathbf{u}| = 4$, and $|\mathbf{v}| = 3$, find $\cos\theta$ and $\theta$.

5

Prove that $\mathbf{u} \cdot \mathbf{u} = |\mathbf{u}|^2$ for any 3D vector $\mathbf{u} = (u_1, u_2, u_3)$.

Odd one out: Three of these statements about the dot product are always true. Which one is NOT?

11
Revisit your thinking

Earlier you analysed $\mathbf{u} = (1, 2, 2)$ and $\mathbf{v} = (2, -1, 0)$ — predicting the angle and computing the component sum.

The dot product $\mathbf{u} \cdot \mathbf{v} = 2 - 2 + 0 = 0$ shows the vectors are perpendicular — no cosine or magnitude calculation is needed. This is the central insight of the lesson: the dot product converts a geometric question ("what is the angle?") into an algebraic one ("what is this sum?"). Recognising the sign — positive, zero, or negative — instantly classifies the angle, even before you reach for $\cos^{-1}$.

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. Given $\mathbf{u} = (1, -2, 3)$ and $\mathbf{v} = (4, 1, -2)$, compute $\mathbf{u} \cdot \mathbf{v}$ and state whether the angle between them is acute, right, or obtuse. (2 marks)

auto-saved
ApplyBand 43 marks

Q2. Find the angle, to the nearest degree, between $\mathbf{a} = (3, 4, 0)$ and $\mathbf{b} = (1, 0, 2)$. (3 marks)

auto-saved
AnalyseBand 53 marks

Q3. The vectors $\mathbf{u} = (m, 2, -1)$ and $\mathbf{v} = (3, m, 4)$ are perpendicular. (a) Find $m$. (b) For your value of $m$, compute $|\mathbf{u}|$ and $|\mathbf{v}|$ to verify the dot product is zero. (3 marks)

auto-saved
Comprehensive answers (click to reveal)

Activity answers:

1. $\mathbf{u} \cdot \mathbf{v} = (4)(3) + (-2)(5) + (1)(-2) = 12 - 10 - 2 = 0$. The vectors are perpendicular (right angle).

2. $\mathbf{a} \cdot \mathbf{b} = 2 + 2 - 4 = 0$. $|\mathbf{a}| = \sqrt{4+1+4} = 3$ and $|\mathbf{b}| = \sqrt{1+4+4} = 3$. Since the dot product is 0, $\theta = 90°$.

3. $\mathbf{p} \cdot \mathbf{q} = 4\lambda - 2 - 3\lambda = \lambda - 2$. Setting to 0 gives $\lambda = 2$.

4. $\cos\theta = 6 / (4 \cdot 3) = 1/2$, so $\theta = 60°$.

5. $\mathbf{u} \cdot \mathbf{u} = u_1^2 + u_2^2 + u_3^2$, which is precisely $|\mathbf{u}|^2$ by definition of magnitude. (Geometrically: $\mathbf{u} \cdot \mathbf{u} = |\mathbf{u}|^2 \cos 0° = |\mathbf{u}|^2$.)

Q1 (2 marks): $\mathbf{u} \cdot \mathbf{v} = (1)(4) + (-2)(1) + (3)(-2) = 4 - 2 - 6 = -4$ [1]. Negative, so the angle is obtuse [1].

Q2 (3 marks): $\mathbf{a} \cdot \mathbf{b} = (3)(1) + (4)(0) + (0)(2) = 3$ [1]. $|\mathbf{a}| = \sqrt{9 + 16} = 5$, $|\mathbf{b}| = \sqrt{1 + 4} = \sqrt{5}$ [1]. $\cos\theta = 3/(5\sqrt{5}) = 3\sqrt{5}/25 \approx 0.2683$, so $\theta \approx 75°$ [1].

Q3 (3 marks): (a) $\mathbf{u} \cdot \mathbf{v} = 3m + 2m - 4 = 5m - 4 = 0 \Rightarrow m = 4/5$ [1]. (b) $|\mathbf{u}| = \sqrt{(4/5)^2 + 4 + 1} = \sqrt{141}/5$ [1]; $|\mathbf{v}| = \sqrt{9 + 16/25 + 16} = \sqrt{641}/5$ [1]. Verification: $\mathbf{u} \cdot \mathbf{v} = 12/5 + 8/5 - 4 = 20/5 - 4 = 0$ ✓.

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

Five timed questions on dot products, angles, and perpendicularity in 3D. 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 quick dot-product questions. Lighter alternative to the boss.

Mark lesson as complete

Tick when you've finished the practice and review.

🎓
Want help with Scalar (Dot) Product in 3D?

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

Book a free session →