Vectors, magnitude and the scalar product

A-Level Mathematics · Vectors and Differential Equations

Position vectors and displacement

If $A$ and $B$ have position vectors $\mathbf{a}$ and $\mathbf{b}$, then $\overrightarrow{AB}=\mathbf{b}-\mathbf{a}$ — destination minus start. The distance $AB$ is $|\mathbf{b}-\mathbf{a}|$.

For $\mathbf{v}=x\mathbf{i}+y\mathbf{j}+z\mathbf{k}$: $|\mathbf{v}|=\sqrt{x^{2}+y^{2}+z^{2}}$, and the unit vector in that direction is $\hat{\mathbf{v}}=\dfrac{\mathbf{v}}{|\mathbf{v}|}$.

The scalar product

$$\mathbf{a}\cdot\mathbf{b}=a_{1}b_{1}+a_{2}b_{2}+a_{3}b_{3}=|\mathbf{a}||\mathbf{b}|\cos\theta$$

Two consequences carry almost every vector question in the paper:

The scalar product of two vectors is a number, not a vector. Writing $\mathbf{a}\cdot\mathbf{b}$ as $\mathbf{i}$-, $\mathbf{j}$-, $\mathbf{k}$-components is a category error.

θ O a b |a|·cosθ — projection of a onto b a·b = |a||b|cosθ = (projection) × |b|
What the scalar product measures. It is the length of the projection of $\mathbf{a}$ onto $\mathbf{b}$, multiplied by the length of $\mathbf{b}$. Seen this way, the two most important properties become obvious: for perpendicular vectors the projection is $0$ so the product is $0$; for an obtuse angle the projection falls on the opposite side from $\mathbf{b}$ so the product is negative. Cambridge very often asks for "the acute angle between two lines", and when the scalar product comes out negative you must subtract from $180^{\circ}$ — because a line has no direction, only a vector does.

Worked example: finding the constant that makes two vectors perpendicular

Let $\mathbf{a}=3\mathbf{i}-\mathbf{j}+2\mathbf{k}$ and $\mathbf{b}=\mathbf{i}+2\mathbf{j}-2\mathbf{k}$. Find the value of $\lambda$ such that $\mathbf{a}+\lambda\mathbf{b}$ is perpendicular to $\mathbf{b}$.

Solution

Translate the condition. "Perpendicular to $\mathbf{b}$" means the scalar product with $\mathbf{b}$ is $0$:

$$(\mathbf{a}+\lambda\mathbf{b})\cdot\mathbf{b}=0\;\Longrightarrow\;\mathbf{a}\cdot\mathbf{b}+\lambda\,\mathbf{b}\cdot\mathbf{b}=0$$

Calculate the two scalar products.

$$\mathbf{a}\cdot\mathbf{b}=3(1)+(-1)(2)+2(-2)=3-2-4=-3$$$$\mathbf{b}\cdot\mathbf{b}=|\mathbf{b}|^{2}=1+4+4=9$$$$-3+9\lambda=0\;\Longrightarrow\;\lambda=\frac{1}{3}$$

The point worth remembering is $\mathbf{b}\cdot\mathbf{b}=|\mathbf{b}|^{2}$ — using this property means you do not have to expand component by component a second time. The long way (add the vectors first and then take the scalar product) gives the same answer but takes three times as many lines, and Paper 3 is always short of time.

Worked example: the angle between two vectors with a negative scalar product

Find the angle between the vectors $\mathbf{a}=2\mathbf{i}+3\mathbf{j}-6\mathbf{k}$ and $\mathbf{b}=\mathbf{i}-2\mathbf{j}+2\mathbf{k}$, correct to $0.1^{\circ}$.

Solution

Three quantities needed first.

$$\mathbf{a}\cdot\mathbf{b}=2(1)+3(-2)+(-6)(2)=2-6-12=-16$$$$|\mathbf{a}|=\sqrt{4+9+36}=7,\qquad |\mathbf{b}|=\sqrt{1+4+4}=3$$$$\cos\theta=\frac{-16}{21}=-0.7619\;\Longrightarrow\;\theta=139.6^{\circ}$$

Read the sign. The scalar product is negative, so the angle must be obtuse — the result $139.6^{\circ}$ matches that prediction. If the calculator gives an acute angle while the scalar product is negative, a minus sign has certainly been dropped somewhere.

If the question asks for the angle between two lines with directions $\mathbf{a}$ and $\mathbf{b}$, the answer is instead $180^{\circ}-139.6^{\circ}=40.4^{\circ}$: a line has no direction, so by convention the angle between two lines is always acute.

Common mistake

Answering with an obtuse angle when the question asks for the angle between two lines, or an acute angle when it asks for the angle between two vectors. This trap lies in a single word of the question and appears almost every session. The mechanism: vectors have direction, so the angle between them runs from $0^{\circ}$ to $180^{\circ}$ and can be obtuse; a line has no direction — reversing the direction vector still gives the same line — so by convention the angle between two lines takes the acute value. A self-protective habit: underline the word vectors or lines as soon as you read the question, and only then press the calculator. And remember that both answers appear in the list of options of a multiple-choice question.

Key takeaway

The scalar product is the only bridge between vector algebra and angle geometry. Every question about perpendicularity, angles, projections and shortest distance reduces to it — so mastering this one formula is mastering the whole topic.

← Further differentiation, integration and numerical solution · All A-Level Mathematics lessons · Practice A-Level Mathematics questions (free, instant scoring) · Lines in three dimensions →