3.13 · AHL · HL onlyPaper 1Paper 2

Scalar product and angles

Builds on 3.12 Vectors in 2D and 3D21 min read

In a minute

The v⋅w\boldsymbol{v} \cdot \boldsymbol{w} turns two vectors into one number: multiply matching components and add. That number also equals ∣v∣∣w∣cos⁡θ\lvert\boldsymbol{v}\rvert\lvert\boldsymbol{w}\rvert\cos\theta, so it gives you the angle between the vectors. A scalar product of 00 tells you they are perpendicular.

You'll be able to

  • Calculate a from column vectors or from i\boldsymbol{i}, j\boldsymbol{j}, k\boldsymbol{k} form.
  • Expand and simplify using their rules, including v⋅v=∣v∣2\boldsymbol{v} \cdot \boldsymbol{v} = \lvert\boldsymbol{v}\rvert^{2}.
  • Find the angle between two vectors, exactly or to 3 s.f., including an angle in a triangle.
  • Use a zero scalar product to show two vectors are perpendicular or to find an unknown.
  • Recognise parallel vectors from ∣v⋅w∣=∣v∣∣w∣\lvert \boldsymbol{v} \cdot \boldsymbol{w} \rvert = \lvert\boldsymbol{v}\rvert\lvert\boldsymbol{w}\rvert.
Before you start3 quick questions on what this builds on
Check yourself
Find ∣u∣\lvert\boldsymbol{u}\rvert for u=(2−63)\boldsymbol{u} = \begin{pmatrix}2\\-6\\3\end{pmatrix}.
Check yourself
A is (1,4,−2)(1, 4, -2) and B is (3,−1,5)(3, -1, 5). Find AB→\overrightarrow{AB}.
Check yourself
Which vector is parallel to (2−13)\begin{pmatrix}2\\-1\\3\end{pmatrix}?

Revise first: 3.12 Vectors in 2D and 3D

The scalar product

In 3.12 you added vectors and multiplied them by numbers. Now you multiply two vectors together. The does this in the simplest way: multiply matching components, then add.

For example, (25)⋅(3−1)=2×3+5×(−1)=1\begin{pmatrix}2\\5\end{pmatrix} \cdot \begin{pmatrix}3\\-1\end{pmatrix} = 2 \times 3 + 5 \times (-1) = 1. The answer is a single number, a scalar, not a vector. That is where the name comes from.

In the formula booklet
v⋅w=v1w1+v2w2+v3w3, where v=(v1v2v3),  w=(w1w2w3)\boldsymbol{v} \cdot \boldsymbol{w} = v_{1}w_{1} + v_{2}w_{2} + v_{3}w_{3}, \text{ where } \boldsymbol{v} = \begin{pmatrix}v_{1}\\v_{2}\\v_{3}\end{pmatrix}, \; \boldsymbol{w} = \begin{pmatrix}w_{1}\\w_{2}\\w_{3}\end{pmatrix}

This is in the formula booklet, so you don't need to memorise it. In 2D there is no third component, so v⋅w=v1w1+v2w2\boldsymbol{v} \cdot \boldsymbol{w} = v_{1}w_{1} + v_{2}w_{2}.

Vectors in i\boldsymbol{i}, j\boldsymbol{j}, k\boldsymbol{k} form work the same way, because the coefficients are the components. So (2i+k)⋅(3i−j)(2\boldsymbol{i} + \boldsymbol{k}) \cdot (3\boldsymbol{i} - \boldsymbol{j}) uses (201)\begin{pmatrix}2\\0\\1\end{pmatrix} and (3−10)\begin{pmatrix}3\\-1\\0\end{pmatrix}, and equals 6+0+0=66 + 0 + 0 = 6.

Worked exampleFind v⋅w\boldsymbol{v} \cdot \boldsymbol{w} for v=(3−25)\boldsymbol{v} = \begin{pmatrix}3\\-2\\5\end{pmatrix} and w=(46−1)\boldsymbol{w} = \begin{pmatrix}4\\6\\-1\end{pmatrix}.

Try it first, then reveal one step at a time.

  1. Pair up the components: first with first, second with second, third with third.
Check yourself
Find (2i−3j+k)⋅(−4i−2j+6k)(2\boldsymbol{i} - 3\boldsymbol{j} + \boldsymbol{k}) \cdot (-4\boldsymbol{i} - 2\boldsymbol{j} + 6\boldsymbol{k}).
Worked exampleThe vectors a=(p3−2)\boldsymbol{a} = \begin{pmatrix}p\\3\\-2\end{pmatrix} and b=(4−1p)\boldsymbol{b} = \begin{pmatrix}4\\-1\\p\end{pmatrix} satisfy a⋅b=7\boldsymbol{a} \cdot \boldsymbol{b} = 7. Find pp.

Try it first, then reveal one step at a time.

  1. Write the scalar product in terms of pp: a⋅b=4p+3×(−1)+(−2)×p\boldsymbol{a} \cdot \boldsymbol{b} = 4p + 3 \times (-1) + (-2) \times p.
Check yourself
Find u⋅w\boldsymbol{u} \cdot \boldsymbol{w} for u=(1−4)\boldsymbol{u} = \begin{pmatrix}1\\-4\end{pmatrix} and w=(−32)\boldsymbol{w} = \begin{pmatrix}-3\\2\end{pmatrix}.

Rules for scalar products

follow rules that look like ordinary multiplication. They let you expand brackets of vectors without knowing any components.

1. Order doesn't matter: v⋅w=w⋅v\boldsymbol{v} \cdot \boldsymbol{w} = \boldsymbol{w} \cdot \boldsymbol{v}. This is called being commutative.

2. You can expand brackets: u⋅(v+w)=u⋅v+u⋅w\boldsymbol{u} \cdot (\boldsymbol{v} + \boldsymbol{w}) = \boldsymbol{u} \cdot \boldsymbol{v} + \boldsymbol{u} \cdot \boldsymbol{w}.

3. A scalar moves to the front: (kv)⋅w=k(v⋅w)(k\boldsymbol{v}) \cdot \boldsymbol{w} = k(\boldsymbol{v} \cdot \boldsymbol{w}).

4. A vector dotted with itself gives its length squared: v⋅v=∣v∣2\boldsymbol{v} \cdot \boldsymbol{v} = \lvert\boldsymbol{v}\rvert^{2}.

Rules 1 to 3 hold because each component works like ordinary multiplication of numbers. For example, v1w1=w1v1v_{1}w_{1} = w_{1}v_{1} for every pair, so the two sums are equal.

Worked exampleGiven ∣a∣=3\lvert\boldsymbol{a}\rvert = 3, ∣b∣=5\lvert\boldsymbol{b}\rvert = 5 and a⋅b=−4\boldsymbol{a} \cdot \boldsymbol{b} = -4, find (2a+b)⋅(a−3b)(2\boldsymbol{a} + \boldsymbol{b}) \cdot (\boldsymbol{a} - 3\boldsymbol{b}).

Try it first, then reveal one step at a time.

  1. Expand like two brackets, using rules 2 and 3: 2a⋅a−6a⋅b+b⋅a−3b⋅b2\boldsymbol{a} \cdot \boldsymbol{a} - 6\boldsymbol{a} \cdot \boldsymbol{b} + \boldsymbol{b} \cdot \boldsymbol{a} - 3\boldsymbol{b} \cdot \boldsymbol{b}.
Check yourself
Given ∣u∣=2\lvert\boldsymbol{u}\rvert = 2 and u⋅v=3\boldsymbol{u} \cdot \boldsymbol{v} = 3, find u⋅(4u−v)\boldsymbol{u} \cdot (4\boldsymbol{u} - \boldsymbol{v}).

Rule 4 also turns a length into a scalar product. To work with ∣a−b∣\lvert \boldsymbol{a} - \boldsymbol{b} \rvert, square it and expand.

Worked exampleGiven ∣a∣=4\lvert\boldsymbol{a}\rvert = 4, ∣b∣=7\lvert\boldsymbol{b}\rvert = 7 and ∣a−b∣=9\lvert \boldsymbol{a} - \boldsymbol{b} \rvert = 9, find a⋅b\boldsymbol{a} \cdot \boldsymbol{b}.

Try it first, then reveal one step at a time.

  1. Square the length you know and use rule 4: ∣a−b∣2=(a−b)⋅(a−b)\lvert \boldsymbol{a} - \boldsymbol{b} \rvert^{2} = (\boldsymbol{a} - \boldsymbol{b}) \cdot (\boldsymbol{a} - \boldsymbol{b}).
Check yourself
Given ∣p∣=6\lvert\boldsymbol{p}\rvert = 6, ∣q∣=2\lvert\boldsymbol{q}\rvert = 2 and p⋅q=5\boldsymbol{p} \cdot \boldsymbol{q} = 5, find ∣p−q∣\lvert \boldsymbol{p} - \boldsymbol{q} \rvert.

The angle between two vectors

The also measures how much two vectors point the same way. It is large and positive when they point roughly together. It is negative when they point roughly apart.

The angle θ\theta between v\boldsymbol{v} and w\boldsymbol{w} is measured with both vectors drawn from the same point, tail to tail. It is always from 0∘0^{\circ} to 180∘180^{\circ}, or 00 to π\pi in radians.

Two arrows v and w start from the same point O with the angle theta between them. A third side, v minus w, joins the tip of w to the tip of v. v w v − w θ O
The sides of the triangle are ∣v∣\lvert\boldsymbol{v}\rvert, ∣w∣\lvert\boldsymbol{w}\rvert and ∣v−w∣\lvert \boldsymbol{v} - \boldsymbol{w} \rvert, with θ\theta between the first two.

Apply the from 3.2 to this triangle: ∣v−w∣2=∣v∣2+∣w∣2−2∣v∣∣w∣cos⁡θ\lvert \boldsymbol{v} - \boldsymbol{w} \rvert^{2} = \lvert\boldsymbol{v}\rvert^{2} + \lvert\boldsymbol{w}\rvert^{2} - 2\lvert\boldsymbol{v}\rvert\lvert\boldsymbol{w}\rvert\cos\theta.

Expanding with the rules instead gives ∣v−w∣2=∣v∣2+∣w∣2−2v⋅w\lvert \boldsymbol{v} - \boldsymbol{w} \rvert^{2} = \lvert\boldsymbol{v}\rvert^{2} + \lvert\boldsymbol{w}\rvert^{2} - 2\boldsymbol{v} \cdot \boldsymbol{w}. Compare the two lines: the last terms must be equal.

In the formula booklet
v⋅w=∣v∣∣w∣cos⁡θ, where θ is the angle between v and w\boldsymbol{v} \cdot \boldsymbol{w} = \lvert\boldsymbol{v}\rvert\lvert\boldsymbol{w}\rvert\cos\theta, \text{ where } \theta \text{ is the angle between } \boldsymbol{v} \text{ and } \boldsymbol{w}

Rearrange for cos⁡θ\cos\theta and write the scalar product in components. That gives the second booklet formula:

In the formula booklet
cos⁡θ=v1w1+v2w2+v3w3∣v∣∣w∣\cos\theta = \frac{v_{1}w_{1} + v_{2}w_{2} + v_{3}w_{3}}{\lvert\boldsymbol{v}\rvert\lvert\boldsymbol{w}\rvert}

Both formulas are in the booklet. The magnitudes are positive, so the sign of v⋅w\boldsymbol{v} \cdot \boldsymbol{w} tells you the type of angle at once. Positive means acute, zero means a right angle, and negative means obtuse.

Drag the tips of a\boldsymbol{a} and b\boldsymbol{b}. Watch a⋅b\boldsymbol{a} \cdot \boldsymbol{b} and cos⁡θ\cos\theta change sign as θ\theta passes 90∘90^{\circ}. Try b=(4−3)\boldsymbol{b} = \begin{pmatrix}4\\-3\end{pmatrix} with a=(34)\boldsymbol{a} = \begin{pmatrix}3\\4\end{pmatrix}.

The angle between two vectorsDrag the tips or use the sliders
−6−4−2246−6−4−2246aba (drag tip)b (drag tip)
3
4
4
1

a·b = 3 × 4 + 4 × 1 = 16.00

|a| = 5.000, |b| = 4.123

cos θ = 0.7761

a·b = 16.00, θ = 39.1°

The scalar product a·b = a₁b₁ + a₂b₂ = |a||b| cos θ, so cos θ = a·b / (|a||b|). The vectors are perpendicular exactly when a·b = 0.
Worked exampleFind the exact angle, in degrees, between v=(2−12)\boldsymbol{v} = \begin{pmatrix}2\\-1\\2\end{pmatrix} and w=(114)\boldsymbol{w} = \begin{pmatrix}1\\1\\4\end{pmatrix}.

Try it first, then reveal one step at a time.

  1. Scalar product: v⋅w=2−1+8=9\boldsymbol{v} \cdot \boldsymbol{w} = 2 - 1 + 8 = 9.
Check yourself
Find cos⁡θ\cos\theta, where θ\theta is the angle between (3−1)\begin{pmatrix}3\\-1\end{pmatrix} and (24)\begin{pmatrix}2\\4\end{pmatrix}.

For an angle inside a triangle, use the two vectors that start at that corner. For the angle at B, use BA→\overrightarrow{BA} and BC→\overrightarrow{BC}, both leaving B.

Worked exampleThe points A(2,−1,3)\mathrm{A}(2, -1, 3), B(5,1,−2)\mathrm{B}(5, 1, -2) and C(−1,4,0)\mathrm{C}(-1, 4, 0) form a triangle. Use your calculator to find the size of angle ABC in degrees. Give your answer to 3 s.f.

Try it first, then reveal one step at a time.

  1. Let a\boldsymbol{a}, b\boldsymbol{b} and c\boldsymbol{c} be the position vectors of A, B and C. Both vectors must leave B: BA→=a−b=(−3−25)\overrightarrow{BA} = \boldsymbol{a} - \boldsymbol{b} = \begin{pmatrix}-3\\-2\\5\end{pmatrix} and BC→=c−b=(−632)\overrightarrow{BC} = \boldsymbol{c} - \boldsymbol{b} = \begin{pmatrix}-6\\3\\2\end{pmatrix}.
Check yourself
Find the angle between p=4i−3k\boldsymbol{p} = 4\boldsymbol{i} - 3\boldsymbol{k} and q=i+2j+2k\boldsymbol{q} = \boldsymbol{i} + 2\boldsymbol{j} + 2\boldsymbol{k}, in degrees. Give your answer to 3 s.f.

Perpendicular and parallel vectors

When θ=90∘\theta = 90^{\circ}, cos⁡θ=0\cos\theta = 0, so v⋅w=0\boldsymbol{v} \cdot \boldsymbol{w} = 0. The reverse is true as well, as long as neither vector is the zero vector.

The zero vector is why non-zero matters. 0⋅w=0\boldsymbol{0} \cdot \boldsymbol{w} = 0 for every w\boldsymbol{w}, but the zero vector has no direction, so it can't be perpendicular to anything.

Worked exampleFind the values of kk for which (k21)\begin{pmatrix}k\\2\\1\end{pmatrix} and (kk−8)\begin{pmatrix}k\\k\\-8\end{pmatrix} are perpendicular.

Try it first, then reveal one step at a time.

  1. Perpendicular means the is 00: k×k+2×k+1×(−8)=0k \times k + 2 \times k + 1 \times (-8) = 0.
Check yourself
The vectors (2m−3)\begin{pmatrix}2\\m\\-3\end{pmatrix} and (m54)\begin{pmatrix}m\\5\\4\end{pmatrix} are perpendicular. Find mm.

Parallel vectors point the same way, with θ=0∘\theta = 0^{\circ}, or opposite ways, with θ=180∘\theta = 180^{\circ}. So cos⁡θ\cos\theta is 11 or −1-1.

For any other angle, ∣cos⁡θ∣<1\lvert\cos\theta\rvert < 1, so ∣v⋅w∣\lvert \boldsymbol{v} \cdot \boldsymbol{w} \rvert is less than ∣v∣∣w∣\lvert\boldsymbol{v}\rvert\lvert\boldsymbol{w}\rvert. When the two are equal, the sign of v⋅w\boldsymbol{v} \cdot \boldsymbol{w} tells you the direction: positive for the same way, negative for opposite ways.

Check yourself
Find the angle between v=(2−46)\boldsymbol{v} = \begin{pmatrix}2\\-4\\6\end{pmatrix} and w=(−36−9)\boldsymbol{w} = \begin{pmatrix}-3\\6\\-9\end{pmatrix}.

The rules and the zero test combine in proofs. You work with letters, not components.

Rhombus OABC with OA equal to a and OC equal to b. The diagonal OB is a plus b and the diagonal CA is a minus b. They cross at a right angle. O A B C a b a + b a − b
In a rhombus ∣a∣=∣b∣\lvert\boldsymbol{a}\rvert = \lvert\boldsymbol{b}\rvert. The diagonals are a+b\boldsymbol{a} + \boldsymbol{b} and a−b\boldsymbol{a} - \boldsymbol{b}.
Worked exampleOABC is a rhombus with OA→=a\overrightarrow{OA} = \boldsymbol{a} and OC→=b\overrightarrow{OC} = \boldsymbol{b}, so ∣a∣=∣b∣\lvert\boldsymbol{a}\rvert = \lvert\boldsymbol{b}\rvert. Use the scalar product to show that the diagonals OB→\overrightarrow{OB} and CA→\overrightarrow{CA} are perpendicular.

Try it first, then reveal one step at a time.

  1. Write the diagonals in terms of a\boldsymbol{a} and b\boldsymbol{b}. Since AB→=OC→\overrightarrow{AB} = \overrightarrow{OC}, OB→=a+b\overrightarrow{OB} = \boldsymbol{a} + \boldsymbol{b}. Also CA→=a−b\overrightarrow{CA} = \boldsymbol{a} - \boldsymbol{b}.

Common mistakes

  • Writing a⋅b=cos⁡θ\boldsymbol{a} \cdot \boldsymbol{b} = \cos\theta and leaving out the magnitudes. The rule is a⋅b=∣a∣∣b∣cos⁡θ\boldsymbol{a} \cdot \boldsymbol{b} = \lvert\boldsymbol{a}\rvert\lvert\boldsymbol{b}\rvert\cos\theta, so put both lengths in before you solve.
  • Replacing b⋅b\boldsymbol{b} \cdot \boldsymbol{b} with ∣b∣\lvert\boldsymbol{b}\rvert. It is ∣b∣2\lvert\boldsymbol{b}\rvert^{2}, so square the length.
  • Losing a minus sign when multiplying components, such as (−3)×(−2)(-3) \times (-2) or 4×(−5)4 \times (-5). Write each product with its sign before you add.
  • Setting two scalar products equal because two angles are equal. The vectors usually have different lengths, so set the two values of cos⁡θ\cos\theta equal instead, magnitudes included.
  • Finding an angle in radian mode when the question wants degrees. Set the mode before you use cos⁡−1\cos^{-1}.
  • Finding the angle at B from AB→\overrightarrow{AB} and BC→\overrightarrow{BC}. That gives 180∘180^{\circ} minus the angle, so use two vectors that leave B.

Exam tips

  • “Find” the angle: write cos⁡θ\cos\theta with your numbers substituted before you give the angle. That line earns the method mark, even if a later step slips.
  • “Show that” two vectors are perpendicular: work out the scalar product, show it equals 00, and finish with a sentence such as “so the vectors are perpendicular”.
  • In a proof with letters, name each rule you use, such as “the scalar product is commutative”. A cancellation with no reason can lose the reasoning mark.
  • On Paper 1, “exact” means leaving cos⁡θ\cos\theta as a surd or fraction and recognising a standard angle such as 45∘45^{\circ}. On Paper 2, keep the full value of cos⁡θ\cos\theta and round only the angle, to 3 s.f.

Key takeaways

In bookletv⋅w=v1w1+v2w2+v3w3, where v=(v1v2v3),  w=(w1w2w3)\boldsymbol{v} \cdot \boldsymbol{w} = v_{1}w_{1} + v_{2}w_{2} + v_{3}w_{3}, \text{ where } \boldsymbol{v} = \begin{pmatrix}v_{1}\\v_{2}\\v_{3}\end{pmatrix}, \; \boldsymbol{w} = \begin{pmatrix}w_{1}\\w_{2}\\w_{3}\end{pmatrix}
In bookletv⋅w=∣v∣∣w∣cos⁡θ, where θ is the angle between v and w\boldsymbol{v} \cdot \boldsymbol{w} = \lvert\boldsymbol{v}\rvert\lvert\boldsymbol{w}\rvert\cos\theta, \text{ where } \theta \text{ is the angle between } \boldsymbol{v} \text{ and } \boldsymbol{w}
In bookletcos⁡θ=v1w1+v2w2+v3w3∣v∣∣w∣\cos\theta = \frac{v_{1}w_{1} + v_{2}w_{2} + v_{3}w_{3}}{\lvert\boldsymbol{v}\rvert\lvert\boldsymbol{w}\rvert}
Learn thisExpand scalar products like brackets: v⋅w=w⋅v\boldsymbol{v} \cdot \boldsymbol{w} = \boldsymbol{w} \cdot \boldsymbol{v}, and scalars move to the front. Also v⋅v=∣v∣2\boldsymbol{v} \cdot \boldsymbol{v} = \lvert\boldsymbol{v}\rvert^{2}.
Learn thisA positive scalar product means an acute angle, zero means a right angle, and negative means an obtuse angle.
Learn thisNon-zero vectors are perpendicular exactly when v⋅w=0\boldsymbol{v} \cdot \boldsymbol{w} = 0. Parallel vectors have ∣v⋅w∣=∣v∣∣w∣\lvert \boldsymbol{v} \cdot \boldsymbol{w} \rvert = \lvert\boldsymbol{v}\rvert\lvert\boldsymbol{w}\rvert.
Learn thisFor the angle at a corner of a triangle, use two vectors that both leave that corner.

Practise this

10 past-paper questions on 3.13 in the AA HL bank, each with a mark scheme and a worked explanation.

Practise 3.13 →